Share via


ComplianceAssignmentType Struct

Definition

Represents the compliance assignment type of a resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Support.ComplianceAssignmentTypeTypeConverter))]
public struct ComplianceAssignmentType : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Support.ComplianceAssignmentType>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Support.ComplianceAssignmentTypeTypeConverter))>]
type ComplianceAssignmentType = struct
    interface IArgumentCompleter
Public Structure ComplianceAssignmentType
Implements IArgumentCompleter, IEquatable(Of ComplianceAssignmentType)
Inheritance
ComplianceAssignmentType
Attributes
Implements

Fields

Name Description
ApplyAndAutoCorrect

Applied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.

Audit

Report on the state of the machine, but don't make changes.

Methods

Name Description
CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(ComplianceAssignmentType)

Compares values of enum type ComplianceAssignmentType

Equals(Object)

Compares values of enum type ComplianceAssignmentType (override for Object)

GetHashCode()

Returns hashCode for enum ComplianceAssignmentType

ToString()

Returns string representation for ComplianceAssignmentType

Operators

Name Description
Equality(ComplianceAssignmentType, ComplianceAssignmentType)

Overriding == operator for enum ComplianceAssignmentType

Implicit(ComplianceAssignmentType to String)

Implicit operator to convert ComplianceAssignmentType to string

Implicit(String to ComplianceAssignmentType)

Implicit operator to convert string to ComplianceAssignmentType

Inequality(ComplianceAssignmentType, ComplianceAssignmentType)

Overriding != operator for enum ComplianceAssignmentType

Applies to