Udostępnij za pośrednictwem


IPlacementPoliciesOperations.GetWithHttpMessagesAsync Metoda

Definicja

Pobieranie zasad umieszczania według nazwy w klastrze chmury prywatnej

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Avs.Models.PlacementPolicy>> GetWithHttpMessagesAsync (string resourceGroupName, string privateCloudName, string clusterName, string placementPolicyName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Avs.Models.PlacementPolicy>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, privateCloudName As String, clusterName As String, placementPolicyName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PlacementPolicy))

Parametry

resourceGroupName
String

Nazwa grupy zasobów. W nazwie jest uwzględniana wielkość liter.

privateCloudName
String

Nazwa chmury prywatnej

clusterName
String

Nazwa klastra w chmurze prywatnej

placementPolicyName
String

Nazwa zasad umieszczania rozproszonego harmonogramu zasobów VMware vSphere (DRS)

customHeaders
Dictionary<String,List<String>>

Nagłówki, które zostaną dodane do żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Wyjątki

Zgłaszany, gdy operacja zwróciła nieprawidłowy kod stanu

Zgłaszany, gdy nie można wykonać deserializacji odpowiedzi

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy