Partager via


MaintenanceExtensions.DeleteConfigurationAssignmentByResourceGroupAsync Méthode

Définition

Annuler l’inscription de la configuration pour la ressource.

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

configurationAssignmentName
String

Nom d’affectation de configuration unique.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

configurationAssignmentName est une chaîne vide et devait être non vide.

configurationAssignmentName a la valeur null.

S’applique à