Compartir a través de


FleetUpdateStrategyCollection.GetIfExistsAsync 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}/updateStrategies/{updateStrategyName}
  • IdFleetUpdateStrategies_Get de operación
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>> GetIfExistsAsync (string updateStrategyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>>
Public Overridable Function GetIfExistsAsync (updateStrategyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of FleetUpdateStrategyResource))

Parámetros

updateStrategyName
String

Nombre del recurso UpdateStrategy.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

updateStrategyName es null.

Se aplica a