Udostępnij za pośrednictwem


ArmApiManagementModelFactory.ApiManagementLoggerData Method

Definition

Initializes a new instance of ApiManagementLoggerData.

public static Azure.ResourceManager.ApiManagement.ApiManagementLoggerData ApiManagementLoggerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ApiManagement.Models.LoggerType? loggerType = default, string description = default, System.Collections.Generic.IDictionary<string,string> credentials = default, bool? isBuffered = default, Azure.Core.ResourceIdentifier resourceId = default);
static member ApiManagementLoggerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ApiManagement.Models.LoggerType> * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ApiManagement.ApiManagementLoggerData
Public Shared Function ApiManagementLoggerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional loggerType As Nullable(Of LoggerType) = Nothing, Optional description As String = Nothing, Optional credentials As IDictionary(Of String, String) = Nothing, Optional isBuffered As Nullable(Of Boolean) = Nothing, Optional resourceId As ResourceIdentifier = Nothing) As ApiManagementLoggerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

loggerType
Nullable<LoggerType>

Logger type.

description
String

Logger description.

credentials
IDictionary<String,String>

The name and SendRule connection string of the event hub for azureEventHub logger. Instrumentation key for applicationInsights logger.

isBuffered
Nullable<Boolean>

Whether records are buffered in the logger before publishing. Default is assumed to be true.

resourceId
ResourceIdentifier

Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).

Returns

A new ApiManagementLoggerData instance for mocking.

Applies to