ArmProviderHubModelFactory.LoggingRule Method

Definition

public static Azure.ResourceManager.ProviderHub.Models.LoggingRule LoggingRule(string action = default, Azure.ResourceManager.ProviderHub.Models.LoggingDirection direction = default, Azure.ResourceManager.ProviderHub.Models.LoggingDetail detailLevel = default, Azure.ResourceManager.ProviderHub.Models.LoggingHiddenPropertyPaths hiddenPropertyPaths = default);
static member LoggingRule : string * Azure.ResourceManager.ProviderHub.Models.LoggingDirection * Azure.ResourceManager.ProviderHub.Models.LoggingDetail * Azure.ResourceManager.ProviderHub.Models.LoggingHiddenPropertyPaths -> Azure.ResourceManager.ProviderHub.Models.LoggingRule
Public Shared Function LoggingRule (Optional action As String = Nothing, Optional direction As LoggingDirection = Nothing, Optional detailLevel As LoggingDetail = Nothing, Optional hiddenPropertyPaths As LoggingHiddenPropertyPaths = Nothing) As LoggingRule

Parameters

action
String

The action.

direction
LoggingDirection

The direction.

detailLevel
LoggingDetail

The detail level.

hiddenPropertyPaths
LoggingHiddenPropertyPaths

The hidden property paths.

Returns

A new LoggingRule instance for mocking.

Applies to