Compartilhar via


ConfigurationAssignmentsOperationsExtensions.GetParentAsync Método

Definição

Obter atribuição de configuração

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> GetParentAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetParentAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function GetParentAsync (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, 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 ConfigurationAssignment)

Parâmetros

operations
IConfigurationAssignmentsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Obter configuração para o recurso.

Aplica-se a