ConfigurationAssignmentsOperationsExtensions.CreateOrUpdateParentAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Créer une affectation de configuration
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> CreateOrUpdateParentAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment configurationAssignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateParentAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * string * string * Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function CreateOrUpdateParentAsync (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, configurationAssignment As ConfigurationAssignment, 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
- configurationAssignment
- ConfigurationAssignment
ConfigurationAssignment
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
Remarques
Inscrivez la configuration pour la ressource.
S’applique à
Azure SDK for .NET