Compartilhar via


MaintenanceExtensions.DeleteConfigurationAssignmentByResourceGroup Método

Definição

Cancelar o registro da configuração do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • Operação IdConfigurationAssignmentsForResourceGroup_Delete
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> DeleteConfigurationAssignmentByResourceGroup (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteConfigurationAssignmentByResourceGroup : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function DeleteConfigurationAssignmentByResourceGroup (resourceGroupResource As ResourceGroupResource, configurationAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que 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 esperava-se que não estivesse vazia.

configurationAssignmentName é nulo.

Aplica-se a