PolicyViolationAction Struct
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 action to perform when a user delegation SAS (shared access signature) policy requirement is violated.
public readonly struct PolicyViolationAction : IEquatable<Azure.ResourceManager.Storage.Models.PolicyViolationAction>
type PolicyViolationAction = struct
Public Structure PolicyViolationAction
Implements IEquatable(Of PolicyViolationAction)
- Inheritance
-
PolicyViolationAction
- Implements
Constructors
| Name | Description |
|---|---|
| PolicyViolationAction(String) |
Initializes a new instance of PolicyViolationAction. |
Properties
| Name | Description |
|---|---|
| Block |
The request is blocked and denied when the policy requirement is violated. |
| Log |
The policy violation is logged for audit purposes. |
| None |
No action is taken when the policy requirement is violated. |
Methods
| Name | Description |
|---|---|
| Equals(PolicyViolationAction) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(PolicyViolationAction, PolicyViolationAction) |
Determines if two PolicyViolationAction values are the same. |
| Implicit(String to Nullable<PolicyViolationAction>) | |
| Implicit(String to PolicyViolationAction) |
Converts a string to a PolicyViolationAction. |
| Inequality(PolicyViolationAction, PolicyViolationAction) |
Determines if two PolicyViolationAction values are not the same. |