Partager via


MaintenanceExtensions.DeleteConfigurationAssignmentByParentAsync Méthode

Définition

Surcharges

DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, CancellationToken)

Annuler l’inscription de la configuration pour la ressource.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceType}/{resourceName}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_DeleteParent d’opération
DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

Annuler l’inscription de la configuration pour la ressource.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceType}/{resourceName}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_DeleteParent d’opération

DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, CancellationToken)

Annuler l’inscription de la configuration pour la ressource.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceType}/{resourceName}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_DeleteParent d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>> DeleteConfigurationAssignmentByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
static member DeleteConfigurationAssignmentByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>>
<Extension()>
Public Function DeleteConfigurationAssignmentByParentAsync (resourceGroupResource As ResourceGroupResource, options As ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, 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
ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions

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 à

DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

Annuler l’inscription de la configuration pour la ressource.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceType}/{resourceName}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignments_DeleteParent d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>> DeleteConfigurationAssignmentByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteConfigurationAssignmentByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>>
<Extension()>
Public Function DeleteConfigurationAssignmentByParentAsync (resourceGroupResource As ResourceGroupResource, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, 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.

providerName
String

Nom du fournisseur de ressources.

resourceParentType
String

Type parent de ressource.

resourceParentName
String

Identificateur parent de ressource.

resourceType
String

Type de ressource.

resourceName
String

Identificateur de ressource.

configurationAssignmentName
String

Nom d’affectation de configuration unique.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

providerName, resourceParentType, resourceParentName, resourceTyperesourceName ou configurationAssignmentName est une chaîne vide et devait être non vide.

providerName, resourceParentType, resourceParentName, resourceTyperesourceName ou configurationAssignmentName a la valeur Null.

S’applique à