Compartir a través de


GuestConfigurationHcrpAssignmentCollection.GetAsync Método

Definición

Obtener información sobre una asignación de configuración de invitado

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • IdGuestConfigurationHCRPAssignments_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.GuestConfiguration.GuestConfigurationHcrpAssignmentResource>> GetAsync (string guestConfigurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.GuestConfiguration.GuestConfigurationHcrpAssignmentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.GuestConfiguration.GuestConfigurationHcrpAssignmentResource>>
Public Overridable Function GetAsync (guestConfigurationAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GuestConfigurationHcrpAssignmentResource))

Parámetros

guestConfigurationAssignmentName
String

Nombre de la asignación de configuración de invitado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

guestConfigurationAssignmentName es null.

Se aplica a