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

Datastore Class

Definition

A datastore resource

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

Constructors

Datastore()

Creates an new Datastore instance.

Properties

DiskPoolVolumeLunName

Name of the LUN to be used for datastore

DiskPoolVolumeMountOption

Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN

DiskPoolVolumePath

Device path

DiskPoolVolumeTargetId

Azure resource ID of the iSCSI target

ElasticSanVolumeTargetId

Azure resource ID of the Elastic SAN Volume

Id

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

Name

The name of the resource

NetAppVolumeId

Azure resource ID of the NetApp volume

ProvisioningState

The state of the datastore provisioning

ResourceGroupName

Gets the resource group name

Status

The operational status of the datastore

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.

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 Datastore.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Datastore.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.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()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to