Compartir a través de


ContainerServiceFleetCollection.GetIfExists(String, CancellationToken) Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • IdFleets_Get de operación
public virtual Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource> GetIfExists (string fleetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
Public Overridable Function GetIfExists (fleetName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ContainerServiceFleetResource)

Parámetros

fleetName
String

Nombre del recurso Fleet.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

fleetName es una cadena vacía y se esperaba que no estuviera vacía.

fleetName es null.

Se aplica a