ArmContainerRegistryModelFactory.ConnectedRegistryLogging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.