Compartilhar via


MaintenanceExtensions.DeleteConfigurationAssignmentByResourceGroupAsync Método

Definição

Cancele o registro da configuração do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • IdConfigurationAssignmentsForResourceGroup_Delete de operação
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

A ResourceGroupResource instância na qual o método será executado.

configurationAssignmentName
String

Nome exclusivo da atribuição de configuração.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

configurationAssignmentName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

configurationAssignmentName é nulo.

Aplica-se a