ภาษา

ArmContainerRegistryModelFactory.ConnectedRegistryLogging Method

Definition

The logging properties of the connected registry.

public static Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLogging ConnectedRegistryLogging(Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLogLevel? logLevel = default, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryAuditLogStatus? auditLogStatus = default);
static member ConnectedRegistryLogging : Nullable<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLogLevel> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryAuditLogStatus> -> Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLogging
Public Shared Function ConnectedRegistryLogging (Optional logLevel As Nullable(Of ConnectedRegistryLogLevel) = Nothing, Optional auditLogStatus As Nullable(Of ConnectedRegistryAuditLogStatus) = Nothing) As ConnectedRegistryLogging

Parameters

logLevel
Nullable<ConnectedRegistryLogLevel>

The verbosity of logs persisted on the connected registry.

auditLogStatus
Nullable<ConnectedRegistryAuditLogStatus>

Indicates whether audit logs are enabled on the connected registry.

Returns

A new ConnectedRegistryLogging instance for mocking.

Applies to