Compartilhar via


MaintenanceExtensions.GetConfigurationAssignmentByResourceGroup Método

Definição

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

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

Parâmetros

resourceGroupResource
ResourceGroupResource

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

configurationAssignmentName
String

Nome 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 era esperado que não estivesse vazio.

configurationAssignmentName é nulo.

Aplica-se a