Compartir a través de


MaintenanceExtensions.GetConfigurationAssignmentBySubscription Método

Definición

Obtiene la asignación de configuración para resource..

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignmentsForSubscriptions_Get de operaciones
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> GetConfigurationAssignmentBySubscription (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetConfigurationAssignmentBySubscription : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function GetConfigurationAssignmentBySubscription (subscriptionResource As SubscriptionResource, configurationAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

configurationAssignmentName
String

Nombre de asignación de configuración.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

configurationAssignmentName es una cadena vacía y se espera que no esté vacía.

configurationAssignmentName es null.

Se aplica a