Compartir a través de


MaintenanceExtensions.GetConfigurationAssignmentByParentAsync Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_GetParent de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>> GetConfigurationAssignmentByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetConfigurationAssignmentByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetConfigurationAssignmentByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetConfigurationAssignmentByParentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>>
<Extension()>
Public Function GetConfigurationAssignmentByParentAsync (resourceGroupResource As ResourceGroupResource, options As ResourceGroupResourceGetConfigurationAssignmentByParentOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceConfigurationAssignmentData))

Parámetros

resourceGroupResource
ResourceGroupResource

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

options
ResourceGroupResourceGetConfigurationAssignmentByParentOptions

Contenedor de propiedades que contiene todos los parámetros de este método, excepto el calificador LRO y el parámetro de contexto de solicitud.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

options es null.

Se aplica a