次の方法で共有


LoggerOperationsExtensions.CreateOrUpdateAsync メソッド

定義

ロガーを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.LoggerContract> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerId, Microsoft.Azure.Management.ApiManagement.Models.LoggerContract parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.ILoggerOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.LoggerContract * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.LoggerContract>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ILoggerOperations, resourceGroupName As String, serviceName As String, loggerId As String, parameters As LoggerContract, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LoggerContract)

パラメーター

operations
ILoggerOperations

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

resourceGroupName
String

リソース グループの名前。

serviceName
String

API Management サービスの名前。

loggerId
String

ロガー識別子。 API Management サービス インスタンスで一意である必要があります。

parameters
LoggerContract

パラメーターを作成します。

ifMatch
String

エンティティの ETag。 エンティティを作成する場合は必須ではありませんが、エンティティを更新する場合は必須です。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象