Sdílet prostřednictvím


LoggerOperationsExtensions.CreateOrUpdate Method

Definition

Creates or Updates a logger.

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

Parameters

operations
ILoggerOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

loggerId
String

Logger identifier. Must be unique in the API Management service instance.

parameters
LoggerContract

Create parameters.

ifMatch
String

ETag of the Entity. Not required when creating an entity, but required when updating an entity.

Returns

Applies to