ArmProviderHubModelFactory.LoggingRule 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.
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.