你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Code Struct

Definition

Tells whether the cluster is Running or Stopped

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

Fields

Running

The cluster is running.

Stopped

The cluster is stopped.

Methods

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

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

Equals(Code)

Compares values of enum type Code

Equals(Object)

Compares values of enum type Code (override for Object)

GetHashCode()

Returns hashCode for enum Code

ToString()

Returns string representation for Code

Operators

Equality(Code, Code)

Overriding == operator for enum Code

Implicit(Code to String)

Implicit operator to convert Code to string

Implicit(String to Code)

Implicit operator to convert string to Code

Inequality(Code, Code)

Overriding != operator for enum Code

Applies to