Partilhar via


MaintenanceExtensions.DeleteConfigurationAssignmentByParentAsync Método

Definição

Sobrecargas

DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, CancellationToken)

Cancelar o registro da configuração do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • Operação IdConfigurationAssignments_DeleteParent
DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

Cancelar o registro da configuração do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • Operação IdConfigurationAssignments_DeleteParent

DeleteConfigurationAssignmentByParentAsync(ResourceGroupResource, ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, CancellationToken)

Cancelar o registro da configuração do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • Operação IdConfigurationAssignments_DeleteParent
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))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

options
ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions

Um recipiente de propriedades que contém todos os parâmetros desse método, exceto o qualificador LRO e o parâmetro de contexto de solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

options é nulo.

Aplica-se a

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

Cancelar o registro da configuração do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • Operação IdConfigurationAssignments_DeleteParent
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))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

providerName
String

Nome do provedor de recursos.

resourceParentType
String

Tipo pai do recurso.

resourceParentName
String

Identificador pai do recurso.

resourceType
String

Tipo de recurso.

resourceName
String

Identificador de recurso.

configurationAssignmentName
String

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

providerName, resourceParentType, resourceParentName, resourceTypeou resourceNameconfigurationAssignmentName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

providerName, resourceParentType, resourceParentName, resourceTypeou resourceNameconfigurationAssignmentName é nulo.

Aplica-se a