Share via


Workload Struct

Definition

The workload type of the subscription. It can be either Production or DevTest.

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

Fields

DevTest
Production

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

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

Equals(Object)

Compares values of enum type Workload (override for Object)

Equals(Workload)

Compares values of enum type Workload

GetHashCode()

Returns hashCode for enum Workload

ToString()

Returns string representation for Workload

Operators

Equality(Workload, Workload)

Overriding == operator for enum Workload

Implicit(String to Workload)

Implicit operator to convert string to Workload

Implicit(Workload to String)

Implicit operator to convert Workload to string

Inequality(Workload, Workload)

Overriding != operator for enum Workload

Applies to