Partager via


ConfigurationAssignmentsOperationsExtensions.GetParentAsync Méthode

Définition

Obtenir l’attribution de configuration

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)

Paramètres

operations
IConfigurationAssignmentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom de groupe ressources

providerName
String

Nom du fournisseur de ressources

resourceParentType
String

Type parent de ressource

resourceParentName
String

Identificateur parent de ressource

resourceType
String

Type de ressource

resourceName
String

Identificateur de ressource

configurationAssignmentName
String

Nom de l’affectation de configuration

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Obtenir la configuration de la ressource.

S’applique à