MaintenanceExtensions.CreateOrUpdateConfigurationAssignmentByParent Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateOrUpdateConfigurationAssignmentByParent(ResourceGroupResource, ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions, CancellationToken) |
Registre a configuração do recurso.
|
CreateOrUpdateConfigurationAssignmentByParent(ResourceGroupResource, String, String, String, String, String, String, MaintenanceConfigurationAssignmentData, CancellationToken) |
Registre a configuração do recurso.
|
CreateOrUpdateConfigurationAssignmentByParent(ResourceGroupResource, ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions, CancellationToken)
Registre a configuração do recurso.
- Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
- IdConfigurationAssignments_CreateOrUpdateParent de operação
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> CreateOrUpdateConfigurationAssignmentByParent (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateConfigurationAssignmentByParent : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function CreateOrUpdateConfigurationAssignmentByParent (resourceGroupResource As ResourceGroupResource, options As ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)
Parâmetros
- resourceGroupResource
- ResourceGroupResource
A ResourceGroupResource instância na qual o método será executado.
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
CreateOrUpdateConfigurationAssignmentByParent(ResourceGroupResource, String, String, String, String, String, String, MaintenanceConfigurationAssignmentData, CancellationToken)
Registre a configuração do recurso.
- Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
- IdConfigurationAssignments_CreateOrUpdateParent de operação
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> CreateOrUpdateConfigurationAssignmentByParent (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData data, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateConfigurationAssignmentByParent : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * string * Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function CreateOrUpdateConfigurationAssignmentByParent (resourceGroupResource As ResourceGroupResource, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, data As MaintenanceConfigurationAssignmentData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)
Parâmetros
- resourceGroupResource
- ResourceGroupResource
A ResourceGroupResource instância na qual 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 da atribuição de configuração.
O configurationAssignment.
- cancellationToken
- CancellationToken
O token de cancelamento a ser usado.
Retornos
Exceções
providerName
, resourceParentType
, resourceParentName
, resourceType
resourceName
ou configurationAssignmentName
é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.
providerName
, resourceParentType
, resourceParentName
, resourceType
, resourceName
configurationAssignmentName
ou data
é nulo.