Compartilhar via


MaintenanceExtensions.UpdateConfigurationAssignmentBySubscription Método

Definição

Registre a configuração do recurso.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

configurationAssignmentName
String

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

data
MaintenanceConfigurationAssignmentData

O configurationAssignment.

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 ou data é nulo.

Aplica-se a