Compartilhar via


ContainerServiceFleetMemberCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}
  • Operação IdFleetMembers_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetMemberResource> GetIfExists (string fleetMemberName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetMemberResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetMemberResource>
Public Overridable Function GetIfExists (fleetMemberName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ContainerServiceFleetMemberResource)

Parâmetros

fleetMemberName
String

O nome do recurso membro fleet.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

fleetMemberName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

fleetMemberName é nulo.

Aplica-se a