ContainerServiceFleetResource.GetContainerServiceFleetGateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>> GetContainerServiceFleetGateAsync(string gateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerServiceFleetGateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>>
override this.GetContainerServiceFleetGateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetGateResource>>
Public Overridable Function GetContainerServiceFleetGateAsync (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.