다음을 통해 공유


Machine Class

Definition

A machine. Contains details about the underlying virtual machine. A machine may be visible here but not in kubectl get nodes; if so it may be because the machine has not been registered with the Kubernetes API Server yet.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MachineTypeConverter))]
public class Machine : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMachine, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MachineTypeConverter))>]
type Machine = class
    interface IMachine
    interface IJsonSerializable
    interface ISubResource
    interface IValidates
Public Class Machine
Implements IMachine, IValidates
Inheritance
Machine
Attributes
Implements

Constructors

Name Description
Machine()

Creates an new Machine instance.

Properties

Name Description
Id

Resource ID.

Name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

NetworkIPAddress

IPv4, IPv6 addresses of the machine

ResourceGroupName

Gets the resource group name

ResourceId

Azure resource id of the machine. It can be used to GET underlying VM Instance

Type

Resource type

Zone

The Availability zone in which machine is located.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Machine.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Machine.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMachine.

FromJsonString(String)

Creates a new instance of Machine, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Machine into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to