Share via


ContainerServicesOperationsExtensions.GetAsync Method

Definition

Caution

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

Gets the properties of the specified container service.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceInner> GetAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member GetAsync : Microsoft.Azure.Management.ContainerService.Fluent.IContainerServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.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

Attributes

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