次の方法で共有


DataCollectionRuleAssociationsOperationsExtensions.CreateAsync メソッド

定義

関連付けを作成または更新します。

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)

パラメーター

operations
IDataCollectionRuleAssociationsOperations

この拡張メソッドの操作グループ。

resourceUri
String

リソースの識別子。

associationName
String

アソシエーションの名前。 名前の大文字と小文字は区別されます。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象