PolicyAction 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.
Indicates what action to perform for the policy.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Support.PolicyActionTypeConverter))]
public struct PolicyAction : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Support.PolicyAction>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Support.PolicyActionTypeConverter))>]
type PolicyAction = struct
interface IArgumentCompleter
Public Structure PolicyAction
Implements IArgumentCompleter, IEquatable(Of PolicyAction)
- Inheritance
-
PolicyAction
- Attributes
- Implements
Fields
| Name | Description |
|---|---|
| Allow | |
| Deny | |
Methods
| Name | Description |
|---|---|
| CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
| Equals(Object) |
Compares values of enum type PolicyAction (override for Object) |
| Equals(PolicyAction) |
Compares values of enum type PolicyAction |
| GetHashCode() |
Returns hashCode for enum PolicyAction |
| ToString() |
Returns string representation for PolicyAction |
Operators
| Name | Description |
|---|---|
| Equality(PolicyAction, PolicyAction) |
Overriding == operator for enum PolicyAction |
| Implicit(PolicyAction to String) |
Implicit operator to convert PolicyAction to string |
| Implicit(String to PolicyAction) |
Implicit operator to convert string to PolicyAction |
| Inequality(PolicyAction, PolicyAction) |
Overriding != operator for enum PolicyAction |