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

OSType Struct

Definition

The operating system type. The default is Linux.

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

Fields

Linux

Use Linux.

Windows

Use Windows.

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 OSType (override for Object)

Equals(OSType)

Compares values of enum type OSType

GetHashCode()

Returns hashCode for enum OSType

ToString()

Returns string representation for OSType

Operators

Equality(OSType, OSType)

Overriding == operator for enum OSType

Implicit(OSType to String)

Implicit operator to convert OSType to string

Implicit(String to OSType)

Implicit operator to convert string to OSType

Inequality(OSType, OSType)

Overriding != operator for enum OSType

Applies to