Compartir a través de


MaintenanceExtensions.DeleteConfigurationAssignmentByResourceGroupAsync Método

Definición

Anule el registro de la configuración del recurso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignmentsForResourceGroup_Delete de operación
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))

Parámetros

resourceGroupResource
ResourceGroupResource

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

configurationAssignmentName
String

Nombre de asignación de configuración único.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

configurationAssignmentName es una cadena vacía y se esperaba que no estuviera vacía.

configurationAssignmentName es null.

Se aplica a