Dela via


ContainerServicesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Caution

This operation is deprecated. Please do not use it any longer.

Gets a list of container services in the specified resource group.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IContainerServicesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ContainerService.Fluent.IContainerServicesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceInner>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IContainerServicesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ContainerServiceInner))

Parameters

operations
IContainerServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Attributes

Remarks

Gets a list of container services in the specified subscription and resource group. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.

Applies to