DataCollectionRuleAssociationsOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates an 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)
Parameters
- operations
- IDataCollectionRuleAssociationsOperations
The operations group for this extension method.
- resourceUri
- String
The identifier of the resource.
- associationName
- String
The name of the association. The name is case insensitive.
The payload
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET