Share via


Datastore Class

Definition

Define the datastore.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.DatastoreTypeConverter))]
public class Datastore : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IDatastore
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.DatastoreTypeConverter))>]
type Datastore = class
    interface IDatastore
    interface IJsonSerializable
Public Class Datastore
Implements IDatastore
Inheritance
Datastore
Attributes
Implements

Constructors

Datastore()

Creates an new Datastore instance.

Properties

CapacityGb

Gets or sets Maximum capacity of this datastore in GBs.

CustomResourceName

Gets the name of the corresponding resource in Kubernetes.

ExtendedLocationName

The extended location name.

ExtendedLocationType

The extended location type.

FreeSpaceGb

Gets or sets Available space of this datastore in GBs.

Id

Gets or sets the Id.

InventoryItemId

Gets or sets the inventory Item ID for the datastore.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

Gets or sets the location.

MoName

Gets or sets the vCenter Managed Object name for the datastore.

MoRefId

Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.

Name

Gets or sets the name.

ProvisioningState

Provisioning state of the resource.

ResourceGroupName

Gets the resource group name

Statuses

The resource status 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

Gets or sets the Resource tags.

Type

Gets or sets the type of the resource.

Uuid

Gets or sets a unique identifier for this resource.

VCenterId

Gets or sets the ARM Id of the vCenter resource in which this datastore resides.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Datastore.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Datastore.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IDatastore.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Datastore into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to