共用方式為


ContainerGroupsOperationsExtensions.ListByResourceGroup Method

Definition

Get a list of container groups in the specified subscription and resource group.

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

Parameters

operations
IContainerGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

Returns

Remarks

Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Applies to