Partager via


DataCollectionRuleAssociationsOperationsExtensions.CreateAsync Méthode

Définition

Crée ou met à jour une association.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleAssociationProxyOnlyResource> CreateAsync (this Microsoft.Azure.Management.Monitor.IDataCollectionRuleAssociationsOperations operations, string resourceUri, string associationName, Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleAssociationProxyOnlyResource body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Monitor.IDataCollectionRuleAssociationsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleAssociationProxyOnlyResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleAssociationProxyOnlyResource>
<Extension()>
Public Function CreateAsync (operations As IDataCollectionRuleAssociationsOperations, resourceUri As String, associationName As String, Optional body As DataCollectionRuleAssociationProxyOnlyResource = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataCollectionRuleAssociationProxyOnlyResource)

Paramètres

operations
IDataCollectionRuleAssociationsOperations

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

resourceUri
String

Identificateur de la ressource.

associationName
String

Nom de l'association. Le nom ne respecte pas la casse.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à