ArmCdnModelFactory.ProfileScrubbingRules 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.
Defines the contents of the log scrubbing rules.
public static Azure.ResourceManager.Cdn.Models.ProfileScrubbingRules ProfileScrubbingRules(Azure.ResourceManager.Cdn.Models.ScrubbingRuleEntryMatchVariable matchVariable = default, Azure.ResourceManager.Cdn.Models.ScrubbingRuleEntryMatchOperator selectorMatchOperator = default, string selector = default, Azure.ResourceManager.Cdn.Models.ScrubbingRuleEntryState? state = default);
static member ProfileScrubbingRules : Azure.ResourceManager.Cdn.Models.ScrubbingRuleEntryMatchVariable * Azure.ResourceManager.Cdn.Models.ScrubbingRuleEntryMatchOperator * string * Nullable<Azure.ResourceManager.Cdn.Models.ScrubbingRuleEntryState> -> Azure.ResourceManager.Cdn.Models.ProfileScrubbingRules
Public Shared Function ProfileScrubbingRules (Optional matchVariable As ScrubbingRuleEntryMatchVariable = Nothing, Optional selectorMatchOperator As ScrubbingRuleEntryMatchOperator = Nothing, Optional selector As String = Nothing, Optional state As Nullable(Of ScrubbingRuleEntryState) = Nothing) As ProfileScrubbingRules
Parameters
- matchVariable
- ScrubbingRuleEntryMatchVariable
The variable to be scrubbed from the logs.
- selectorMatchOperator
- ScrubbingRuleEntryMatchOperator
When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- selector
- String
When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- state
- Nullable<ScrubbingRuleEntryState>
Defines the state of a log scrubbing rule. Default value is enabled.
Returns
A new ProfileScrubbingRules instance for mocking.