你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Az.ContainerInstance

Microsoft Azure PowerShell: ContainerInstance cmdlets

Container Instances

Add-AzContainerInstanceOutput

Attach to the output stream of a specific container instance in a specified resource group and container group.

Get-AzContainerGroup

Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Get-AzContainerInstanceCachedImage

Get the list of cached images on specific OS type for a subscription in a region.

Get-AzContainerInstanceCapability

Get the list of CPU/memory/GPU capabilities of a region.

Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint

Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

Get-AzContainerInstanceContainerGroupProfile

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.

Get-AzContainerInstanceContainerGroupProfileRevision

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.

Get-AzContainerInstanceLog

Get the logs for a specified container instance in a specified resource group and container group.

Get-AzContainerInstanceUsage

Get the usage for a subscription

Invoke-AzContainerInstanceCommand

Executes a command for a specific container instance in a specified resource group and container group.

New-AzContainerGroup

Create or update container groups with specified configurations.

New-AzContainerGroupImageRegistryCredentialObject

Create a in-memory object for ImageRegistryCredential

New-AzContainerGroupPortObject

Create a in-memory object for Port

New-AzContainerGroupVolumeObject

Create an in-memory object for Volume.

New-AzContainerInstanceContainerGroupProfile

Create or update container group profiles with specified configurations.

New-AzContainerInstanceEnvironmentVariableObject

Create a in-memory object for EnvironmentVariable

New-AzContainerInstanceHttpHeaderObject

Create a in-memory object for HttpHeader

New-AzContainerInstanceInitDefinitionObject

Create a in-memory object for InitContainerDefinition

New-AzContainerInstanceNoDefaultObject

Create a in-memory object for Container with no default values

New-AzContainerInstanceObject

Create a in-memory object for Container

New-AzContainerInstancePortObject

Create a in-memory object for ContainerPort

New-AzContainerInstanceVolumeMountObject

Create a in-memory object for VolumeMount

Remove-AzContainerGroup

Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Remove-AzContainerInstanceContainerGroupProfile

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.

Remove-AzContainerInstanceSubnetServiceAssociationLink

Delete container group virtual network association links. The operation does not delete other resources provided by the user.

Restart-AzContainerGroup

Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Start-AzContainerGroup

Starts all containers in a container group. Compute resources will be allocated and billing will start.

Stop-AzContainerGroup

Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

Update-AzContainerGroup

Updates container group tags with specified values.

Update-AzContainerInstanceContainerGroupProfile

Patches container group profile with specified properties.