Sdílet prostřednictvím


Rack Class

Definition

Rack represents the hardware of the rack and is dependent upon the cluster for lifecycle.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.RackTypeConverter))]
public class Rack : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IRack, Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.RackTypeConverter))>]
type Rack = class
    interface IRack
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Rack
Implements IRack, IValidates
Inheritance
Rack
Attributes
Implements

Constructors

Rack()

Creates an new Rack instance.

Properties

AvailabilityZone

The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.

ClusterId

The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.

DetailedStatus

The more detailed status of the rack.

DetailedStatusMessage

The descriptive message about the current detailed status.

ExtendedLocationName

The resource ID of the extended location on which the resource will be created.

ExtendedLocationType

The extended location type, for example, CustomLocation.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The geo-location where the resource lives

Name

The name of the resource

ProvisioningState

The provisioning state of the rack resource.

RackLocation

The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)

ResourceGroupName

Gets the resource group name

SerialNumber

The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.

SkuId

The SKU for the rack.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Rack.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Rack.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IRack.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Rack into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to