From d38ddec6448d1ea7e6862aabe06dab05b2e531be Mon Sep 17 00:00:00 2001
From: "azure-pipelines[bot]"
<36771401+azure-pipelines[bot]@users.noreply.github.com>
Date: Thu, 7 Nov 2024 12:59:45 +0800
Subject: [PATCH] Migrate ContainerInstance from generation to main (#26614)
* Move ContainerInstance to main
* Add change log and suppress breaking change
* Update Add-AzContainerInstanceOutput.Recording.json
---------
Co-authored-by: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com>
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
---
.../Az.ContainerInstance.format.ps1xml | 660 ++++-
.../Az.ContainerInstance.psd1 | 2 +-
.../ContainerInstance.Autorest/README.md | 11 +-
.../containerGroupProfiles-revisions.json | 52 +
.../containerGroupProfiles.json | 85 +
.../containerGroups-containers.json | 2 +-
.../containerGroups.json | 2 +-
.../virtualNetworks-subnets.json | 2 +-
.../build-module.ps1 | 17 +-
...ontainerInstanceCommand_ExecuteExpanded.cs | 4 +-
.../custom/New-AzContainerGroup.ps1 | 47 +-
...inerGroupImageRegistryCredentialObject.ps1 | 4 +-
.../custom/New-AzContainerGroupPortObject.ps1 | 4 +-
.../New-AzContainerGroupVolumeObject.ps1 | 10 +-
...ainerInstanceEnvironmentVariableObject.ps1 | 4 +-
...ew-AzContainerInstanceHttpHeaderObject.ps1 | 4 +-
...zContainerInstanceInitDefinitionObject.ps1 | 8 +-
...New-AzContainerInstanceNoDefaultObject.ps1 | 196 ++
.../custom/New-AzContainerInstanceObject.ps1 | 21 +-
.../New-AzContainerInstancePortObject.ps1 | 4 +-
...w-AzContainerInstanceVolumeMountObject.ps1 | 4 +-
.../SpecialHandlerToRemoveDefaultValue.cs | 2 +-
...zContainerInstanceContainerGroupProfile.md | 131 +
...erInstanceContainerGroupProfileRevision.md | 13 +
.../examples/New-AzContainerGroup.md | 12 +-
...ainerGroupImageRegistryCredentialObject.md | 3 +-
.../New-AzContainerGroupVolumeObject.md | 3 +-
...zContainerInstanceContainerGroupProfile.md | 62 +
...tainerInstanceEnvironmentVariableObject.md | 3 +-
.../New-AzContainerInstanceNoDefaultObject.md | 41 +
...zContainerInstanceContainerGroupProfile.md | 19 +
...zContainerInstanceContainerGroupProfile.md | 29 +
.../exports/Add-AzContainerInstanceOutput.ps1 | 9 +-
.../exports/Get-AzContainerGroup.ps1 | 17 +-
.../Get-AzContainerInstanceCachedImage.ps1 | 10 +-
.../Get-AzContainerInstanceCapability.ps1 | 10 +-
...GroupOutboundNetworkDependencyEndpoint.ps1 | 13 +-
...ContainerInstanceContainerGroupProfile.ps1 | 241 ++
...rInstanceContainerGroupProfileRevision.ps1 | 191 ++
.../exports/Get-AzContainerInstanceLog.ps1 | 5 +-
.../exports/Get-AzContainerInstanceUsage.ps1 | 10 +-
.../exports/New-AzContainerGroup.ps1 | 96 +-
...inerGroupImageRegistryCredentialObject.ps1 | 7 +-
.../New-AzContainerGroupPortObject.ps1 | 4 +-
.../New-AzContainerGroupVolumeObject.ps1 | 11 +-
...ContainerInstanceContainerGroupProfile.ps1 | 508 ++++
...ainerInstanceEnvironmentVariableObject.ps1 | 7 +-
...ew-AzContainerInstanceHttpHeaderObject.ps1 | 4 +-
...zContainerInstanceInitDefinitionObject.ps1 | 8 +-
...New-AzContainerInstanceNoDefaultObject.ps1 | 365 +++
.../exports/New-AzContainerInstanceObject.ps1 | 24 +-
.../New-AzContainerInstancePortObject.ps1 | 4 +-
...w-AzContainerInstanceVolumeMountObject.ps1 | 4 +-
.../exports/ProxyCmdletDefinitions.ps1 | 2490 ++++++++++++++---
.../exports/Remove-AzContainerGroup.ps1 | 17 +-
...ContainerInstanceContainerGroupProfile.ps1 | 226 ++
...erInstanceSubnetServiceAssociationLink.ps1 | 13 +-
.../exports/Restart-AzContainerGroup.ps1 | 13 +-
.../exports/Start-AzContainerGroup.ps1 | 13 +-
.../exports/Stop-AzContainerGroup.ps1 | 13 +-
.../exports/Update-AzContainerGroup.ps1 | 19 +-
...ContainerInstanceContainerGroupProfile.ps1 | 248 ++
.../generated/api/ContainerInstance.cs | 1916 +++++++++++--
.../AzureFileVolume.PowerShell.cs | 36 +-
.../AzureFileVolume.TypeConverter.cs | 6 +-
.../AzureFileVolume.cs | 6 +-
.../AzureFileVolume.json.cs | 8 +-
.../CachedImages.PowerShell.cs | 28 +-
.../CachedImages.TypeConverter.cs | 6 +-
.../CachedImages.cs | 6 +-
.../CachedImages.json.cs | 8 +-
.../CachedImagesListResult.PowerShell.cs | 28 +-
.../CachedImagesListResult.TypeConverter.cs | 6 +-
.../CachedImagesListResult.cs | 16 +-
.../CachedImagesListResult.json.cs | 10 +-
.../Capabilities.PowerShell.cs | 56 +-
.../Capabilities.TypeConverter.cs | 6 +-
.../Capabilities.cs | 36 +-
.../Capabilities.json.cs | 10 +-
.../CapabilitiesAutoGenerated.PowerShell.cs | 32 +-
...CapabilitiesAutoGenerated.TypeConverter.cs | 6 +-
.../CapabilitiesAutoGenerated.cs | 12 +-
.../CapabilitiesAutoGenerated.json.cs | 8 +-
.../CapabilitiesListResult.PowerShell.cs | 28 +-
.../CapabilitiesListResult.TypeConverter.cs | 6 +-
.../CapabilitiesListResult.cs | 16 +-
.../CapabilitiesListResult.json.cs | 10 +-
.../CloudError.PowerShell.cs | 40 +-
.../CloudError.TypeConverter.cs | 6 +-
.../CloudError.cs | 28 +-
.../CloudError.json.cs | 10 +-
.../CloudErrorBody.PowerShell.cs | 36 +-
.../CloudErrorBody.TypeConverter.cs | 6 +-
.../CloudErrorBody.cs | 16 +-
.../CloudErrorBody.json.cs | 10 +-
...onfidentialComputeProperties.PowerShell.cs | 24 +-
...identialComputeProperties.TypeConverter.cs | 6 +-
.../ConfidentialComputeProperties.cs | 6 +-
.../ConfidentialComputeProperties.json.cs | 8 +-
.../ConfigMap.PowerShell.cs | 164 ++
.../ConfigMap.TypeConverter.cs | 146 +
.../Models/Api20240501Preview/ConfigMap.cs | 51 +
.../Api20240501Preview/ConfigMap.json.cs | 108 +
.../ConfigMapKeyValuePairs.PowerShell.cs | 162 ++
.../ConfigMapKeyValuePairs.TypeConverter.cs | 147 +
.../ConfigMapKeyValuePairs.cs | 35 +
.../ConfigMapKeyValuePairs.dictionary.cs | 75 +
.../ConfigMapKeyValuePairs.json.cs | 109 +
.../Container.PowerShell.cs | 352 ++-
.../Container.TypeConverter.cs | 6 +-
.../Container.cs | 367 ++-
.../Container.json.cs | 10 +-
.../ContainerAttachResponse.PowerShell.cs | 28 +-
.../ContainerAttachResponse.TypeConverter.cs | 6 +-
.../ContainerAttachResponse.cs | 6 +-
.../ContainerAttachResponse.json.cs | 8 +-
.../ContainerExec.PowerShell.cs | 24 +-
.../ContainerExec.TypeConverter.cs | 6 +-
.../ContainerExec.cs | 6 +-
.../ContainerExec.json.cs | 8 +-
.../ContainerExecRequest.PowerShell.cs | 36 +-
.../ContainerExecRequest.TypeConverter.cs | 6 +-
.../ContainerExecRequest.cs | 18 +-
.../ContainerExecRequest.json.cs | 10 +-
...ainerExecRequestTerminalSize.PowerShell.cs | 28 +-
...erExecRequestTerminalSize.TypeConverter.cs | 6 +-
.../ContainerExecRequestTerminalSize.cs | 6 +-
.../ContainerExecRequestTerminalSize.json.cs | 8 +-
.../ContainerExecResponse.PowerShell.cs | 28 +-
.../ContainerExecResponse.TypeConverter.cs | 6 +-
.../ContainerExecResponse.cs | 6 +-
.../ContainerExecResponse.json.cs | 8 +-
.../ContainerGroup.PowerShell.cs | 280 +-
.../ContainerGroup.TypeConverter.cs | 6 +-
.../ContainerGroup.cs | 182 +-
.../ContainerGroup.json.cs | 12 +-
.../ContainerGroupDiagnostics.PowerShell.cs | 44 +-
...ContainerGroupDiagnostics.TypeConverter.cs | 6 +-
.../ContainerGroupDiagnostics.cs | 30 +-
.../ContainerGroupDiagnostics.json.cs | 10 +-
.../ContainerGroupIdentity.PowerShell.cs | 36 +-
.../ContainerGroupIdentity.TypeConverter.cs | 6 +-
.../ContainerGroupIdentity.cs | 20 +-
.../ContainerGroupIdentity.json.cs | 10 +-
...entityUserAssignedIdentities.PowerShell.cs | 20 +-
...ityUserAssignedIdentities.TypeConverter.cs | 6 +-
...inerGroupIdentityUserAssignedIdentities.cs | 8 +-
...entityUserAssignedIdentities.dictionary.cs | 26 +-
...roupIdentityUserAssignedIdentities.json.cs | 12 +-
.../ContainerGroupListResult.PowerShell.cs | 28 +-
.../ContainerGroupListResult.TypeConverter.cs | 6 +-
.../ContainerGroupListResult.cs | 16 +-
.../ContainerGroupListResult.json.cs | 10 +-
.../ContainerGroupProfile.PowerShell.cs | 462 +++
.../ContainerGroupProfile.TypeConverter.cs | 147 +
.../ContainerGroupProfile.cs | 248 ++
.../ContainerGroupProfile.json.cs | 110 +
...tainerGroupProfileListResult.PowerShell.cs | 176 ++
...nerGroupProfileListResult.TypeConverter.cs | 148 +
.../ContainerGroupProfileListResult.cs | 70 +
.../ContainerGroupProfileListResult.json.cs | 120 +
.../ContainerGroupProfilePatch.PowerShell.cs | 166 ++
...ontainerGroupProfilePatch.TypeConverter.cs | 147 +
.../ContainerGroupProfilePatch.cs | 51 +
.../ContainerGroupProfilePatch.json.cs | 108 +
...ntainerGroupProfilePatchTags.PowerShell.cs | 162 ++
...inerGroupProfilePatchTags.TypeConverter.cs | 148 +
.../ContainerGroupProfilePatchTags.cs | 35 +
...ntainerGroupProfilePatchTags.dictionary.cs | 75 +
.../ContainerGroupProfilePatchTags.json.cs | 109 +
...tainerGroupProfileProperties.PowerShell.cs | 414 +++
...nerGroupProfileProperties.TypeConverter.cs | 148 +
.../ContainerGroupProfileProperties.cs | 487 ++++
.../ContainerGroupProfileProperties.json.cs | 108 +
...ofilePropertiesAutoGenerated.PowerShell.cs | 409 +++
...lePropertiesAutoGenerated.TypeConverter.cs | 151 +
...inerGroupProfilePropertiesAutoGenerated.cs | 535 ++++
...roupProfilePropertiesAutoGenerated.json.cs | 180 ++
...upProfileReferenceDefinition.PowerShell.cs | 177 ++
...rofileReferenceDefinition.TypeConverter.cs | 151 +
...ontainerGroupProfileReferenceDefinition.cs | 76 +
...nerGroupProfileReferenceDefinition.json.cs | 112 +
.../ContainerGroupProperties.PowerShell.cs | 256 +-
.../ContainerGroupProperties.TypeConverter.cs | 6 +-
.../ContainerGroupProperties.cs | 304 +-
.../ContainerGroupProperties.json.cs | 12 +-
...GroupPropertiesAutoGenerated.PowerShell.cs | 232 +-
...upPropertiesAutoGenerated.TypeConverter.cs | 6 +-
.../ContainerGroupPropertiesAutoGenerated.cs | 317 ++-
...tainerGroupPropertiesAutoGenerated.json.cs | 41 +-
...rGroupPropertiesInstanceView.PowerShell.cs | 28 +-
...oupPropertiesInstanceView.TypeConverter.cs | 6 +-
.../ContainerGroupPropertiesInstanceView.cs | 20 +-
...ntainerGroupPropertiesInstanceView.json.cs | 10 +-
.../ContainerGroupSubnetId.PowerShell.cs | 28 +-
.../ContainerGroupSubnetId.TypeConverter.cs | 6 +-
.../ContainerGroupSubnetId.cs | 6 +-
.../ContainerGroupSubnetId.json.cs | 8 +-
.../ContainerHttpGet.PowerShell.cs | 36 +-
.../ContainerHttpGet.TypeConverter.cs | 6 +-
.../ContainerHttpGet.cs | 16 +-
.../ContainerHttpGet.json.cs | 10 +-
.../ContainerPort.PowerShell.cs | 28 +-
.../ContainerPort.TypeConverter.cs | 6 +-
.../ContainerPort.cs | 6 +-
.../ContainerPort.json.cs | 8 +-
.../ContainerProbe.PowerShell.cs | 68 +-
.../ContainerProbe.TypeConverter.cs | 6 +-
.../ContainerProbe.cs | 38 +-
.../ContainerProbe.json.cs | 12 +-
.../ContainerProperties.PowerShell.cs | 344 ++-
.../ContainerProperties.TypeConverter.cs | 6 +-
.../ContainerProperties.cs | 391 ++-
.../ContainerProperties.json.cs | 26 +-
...tainerPropertiesInstanceView.PowerShell.cs | 76 +-
...nerPropertiesInstanceView.TypeConverter.cs | 6 +-
.../ContainerPropertiesInstanceView.cs | 76 +-
.../ContainerPropertiesInstanceView.json.cs | 14 +-
.../ContainerState.PowerShell.cs | 40 +-
.../ContainerState.TypeConverter.cs | 6 +-
.../ContainerState.cs | 16 +-
.../ContainerState.json.cs | 8 +-
.../DeploymentExtensionSpec.PowerShell.cs | 44 +-
.../DeploymentExtensionSpec.TypeConverter.cs | 6 +-
.../DeploymentExtensionSpec.cs | 22 +-
.../DeploymentExtensionSpec.json.cs | 10 +-
...ymentExtensionSpecProperties.PowerShell.cs | 36 +-
...ntExtensionSpecProperties.TypeConverter.cs | 6 +-
.../DeploymentExtensionSpecProperties.cs | 6 +-
.../DeploymentExtensionSpecProperties.json.cs | 8 +-
.../DnsConfiguration.PowerShell.cs | 32 +-
.../DnsConfiguration.TypeConverter.cs | 6 +-
.../DnsConfiguration.cs | 6 +-
.../DnsConfiguration.json.cs | 8 +-
.../EncryptionProperties.PowerShell.cs | 36 +-
.../EncryptionProperties.TypeConverter.cs | 6 +-
.../EncryptionProperties.cs | 6 +-
.../EncryptionProperties.json.cs | 8 +-
.../EnvironmentVariable.PowerShell.cs | 32 +-
.../EnvironmentVariable.TypeConverter.cs | 6 +-
.../EnvironmentVariable.cs | 6 +-
.../EnvironmentVariable.json.cs | 8 +-
.../Event.PowerShell.cs | 44 +-
.../Event.TypeConverter.cs | 6 +-
.../Event.cs | 18 +-
.../Event.json.cs | 8 +-
.../GitRepoVolume.PowerShell.cs | 32 +-
.../GitRepoVolume.TypeConverter.cs | 6 +-
.../GitRepoVolume.cs | 6 +-
.../GitRepoVolume.json.cs | 8 +-
.../GpuResource.PowerShell.cs | 28 +-
.../GpuResource.TypeConverter.cs | 6 +-
.../GpuResource.cs | 6 +-
.../GpuResource.json.cs | 8 +-
.../HttpHeader.PowerShell.cs | 28 +-
.../HttpHeader.TypeConverter.cs | 6 +-
.../HttpHeader.cs | 6 +-
.../HttpHeader.json.cs | 8 +-
.../IPAddress.PowerShell.cs | 44 +-
.../IPAddress.TypeConverter.cs | 6 +-
.../IPAddress.cs | 18 +-
.../IPAddress.json.cs | 10 +-
.../ImageRegistryCredential.PowerShell.cs | 40 +-
.../ImageRegistryCredential.TypeConverter.cs | 6 +-
.../ImageRegistryCredential.cs | 6 +-
.../ImageRegistryCredential.json.cs | 8 +-
.../InitContainerDefinition.PowerShell.cs | 176 +-
.../InitContainerDefinition.TypeConverter.cs | 6 +-
.../InitContainerDefinition.cs | 214 +-
.../InitContainerDefinition.json.cs | 10 +-
...ontainerPropertiesDefinition.PowerShell.cs | 168 +-
...ainerPropertiesDefinition.TypeConverter.cs | 6 +-
.../InitContainerPropertiesDefinition.cs | 217 +-
.../InitContainerPropertiesDefinition.json.cs | 16 +-
...ertiesDefinitionInstanceView.PowerShell.cs | 76 +-
...iesDefinitionInstanceView.TypeConverter.cs | 6 +-
...ntainerPropertiesDefinitionInstanceView.cs | 76 +-
...erPropertiesDefinitionInstanceView.json.cs | 14 +-
.../LogAnalytics.PowerShell.cs | 40 +-
.../LogAnalytics.TypeConverter.cs | 6 +-
.../LogAnalytics.cs | 16 +-
.../LogAnalytics.json.cs | 10 +-
.../LogAnalyticsMetadata.PowerShell.cs | 20 +-
.../LogAnalyticsMetadata.TypeConverter.cs | 6 +-
.../LogAnalyticsMetadata.cs | 6 +-
.../LogAnalyticsMetadata.dictionary.cs | 4 +-
.../LogAnalyticsMetadata.json.cs | 8 +-
.../Logs.PowerShell.cs | 24 +-
.../Logs.TypeConverter.cs | 6 +-
.../Logs.cs | 6 +-
.../Logs.json.cs | 8 +-
.../Operation.PowerShell.cs | 52 +-
.../Operation.TypeConverter.cs | 6 +-
.../Operation.cs | 22 +-
.../Operation.json.cs | 10 +-
.../OperationDisplay.PowerShell.cs | 36 +-
.../OperationDisplay.TypeConverter.cs | 6 +-
.../OperationDisplay.cs | 6 +-
.../OperationDisplay.json.cs | 8 +-
.../OperationListResult.PowerShell.cs | 28 +-
.../OperationListResult.TypeConverter.cs | 6 +-
.../OperationListResult.cs | 16 +-
.../OperationListResult.json.cs | 10 +-
.../Port.PowerShell.cs | 28 +-
.../Port.TypeConverter.cs | 6 +-
.../Port.cs | 6 +-
.../Port.json.cs | 8 +-
.../Resource.PowerShell.cs | 44 +-
.../Resource.TypeConverter.cs | 6 +-
.../Resource.cs | 22 +-
.../Resource.json.cs | 10 +-
.../ResourceLimits.PowerShell.cs | 40 +-
.../ResourceLimits.TypeConverter.cs | 6 +-
.../ResourceLimits.cs | 18 +-
.../ResourceLimits.json.cs | 10 +-
.../ResourceRequests.PowerShell.cs | 40 +-
.../ResourceRequests.TypeConverter.cs | 6 +-
.../ResourceRequests.cs | 18 +-
.../ResourceRequests.json.cs | 10 +-
.../ResourceRequirements.PowerShell.cs | 68 +-
.../ResourceRequirements.TypeConverter.cs | 6 +-
.../ResourceRequirements.cs | 46 +-
.../ResourceRequirements.json.cs | 12 +-
.../ResourceTags.PowerShell.cs | 20 +-
.../ResourceTags.TypeConverter.cs | 6 +-
.../ResourceTags.cs | 6 +-
.../ResourceTags.dictionary.cs | 4 +-
.../ResourceTags.json.cs | 8 +-
.../SecretVolume.PowerShell.cs | 20 +-
.../SecretVolume.TypeConverter.cs | 6 +-
.../SecretVolume.cs | 6 +-
.../SecretVolume.dictionary.cs | 4 +-
.../SecretVolume.json.cs | 8 +-
...ontextCapabilitiesDefinition.PowerShell.cs | 177 ++
...extCapabilitiesDefinition.TypeConverter.cs | 150 +
.../SecurityContextCapabilitiesDefinition.cs | 68 +
...urityContextCapabilitiesDefinition.json.cs | 127 +
.../SecurityContextDefinition.PowerShell.cs | 222 ++
...SecurityContextDefinition.TypeConverter.cs | 147 +
.../SecurityContextDefinition.cs | 165 ++
.../SecurityContextDefinition.json.cs | 118 +
...StandbyPoolProfileDefinition.PowerShell.cs | 174 ++
...ndbyPoolProfileDefinition.TypeConverter.cs | 147 +
.../StandbyPoolProfileDefinition.cs | 85 +
.../StandbyPoolProfileDefinition.json.cs | 110 +
.../Usage.PowerShell.cs | 48 +-
.../Usage.TypeConverter.cs | 6 +-
.../Usage.cs | 30 +-
.../Usage.json.cs | 10 +-
.../UsageListResult.PowerShell.cs | 24 +-
.../UsageListResult.TypeConverter.cs | 6 +-
.../UsageListResult.cs | 18 +-
.../UsageListResult.json.cs | 10 +-
.../UsageName.PowerShell.cs | 28 +-
.../UsageName.TypeConverter.cs | 6 +-
.../UsageName.cs | 10 +-
.../UsageName.json.cs | 8 +-
.../UserAssignedIdentities.PowerShell.cs | 28 +-
.../UserAssignedIdentities.TypeConverter.cs | 6 +-
.../UserAssignedIdentities.cs | 10 +-
.../UserAssignedIdentities.json.cs | 8 +-
.../Volume.PowerShell.cs | 68 +-
.../Volume.TypeConverter.cs | 6 +-
.../Volume.cs | 56 +-
.../Volume.json.cs | 16 +-
.../VolumeEmptyDir.PowerShell.cs | 20 +-
.../VolumeEmptyDir.TypeConverter.cs | 6 +-
.../VolumeEmptyDir.cs | 6 +-
.../VolumeEmptyDir.dictionary.cs | 4 +-
.../VolumeEmptyDir.json.cs | 8 +-
.../VolumeMount.PowerShell.cs | 32 +-
.../VolumeMount.TypeConverter.cs | 6 +-
.../VolumeMount.cs | 6 +-
.../VolumeMount.json.cs | 8 +-
.../ContainerInstanceIdentity.PowerShell.cs | 16 +
.../api/Models/ContainerInstanceIdentity.cs | 67 +-
.../Models/ContainerInstanceIdentity.json.cs | 4 +
.../AddAzContainerInstanceOutput_Attach.cs | 39 +-
.../cmdlets/GetAzContainerGroup_Get.cs | 39 +-
.../GetAzContainerGroup_GetViaIdentity.cs | 24 +-
.../cmdlets/GetAzContainerGroup_List.cs | 31 +-
.../cmdlets/GetAzContainerGroup_List1.cs | 37 +-
.../GetAzContainerInstanceCachedImage_List.cs | 37 +-
.../GetAzContainerInstanceCapability_List.cs | 37 +-
...upOutboundNetworkDependencyEndpoint_Get.cs | 27 +-
...etworkDependencyEndpoint_GetViaIdentity.cs | 12 +-
...tanceContainerGroupProfileRevision_List.cs | 463 +++
...tainerInstanceContainerGroupProfile_Get.cs | 442 +++
...ainerInstanceContainerGroupProfile_Get1.cs | 456 +++
...nceContainerGroupProfile_GetViaIdentity.cs | 420 +++
...ceContainerGroupProfile_GetViaIdentity1.cs | 424 +++
...ainerInstanceContainerGroupProfile_List.cs | 435 +++
...inerInstanceContainerGroupProfile_List1.cs | 449 +++
.../cmdlets/GetAzContainerInstanceLog_List.cs | 37 +-
.../GetAzContainerInstanceOperation_List.cs | 22 +-
.../GetAzContainerInstanceUsage_List.cs | 37 +-
...ontainerInstanceCommand_ExecuteExpanded.cs | 41 +-
.../NewAzContainerGroup_CreateExpanded.cs | 142 +-
...nceContainerGroupProfile_CreateExpanded.cs | 800 ++++++
.../cmdlets/RemoveAzContainerGroup_Delete.cs | 39 +-
...emoveAzContainerGroup_DeleteViaIdentity.cs | 24 +-
...nerInstanceContainerGroupProfile_Delete.cs | 480 ++++
...ContainerGroupProfile_DeleteViaIdentity.cs | 462 +++
...anceSubnetServiceAssociationLink_Delete.cs | 27 +-
...erviceAssociationLink_DeleteViaIdentity.cs | 12 +-
.../RestartAzContainerGroup_Restart.cs | 27 +-
...tartAzContainerGroup_RestartViaIdentity.cs | 12 +-
.../cmdlets/StartAzContainerGroup_Start.cs | 27 +-
.../StartAzContainerGroup_StartViaIdentity.cs | 12 +-
.../cmdlets/StopAzContainerGroup_Stop.cs | 27 +-
.../StopAzContainerGroup_StopViaIdentity.cs | 12 +-
.../UpdateAzContainerGroup_UpdateExpanded.cs | 45 +-
...ontainerGroup_UpdateViaIdentityExpanded.cs | 30 +-
...inerInstanceContainerGroupProfile_Patch.cs | 451 +++
...anceContainerGroupProfile_PatchExpanded.cs | 453 +++
...eContainerGroupProfile_PatchViaIdentity.cs | 433 +++
...erGroupProfile_PatchViaIdentityExpanded.cs | 435 +++
.../help/Add-AzContainerInstanceOutput.md | 7 +-
.../help/Az.ContainerInstance.md | 21 +
.../help/Get-AzContainerGroup.md | 7 +-
.../Get-AzContainerInstanceCachedImage.md | 8 +-
.../help/Get-AzContainerInstanceCapability.md | 8 +-
...rGroupOutboundNetworkDependencyEndpoint.md | 5 +-
...zContainerInstanceContainerGroupProfile.md | 300 ++
...erInstanceContainerGroupProfileRevision.md | 118 +
.../help/Get-AzContainerInstanceLog.md | 5 +-
.../help/Get-AzContainerInstanceUsage.md | 8 +-
.../help/New-AzContainerGroup.md | 110 +-
...ainerGroupImageRegistryCredentialObject.md | 5 +-
.../help/New-AzContainerGroupPortObject.md | 2 +-
.../help/New-AzContainerGroupVolumeObject.md | 9 +-
...zContainerInstanceContainerGroupProfile.md | 625 +++++
...tainerInstanceEnvironmentVariableObject.md | 5 +-
...New-AzContainerInstanceHttpHeaderObject.md | 2 +-
...AzContainerInstanceInitDefinitionObject.md | 6 +-
.../New-AzContainerInstanceNoDefaultObject.md | 623 +++++
.../help/New-AzContainerInstanceObject.md | 55 +-
.../help/New-AzContainerInstancePortObject.md | 2 +-
...ew-AzContainerInstanceVolumeMountObject.md | 2 +-
.../help/Remove-AzContainerGroup.md | 7 +-
...zContainerInstanceContainerGroupProfile.md | 189 ++
...nerInstanceSubnetServiceAssociationLink.md | 5 +-
.../help/Restart-AzContainerGroup.md | 5 +-
.../help/Start-AzContainerGroup.md | 5 +-
.../help/Stop-AzContainerGroup.md | 5 +-
.../help/Update-AzContainerGroup.md | 7 +-
...zContainerInstanceContainerGroupProfile.md | 236 ++
.../Get-AzContainerInstanceOperation.ps1 | 4 +-
.../Invoke-AzContainerInstanceCommand.ps1 | 9 +-
.../internal/New-AzContainerGroup.ps1 | 103 +-
.../internal/ProxyCmdletDefinitions.ps1 | 116 +-
...d-AzContainerInstanceOutput.Recording.json | 28 +-
.../test/Get-AzContainerGroup.Recording.json | 141 +-
.../test/Get-AzContainerGroup.Tests.ps1 | 2 +-
...ntainerGroupConfidentialSku.Recording.json | 74 +-
...ntainerGroupRegularPriority.Recording.json | 74 +-
...zContainerGroupSpotPriority.Recording.json | 74 +-
...ontainerInstanceCachedImage.Recording.json | 22 +-
...ContainerInstanceCapability.Recording.json | 26 +-
...stanceContainerGroupProfile.Recording.json | 126 +
...nerInstanceContainerGroupProfile.Tests.ps1 | 28 +
...nceContainerGroupProfileRevision.Tests.ps1 | 21 +
.../Get-AzContainerInstanceLog.Recording.json | 56 +-
...et-AzContainerInstanceUsage.Recording.json | 28 +-
.../test/New-AzContainerGroup.Recording.json | 87 +-
...ntainerGroupConfidentialSku.Recording.json | 221 +-
...ntainerGroupRegularPriority.Recording.json | 87 +-
...erGroupReuseFromStandbyPool.Recording.json | 129 +
...ntainerGroupReuseFromStandbyPool.Tests.ps1 | 33 +
...zContainerGroupSpotPriority.Recording.json | 87 +-
...stanceContainerGroupProfile.Recording.json | 154 +
...nerInstanceContainerGroupProfile.Tests.ps1 | 96 +
...ContainerInstanceNoDefaultObject.Tests.ps1 | 21 +
.../Remove-AzContainerGroup.Recording.json | 92 +-
...ntainerGroupConfidentialSku.Recording.json | 92 +-
...ntainerGroupRegularPriority.Recording.json | 92 +-
...zContainerGroupSpotPriority.Recording.json | 92 +-
...stanceContainerGroupProfile.Recording.json | 383 +++
...nerInstanceContainerGroupProfile.Tests.ps1 | 44 +
.../Restart-AzContainerGroup.Recording.json | 78 +-
...ntainerGroupConfidentialSku.Recording.json | 78 +-
...ntainerGroupRegularPriority.Recording.json | 78 +-
...zContainerGroupSpotPriority.Recording.json | 78 +-
.../Start-AzContainerGroup.Recording.json | 74 +-
...ntainerGroupConfidentialSku.Recording.json | 74 +-
...ntainerGroupRegularPriority.Recording.json | 74 +-
...zContainerGroupSpotPriority.Recording.json | 74 +-
.../test/Stop-AzContainerGroup.Recording.json | 74 +-
...ntainerGroupRegularPriority.Recording.json | 74 +-
...ContainerGroupSpotContainer.Recording.json | 74 +-
...tainerGroupiConfidentialSku.Recording.json | 74 +-
.../Update-AzContainerGroup.Recording.json | 72 +-
...ntainerGroupConfidentialSku.Recording.json | 72 +-
...ntainerGroupRegularPriority.Recording.json | 72 +-
...zContainerGroupSpotPriority.Recording.json | 72 +-
...nerInstanceContainerGroupProfile.Tests.ps1 | 33 +
.../ContainerInstance.Autorest/test/env.json | 54 +-
.../ContainerInstance.Autorest/test/utils.ps1 | 74 +-
.../Az.ContainerInstance.psd1 | 20 +-
.../ContainerInstance/ChangeLog.md | 5 +
.../help/Add-AzContainerInstanceOutput.md | 24 +-
.../help/Az.ContainerInstance.md | 21 +
.../help/Get-AzContainerGroup.md | 30 +-
.../Get-AzContainerInstanceCachedImage.md | 25 +-
.../help/Get-AzContainerInstanceCapability.md | 25 +-
...rGroupOutboundNetworkDependencyEndpoint.md | 24 +-
...zContainerInstanceContainerGroupProfile.md | 316 +++
...erInstanceContainerGroupProfileRevision.md | 133 +
.../help/Get-AzContainerInstanceLog.md | 22 +-
.../help/Get-AzContainerInstanceUsage.md | 25 +-
.../help/Invoke-AzContainerInstanceCommand.md | 17 +-
.../help/New-AzContainerGroup.md | 120 +-
...ainerGroupImageRegistryCredentialObject.md | 19 +-
.../help/New-AzContainerGroupPortObject.md | 19 +-
.../help/New-AzContainerGroupVolumeObject.md | 23 +-
...zContainerInstanceContainerGroupProfile.md | 639 +++++
...tainerInstanceEnvironmentVariableObject.md | 19 +-
...New-AzContainerInstanceHttpHeaderObject.md | 19 +-
...AzContainerInstanceInitDefinitionObject.md | 23 +-
.../New-AzContainerInstanceNoDefaultObject.md | 637 +++++
.../help/New-AzContainerInstanceObject.md | 71 +-
.../help/New-AzContainerInstancePortObject.md | 19 +-
...ew-AzContainerInstanceVolumeMountObject.md | 19 +-
.../help/Remove-AzContainerGroup.md | 26 +-
...zContainerInstanceContainerGroupProfile.md | 205 ++
...nerInstanceSubnetServiceAssociationLink.md | 24 +-
.../help/Restart-AzContainerGroup.md | 24 +-
.../help/Start-AzContainerGroup.md | 24 +-
.../help/Stop-AzContainerGroup.md | 24 +-
.../help/Update-AzContainerGroup.md | 26 +-
...zContainerInstanceContainerGroupProfile.md | 250 ++
.../BreakingChangeIssues.csv | 5 +
532 files changed, 34615 insertions(+), 6229 deletions(-)
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles-revisions.json
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles.json
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceNoDefaultObject.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfileRevision.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceNoDefaultObject.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/examples/Remove-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/examples/Update-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfile.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfileRevision.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerInstanceContainerGroupProfile.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerInstanceNoDefaultObject.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/exports/Remove-AzContainerInstanceContainerGroupProfile.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/exports/Update-AzContainerInstanceContainerGroupProfile.ps1
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/AzureFileVolume.PowerShell.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/AzureFileVolume.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/AzureFileVolume.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/AzureFileVolume.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImages.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImages.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImages.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImages.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImagesListResult.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImagesListResult.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImagesListResult.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CachedImagesListResult.json.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Capabilities.PowerShell.cs (81%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Capabilities.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Capabilities.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Capabilities.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesAutoGenerated.PowerShell.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesAutoGenerated.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesAutoGenerated.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesAutoGenerated.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesListResult.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesListResult.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesListResult.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CapabilitiesListResult.json.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudError.PowerShell.cs (81%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudError.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudError.cs (83%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudError.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudErrorBody.PowerShell.cs (83%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudErrorBody.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudErrorBody.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/CloudErrorBody.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ConfidentialComputeProperties.PowerShell.cs (91%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ConfidentialComputeProperties.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ConfidentialComputeProperties.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ConfidentialComputeProperties.json.cs (97%)
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMap.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMap.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMap.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMap.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMapKeyValuePairs.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMapKeyValuePairs.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMapKeyValuePairs.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMapKeyValuePairs.dictionary.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ConfigMapKeyValuePairs.json.cs
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Container.PowerShell.cs (61%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Container.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Container.cs (67%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Container.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerAttachResponse.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerAttachResponse.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerAttachResponse.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerAttachResponse.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExec.PowerShell.cs (91%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExec.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExec.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExec.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequest.PowerShell.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequest.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequest.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequest.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequestTerminalSize.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequestTerminalSize.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequestTerminalSize.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecRequestTerminalSize.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecResponse.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecResponse.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecResponse.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerExecResponse.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroup.PowerShell.cs (62%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroup.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroup.cs (67%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroup.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupDiagnostics.PowerShell.cs (83%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupDiagnostics.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupDiagnostics.cs (83%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupDiagnostics.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentity.PowerShell.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentity.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentity.cs (92%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentity.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentityUserAssignedIdentities.PowerShell.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentityUserAssignedIdentities.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentityUserAssignedIdentities.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentityUserAssignedIdentities.dictionary.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupIdentityUserAssignedIdentities.json.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupListResult.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupListResult.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupListResult.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupListResult.json.cs (95%)
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfile.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfile.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfile.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfile.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileListResult.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileListResult.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileListResult.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileListResult.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatch.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatch.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatch.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatch.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatchTags.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatchTags.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatchTags.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatchTags.dictionary.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePatchTags.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileProperties.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileProperties.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileProperties.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileProperties.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePropertiesAutoGenerated.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePropertiesAutoGenerated.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePropertiesAutoGenerated.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfilePropertiesAutoGenerated.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileReferenceDefinition.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileReferenceDefinition.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileReferenceDefinition.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/ContainerGroupProfileReferenceDefinition.json.cs
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupProperties.PowerShell.cs (62%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupProperties.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupProperties.cs (70%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupProperties.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesAutoGenerated.PowerShell.cs (62%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesAutoGenerated.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesAutoGenerated.cs (69%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesAutoGenerated.json.cs (83%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesInstanceView.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesInstanceView.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesInstanceView.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupPropertiesInstanceView.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupSubnetId.PowerShell.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupSubnetId.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupSubnetId.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerGroupSubnetId.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerHttpGet.PowerShell.cs (84%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerHttpGet.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerHttpGet.cs (92%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerHttpGet.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPort.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPort.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPort.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPort.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProbe.PowerShell.cs (78%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProbe.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProbe.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProbe.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProperties.PowerShell.cs (62%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProperties.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProperties.cs (67%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerProperties.json.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPropertiesInstanceView.PowerShell.cs (79%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPropertiesInstanceView.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPropertiesInstanceView.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerPropertiesInstanceView.json.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerState.PowerShell.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerState.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerState.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ContainerState.json.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpec.PowerShell.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpec.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpec.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpec.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpecProperties.PowerShell.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpecProperties.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpecProperties.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DeploymentExtensionSpecProperties.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DnsConfiguration.PowerShell.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DnsConfiguration.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DnsConfiguration.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/DnsConfiguration.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EncryptionProperties.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EncryptionProperties.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EncryptionProperties.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EncryptionProperties.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EnvironmentVariable.PowerShell.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EnvironmentVariable.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EnvironmentVariable.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/EnvironmentVariable.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Event.PowerShell.cs (84%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Event.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Event.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Event.json.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GitRepoVolume.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GitRepoVolume.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GitRepoVolume.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GitRepoVolume.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GpuResource.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GpuResource.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GpuResource.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/GpuResource.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/HttpHeader.PowerShell.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/HttpHeader.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/HttpHeader.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/HttpHeader.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/IPAddress.PowerShell.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/IPAddress.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/IPAddress.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/IPAddress.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ImageRegistryCredential.PowerShell.cs (85%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ImageRegistryCredential.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ImageRegistryCredential.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ImageRegistryCredential.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerDefinition.PowerShell.cs (57%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerDefinition.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerDefinition.cs (60%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerDefinition.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinition.PowerShell.cs (57%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinition.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinition.cs (60%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinition.json.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinitionInstanceView.PowerShell.cs (80%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinitionInstanceView.TypeConverter.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinitionInstanceView.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/InitContainerPropertiesDefinitionInstanceView.json.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalytics.PowerShell.cs (84%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalytics.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalytics.cs (92%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalytics.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalyticsMetadata.PowerShell.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalyticsMetadata.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalyticsMetadata.cs (90%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalyticsMetadata.dictionary.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/LogAnalyticsMetadata.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Logs.PowerShell.cs (90%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Logs.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Logs.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Logs.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Operation.PowerShell.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Operation.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Operation.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Operation.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationDisplay.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationDisplay.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationDisplay.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationDisplay.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationListResult.PowerShell.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationListResult.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationListResult.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/OperationListResult.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Port.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Port.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Port.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Port.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Resource.PowerShell.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Resource.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Resource.cs (91%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Resource.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceLimits.PowerShell.cs (84%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceLimits.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceLimits.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceLimits.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequests.PowerShell.cs (83%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequests.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequests.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequests.json.cs (96%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequirements.PowerShell.cs (78%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequirements.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequirements.cs (81%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceRequirements.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceTags.PowerShell.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceTags.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceTags.cs (91%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceTags.dictionary.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/ResourceTags.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/SecretVolume.PowerShell.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/SecretVolume.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/SecretVolume.cs (91%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/SecretVolume.dictionary.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/SecretVolume.json.cs (97%)
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextCapabilitiesDefinition.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextCapabilitiesDefinition.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextCapabilitiesDefinition.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextCapabilitiesDefinition.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextDefinition.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextDefinition.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextDefinition.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/SecurityContextDefinition.json.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/StandbyPoolProfileDefinition.PowerShell.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/StandbyPoolProfileDefinition.TypeConverter.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/StandbyPoolProfileDefinition.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/Api20240501Preview/StandbyPoolProfileDefinition.json.cs
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Usage.PowerShell.cs (81%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Usage.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Usage.cs (86%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Usage.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageListResult.PowerShell.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageListResult.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageListResult.cs (81%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageListResult.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageName.PowerShell.cs (88%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageName.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageName.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UsageName.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UserAssignedIdentities.PowerShell.cs (89%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UserAssignedIdentities.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UserAssignedIdentities.cs (94%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/UserAssignedIdentities.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Volume.PowerShell.cs (76%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Volume.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Volume.cs (82%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/Volume.json.cs (95%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeEmptyDir.PowerShell.cs (93%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeEmptyDir.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeEmptyDir.cs (91%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeEmptyDir.dictionary.cs (98%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeEmptyDir.json.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeMount.PowerShell.cs (87%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeMount.TypeConverter.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeMount.cs (97%)
rename src/ContainerInstance/ContainerInstance.Autorest/generated/api/Models/{Api20221001Preview => Api20240501Preview}/VolumeMount.json.cs (97%)
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfileRevision_List.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfile_Get.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfile_Get1.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfile_GetViaIdentity.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfile_GetViaIdentity1.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfile_List.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/GetAzContainerInstanceContainerGroupProfile_List1.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/NewAzContainerInstanceContainerGroupProfile_CreateExpanded.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/RemoveAzContainerInstanceContainerGroupProfile_Delete.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/RemoveAzContainerInstanceContainerGroupProfile_DeleteViaIdentity.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/UpdateAzContainerInstanceContainerGroupProfile_Patch.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/UpdateAzContainerInstanceContainerGroupProfile_PatchExpanded.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/UpdateAzContainerInstanceContainerGroupProfile_PatchViaIdentity.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/generated/cmdlets/UpdateAzContainerInstanceContainerGroupProfile_PatchViaIdentityExpanded.cs
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/help/Get-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/help/Get-AzContainerInstanceContainerGroupProfileRevision.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/help/New-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/help/New-AzContainerInstanceNoDefaultObject.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/help/Remove-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/help/Update-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/Get-AzContainerInstanceContainerGroupProfile.Recording.json
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/Get-AzContainerInstanceContainerGroupProfile.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/Get-AzContainerInstanceContainerGroupProfileRevision.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/New-AzContainerGroupReuseFromStandbyPool.Recording.json
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/New-AzContainerGroupReuseFromStandbyPool.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/New-AzContainerInstanceContainerGroupProfile.Recording.json
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/New-AzContainerInstanceContainerGroupProfile.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/New-AzContainerInstanceNoDefaultObject.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/Remove-AzContainerInstanceContainerGroupProfile.Recording.json
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/Remove-AzContainerInstanceContainerGroupProfile.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance.Autorest/test/Update-AzContainerInstanceContainerGroupProfile.Tests.ps1
create mode 100644 src/ContainerInstance/ContainerInstance/help/Get-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance/help/Get-AzContainerInstanceContainerGroupProfileRevision.md
create mode 100644 src/ContainerInstance/ContainerInstance/help/New-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance/help/New-AzContainerInstanceNoDefaultObject.md
create mode 100644 src/ContainerInstance/ContainerInstance/help/Remove-AzContainerInstanceContainerGroupProfile.md
create mode 100644 src/ContainerInstance/ContainerInstance/help/Update-AzContainerInstanceContainerGroupProfile.md
create mode 100644 tools/StaticAnalysis/Exceptions/Az.ContainerInstance/BreakingChangeIssues.csv
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.format.ps1xml b/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.format.ps1xml
index bfa8cc8c72cc..6e26000f2249 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.format.ps1xml
+++ b/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.format.ps1xml
@@ -11,6 +11,9 @@
+
+
+
@@ -20,6 +23,9 @@
+
+
+
@@ -36,6 +42,9 @@
ContainerGroupName
+
+ ContainerGroupProfileName
+
ContainerName
@@ -45,6 +54,9 @@
ResourceGroupName
+
+ RevisionNumber
+
SubnetName
@@ -60,9 +72,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.GpuResource
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GpuResource
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.GpuResource
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GpuResource
@@ -88,9 +100,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ResourceRequests
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceRequests
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ResourceRequests
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceRequests
@@ -116,9 +128,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ResourceLimits
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceLimits
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ResourceLimits
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceLimits
@@ -144,9 +156,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerHttpGet
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerHttpGet
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerHttpGet
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerHttpGet
@@ -178,9 +190,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerProbe
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerProbe
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerProbe
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerProbe
@@ -224,9 +236,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerProperties
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerProperties
@@ -252,9 +264,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.EnvironmentVariable
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EnvironmentVariable
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.EnvironmentVariable
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EnvironmentVariable
@@ -286,9 +298,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerPort
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPort
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerPort
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPort
@@ -314,9 +326,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Port
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Port
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Port
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Port
@@ -342,9 +354,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredential
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ImageRegistryCredential
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredential
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ImageRegistryCredential
@@ -388,9 +400,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerPropertiesDefinition
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerPropertiesDefinition
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerPropertiesDefinition
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerPropertiesDefinition
@@ -416,9 +428,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerDefinition
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerDefinition
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerDefinition
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerDefinition
@@ -438,9 +450,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.AzureFileVolume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.AzureFileVolume
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.AzureFileVolume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.AzureFileVolume
@@ -478,9 +490,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.GitRepoVolume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GitRepoVolume
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.GitRepoVolume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GitRepoVolume
@@ -512,9 +524,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume
@@ -534,9 +546,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CachedImages
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CachedImages
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CachedImages
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CachedImages
@@ -562,9 +574,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CachedImagesListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CachedImagesListResult
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CachedImagesListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CachedImagesListResult
@@ -584,9 +596,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Capabilities
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Capabilities
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Capabilities
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Capabilities
@@ -630,9 +642,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CapabilitiesAutoGenerated
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CapabilitiesAutoGenerated
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CapabilitiesAutoGenerated
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CapabilitiesAutoGenerated
@@ -664,9 +676,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CapabilitiesListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CapabilitiesListResult
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CapabilitiesListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CapabilitiesListResult
@@ -686,9 +698,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CloudErrorBody
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CloudErrorBody
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CloudErrorBody
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.CloudErrorBody
@@ -720,9 +732,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ConfidentialComputeProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ConfidentialComputeProperties
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ConfidentialComputeProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ConfidentialComputeProperties
@@ -742,9 +754,31 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Container
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ConfigMapKeyValuePairs
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ConfigMapKeyValuePairs
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Container
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container
@@ -764,9 +798,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerAttachResponse
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerAttachResponse
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerAttachResponse
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerAttachResponse
@@ -792,9 +826,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExec
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExec
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExec
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExec
@@ -814,9 +848,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecRequest
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExecRequest
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecRequest
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExecRequest
@@ -836,9 +870,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecRequestTerminalSize
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExecRequestTerminalSize
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecRequestTerminalSize
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExecRequestTerminalSize
@@ -864,9 +898,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecResponse
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExecResponse
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecResponse
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerExecResponse
@@ -892,9 +926,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroup
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroup
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroup
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroup
@@ -949,6 +983,9 @@
+
+
+
@@ -973,6 +1010,12 @@
+
+
+
+
+
+
@@ -982,6 +1025,12 @@
+
+
+
+
+
+
@@ -1043,6 +1092,9 @@
InstanceViewState
+
+ IsCreatedFromStandbyPool
+
Location
@@ -1067,6 +1119,12 @@
Priority
+
+ ProfileId
+
+
+ ProfileRevision
+
ProvisioningState
@@ -1076,6 +1134,12 @@
Sku
+
+ StandbyPoolProfileFailContainerGroupCreateOnReuseFailure
+
+
+ StandbyPoolProfileId
+
Zone
@@ -1088,9 +1152,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupIdentity
@@ -1116,9 +1180,185 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfile
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfile
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ConfidentialComputePropertyCcePolicy
+
+
+ EncryptionPropertyIdentity
+
+
+ EncryptionPropertyKeyName
+
+
+ EncryptionPropertyKeyVersion
+
+
+ EncryptionPropertyVaultBaseUrl
+
+
+ IPAddressAutoGeneratedDomainNameLabelScope
+
+
+ IPAddressDnsNameLabel
+
+
+ IPAddressFqdn
+
+
+ IPAddressIP
+
+
+ IPAddressType
+
+
+ Location
+
+
+ LogAnalyticLogType
+
+
+ LogAnalyticWorkspaceId
+
+
+ LogAnalyticWorkspaceKey
+
+
+ LogAnalyticWorkspaceResourceId
+
+
+ Name
+
+
+ OSType
+
+
+ Priority
+
+
+ RestartPolicy
+
+
+ Revision
+
+
+ Sku
+
+
+ Zone
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfileListResult
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfileListResult
@@ -1138,12 +1378,105 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupPropertiesAutoGenerated
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfilePatchTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfilePatchTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfilePropertiesAutoGenerated
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupPropertiesAutoGenerated
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfilePropertiesAutoGenerated
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OSType
+
+
+ Priority
+
+
+ RestartPolicy
+
+
+ Revision
+
+
+ Sku
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfileReferenceDefinition
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupProfileReferenceDefinition
+
+
+
+
+
+
+
+
+
+
+
+ Revision
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupPropertiesAutoGenerated
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupPropertiesAutoGenerated
+
+
+
+
+
+
@@ -1163,6 +1496,9 @@
+
+ IsCreatedFromStandbyPool
+
OSType
@@ -1184,9 +1520,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupPropertiesInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupPropertiesInstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupPropertiesInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupPropertiesInstanceView
@@ -1206,9 +1542,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupSubnetId
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupSubnetId
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupSubnetId
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerGroupSubnetId
@@ -1228,9 +1564,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerPropertiesInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPropertiesInstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerPropertiesInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPropertiesInstanceView
@@ -1250,9 +1586,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerState
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerState
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerState
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerState
@@ -1296,9 +1632,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.DeploymentExtensionSpec
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.DeploymentExtensionSpec
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.DeploymentExtensionSpec
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.DeploymentExtensionSpec
@@ -1318,9 +1654,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.DeploymentExtensionSpecProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.DeploymentExtensionSpecProperties
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.DeploymentExtensionSpecProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.DeploymentExtensionSpecProperties
@@ -1346,9 +1682,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.DnsConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.DnsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.DnsConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.DnsConfiguration
@@ -1380,9 +1716,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.EncryptionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EncryptionProperties
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.EncryptionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EncryptionProperties
@@ -1420,9 +1756,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Event
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Event
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Event
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Event
@@ -1466,9 +1802,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.HttpHeader
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.HttpHeader
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.HttpHeader
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.HttpHeader
@@ -1494,9 +1830,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerPropertiesDefinitionInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerPropertiesDefinitionInstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerPropertiesDefinitionInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerPropertiesDefinitionInstanceView
@@ -1516,9 +1852,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IPAddress
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPAddress
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IPAddress
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPAddress
@@ -1556,9 +1892,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.LogAnalytics
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.LogAnalytics
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.LogAnalytics
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.LogAnalytics
@@ -1596,9 +1932,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.LogAnalyticsMetadata
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.LogAnalyticsMetadata
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.LogAnalyticsMetadata
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.LogAnalyticsMetadata
@@ -1618,9 +1954,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Logs
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Logs
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Logs
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Logs
@@ -1640,9 +1976,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Operation
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Operation
@@ -1668,9 +2004,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.OperationDisplay
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.OperationDisplay
@@ -1708,9 +2044,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.OperationListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.OperationListResult
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.OperationListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.OperationListResult
@@ -1730,9 +2066,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Resource
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Resource
@@ -1764,9 +2100,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceTags
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceTags
@@ -1786,9 +2122,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.SecretVolume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecretVolume
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.SecretVolume
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecretVolume
@@ -1808,9 +2144,105 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Usage
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextCapabilitiesDefinition
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextCapabilitiesDefinition
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Add
+
+
+ Drop
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextDefinition
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextDefinition
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AllowPrivilegeEscalation
+
+
+ Privileged
+
+
+ RunAsGroup
+
+
+ RunAsUser
+
+
+ SeccompProfile
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.StandbyPoolProfileDefinition
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.StandbyPoolProfileDefinition
+
+
+
+
+
+
+
+
+
+
+
+ FailContainerGroupCreateOnReuseFailure
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Usage
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Usage
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Usage
@@ -1842,9 +2274,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.UsageName
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.UsageName
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.UsageName
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.UsageName
@@ -1870,9 +2302,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.UserAssignedIdentities
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.UserAssignedIdentities
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.UserAssignedIdentities
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.UserAssignedIdentities
@@ -1898,9 +2330,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeMount
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.VolumeMount
- Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeMount
+ Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.VolumeMount
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.psd1 b/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.psd1
index 99df6b957fb6..092527c574b7 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.psd1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/Az.ContainerInstance.psd1
@@ -11,7 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.ContainerInstance.private.dll'
FormatsToProcess = './Az.ContainerInstance.format.ps1xml'
- FunctionsToExport = 'Add-AzContainerInstanceOutput', 'Get-AzContainerGroup', 'Get-AzContainerInstanceCachedImage', 'Get-AzContainerInstanceCapability', 'Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint', 'Get-AzContainerInstanceLog', 'Get-AzContainerInstanceUsage', 'Invoke-AzContainerInstanceCommand', 'New-AzContainerGroup', 'New-AzContainerGroupImageRegistryCredentialObject', 'New-AzContainerGroupPortObject', 'New-AzContainerGroupVolumeObject', 'New-AzContainerInstanceEnvironmentVariableObject', 'New-AzContainerInstanceHttpHeaderObject', 'New-AzContainerInstanceInitDefinitionObject', 'New-AzContainerInstanceObject', 'New-AzContainerInstancePortObject', 'New-AzContainerInstanceVolumeMountObject', 'Remove-AzContainerGroup', 'Remove-AzContainerInstanceSubnetServiceAssociationLink', 'Restart-AzContainerGroup', 'Start-AzContainerGroup', 'Stop-AzContainerGroup', 'Update-AzContainerGroup', '*'
+ FunctionsToExport = 'Add-AzContainerInstanceOutput', 'Get-AzContainerGroup', 'Get-AzContainerInstanceCachedImage', 'Get-AzContainerInstanceCapability', 'Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint', 'Get-AzContainerInstanceContainerGroupProfile', 'Get-AzContainerInstanceContainerGroupProfileRevision', 'Get-AzContainerInstanceLog', 'Get-AzContainerInstanceUsage', 'Invoke-AzContainerInstanceCommand', 'New-AzContainerGroup', 'New-AzContainerGroupImageRegistryCredentialObject', 'New-AzContainerGroupPortObject', 'New-AzContainerGroupVolumeObject', 'New-AzContainerInstanceContainerGroupProfile', 'New-AzContainerInstanceEnvironmentVariableObject', 'New-AzContainerInstanceHttpHeaderObject', 'New-AzContainerInstanceInitDefinitionObject', 'New-AzContainerInstanceNoDefaultObject', 'New-AzContainerInstanceObject', 'New-AzContainerInstancePortObject', 'New-AzContainerInstanceVolumeMountObject', 'Remove-AzContainerGroup', 'Remove-AzContainerInstanceContainerGroupProfile', 'Remove-AzContainerInstanceSubnetServiceAssociationLink', 'Restart-AzContainerGroup', 'Start-AzContainerGroup', 'Stop-AzContainerGroup', 'Update-AzContainerGroup', 'Update-AzContainerInstanceContainerGroupProfile', '*'
AliasesToExport = 'Get-AzContainerGroupOutboundNetworkDependencyEndpoint', '*'
PrivateData = @{
PSData = @{
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/README.md b/src/ContainerInstance/ContainerInstance.Autorest/README.md
index 663ae042effd..dc25ee8232c7 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/README.md
+++ b/src/ContainerInstance/ContainerInstance.Autorest/README.md
@@ -27,13 +27,13 @@ For information on how to develop for `Az.ContainerInstance`, see [how-to.md](ho
> see https://aka.ms/autorest
``` yaml
-commit: 81562c6c057a510ddde50ff40720d254bd5f6dbf
+commit: 400510ae981419169f35012c3a217b268e779b2b
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
# You need to specify your swagger files here.
- - $(repo)/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2022-10-01-preview/containerInstance.json
+ - $(repo)/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/containerInstance.json
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
# - (this-folder)/relative-path-to-your-swagger
@@ -95,13 +95,6 @@ directive:
parameter-name: ImageRegistryCredentials
set:
parameter-name: ImageRegistryCredential
- # Sets OSType equal Linux by default
- - where:
- parameter-name: OSType
- set:
- default:
- description: Sets OSType equal Linux by default.
- script: '"Linux"'
# 1. Set IPAddressPort equals $Container.Port
# 2. Set Location mandatory
- where:
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles-revisions.json b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles-revisions.json
new file mode 100644
index 000000000000..f94c48c894b8
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles-revisions.json
@@ -0,0 +1,52 @@
+{
+ "resourceType": "containerGroupProfiles/revisions",
+ "apiVersion": "2024-05-01-preview",
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.containerinstance"
+ },
+ "commands": [
+ {
+ "name": "Get-AzContainerInstanceContainerGroupProfile",
+ "description": "Gets the properties of the specified container group profile in the specified subscription and resource group.\nThe operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}",
+ "help": {
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecontainergroupprofile"
+ },
+ "parameterSets": [
+ {
+ "parameters": [
+ "-Name ",
+ "-ResourceGroupName ",
+ "-RevisionNumber ",
+ "[-SubscriptionId ]"
+ ]
+ }
+ ]
+ },
+ "examples": [
+ {
+ "description": "Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.",
+ "parameters": [
+ {
+ "name": "-Name",
+ "value": "[Path.containerGroupProfileName]"
+ },
+ {
+ "name": "-ResourceGroupName",
+ "value": "[Path.resourceGroupName]"
+ },
+ {
+ "name": "-RevisionNumber",
+ "value": "[Path.revisionNumber]"
+ },
+ {
+ "name": "-SubscriptionId",
+ "value": "[Path.subscriptionId]"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles.json b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles.json
new file mode 100644
index 000000000000..b238f8bc3db9
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroupProfiles.json
@@ -0,0 +1,85 @@
+{
+ "resourceType": "containerGroupProfiles",
+ "apiVersion": "2024-05-01-preview",
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.containerinstance"
+ },
+ "commands": [
+ {
+ "name": "Get-AzContainerInstanceContainerGroupProfile",
+ "description": "Gets the properties of the specified container group profile in the specified subscription and resource group.\nThe operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
+ "help": {
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecontainergroupprofile"
+ },
+ "parameterSets": [
+ {
+ "parameters": [
+ "-Name ",
+ "-ResourceGroupName ",
+ "[-SubscriptionId ]"
+ ]
+ }
+ ]
+ },
+ "examples": [
+ {
+ "description": "Gets the properties of the specified container group profile in the specified subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.",
+ "parameters": [
+ {
+ "name": "-Name",
+ "value": "[Path.containerGroupProfileName]"
+ },
+ {
+ "name": "-ResourceGroupName",
+ "value": "[Path.resourceGroupName]"
+ },
+ {
+ "name": "-SubscriptionId",
+ "value": "[Path.subscriptionId]"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Remove-AzContainerInstanceContainerGroupProfile",
+ "description": "Delete the specified container group profile in the specified subscription and resource group.\nThe operation does not delete other resources provided by the user, such as volumes.",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
+ "help": {
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.containerinstance/remove-azcontainerinstancecontainergroupprofile"
+ },
+ "parameterSets": [
+ {
+ "parameters": [
+ "-Name ",
+ "-ResourceGroupName ",
+ "[-SubscriptionId ]"
+ ]
+ }
+ ]
+ },
+ "examples": [
+ {
+ "description": "Delete the specified container group profile in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.",
+ "parameters": [
+ {
+ "name": "-Name",
+ "value": "[Path.containerGroupProfileName]"
+ },
+ {
+ "name": "-ResourceGroupName",
+ "value": "[Path.resourceGroupName]"
+ },
+ {
+ "name": "-SubscriptionId",
+ "value": "[Path.subscriptionId]"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups-containers.json b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups-containers.json
index a3d61cf00ba1..8a574e03514e 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups-containers.json
+++ b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups-containers.json
@@ -1,6 +1,6 @@
{
"resourceType": "containerGroups/containers",
- "apiVersion": "2022-10-01-preview",
+ "apiVersion": "2024-05-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.containerinstance"
},
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups.json b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups.json
index dabdf19effab..bb18e66c6cfe 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups.json
+++ b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.ContainerInstance/containerGroups.json
@@ -1,6 +1,6 @@
{
"resourceType": "containerGroups",
- "apiVersion": "2022-10-01-preview",
+ "apiVersion": "2024-05-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.containerinstance"
},
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.Network/virtualNetworks-subnets.json b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.Network/virtualNetworks-subnets.json
index 5ecd24e49c02..151b71c974e9 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.Network/virtualNetworks-subnets.json
+++ b/src/ContainerInstance/ContainerInstance.Autorest/UX/Microsoft.Network/virtualNetworks-subnets.json
@@ -1,6 +1,6 @@
{
"resourceType": "virtualNetworks/subnets",
- "apiVersion": "2022-10-01-preview",
+ "apiVersion": "2024-05-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.containerinstance"
},
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/build-module.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/build-module.ps1
index 3034b7c666b2..1129ff38c418 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/build-module.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/build-module.ps1
@@ -12,7 +12,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [Switch]$DisableAfterBuildTasks)
$ErrorActionPreference = 'Stop'
if($PSEdition -ne 'Core') {
@@ -67,6 +67,8 @@ if(-not $Isolated -and -not $Debugger) {
$binFolder = Join-Path $PSScriptRoot 'bin'
$objFolder = Join-Path $PSScriptRoot 'obj'
+$isAzure = [System.Convert]::ToBoolean('true')
+
if(-not $Debugger) {
Write-Host -ForegroundColor Green 'Cleaning build folders...'
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
@@ -143,7 +145,7 @@ if($NoDocs) {
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
}
$null = New-Item -ItemType Directory -Force -Path $docsFolder
- $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
+ $addComplexInterfaceInfo = !$isAzure
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
}
@@ -169,4 +171,13 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
. (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
}
-Write-Host -ForegroundColor Green '-------------Done-------------'
+if (-not $DisableAfterBuildTasks){
+ $afterBuildTasksPath = Join-Path $PSScriptRoot ''
+ $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable
+ if(Test-Path -Path $afterBuildTasksPath -PathType leaf){
+ Write-Host -ForegroundColor Green 'Running after build tasks...'
+ . $afterBuildTasksPath @afterBuildTasksArgs
+ }
+}
+
+Write-Host -ForegroundColor Green '-------------Done-------------'
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/InvokeAzContainerInstanceCommand_ExecuteExpanded.cs b/src/ContainerInstance/ContainerInstance.Autorest/custom/InvokeAzContainerInstanceCommand_ExecuteExpanded.cs
index 4a2a6cbedc25..071931a4d0c8 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/InvokeAzContainerInstanceCommand_ExecuteExpanded.cs
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/InvokeAzContainerInstanceCommand_ExecuteExpanded.cs
@@ -28,11 +28,11 @@ public partial class InvokeAzContainerInstanceCommand_ExecuteExpanded : global::
/// on that response. Implement this method in a partial class to enable this behavior
///
/// the raw response message as an global::System.Net.Http.HttpResponseMessage.
- /// the body result as a the body result as a from the remote call
/// /// Determines if the rest of the onOk method should be processed, or if the method should return
/// immediately (set to true to skip further processing )
- partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow)
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow)
{
var containerExecResponse = response.ConfigureAwait(false).GetAwaiter().GetResult();
socket = new System.Net.WebSockets.ClientWebSocket();
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroup.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroup.ps1
index 920810d3ce00..8a88c89cbeb8 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroup.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroup.ps1
@@ -23,7 +23,7 @@ Create or update container groups with specified configurations.
https://learn.microsoft.com/powershell/module/az.containerinstance/new-azcontainergroup
#>
function New-AzContainerGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -47,10 +47,10 @@ param(
# The subscription ID forms part of the URI for every service call.
${SubscriptionId},
- [Parameter(Mandatory)]
+ [Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainer[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainer[]]
# The containers within the container group.
# To construct, see NOTES section for CONTAINER properties and create a hash table.
${Container},
@@ -58,11 +58,22 @@ param(
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.OperatingSystemTypes])]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Description='Sets OSType equal Linux by default.', Script='"Linux"')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.OperatingSystemTypes]
# The operating system type required by the containers in the container group.
${OSType},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.String]
+ # The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'.
+ ${ContainerGroupProfileId},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.Int32]
+ # The container group profile reference revision.
+ ${ContainerGroupProfileRevision},
+
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
@@ -115,7 +126,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IPort[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPort[]]
# The list of ports exposed on the container group.
# To construct, see NOTES section for IPADDRESSPORT properties and create a hash table.
${IPAddressPort},
@@ -138,7 +149,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupIdentityUserAssignedIdentities]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupIdentityUserAssignedIdentities]))]
[System.Collections.Hashtable]
# The list of user identities associated with the container group.
# The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
@@ -147,7 +158,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IImageRegistryCredential[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IImageRegistryCredential[]]
# The image registry credentials by which the container group is created from.
# To construct, see NOTES section for IMAGEREGISTRYCREDENTIAL properties and create a hash table.
${ImageRegistryCredential},
@@ -155,7 +166,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IInitContainerDefinition[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IInitContainerDefinition[]]
# The init containers for a container group.
# To construct, see NOTES section for INITCONTAINER properties and create a hash table.
${InitContainer},
@@ -175,7 +186,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ILogAnalyticsMetadata]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ILogAnalyticsMetadata]))]
[System.Collections.Hashtable]
# Metadata for log analytics.
${LogAnalyticMetadata},
@@ -213,17 +224,29 @@ param(
# The SKU for a container group.
${Sku},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.
+ ${StandbyPoolProfileFailContainerGroupCreateOnReuseFailure},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.String]
+ # The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'.
+ ${StandbyPoolProfileId},
+
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupSubnetId[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupSubnetId[]]
# The subnet resource IDs for a container group.
# To construct, see NOTES section for SUBNETID properties and create a hash table.
${SubnetId},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IResourceTags]))]
[System.Collections.Hashtable]
# The resource tags.
${Tag},
@@ -231,7 +254,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolume[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolume[]]
# The list of volumes that can be mounted by containers in this container group.
# To construct, see NOTES section for VOLUME properties and create a hash table.
${Volume},
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupImageRegistryCredentialObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupImageRegistryCredentialObject.ps1
index c844a700e3a1..d8ac8bf594a1 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupImageRegistryCredentialObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupImageRegistryCredentialObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for ImageRegistryCredential
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerGroupImageRegistryCredentialObject
#>
function New-AzContainerGroupImageRegistryCredentialObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredential')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ImageRegistryCredential')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -41,7 +41,7 @@ function New-AzContainerGroupImageRegistryCredentialObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredential]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ImageRegistryCredential]::New()
if ($PSBoundParameters.ContainsKey('Password')) {
$psTxt = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['Password']
}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupPortObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupPortObject.ps1
index 99176f3cb2f9..392c8973474a 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupPortObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupPortObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for Port
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerGroupPortObject
#>
function New-AzContainerGroupPortObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Port')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Port')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -36,7 +36,7 @@ function New-AzContainerGroupPortObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Port]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Port]::New()
$Object.Port1 = $Port
$Object.Protocol = $Protocol
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupVolumeObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupVolumeObject.ps1
index ac634b84bf23..9a3f23dff228 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupVolumeObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroupVolumeObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for Volume.
Create an in-memory object for Volume.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume
.Link
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerGroupVolumeObject
#>
function New-AzContainerGroupVolumeObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -43,7 +43,7 @@ function New-AzContainerGroupVolumeObject {
[string]
$AzureFileStorageAccountName,
[Parameter(HelpMessage="The empty directory volume.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolumeEmptyDir]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolumeEmptyDir]
$EmptyDir,
[Parameter(HelpMessage="Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.")]
[string]
@@ -58,12 +58,12 @@ function New-AzContainerGroupVolumeObject {
[string]
$Name,
[Parameter(HelpMessage="The secret volume.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ISecretVolume]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ISecretVolume]
$Secret
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume]::New()
if ($PSBoundParameters.ContainsKey('AzureFileReadOnly')) {
$Object.AzureFileReadOnly = $AzureFileReadOnly
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceEnvironmentVariableObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceEnvironmentVariableObject.ps1
index 31c35702e1c8..85c9cacccc75 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceEnvironmentVariableObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceEnvironmentVariableObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for EnvironmentVariable
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerInstanceEnvironmentVariableObject
#>
function New-AzContainerInstanceEnvironmentVariableObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.EnvironmentVariable')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EnvironmentVariable')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -38,7 +38,7 @@ function New-AzContainerInstanceEnvironmentVariableObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.EnvironmentVariable]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EnvironmentVariable]::New()
if ($PSBoundParameters.ContainsKey('SecureValue')) {
$psTxt = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['SecureValue']
}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceHttpHeaderObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceHttpHeaderObject.ps1
index f26153c95ff8..23571598db83 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceHttpHeaderObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceHttpHeaderObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for HttpHeader
https://learn.microsoft.com/powershell/module/az.ContainerInstance/New-AzContainerInstanceHttpHeaderObject
#>
function New-AzContainerInstanceHttpHeaderObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.HttpHeader')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.HttpHeader')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -35,7 +35,7 @@ function New-AzContainerInstanceHttpHeaderObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.HttpHeader]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.HttpHeader]::New()
$Object.Name = $Name
$Object.Value = $Value
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceInitDefinitionObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceInitDefinitionObject.ps1
index ef61e4855a8b..931c28de1704 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceInitDefinitionObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceInitDefinitionObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for InitContainerDefinition
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerInstanceInitDefinitionObject
#>
function New-AzContainerInstanceInitDefinitionObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerDefinition')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerDefinition')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -30,7 +30,7 @@ function New-AzContainerInstanceInitDefinitionObject {
[string[]]
$Command,
[Parameter(HelpMessage="The environment variables to set in the init container.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IEnvironmentVariable[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEnvironmentVariable[]]
$EnvironmentVariable,
[Parameter(HelpMessage="The image of the init container.")]
[string]
@@ -39,12 +39,12 @@ function New-AzContainerInstanceInitDefinitionObject {
[string]
$Name,
[Parameter(HelpMessage="The volume mounts available to the init container.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolumeMount[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolumeMount[]]
$VolumeMount
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerDefinition]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerDefinition]::New()
$Object.Command = $Command
$Object.EnvironmentVariable = $EnvironmentVariable
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceNoDefaultObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceNoDefaultObject.ps1
new file mode 100644
index 000000000000..2ff0d6ed017d
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceNoDefaultObject.ps1
@@ -0,0 +1,196 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the \"License\");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an \"AS IS\" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create a in-memory object for Container with no default values
+.Description
+Create a in-memory object for Container with no default values
+.Link
+https://learn.microsoft.com/powershell/module/az.ContainerInstance/New-AzContainerInstanceNoDefaultObject
+#>
+function New-AzContainerInstanceNoDefaultObject {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container')]
+ [CmdletBinding(PositionalBinding=$false)]
+ Param(
+
+ [Parameter(HelpMessage="The commands to execute within the container instance in exec form.")]
+ [string[]]
+ $Command,
+ [Parameter(HelpMessage="The key value pairs dictionary in the config map to set in the container instance.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IConfigMapKeyValuePairs]
+ $ConfigMapKeyValuePair,
+ [Parameter(HelpMessage="The environment variables to set in the container instance.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEnvironmentVariable[]]
+ $EnvironmentVariable,
+ [Parameter(HelpMessage="The name of the image used to create the container instance.")]
+ [string]
+ $Image,
+ [Parameter(HelpMessage="The CPU limit of this container instance.")]
+ [double]
+ $LimitCpu,
+ [Parameter(HelpMessage="The memory limit in GB of this container instance.")]
+ [double]
+ $LimitMemoryInGb,
+ [Parameter(HelpMessage="The count of the GPU resource.")]
+ [int]
+ $LimitsGpuCount,
+ [Parameter(HelpMessage="The SKU of the GPU resource.")]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.GpuSku])]
+ [string]
+ $LimitsGpuSku,
+ [Parameter(HelpMessage="The commands to execute within the container.")]
+ [string[]]
+ $LivenessProbeExecCommand,
+ [Parameter(HelpMessage="The failure threshold.")]
+ [int]
+ $LivenessProbeFailureThreshold,
+ [Parameter(HelpMessage="The HTTP headers for liveness probe.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IHttpHeader[]]
+ $LivenessProbeHttpGetHttpHeader,
+ [Parameter(HelpMessage="The path to probe.")]
+ [string]
+ $LivenessProbeHttpGetPath,
+ [Parameter(HelpMessage="The port number to probe.")]
+ [int]
+ $LivenessProbeHttpGetPort,
+ [Parameter(HelpMessage="The scheme.")]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.Scheme])]
+ [string]
+ $LivenessProbeHttpGetScheme,
+ [Parameter(HelpMessage="The initial delay seconds.")]
+ [int]
+ $LivenessProbeInitialDelaySecond,
+ [Parameter(HelpMessage="The period seconds.")]
+ [int]
+ $LivenessProbePeriodSecond,
+ [Parameter(HelpMessage="The success threshold.")]
+ [int]
+ $LivenessProbeSuccessThreshold,
+ [Parameter(HelpMessage="The timeout seconds.")]
+ [int]
+ $LivenessProbeTimeoutSecond,
+ [Parameter(Mandatory, HelpMessage="The user-provided name of the container instance.")]
+ [string]
+ $Name,
+ [Parameter(HelpMessage="The exposed ports on the container instance.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerPort[]]
+ $Port,
+ [Parameter(HelpMessage="The commands to execute within the container.")]
+ [string[]]
+ $ReadinessProbeExecCommand,
+ [Parameter(HelpMessage="The failure threshold.")]
+ [int]
+ $ReadinessProbeFailureThreshold,
+ [Parameter(HelpMessage="The HTTP headers for readiness probe.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IHttpHeader[]]
+ $ReadinessProbeHttpGetHttpHeader,
+ [Parameter(HelpMessage="The path to probe.")]
+ [string]
+ $ReadinessProbeHttpGetPath,
+ [Parameter(HelpMessage="The port number to probe.")]
+ [int]
+ $ReadinessProbeHttpGetPort,
+ [Parameter(HelpMessage="The scheme.")]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.Scheme])]
+ [string]
+ $ReadinessProbeHttpGetScheme,
+ [Parameter(HelpMessage="The initial delay seconds.")]
+ [int]
+ $ReadinessProbeInitialDelaySecond,
+ [Parameter(HelpMessage="The period seconds.")]
+ [int]
+ $ReadinessProbePeriodSecond,
+ [Parameter(HelpMessage="The success threshold.")]
+ [int]
+ $ReadinessProbeSuccessThreshold,
+ [Parameter(HelpMessage="The timeout seconds.")]
+ [int]
+ $ReadinessProbeTimeoutSecond,
+ [Parameter(HelpMessage="The CPU request of this container instance.")]
+ [double]
+ $RequestCpu,
+ [Parameter(HelpMessage="The memory request in GB of this container instance.")]
+ [double]
+ $RequestMemoryInGb,
+ [Parameter(HelpMessage="The count of the GPU resource.")]
+ [int]
+ $RequestsGpuCount,
+ [Parameter(HelpMessage="The SKU of the GPU resource.")]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.GpuSku])]
+ [string]
+ $RequestsGpuSku,
+ [Parameter(HelpMessage="The volume mounts available to the container instance.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolumeMount[]]
+ $VolumeMount
+ )
+
+ process {
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container]::New()
+
+ $Object.Command = $Command
+ $Object.ConfigMapKeyValuePair = $ConfigMapKeyValuePair
+ $Object.EnvironmentVariable = $EnvironmentVariable
+ if($PSBoundParameters.ContainsKey("Image")) {
+
+ $Object.Image = $Image
+ }
+ $Object.LimitCpu = $LimitCpu
+ $Object.LimitMemoryInGb = $LimitMemoryInGb
+ $Object.LimitsGpuCount = $LimitsGpuCount
+ $Object.LimitsGpuSku = $LimitsGpuSku
+ $Object.LivenessProbeExecCommand = $LivenessProbeExecCommand
+ $Object.LivenessProbeFailureThreshold = $LivenessProbeFailureThreshold
+ $Object.LivenessProbeHttpGetHttpHeader = $LivenessProbeHttpGetHttpHeader
+ $Object.LivenessProbeHttpGetPath = $LivenessProbeHttpGetPath
+ $Object.LivenessProbeHttpGetPort = $LivenessProbeHttpGetPort
+ $Object.LivenessProbeHttpGetScheme = $LivenessProbeHttpGetScheme
+ $Object.LivenessProbeInitialDelaySecond = $LivenessProbeInitialDelaySecond
+ $Object.LivenessProbePeriodSecond = $LivenessProbePeriodSecond
+ $Object.LivenessProbeSuccessThreshold = $LivenessProbeSuccessThreshold
+ $Object.LivenessProbeTimeoutSecond = $LivenessProbeTimeoutSecond
+ $Object.Name = $Name
+ $Object.Port = $Port
+ $Object.ReadinessProbeExecCommand = $ReadinessProbeExecCommand
+ $Object.ReadinessProbeFailureThreshold = $ReadinessProbeFailureThreshold
+ $Object.ReadinessProbeHttpGetHttpHeader = $ReadinessProbeHttpGetHttpHeader
+ $Object.ReadinessProbeHttpGetPath = $ReadinessProbeHttpGetPath
+ $Object.ReadinessProbeHttpGetPort = $ReadinessProbeHttpGetPort
+ $Object.ReadinessProbeHttpGetScheme = $ReadinessProbeHttpGetScheme
+ $Object.ReadinessProbeInitialDelaySecond = $ReadinessProbeInitialDelaySecond
+ $Object.ReadinessProbePeriodSecond = $ReadinessProbePeriodSecond
+ $Object.ReadinessProbeSuccessThreshold = $ReadinessProbeSuccessThreshold
+ $Object.ReadinessProbeTimeoutSecond = $ReadinessProbeTimeoutSecond
+ if($PSBoundParameters.ContainsKey("RequestCpu")) {
+
+ $Object.RequestCpu = $RequestCpu
+ }
+ if($PSBoundParameters.ContainsKey("RequestMemoryInGb")) {
+
+ $Object.RequestMemoryInGb = $RequestMemoryInGb
+ }
+ if($PSBoundParameters.ContainsKey("RequestsGpuCount")) {
+
+ $Object.RequestsGpuCount = $RequestsGpuCount
+ }
+ if($PSBoundParameters.ContainsKey("RequestsGpuSku")) {
+
+ $Object.RequestsGpuSku = $RequestsGpuSku
+ }
+ $Object.VolumeMount = $VolumeMount
+ return $Object
+ }
+}
+
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceObject.ps1
index e9317b98fa62..d94458cc6a2f 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceObject.ps1
@@ -22,15 +22,18 @@ Create a in-memory object for Container
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerInstanceObject
#>
function New-AzContainerInstanceObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Container')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="The commands to execute within the container instance in exec form.")]
[string[]]
$Command,
+ [Parameter(HelpMessage="The key value pairs dictionary in the config map to set in the container instance.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IConfigMapKeyValuePairs]
+ $ConfigMapKeyValuePair,
[Parameter(HelpMessage="The environment variables to set in the container instance.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IEnvironmentVariable[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEnvironmentVariable[]]
$EnvironmentVariable,
[Parameter(Mandatory, HelpMessage="The name of the image used to create the container instance.")]
[string]
@@ -55,7 +58,7 @@ function New-AzContainerInstanceObject {
[int]
$LivenessProbeFailureThreshold,
[Parameter(HelpMessage="The HTTP headers for liveness probe.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IHttpHeader[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IHttpHeader[]]
$LivenessProbeHttpGetHttpHeader,
[Parameter(HelpMessage="The path to probe.")]
[string]
@@ -83,7 +86,7 @@ function New-AzContainerInstanceObject {
[string]
$Name,
[Parameter(HelpMessage="The exposed ports on the container instance.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerPort[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerPort[]]
$Port,
[Parameter(HelpMessage="The commands to execute within the container.")]
[string[]]
@@ -92,7 +95,7 @@ function New-AzContainerInstanceObject {
[int]
$ReadinessProbeFailureThreshold,
[Parameter(HelpMessage="The HTTP headers for readiness probe.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IHttpHeader[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IHttpHeader[]]
$ReadinessProbeHttpGetHttpHeader,
[Parameter(HelpMessage="The path to probe.")]
[string]
@@ -130,14 +133,15 @@ function New-AzContainerInstanceObject {
[string]
$RequestsGpuSku,
[Parameter(HelpMessage="The volume mounts available to the container instance.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolumeMount[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolumeMount[]]
$VolumeMount
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Container]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container]::New()
$Object.Command = $Command
+ $Object.ConfigMapKeyValuePair = $ConfigMapKeyValuePair
$Object.EnvironmentVariable = $EnvironmentVariable
$Object.Image = $Image
$Object.LimitCpu = $LimitCpu
@@ -185,5 +189,4 @@ function New-AzContainerInstanceObject {
$Object.VolumeMount = $VolumeMount
return $Object
}
-}
-
+}
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstancePortObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstancePortObject.ps1
index 6c1e6d2471cf..725d62a2433d 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstancePortObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstancePortObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for ContainerPort
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerInstancePortObject
#>
function New-AzContainerInstancePortObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerPort')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPort')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -36,7 +36,7 @@ function New-AzContainerInstancePortObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerPort]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPort]::New()
$Object.Port = $Port
$Object.Protocol = $Protocol
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceVolumeMountObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceVolumeMountObject.ps1
index fa7e9542019a..3d7aaaf53358 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceVolumeMountObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerInstanceVolumeMountObject.ps1
@@ -22,7 +22,7 @@ Create a in-memory object for VolumeMount
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerInstanceVolumeMountObject
#>
function New-AzContainerInstanceVolumeMountObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeMount')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.VolumeMount')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -38,7 +38,7 @@ function New-AzContainerInstanceVolumeMountObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeMount]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.VolumeMount]::New()
$Object.MountPath = $MountPath
$Object.Name = $Name
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/custom/SpecialHandlerToRemoveDefaultValue.cs b/src/ContainerInstance/ContainerInstance.Autorest/custom/SpecialHandlerToRemoveDefaultValue.cs
index b23b0dae92cb..f2c5e35d18ea 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/custom/SpecialHandlerToRemoveDefaultValue.cs
+++ b/src/ContainerInstance/ContainerInstance.Autorest/custom/SpecialHandlerToRemoveDefaultValue.cs
@@ -1,4 +1,4 @@
-namespace Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview
{
using static Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Extensions;
/// The GPU resource.
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfile.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfile.md
new file mode 100644
index 000000000000..460239af70cc
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfile.md
@@ -0,0 +1,131 @@
+### Example 1: List all container group profiles in the current subscription
+```powershell
+Get-AzContainerInstanceContainerGroupProfile
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cgp1 test-rg
+eastus test-cgp2 test-rg
+```
+
+This command gets all container group profiles in the current subscription.
+
+### Example 2: Get container group profiles in a resource group
+```powershell
+Get-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cgp1 test-rg
+eastus test-cgp2 test-rg
+```
+
+The command gets the container group profiles in the resource group `test-rg`.
+
+### Example 3: Get a specific container group profile
+```powershell
+Get-AzContainerInstanceContainerGroupProfile -Name test-cgp1 -ResourceGroupName test-rg | Format-List
+```
+
+```output
+ConfidentialComputeProperty : {}
+ConfidentialComputePropertyCcePolicy :
+Container : {test-container}
+Diagnostic : {}
+DiagnosticLogAnalytic : {}
+EncryptionProperty : {}
+EncryptionPropertyIdentity :
+EncryptionPropertyKeyName :
+EncryptionPropertyKeyVersion :
+EncryptionPropertyVaultBaseUrl :
+Extension :
+IPAddress : {
+ "type": "Public"
+ }
+IPAddressAutoGeneratedDomainNameLabelScope :
+IPAddressDnsNameLabel :
+IPAddressFqdn :
+IPAddressIP :
+IPAddressPort :
+IPAddressType : Public
+Id : /subscriptions/00000000-0000-0000-0000-000000000000
+ 0/resourceGroups/test-rg/providers/Microsoft.Contai
+ nerInstance/containerGroupProfiles/test-cgp1
+ImageRegistryCredentials :
+InitContainer : {}
+Location : eastus
+LogAnalyticLogType :
+LogAnalyticMetadata : {
+ }
+LogAnalyticWorkspaceId :
+LogAnalyticWorkspaceKey :
+LogAnalyticWorkspaceResourceId :
+Name : test-cgp1
+NetworkProfileId :
+OSType : Linux
+ResourceGroupName : test-rg
+RestartPolicy : Never
+Revision : 1
+Sku : Standard
+Tag : {}
+Type : Microsoft.ContainerInstance/containerGroupProfiles
+Volume :
+```
+
+The command gets the specified container group profile.
+
+### Example 4: Get a specific revision of a container group profile in a resource group
+```powershell
+Get-AzContainerInstanceContainerGroupProfile -Name test-cgp -ResourceGroupName test-rg -RevisionNumber 1 | Format-List
+```
+
+```output
+ConfidentialComputeProperty : {}
+ConfidentialComputePropertyCcePolicy :
+Container : {test-container}
+Diagnostic : {}
+DiagnosticLogAnalytic : {}
+EncryptionProperty : {}
+EncryptionPropertyIdentity :
+EncryptionPropertyKeyName :
+EncryptionPropertyKeyVersion :
+EncryptionPropertyVaultBaseUrl :
+Extension :
+IPAddress : {
+ "type": "Public"
+ }
+IPAddressAutoGeneratedDomainNameLabelScope :
+IPAddressDnsNameLabel :
+IPAddressFqdn :
+IPAddressIP :
+IPAddressPort :
+IPAddressType : Public
+Id : /subscriptions/00000000-0000-0000-0000-000000000000
+ 0/resourceGroups/test-rg/providers/Microsoft.Contai
+ nerInstance/containerGroupProfiles/test-cgp1
+ImageRegistryCredentials :
+InitContainer : {}
+Location : eastus
+LogAnalyticLogType :
+LogAnalyticMetadata : {
+ }
+LogAnalyticWorkspaceId :
+LogAnalyticWorkspaceKey :
+LogAnalyticWorkspaceResourceId :
+Name : test-cgp
+NetworkProfileId :
+OSType : Linux
+ResourceGroupName : test-rg
+RestartPolicy : Never
+Revision : 1
+Sku : Standard
+Tag : {}
+Type : Microsoft.ContainerInstance/containerGroupProfiles
+Volume :
+```
+
+The command gets the first revision of the container group profile `test-cgp` in the resource group `test-rg`.
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfileRevision.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfileRevision.md
new file mode 100644
index 000000000000..ac7b84e358fb
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/Get-AzContainerInstanceContainerGroupProfileRevision.md
@@ -0,0 +1,13 @@
+### Example 1: List all revisions of a container group profile present in a resource group in the current subscription
+```powershell
+Get-AzContainerInstanceContainerGroupProfileRevision -ContainerGroupProfileName test-cgp -ResourceGroupName test-rg
+```
+
+```output
+Location Name Zone ResourceGroupName Revision
+-------- ---- ---- ----------------- --------
+eastus test-cgp test-rg 1
+eastus test-cgp test-rg 2
+```
+
+This command gets all revisions of `test-cgp` container group profile present in `test-rg` in the current subscription.
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroup.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroup.md
index 3e1740f392ed..c4cbd49ecf5a 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroup.md
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroup.md
@@ -16,8 +16,9 @@ This commands creates a container group with a container instance, whose image i
### Example 2: Create container group and runs a custom script inside the container.
```powershell
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
$env1 = New-AzContainerInstanceEnvironmentVariableObject -Name "env1" -Value "value1"
-$env2 = New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue (ConvertTo-SecureString -String "value2" -AsPlainText -Force)
+$env2 = New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue $pwd
$container = New-AzContainerInstanceObject -Name test-container -Image alpine -Command "/bin/sh -c myscript.sh" -EnvironmentVariable @($env1, $env2)
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -OsType Linux
```
@@ -46,8 +47,9 @@ This commands creates a container group which prints out 'hello' and stops.
### Example 4: Create a container group with a container instance using image nginx in Azure Container Registry
```powershell
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
$container = New-AzContainerInstanceObject -Name test-container -Image myacr.azurecr.io/nginx:latest
-$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myacr.azurecr.io" -Username "username" -Password (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
+$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myacr.azurecr.io" -Username "username" -Password $pwd
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -ImageRegistryCredential $imageRegistryCredential
```
@@ -61,8 +63,9 @@ This commands creates a container group with a container instance, whose image i
### Example 5: Create a container group with a container instance using image nginx in custom container image Registry
```powershell
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
$container = New-AzContainerInstanceObject -Name test-container -Image myserver.com/nginx:latest
-$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
+$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password $pwd
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -ImageRegistryCredential $imageRegistryCredential
```
@@ -76,7 +79,8 @@ This commands creates a container group with a container instance, whose image i
### Example 6: Create a container group that mounts Azure File volume
```powershell
-$volume = New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+$volume = New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey $pwd
$mount = New-AzContainerInstanceVolumeMountObject -MountPath "/aci/logs" -Name "myvolume"
$container = New-AzContainerInstanceObject -Name test-container -Image alpine -VolumeMount $mount
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -Volume $volume
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupImageRegistryCredentialObject.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupImageRegistryCredentialObject.md
index 6c0112f36f54..560867ded8d5 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupImageRegistryCredentialObject.md
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupImageRegistryCredentialObject.md
@@ -1,6 +1,7 @@
### Example 1: Set up an image registry credential to create a container group
```powershell
-New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password (ConvertTo-SecureString "******" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password $pwd
```
```output
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupVolumeObject.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupVolumeObject.md
index 942f8ed6b97e..3a4fef561140 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupVolumeObject.md
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerGroupVolumeObject.md
@@ -1,6 +1,7 @@
### Example 1: Create a Azure File volume
```powershell
-New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey (ConvertTo-SecureString "******" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey $pwd
```
```output
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceContainerGroupProfile.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceContainerGroupProfile.md
new file mode 100644
index 000000000000..33f6d5e8c09e
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceContainerGroupProfile.md
@@ -0,0 +1,62 @@
+### Example 1: Create a container group profile with a container instance and request a public IP address with opening ports
+```powershell
+$port1 = New-AzContainerInstancePortObject -Port 8000 -Protocol TCP
+$port2 = New-AzContainerInstancePortObject -Port 8001 -Protocol TCP
+$container = New-AzContainerInstanceObject -Name test-container -Image nginx -RequestCpu 1 -RequestMemoryInGb 1.5 -Port @($port1, $port2)
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -OsType Linux -RestartPolicy "Never" -IpAddressType Public
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cgp test-rg
+```
+
+This commands creates a container group profile with a container instance, whose image is latest nginx, and requests a public IP address with opening port 8000 and 8001.
+
+### Example 2: Create container group profile and runs a custom script inside the container.
+```powershell
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+$env1 = New-AzContainerInstanceEnvironmentVariableObject -Name "env1" -Value "value1"
+$env2 = New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue $pwd
+$container = New-AzContainerInstanceObject -Name test-container -Image alpine -Command "/bin/sh -c myscript.sh" -EnvironmentVariable @($env1, $env2) -RequestCpu 1 -RequestMemoryInGb 1.5
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -OsType Linux
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cgp test-rg
+```
+
+This commands creates a container group profile and runs a custom script inside the container.
+
+### Example 3: Create a container group profile with a container instance using image nginx in Azure Container Registry
+```powershell
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+$container = New-AzContainerInstanceObject -Name test-container -Image myacr.azurecr.io/nginx:latest -RequestCpu 1 -RequestMemoryInGb 1.5
+$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myacr.azurecr.io" -Username "username" -Password $pwd
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -ImageRegistryCredential $imageRegistryCredential -OsType Linux
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cgp test-rg
+```
+
+This commands creates a container group profile with a container instance, whose image is nginx in Azure Container Registry.
+
+### Example 4: Create a container group profile with Spot priority and a container instance using nginx image
+```powershell
+$container = New-AzContainerInstanceObject -Name test-container -Image nginx -RequestCpu 1 -RequestMemoryInGb 1.5
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -OsType Linux -RestartPolicy Never -Priority Spot
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cgp test-rg
+```
+
+This commands creates a container group profile with spot priority and a container instance, whose image is nginx.
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceEnvironmentVariableObject.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceEnvironmentVariableObject.md
index 484ee282ae5f..57d29bed16cb 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceEnvironmentVariableObject.md
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceEnvironmentVariableObject.md
@@ -13,7 +13,8 @@ This command creates an environment variable within a container instance.
### Example 2: Create a secure environment variable within a container instance
```powershell
-New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue (ConvertTo-SecureString -String "******" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue $pwd
```
```output
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceNoDefaultObject.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceNoDefaultObject.md
new file mode 100644
index 000000000000..aa65f7ef5503
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/New-AzContainerInstanceNoDefaultObject.md
@@ -0,0 +1,41 @@
+## EXAMPLES
+
+### Example 1: Create a container instance using image alphine with request cpu 1.0 and request memory 1.5Gb
+```powershell
+New-AzContainerInstanceNoDefaultObject -Name "test-container" -Image alpine -RequestCpu 1 -RequestMemoryInGb 1.5
+```
+
+```output
+Name
+----
+test-container
+```
+
+Create a container instance using image alphine with request cpu 1.0 and request memory 1.5Gb
+
+### Example 2: Create a container instance using image alphine with limit cpu 2.0 and limit memory 2.5Gb
+```powershell
+New-AzContainerInstanceNoDefaultObject -Image alpine -Name "test-container" -LimitCpu 2 -LimitMemoryInGb 2.5
+```
+
+```output
+Name
+----
+test-container
+```
+
+Create a container instance using image alphine with limit cpu 2.0 and limit memory 2.5Gb
+
+### Example 3: Create a container group with a container instance
+```powershell
+$container = New-AzContainerInstanceNoDefaultObject -Name test-container -Image alpine
+New-AzContainerGroup -ResourceGroupName testrg-rg -Name test-cg -Location eastus -Container $container
+```
+
+```output
+Location Name Zone ResourceGroupName
+-------- ---- ---- -----------------
+eastus test-cg test-rg
+```
+
+Create a container group with a container instance
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/Remove-AzContainerInstanceContainerGroupProfile.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/Remove-AzContainerInstanceContainerGroupProfile.md
new file mode 100644
index 000000000000..a21ad9da26b4
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/Remove-AzContainerInstanceContainerGroupProfile.md
@@ -0,0 +1,19 @@
+### Example 1: Remove a container group profile
+```powershell
+Remove-AzContainerInstanceContainerGroupProfile -Name test-cgp -ResourceGroupName test-rg
+```
+
+```output
+```
+
+This command removes the specified container group profile.
+
+### Example 2: Removes a container group profile by piping
+```powershell
+Get-AzContainerInstanceContainerGroupProfile -Name test-cgp -ResourceGroupName test-rg | Remove-AzContainerInstanceContainerGroupProfile
+```
+
+```output
+```
+
+This command removes a container group profile by piping.
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/examples/Update-AzContainerInstanceContainerGroupProfile.md b/src/ContainerInstance/ContainerInstance.Autorest/examples/Update-AzContainerInstanceContainerGroupProfile.md
new file mode 100644
index 000000000000..71f85a24f602
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/examples/Update-AzContainerInstanceContainerGroupProfile.md
@@ -0,0 +1,29 @@
+### Example 1: Update a container group profile
+```powershell
+$container = Update-AzContainerInstanceContainerGroupProfile -Name test-cgp -ResourceGroupName test-rg -Tag @{"k"="v"}
+$container.Tag | Format-List
+```
+
+```output
+Keys : {k}
+Values : {v}
+AdditionalProperties : {[k, v]}
+Count : 1
+```
+
+This command updates a container group profile.
+
+### Example 2: Update a container group profile using piping
+```powershell
+$container = Get-AzContainerInstanceContainerGroupProfile -Name test-cgp -ResourceGroupName test-rg | Update-AzContainerInstanceContainerGroupProfile -Tag @{"k"="v"}
+$container.Tag | Format-List
+```
+
+```output
+Keys : {k}
+Values : {v}
+AdditionalProperties : {[k, v]}
+Count : 1
+```
+
+This command updates a container group profile using pipeing.
\ No newline at end of file
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Add-AzContainerInstanceOutput.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Add-AzContainerInstanceOutput.ps1
index ac3c8fa2e5fa..6ae7b4099ced 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Add-AzContainerInstanceOutput.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Add-AzContainerInstanceOutput.ps1
@@ -24,12 +24,12 @@ $response = Add-AzContainerInstanceOutput -GroupName test-cg -Name test-containe
$response
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerAttachResponse
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerAttachResponse
.Link
https://learn.microsoft.com/powershell/module/az.containerinstance/add-azcontainerinstanceoutput
#>
function Add-AzContainerInstanceOutput {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerAttachResponse])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerAttachResponse])]
[CmdletBinding(DefaultParameterSetName='Attach', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -50,14 +50,15 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
# The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter()]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerGroup.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerGroup.ps1
index cf72576c845e..d8f02e70560f 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerGroup.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerGroup.ps1
@@ -33,7 +33,7 @@ Update-AzContainerGroup -Name test-cg1 -ResourceGroupName test-rg -Tag @{"test"=
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerInstanceIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroup
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -41,18 +41,20 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[ContainerGroupName ]: The name of the container group.
+ [ContainerGroupProfileName ]: The name of the container group profile.
[ContainerName ]: The name of the container instance.
[Id ]: Resource identity path
- [Location ]: The identifier for the physical azure location.
- [ResourceGroupName ]: The name of the resource group.
+ [Location ]: The name of the Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [RevisionNumber ]: The revision number of the container group profile.
[SubnetName ]: The name of the subnet.
- [SubscriptionId ]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VirtualNetworkName ]: The name of the virtual network.
.Link
https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainergroup
#>
function Get-AzContainerGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -67,6 +69,7 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
# The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
@@ -75,8 +78,8 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCachedImage.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCachedImage.ps1
index 0b04f8f898ca..dc8e7a21c424 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCachedImage.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCachedImage.ps1
@@ -23,26 +23,26 @@ Get the list of cached images on specific OS type for a subscription in a region
Get-AzContainerInstanceCachedImage -Location eastus
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ICachedImages
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ICachedImages
.Link
https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecachedimage
#>
function Get-AzContainerInstanceCachedImage {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ICachedImages])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ICachedImages])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
- # The identifier for the physical azure location.
+ # The name of the Azure region.
${Location},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter()]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCapability.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCapability.ps1
index 12b289396876..5c60b9c3c1da 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCapability.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceCapability.ps1
@@ -23,26 +23,26 @@ Get the list of CPU/memory/GPU capabilities of a region.
Get-AzContainerInstanceCapability -Location eastus
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ICapabilities
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ICapabilities
.Link
https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecapability
#>
function Get-AzContainerInstanceCapability {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ICapabilities])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ICapabilities])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
- # The identifier for the physical azure location.
+ # The name of the Azure region.
${Location},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter()]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint.ps1
index 6415b39b347c..7f0a09d47161 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint.ps1
@@ -35,12 +35,14 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[ContainerGroupName ]: The name of the container group.
+ [ContainerGroupProfileName ]: The name of the container group profile.
[ContainerName ]: The name of the container instance.
[Id ]: Resource identity path
- [Location ]: The identifier for the physical azure location.
- [ResourceGroupName ]: The name of the resource group.
+ [Location ]: The name of the Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [RevisionNumber ]: The revision number of the container group profile.
[SubnetName ]: The name of the subnet.
- [SubscriptionId ]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
[VirtualNetworkName ]: The name of the virtual network.
.Link
https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecontainergroupoutboundnetworkdependencyendpoint
@@ -60,14 +62,15 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
# The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter(ParameterSetName='Get')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfile.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfile.ps1
new file mode 100644
index 000000000000..77596bb72206
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfile.ps1
@@ -0,0 +1,241 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Gets the properties of the specified container group profile in the specified subscription and resource group.
+The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
+.Description
+Gets the properties of the specified container group profile in the specified subscription and resource group.
+The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
+.Example
+Get-AzContainerInstanceContainerGroupProfile
+.Example
+Get-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg
+.Example
+Get-AzContainerInstanceContainerGroupProfile -Name test-cgp1 -ResourceGroupName test-rg | Format-List
+.Example
+Get-AzContainerInstanceContainerGroupProfile -Name test-cgp -ResourceGroupName test-rg -RevisionNumber 1 | Format-List
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerInstanceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupProfile
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [ContainerGroupName ]: The name of the container group.
+ [ContainerGroupProfileName ]: The name of the container group profile.
+ [ContainerName ]: The name of the container instance.
+ [Id ]: Resource identity path
+ [Location ]: The name of the Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [RevisionNumber ]: The revision number of the container group profile.
+ [SubnetName ]: The name of the subnet.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+ [VirtualNetworkName ]: The name of the virtual network.
+.Link
+https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecontainergroupprofile
+#>
+function Get-AzContainerInstanceContainerGroupProfile {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupProfile])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='Get1', Mandatory)]
+ [Alias('ContainerGroupProfileName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [System.String]
+ # The name of the container group profile.
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='Get1', Mandatory)]
+ [Parameter(ParameterSetName='List1', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='Get1')]
+ [Parameter(ParameterSetName='List')]
+ [Parameter(ParameterSetName='List1')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='Get1', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [System.String]
+ # The revision number of the container group profile.
+ ${RevisionNumber},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerInstanceIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfile_Get';
+ Get1 = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfile_Get1';
+ GetViaIdentity = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfile_GetViaIdentity';
+ GetViaIdentity1 = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfile_GetViaIdentity1';
+ List = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfile_List';
+ List1 = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfile_List1';
+ }
+ if (('Get', 'Get1', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfileRevision.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfileRevision.ps1
new file mode 100644
index 000000000000..598eff7e860d
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceContainerGroupProfileRevision.ps1
@@ -0,0 +1,191 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a list of all the revisions of the specified container group profile in the given subscription and resource group.
+This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc.
+.Description
+Get a list of all the revisions of the specified container group profile in the given subscription and resource group.
+This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc.
+.Example
+Get-AzContainerInstanceContainerGroupProfileRevision -ContainerGroupProfileName test-cgp -ResourceGroupName test-rg
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupProfile
+.Link
+https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstancecontainergroupprofilerevision
+#>
+function Get-AzContainerInstanceContainerGroupProfileRevision {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupProfile])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [System.String]
+ # The name of the container group profile.
+ ${ContainerGroupProfileName},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ List = 'Az.ContainerInstance.private\Get-AzContainerInstanceContainerGroupProfileRevision_List';
+ }
+ if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceLog.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceLog.ps1
index 2ac51befb1c1..382cfebcda50 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceLog.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceLog.ps1
@@ -49,14 +49,15 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
# The name of the resource group.
+ # The name is case insensitive.
${ResourceGroupName},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter()]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceUsage.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceUsage.ps1
index 00f801c8e22f..45a6a1c6e28f 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceUsage.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/Get-AzContainerInstanceUsage.ps1
@@ -23,26 +23,26 @@ Get the usage for a subscription
Get-AzContainerInstanceUsage -Location eastus
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IUsage
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IUsage
.Link
https://learn.microsoft.com/powershell/module/az.containerinstance/get-azcontainerinstanceusage
#>
function Get-AzContainerInstanceUsage {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IUsage])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IUsage])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[System.String]
- # The identifier for the physical azure location.
+ # The name of the Azure region.
${Location},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
- # Subscription credentials which uniquely identify Microsoft Azure subscription.
- # The subscription ID forms part of the URI for every service call.
+ # The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter()]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroup.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroup.ps1
index deff7dac0db8..a84330f3897c 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroup.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroup.ps1
@@ -25,23 +25,27 @@ $port2 = New-AzContainerInstancePortObject -Port 8001 -Protocol TCP
$container = New-AzContainerInstanceObject -Name test-container -Image nginx -RequestCpu 1 -RequestMemoryInGb 1.5 -Port @($port1, $port2)
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -OsType Linux -RestartPolicy "Never" -IpAddressType Public
.Example
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
$env1 = New-AzContainerInstanceEnvironmentVariableObject -Name "env1" -Value "value1"
-$env2 = New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue (ConvertTo-SecureString -String "value2" -AsPlainText -Force)
+$env2 = New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue $pwd
$container = New-AzContainerInstanceObject -Name test-container -Image alpine -Command "/bin/sh -c myscript.sh" -EnvironmentVariable @($env1, $env2)
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -OsType Linux
.Example
$container = New-AzContainerInstanceObject -Name test-container -Image alpine -Command "echo hello"
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -OsType Linux
.Example
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
$container = New-AzContainerInstanceObject -Name test-container -Image myacr.azurecr.io/nginx:latest
-$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myacr.azurecr.io" -Username "username" -Password (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
+$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myacr.azurecr.io" -Username "username" -Password $pwd
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -ImageRegistryCredential $imageRegistryCredential
.Example
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
$container = New-AzContainerInstanceObject -Name test-container -Image myserver.com/nginx:latest
-$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
+$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password $pwd
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -ImageRegistryCredential $imageRegistryCredential
.Example
-$volume = New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+$volume = New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey $pwd
$mount = New-AzContainerInstanceVolumeMountObject -MountPath "/aci/logs" -Name "myvolume"
$container = New-AzContainerInstanceObject -Name test-container -Image alpine -VolumeMount $mount
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -Volume $volume
@@ -50,22 +54,24 @@ $container = New-AzContainerInstanceObject -Name test-container -Image alpine
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -IdentityType "SystemAssigned, UserAssigned" -IdentityUserAssignedIdentity @{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" = @{}}
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroup
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
CONTAINER : The containers within the container group.
- Image : The name of the image used to create the container instance.
Name : The user-provided name of the container instance.
- RequestCpu : The CPU request of this container instance.
- RequestMemoryInGb : The memory request in GB of this container instance.
+ [CapabilityAdd ]: The capabilities to add to the container.
+ [CapabilityDrop ]: The capabilities to drop from the container.
[Command ]: The commands to execute within the container instance in exec form.
+ [ConfigMapKeyValuePair ]: The key value pairs dictionary in the config map.
+ [(Any) ]: This indicates any property can be added to this object.
[EnvironmentVariable ]: The environment variables to set in the container instance.
Name : The name of the environment variable.
[SecureValue ]: The value of the secure environment variable.
[Value ]: The value of the environment variable.
+ [Image ]: The name of the image used to create the container instance.
[LimitCpu ]: The CPU limit of this container instance.
[LimitMemoryInGb ]: The memory limit in GB of this container instance.
[LimitsGpuCount ]: The count of the GPU resource.
@@ -95,8 +101,15 @@ CONTAINER : The containers within the container group.
[ReadinessProbePeriodSecond ]: The period seconds.
[ReadinessProbeSuccessThreshold ]: The success threshold.
[ReadinessProbeTimeoutSecond ]: The timeout seconds.
+ [RequestCpu ]: The CPU request of this container instance.
+ [RequestMemoryInGb ]: The memory request in GB of this container instance.
[RequestsGpuCount ]: The count of the GPU resource.
[RequestsGpuSku ]: The SKU of the GPU resource.
+ [SecurityContextAllowPrivilegeEscalation ]: A boolean value indicating whether the init process can elevate its privileges
+ [SecurityContextPrivileged ]: The flag to determine if the container permissions is elevated to Privileged.
+ [SecurityContextRunAsGroup ]: Sets the User GID for the container.
+ [SecurityContextRunAsUser ]: Sets the User UID for the container.
+ [SecurityContextSeccompProfile ]: a base64 encoded string containing the contents of the JSON in the seccomp profile
[VolumeMount ]: The volume mounts available to the container instance.
MountPath : The path within the container where the volume should be mounted. Must not contain colon (:).
Name : The name of the volume mount.
@@ -111,12 +124,19 @@ IMAGEREGISTRYCREDENTIAL : The image registry credent
INITCONTAINER : The init containers for a container group.
Name : The name for the init container.
+ [CapabilityAdd ]: The capabilities to add to the container.
+ [CapabilityDrop ]: The capabilities to drop from the container.
[Command ]: The command to execute within the init container in exec form.
[EnvironmentVariable ]: The environment variables to set in the init container.
Name : The name of the environment variable.
[SecureValue ]: The value of the secure environment variable.
[Value ]: The value of the environment variable.
[Image ]: The image of the init container.
+ [SecurityContextAllowPrivilegeEscalation ]: A boolean value indicating whether the init process can elevate its privileges
+ [SecurityContextPrivileged ]: The flag to determine if the container permissions is elevated to Privileged.
+ [SecurityContextRunAsGroup ]: Sets the User GID for the container.
+ [SecurityContextRunAsUser ]: Sets the User UID for the container.
+ [SecurityContextSeccompProfile ]: a base64 encoded string containing the contents of the JSON in the seccomp profile
[VolumeMount ]: The volume mounts available to the init container.
MountPath : The path within the container where the volume should be mounted. Must not contain colon (:).
Name : The name of the volume mount.
@@ -147,7 +167,7 @@ VOLUME : The list of volumes that can be mounted by containers in thi
https://learn.microsoft.com/powershell/module/az.containerinstance/new-azcontainergroup
#>
function New-AzContainerGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -172,27 +192,38 @@ param(
${SubscriptionId},
[Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.String]
+ # The resource location.
+ ${Location},
+
+ [Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainer[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainer[]]
# The containers within the container group.
# To construct, see NOTES section for CONTAINER properties and create a hash table.
${Container},
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [System.String]
- # The resource location.
- ${Location},
-
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.OperatingSystemTypes])]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.DefaultInfo(Description='Sets OSType equal Linux by default.', Script='"Linux"')]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.OperatingSystemTypes]
# The operating system type required by the containers in the container group.
${OSType},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.String]
+ # The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'.
+ ${ContainerGroupProfileId},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.Int32]
+ # The container group profile reference revision.
+ ${ContainerGroupProfileRevision},
+
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
@@ -245,7 +276,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IPort[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPort[]]
# The list of ports exposed on the container group.
# To construct, see NOTES section for IPADDRESSPORT properties and create a hash table.
${IPAddressPort},
@@ -268,7 +299,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupIdentityUserAssignedIdentities]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupIdentityUserAssignedIdentities]))]
[System.Collections.Hashtable]
# The list of user identities associated with the container group.
# The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
@@ -277,7 +308,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IImageRegistryCredential[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IImageRegistryCredential[]]
# The image registry credentials by which the container group is created from.
# To construct, see NOTES section for IMAGEREGISTRYCREDENTIAL properties and create a hash table.
${ImageRegistryCredential},
@@ -285,7 +316,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IInitContainerDefinition[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IInitContainerDefinition[]]
# The init containers for a container group.
# To construct, see NOTES section for INITCONTAINER properties and create a hash table.
${InitContainer},
@@ -299,7 +330,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ILogAnalyticsMetadata]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ILogAnalyticsMetadata]))]
[System.Collections.Hashtable]
# Metadata for log analytics.
${LogAnalyticMetadata},
@@ -337,17 +368,29 @@ param(
# The SKU for a container group.
${Sku},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.
+ ${StandbyPoolProfileFailContainerGroupCreateOnReuseFailure},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
+ [System.String]
+ # The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'.
+ ${StandbyPoolProfileId},
+
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupSubnetId[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupSubnetId[]]
# The subnet resource IDs for a container group.
# To construct, see NOTES section for SUBNETID properties and create a hash table.
${SubnetId},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IResourceTags]))]
[System.Collections.Hashtable]
# The resource tags.
${Tag},
@@ -355,7 +398,7 @@ param(
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolume[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolume[]]
# The list of volumes that can be mounted by containers in this container group.
# To construct, see NOTES section for VOLUME properties and create a hash table.
${Volume},
@@ -470,9 +513,6 @@ begin {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
}
- if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('OSType')) {
- $PSBoundParameters['OSType'] = "Linux"
- }
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupImageRegistryCredentialObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupImageRegistryCredentialObject.ps1
index 966df7da2336..921de495b667 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupImageRegistryCredentialObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupImageRegistryCredentialObject.ps1
@@ -20,15 +20,16 @@ Create a in-memory object for ImageRegistryCredential
.Description
Create a in-memory object for ImageRegistryCredential
.Example
-New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password (ConvertTo-SecureString "******" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+New-AzContainerGroupImageRegistryCredentialObject -Server "myserver.com" -Username "username" -Password $pwd
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredential
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ImageRegistryCredential
.Link
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerGroupImageRegistryCredentialObject
#>
function New-AzContainerGroupImageRegistryCredentialObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredential])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ImageRegistryCredential])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupPortObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupPortObject.ps1
index ebc54f2f26e9..8d1772773d3f 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupPortObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupPortObject.ps1
@@ -23,12 +23,12 @@ Create a in-memory object for Port
New-AzContainerGroupPortObject -Port 8000 -Protocol TCP
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Port
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Port
.Link
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerGroupPortObject
#>
function New-AzContainerGroupPortObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Port])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Port])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupVolumeObject.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupVolumeObject.ps1
index a1a6ff03555b..75163b9ed94b 100644
--- a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupVolumeObject.ps1
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerGroupVolumeObject.ps1
@@ -20,12 +20,13 @@ Create an in-memory object for Volume.
.Description
Create an in-memory object for Volume.
.Example
-New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey (ConvertTo-SecureString "******" -AsPlainText -Force)
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey $pwd
.Example
New-AzContainerGroupVolumeObject -Name "emptyvolume" -EmptyDir @{} | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -40,7 +41,7 @@ SECRET : The secret volume.
https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContainerGroupVolumeObject
#>
function New-AzContainerGroupVolumeObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.Volume])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Volume])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -75,7 +76,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolumeEmptyDir]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IVolumeEmptyDir]
# The empty directory volume.
# To construct, see NOTES section for EMPTYDIR properties and create a hash table.
${EmptyDir},
@@ -103,7 +104,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ISecretVolume]
+ [Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ISecretVolume]
# The secret volume.
# To construct, see NOTES section for SECRET properties and create a hash table.
${Secret}
diff --git a/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerInstanceContainerGroupProfile.ps1 b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerInstanceContainerGroupProfile.ps1
new file mode 100644
index 000000000000..905a82096232
--- /dev/null
+++ b/src/ContainerInstance/ContainerInstance.Autorest/exports/New-AzContainerInstanceContainerGroupProfile.ps1
@@ -0,0 +1,508 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create or update container group profiles with specified configurations.
+.Description
+Create or update container group profiles with specified configurations.
+.Example
+$port1 = New-AzContainerInstancePortObject -Port 8000 -Protocol TCP
+$port2 = New-AzContainerInstancePortObject -Port 8001 -Protocol TCP
+$container = New-AzContainerInstanceObject -Name test-container -Image nginx -RequestCpu 1 -RequestMemoryInGb 1.5 -Port @($port1, $port2)
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -OsType Linux -RestartPolicy "Never" -IpAddressType Public
+.Example
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+$env1 = New-AzContainerInstanceEnvironmentVariableObject -Name "env1" -Value "value1"
+$env2 = New-AzContainerInstanceEnvironmentVariableObject -Name "env2" -SecureValue $pwd
+$container = New-AzContainerInstanceObject -Name test-container -Image alpine -Command "/bin/sh -c myscript.sh" -EnvironmentVariable @($env1, $env2) -RequestCpu 1 -RequestMemoryInGb 1.5
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -OsType Linux
+.Example
+$pwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
+$container = New-AzContainerInstanceObject -Name test-container -Image myacr.azurecr.io/nginx:latest -RequestCpu 1 -RequestMemoryInGb 1.5
+$imageRegistryCredential = New-AzContainerGroupImageRegistryCredentialObject -Server "myacr.azurecr.io" -Username "username" -Password $pwd
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -ImageRegistryCredential $imageRegistryCredential -OsType Linux
+.Example
+$container = New-AzContainerInstanceObject -Name test-container -Image nginx -RequestCpu 1 -RequestMemoryInGb 1.5
+$containerGroupProfile = New-AzContainerInstanceContainerGroupProfile -ResourceGroupName test-rg -Name test-cgp -Location eastus -Container $container -OsType Linux -RestartPolicy Never -Priority Spot
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroupProfile
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+CONTAINER : The containers within the container group.
+ Name : The user-provided name of the container instance.
+ [CapabilityAdd ]: The capabilities to add to the container.
+ [CapabilityDrop ]: The capabilities to drop from the container.
+ [Command ]: The commands to execute within the container instance in exec form.
+ [ConfigMapKeyValuePair ]: The key value pairs dictionary in the config map.
+ [(Any) ]: This indicates any property can be added to this object.
+ [EnvironmentVariable ]: The environment variables to set in the container instance.
+ Name : The name of the environment variable.
+ [SecureValue ]: The value of the secure environment variable.
+ [Value ]: The value of the environment variable.
+ [Image ]: The name of the image used to create the container instance.
+ [LimitCpu ]: The CPU limit of this container instance.
+ [LimitMemoryInGb ]: The memory limit in GB of this container instance.
+ [LimitsGpuCount ]: The count of the GPU resource.
+ [LimitsGpuSku ]: The SKU of the GPU resource.
+ [LivenessProbeExecCommand ]: The commands to execute within the container.
+ [LivenessProbeFailureThreshold ]: The failure threshold.
+ [LivenessProbeHttpGetHttpHeader ]: The HTTP headers.
+ [Name ]: The header name.
+ [Value ]: The header value.
+ [LivenessProbeHttpGetPath ]: The path to probe.
+ [LivenessProbeHttpGetPort ]: The port number to probe.
+ [LivenessProbeHttpGetScheme ]: The scheme.
+ [LivenessProbeInitialDelaySecond ]: The initial delay seconds.
+ [LivenessProbePeriodSecond ]: The period seconds.
+ [LivenessProbeSuccessThreshold ]: The success threshold.
+ [LivenessProbeTimeoutSecond ]: The timeout seconds.
+ [Port ]: The exposed ports on the container instance.
+ Port : The port number exposed within the container group.
+ [Protocol ]: The protocol associated with the port.
+ [ReadinessProbeExecCommand ]: The commands to execute within the container.
+ [ReadinessProbeFailureThreshold ]: The failure threshold.
+ [ReadinessProbeHttpGetHttpHeader ]: The HTTP headers.
+ [ReadinessProbeHttpGetPath ]: The path to probe.
+ [ReadinessProbeHttpGetPort ]: The port number to probe.
+ [ReadinessProbeHttpGetScheme ]: The scheme.
+ [ReadinessProbeInitialDelaySecond ]: The initial delay seconds.
+ [ReadinessProbePeriodSecond ]: The period seconds.
+ [ReadinessProbeSuccessThreshold ]: The success threshold.
+ [ReadinessProbeTimeoutSecond ]: The timeout seconds.
+ [RequestCpu ]: The CPU request of this container instance.
+ [RequestMemoryInGb ]: The memory request in GB of this container instance.
+ [RequestsGpuCount ]: The count of the GPU resource.
+ [RequestsGpuSku ]: The SKU of the GPU resource.
+ [SecurityContextAllowPrivilegeEscalation ]: A boolean value indicating whether the init process can elevate its privileges
+ [SecurityContextPrivileged ]: The flag to determine if the container permissions is elevated to Privileged.
+ [SecurityContextRunAsGroup ]: Sets the User GID for the container.
+ [SecurityContextRunAsUser ]: Sets the User UID for the container.
+ [SecurityContextSeccompProfile ]: a base64 encoded string containing the contents of the JSON in the seccomp profile
+ [VolumeMount ]: The volume mounts available to the container instance.
+ MountPath : The path within the container where the volume should be mounted. Must not contain colon (:).
+ Name : The name of the volume mount.
+ [ReadOnly ]: The flag indicating whether the volume mount is read-only.
+
+EXTENSION : extensions used by virtual kubelet
+ Name : Name of the extension.
+ [ExtensionType ]: Type of extension to be added.
+ [ProtectedSetting ]: Protected settings for the extension.
+ [Setting ]: Settings for the extension.
+ [Version ]: Version of the extension being used.
+
+IMAGEREGISTRYCREDENTIAL : The image registry credentials by which the container group is created from.
+ Server : The Docker image registry server without a protocol such as "http" and "https".
+ [Identity ]: The identity for the private registry.
+ [IdentityUrl ]: The identity URL for the private registry.
+ [Password ]: The password for the private registry.
+ [Username ]: The username for the private registry.
+
+INITCONTAINER : The init containers for a container group.
+ Name : The name for the init container.
+ [CapabilityAdd ]: The capabilities to add to the container.
+ [CapabilityDrop ]: The capabilities to drop from the container.
+ [Command ]: The command to execute within the init container in exec form.
+ [EnvironmentVariable ]: The environment variables to set in the init container.
+ Name : The name of the environment variable.
+ [SecureValue ]: The value of the secure environment variable.
+ [Value ]: The value of the environment variable.
+ [Image ]: The image of the init container.
+ [SecurityContextAllowPrivilegeEscalation ]: A boolean value indicating whether the init process can elevate its privileges
+ [SecurityContextPrivileged ]: The flag to determine if the container permissions is elevated to Privileged.
+ [SecurityContextRunAsGroup ]: Sets the User GID for the container.
+ [SecurityContextRunAsUser ]: Sets the User UID for the container.
+ [SecurityContextSeccompProfile ]: a base64 encoded string containing the contents of the JSON in the seccomp profile
+ [VolumeMount ]: The volume mounts available to the init container.
+ MountPath : The path within the container where the volume should be mounted. Must not contain colon (:).
+ Name : The name of the volume mount.
+ [ReadOnly ]: The flag indicating whether the volume mount is read-only.
+
+IPADDRESSPORT : The list of ports exposed on the container group.
+ Port1 : The port number.
+ [Protocol ]: The protocol associated with the port.
+
+VOLUME : The list of volumes that can be mounted by containers in this container group.
+ Name : The name of the volume.
+ [AzureFileReadOnly ]: The flag indicating whether the Azure File shared mounted as a volume is read-only.
+ [AzureFileShareName ]: The name of the Azure File share to be mounted as a volume.
+ [AzureFileStorageAccountKey ]: The storage account access key used to access the Azure File share.
+ [AzureFileStorageAccountName ]: The name of the storage account that contains the Azure File share.
+ [EmptyDir ]: The empty directory volume.
+ [(Any)