你当前正在访问 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.Api20211201.DatastoreTypeConverter))]
public class Datastore : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IDatastore, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DatastoreTypeConverter))>]
type Datastore = class
    interface IDatastore
    interface IJsonSerializable
    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

Id

Resource ID.

Name

Resource name.

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

Type

Resource type.

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