Condividi tramite


ContainerServiceFleetGateCollection.GetAsync Method

Definition

Get a Gate

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates/{gateName}.
  • Operation Id. : Gates_Get.
  • Default Api Version. : 2026-02-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>> GetAsync(string gateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>>
Public Overridable Function GetAsync (gateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerServiceFleetGateResource))

Parameters

gateName
String

The name of the Gate resource, a GUID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

gateName is null.

gateName is an empty string, and was expected to be non-empty.

Applies to