Compartilhar via


MaintenanceExtensions.GetConfigurationAssignmentByParent Método

Definição

Obtenha a atribuição de configuração para resource..

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

Parâmetros

resourceGroupResource
ResourceGroupResource

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

options
ResourceGroupResourceGetConfigurationAssignmentByParentOptions

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