Compartir a través de


IRegistrationAssignmentsOperations.GetWithHttpMessagesAsync Método

Definición

Obtiene los detalles de la asignación de registro especificada.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment>> GetWithHttpMessagesAsync (string scope, string registrationAssignmentId, bool? expandRegistrationDefinition = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment>>
Public Function GetWithHttpMessagesAsync (scope As String, registrationAssignmentId As String, Optional expandRegistrationDefinition As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of RegistrationAssignment))

Parámetros

scope
String

Ámbito del recurso.

registrationAssignmentId
String

Guid de la asignación de registro.

expandRegistrationDefinition
Nullable<Boolean>

Indica si se devuelven detalles de definición de registro también junto con los detalles de asignación de registro.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a