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

Format Struct

Definition

Argument completer implementation for Format.

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

Fields

Azure

Return azure auth-provider kubeconfig. This format is deprecated in v1.22 and will be fully removed in v1.26. See: https://aka.ms/k8s/changes-1-26.

Exec

Return exec format kubeconfig. This format requires kubelogin binary in the path.

Methods

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

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

Equals(Format)

Compares values of enum type Format

Equals(Object)

Compares values of enum type Format (override for Object)

GetHashCode()

Returns hashCode for enum Format

ToString()

Returns string representation for Format

Operators

Equality(Format, Format)

Overriding == operator for enum Format

Implicit(Format to String)

Implicit operator to convert Format to string

Implicit(String to Format)

Implicit operator to convert string to Format

Inequality(Format, Format)

Overriding != operator for enum Format

Applies to