Delen via


ContainerGroupsOperationsExtensions.Get Method

Definition

Get the properties of the specified container group.

public static Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroup Get (this Microsoft.Azure.Management.ContainerInstance.IContainerGroupsOperations operations, string resourceGroupName, string containerGroupName);
static member Get : Microsoft.Azure.Management.ContainerInstance.IContainerGroupsOperations * string * string -> Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroup
<Extension()>
Public Function Get (operations As IContainerGroupsOperations, resourceGroupName As String, containerGroupName As String) As ContainerGroup

Parameters

operations
IContainerGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerGroupName
String

The name of the container group.

Returns

Remarks

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.

Applies to