ContainerServicesOperationsExtensions.GetAsync Method

Definition

Gets the properties of the specified container service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner> GetAsync (this Microsoft.Azure.Management.Compute.Fluent.IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.Fluent.IContainerServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ContainerServiceInner>
<Extension()>
Public Function GetAsync (operations As IContainerServicesOperations, resourceGroupName As String, containerServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerServiceInner)

Parameters

operations
IContainerServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerServiceName
String

The name of the container service in the specified subscription and resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to