Partager via


MaintenanceExtensions.GetConfigurationAssignmentByParentAsync Méthode

Définition

Obtenez l’affectation de configuration pour resource..

  • Chemin/abonnements de la demande/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_GetParent d’opération
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))

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

options
ResourceGroupResourceGetConfigurationAssignmentByParentOptions

Un conteneur de propriétés qui contient tous les paramètres de cette méthode, à l’exception du qualificateur LRO et du paramètre de contexte de requête.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

options a la valeur null.

S’applique à