Partager via


CreateOption Struct

Definition

Indicates what lab virtual machines are created from.

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

Fields

Image

An image is used to create all lab user virtual machines. When this option is set, no template VM will be created.

TemplateVM

A template VM will be used to create all lab user virtual machines.

Methods

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

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

Equals(CreateOption)

Compares values of enum type CreateOption

Equals(Object)

Compares values of enum type CreateOption (override for Object)

GetHashCode()

Returns hashCode for enum CreateOption

ToString()

Returns string representation for CreateOption

Operators

Equality(CreateOption, CreateOption)

Overriding == operator for enum CreateOption

Implicit(CreateOption to String)

Implicit operator to convert CreateOption to string

Implicit(String to CreateOption)

Implicit operator to convert string to CreateOption

Inequality(CreateOption, CreateOption)

Overriding != operator for enum CreateOption

Applies to