Share via


ContainerServiceFleetGateCollection.Get(String, CancellationToken) 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: 2025-04-01-preview
  • Resource: ContainerServiceFleetGateResource
public virtual Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource> Get(string gateName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>
Public Overridable Function Get (gateName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 an empty string, and was expected to be non-empty.

gateName is null.

Applies to