Compartir a través de


MaintenanceExtensions.GetConfigurationAssignment Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_Get de operación
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> GetConfigurationAssignment (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceType, string resourceName, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetConfigurationAssignment : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function GetConfigurationAssignment (resourceGroupResource As ResourceGroupResource, providerName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)

Parámetros

resourceGroupResource
ResourceGroupResource

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

providerName
String

Nombre del proveedor de recursos.

resourceType
String

Tipo de recurso.

resourceName
String

Identificador de recursos.

configurationAssignmentName
String

Nombre de asignación de configuración.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

providerName, resourceTyperesourceName o configurationAssignmentName es una cadena vacía y se esperaba que no estuviera vacía.

providerName, resourceType, resourceName o configurationAssignmentName es un valor null.

Se aplica a