types

package
v0.0.0-...-d5d7872 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CnsVolumeTypeBlock = CnsVolumeType("BLOCK")
	CnsVolumeTypeFile  = CnsVolumeType("FILE")
)
View Source
const (
	CnsClusterFlavorVanilla  = CnsClusterFlavor("VANILLA")
	CnsClusterFlavorWorkload = CnsClusterFlavor("WORKLOAD")
	CnsClusterFlavorGuest    = CnsClusterFlavor("GUEST_CLUSTER")
	CnsClusterFlavorUnknown  = CnsClusterFlavor("ClusterFlavor_Unknown")
)
View Source
const (
	QuerySelectionNameTypeVolumeType             = QuerySelectionNameType("VOLUME_TYPE")
	QuerySelectionNameTypeVolumeName             = QuerySelectionNameType("VOLUME_NAME")
	QuerySelectionNameTypeBackingObjectDetails   = QuerySelectionNameType("BACKING_OBJECT_DETAILS")
	QuerySelectionNameTypeComplianceStatus       = QuerySelectionNameType("COMPLIANCE_STATUS")
	QuerySelectionNameTypeDataStoreAccessibility = QuerySelectionNameType("DATASTORE_ACCESSIBILITY_STATUS")
	QuerySelectionNameTypeHealthStatus           = QuerySelectionNameType("HEALTH_STATUS")
	QuerySelectionNameTypeDataStoreUrl           = QuerySelectionNameType("DATASTORE_URL")
	QuerySelectionNameTypePolicyId               = QuerySelectionNameType("POLICY_ID")
)
View Source
const (
	CnsKubernetesEntityTypePVC = CnsKubernetesEntityType("PERSISTENT_VOLUME_CLAIM")
	CnsKubernetesEntityTypePV  = CnsKubernetesEntityType("PERSISTENT_VOLUME")
	CnsKubernetesEntityTypePOD = CnsKubernetesEntityType("POD")
)
View Source
const (
	CnsQuerySelectionName_VOLUME_NAME                    = CnsQuerySelectionNameType("VOLUME_NAME")
	CnsQuerySelectionName_VOLUME_TYPE                    = CnsQuerySelectionNameType("VOLUME_TYPE")
	CnsQuerySelectionName_BACKING_OBJECT_DETAILS         = CnsQuerySelectionNameType("BACKING_OBJECT_DETAILS")
	CnsQuerySelectionName_COMPLIANCE_STATUS              = CnsQuerySelectionNameType("COMPLIANCE_STATUS")
	CnsQuerySelectionName_DATASTORE_ACCESSIBILITY_STATUS = CnsQuerySelectionNameType("DATASTORE_ACCESSIBILITY_STATUS")
	CnsQuerySelectionName_HEALTH_STATUS                  = CnsQuerySelectionNameType("HEALTH_STATUS")
	CnsQuerySelectionName_DATASTORE_URL                  = CnsQuerySelectionNameType("DATASTORE_URL")
	CnsQuerySelectionName_POLICY_ID                      = CnsQuerySelectionNameType("POLICY_ID")
)
View Source
const (
	CnsClusterTypeKubernetes = CnsClusterType("KUBERNETES")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCnsAlreadyRegisteredFault

type BaseCnsAlreadyRegisteredFault interface {
	GetCnsAlreadyRegisteredFault() *CnsAlreadyRegisteredFault
}

type BaseCnsBackingObjectDetails

type BaseCnsBackingObjectDetails interface {
	GetCnsBackingObjectDetails() *CnsBackingObjectDetails
}

type BaseCnsBaseCreateSpec

type BaseCnsBaseCreateSpec interface {
	GetCnsBaseCreateSpec() *CnsBaseCreateSpec
}

type BaseCnsEntityMetadata

type BaseCnsEntityMetadata interface {
	GetCnsEntityMetadata() *CnsEntityMetadata
}

type BaseCnsFault

type BaseCnsFault interface {
	GetCnsFault() *CnsFault
}

type BaseCnsVolumeInfo

type BaseCnsVolumeInfo interface {
	GetCnsVolumeInfo() *CnsVolumeInfo
}

type BaseCnsVolumeOperationResult

type BaseCnsVolumeOperationResult interface {
	GetCnsVolumeOperationResult() *CnsVolumeOperationResult
}

type BaseCnsVolumeRelocateSpec

type BaseCnsVolumeRelocateSpec interface {
	GetCnsVolumeRelocateSpec() CnsVolumeRelocateSpec
}

type BaseCnsVolumeSource

type BaseCnsVolumeSource interface {
	GetCnsVolumeSource() *CnsVolumeSource
}

type CnsAlreadyRegisteredFault

type CnsAlreadyRegisteredFault struct {
	CnsFault `xml:"fault,typeattr"`

	VolumeId CnsVolumeId `xml:"volumeId,omitempty"`
}

func (*CnsAlreadyRegisteredFault) GetCnsAlreadyRegisteredFault

func (b *CnsAlreadyRegisteredFault) GetCnsAlreadyRegisteredFault() *CnsAlreadyRegisteredFault

type CnsAsyncQueryResult

type CnsAsyncQueryResult struct {
	CnsVolumeOperationResult

	QueryResult CnsQueryResult `xml:"queryResult,omitempty"`
}

type CnsAttachVolume

type CnsAttachVolume CnsAttachVolumeRequestType

type CnsAttachVolumeRequestType

type CnsAttachVolumeRequestType struct {
	This        types.ManagedObjectReference `xml:"_this"`
	AttachSpecs []CnsVolumeAttachDetachSpec  `xml:"attachSpecs,omitempty"`
}

type CnsAttachVolumeResponse

type CnsAttachVolumeResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsBackingObjectDetails

type CnsBackingObjectDetails struct {
	types.DynamicData

	CapacityInMb int64 `xml:"capacityInMb,omitempty"`
}

func (*CnsBackingObjectDetails) GetCnsBackingObjectDetails

func (b *CnsBackingObjectDetails) GetCnsBackingObjectDetails() *CnsBackingObjectDetails

type CnsBaseCreateSpec

type CnsBaseCreateSpec struct {
	types.DynamicData
}

func (*CnsBaseCreateSpec) GetCnsBaseCreateSpec

func (b *CnsBaseCreateSpec) GetCnsBaseCreateSpec() *CnsBaseCreateSpec

type CnsBlockBackingDetails

type CnsBlockBackingDetails struct {
	CnsBackingObjectDetails

	BackingDiskId       string `xml:"backingDiskId,omitempty"`
	BackingDiskUrlPath  string `xml:"backingDiskUrlPath,omitempty"`
	BackingDiskObjectId string `xml:"backingDiskObjectId,omitempty"`
}

type CnsBlockVolumeInfo

type CnsBlockVolumeInfo struct {
	CnsVolumeInfo

	VStorageObject types.VStorageObject `xml:"vStorageObject"`
}

type CnsBlockVolumeRelocateSpec

type CnsBlockVolumeRelocateSpec struct {
	CnsVolumeRelocateSpec
}

type CnsClusterFlavor

type CnsClusterFlavor string

type CnsClusterType

type CnsClusterType string

type CnsConfigureVolumeACLsRequestType

type CnsConfigureVolumeACLsRequestType struct {
	This           types.ManagedObjectReference `xml:"_this"`
	ACLConfigSpecs []CnsVolumeACLConfigureSpec  `xml:"ACLConfigSpecs"`
}

type CnsConfigureVolumeACLsResponse

type CnsConfigureVolumeACLsResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsContainerCluster

type CnsContainerCluster struct {
	types.DynamicData

	ClusterType         string `xml:"clusterType"`
	ClusterId           string `xml:"clusterId"`
	VSphereUser         string `xml:"vSphereUser"`
	ClusterFlavor       string `xml:"clusterFlavor,omitempty"`
	ClusterDistribution string `xml:"clusterDistribution,omitempty"`
}

type CnsCreateSnapshots

type CnsCreateSnapshots CnsCreateSnapshotsRequestType

type CnsCreateSnapshotsRequestType

type CnsCreateSnapshotsRequestType struct {
	This          types.ManagedObjectReference `xml:"_this"`
	SnapshotSpecs []CnsSnapshotCreateSpec      `xml:"snapshotSpecs,omitempty"`
}

type CnsCreateSnapshotsResponse

type CnsCreateSnapshotsResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsCreateVolume

type CnsCreateVolume CnsCreateVolumeRequestType

type CnsCreateVolumeRequestType

type CnsCreateVolumeRequestType struct {
	This        types.ManagedObjectReference `xml:"_this"`
	CreateSpecs []CnsVolumeCreateSpec        `xml:"createSpecs,omitempty"`
}

type CnsCreateVolumeResponse

type CnsCreateVolumeResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsCursor

type CnsCursor struct {
	types.DynamicData

	Offset       int64 `xml:"offset"`
	Limit        int64 `xml:"limit"`
	TotalRecords int64 `xml:"totalRecords,omitempty"`
}

type CnsDeleteSnapshots

type CnsDeleteSnapshots CnsDeleteSnapshotsRequestType

type CnsDeleteSnapshotsRequestType

type CnsDeleteSnapshotsRequestType struct {
	This                types.ManagedObjectReference `xml:"_this"`
	SnapshotDeleteSpecs []CnsSnapshotDeleteSpec      `xml:"snapshotDeleteSpecs,omitempty"`
}

type CnsDeleteSnapshotsResponse

type CnsDeleteSnapshotsResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsDeleteVolume

type CnsDeleteVolume CnsDeleteVolumeRequestType

type CnsDeleteVolumeRequestType

type CnsDeleteVolumeRequestType struct {
	This       types.ManagedObjectReference `xml:"_this"`
	VolumeIds  []CnsVolumeId                `xml:"volumeIds"`
	DeleteDisk bool                         `xml:"deleteDisk"`
}

type CnsDeleteVolumeResponse

type CnsDeleteVolumeResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsDetachVolume

type CnsDetachVolume CnsDetachVolumeRequestType

type CnsDetachVolumeRequestType

type CnsDetachVolumeRequestType struct {
	This        types.ManagedObjectReference `xml:"_this"`
	DetachSpecs []CnsVolumeAttachDetachSpec  `xml:"detachSpecs,omitempty"`
}

type CnsDetachVolumeResponse

type CnsDetachVolumeResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsEntityMetadata

type CnsEntityMetadata struct {
	types.DynamicData

	EntityName string           `xml:"entityName"`
	Labels     []types.KeyValue `xml:"labels,omitempty"`
	Delete     bool             `xml:"delete,omitempty"`
	ClusterID  string           `xml:"clusterId,omitempty"`
}

func (*CnsEntityMetadata) GetCnsEntityMetadata

func (b *CnsEntityMetadata) GetCnsEntityMetadata() *CnsEntityMetadata

type CnsExtendVolume

type CnsExtendVolume CnsExtendVolumeRequestType

type CnsExtendVolumeRequestType

type CnsExtendVolumeRequestType struct {
	This        types.ManagedObjectReference `xml:"_this"`
	ExtendSpecs []CnsVolumeExtendSpec        `xml:"extendSpecs,omitempty"`
}

type CnsExtendVolumeResponse

type CnsExtendVolumeResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsFault

type CnsFault struct {
	types.BaseMethodFault `xml:"fault,typeattr"`

	Reason string `xml:"reason,omitempty"`
}

func (*CnsFault) GetCnsFault

func (b *CnsFault) GetCnsFault() *CnsFault

type CnsFileBackingDetails

type CnsFileBackingDetails struct {
	CnsBackingObjectDetails

	BackingFileId string `xml:"backingFileId,omitempty"`
}

type CnsFileCreateSpec

type CnsFileCreateSpec struct {
	CnsBaseCreateSpec
}

type CnsKubernetesEntityMetadata

type CnsKubernetesEntityMetadata struct {
	CnsEntityMetadata

	EntityType     string                         `xml:"entityType"`
	Namespace      string                         `xml:"namespace,omitempty"`
	ReferredEntity []CnsKubernetesEntityReference `xml:"referredEntity,omitempty"`
}

type CnsKubernetesEntityReference

type CnsKubernetesEntityReference struct {
	EntityType string `xml:"entityType"`
	EntityName string `xml:"entityName"`
	Namespace  string `xml:"namespace,omitempty"`
	ClusterID  string `xml:"clusterId,omitempty"`
}

type CnsKubernetesEntityType

type CnsKubernetesEntityType string

type CnsNFSAccessControlSpec

type CnsNFSAccessControlSpec struct {
	types.DynamicData
	Permission []vsanfstypes.VsanFileShareNetPermission `xml:"netPermission,omitempty,typeattr"`
	Delete     bool                                     `xml:"delete,omitempty"`
}

type CnsPlacementResult

type CnsPlacementResult struct {
	Datastore       types.ManagedObjectReference  `xml:"datastore,omitempty"`
	PlacementFaults []*types.LocalizedMethodFault `xml:"placementFaults,omitempty"`
}

type CnsQueryAllVolume

type CnsQueryAllVolume CnsQueryAllVolumeRequestType

type CnsQueryAllVolumeRequestType

type CnsQueryAllVolumeRequestType struct {
	This      types.ManagedObjectReference `xml:"_this"`
	Filter    CnsQueryFilter               `xml:"filter"`
	Selection CnsQuerySelection            `xml:"selection"`
}

type CnsQueryAllVolumeResponse

type CnsQueryAllVolumeResponse struct {
	Returnval CnsQueryResult `xml:"returnval"`
}

type CnsQueryAsync

type CnsQueryAsync CnsQueryAsyncRequestType

type CnsQueryAsyncRequestType

type CnsQueryAsyncRequestType struct {
	This      types.ManagedObjectReference `xml:"_this"`
	Filter    CnsQueryFilter               `xml:"filter"`
	Selection *CnsQuerySelection           `xml:"selection,omitempty"`
}

type CnsQueryAsyncResponse

type CnsQueryAsyncResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsQueryFilter

type CnsQueryFilter struct {
	types.DynamicData

	VolumeIds                    []CnsVolumeId                  `xml:"volumeIds,omitempty"`
	Names                        []string                       `xml:"names,omitempty"`
	ContainerClusterIds          []string                       `xml:"containerClusterIds,omitempty"`
	StoragePolicyId              string                         `xml:"storagePolicyId,omitempty"`
	Datastores                   []types.ManagedObjectReference `xml:"datastores,omitempty"`
	Labels                       []types.KeyValue               `xml:"labels,omitempty"`
	ComplianceStatus             string                         `xml:"complianceStatus,omitempty"`
	DatastoreAccessibilityStatus string                         `xml:"datastoreAccessibilityStatus,omitempty"`
	Cursor                       *CnsCursor                     `xml:"cursor,omitempty"`
	HealthStatus                 string                         `xml:"healthStatus,omitempty"`
}

type CnsQueryResult

type CnsQueryResult struct {
	types.DynamicData

	Volumes []CnsVolume `xml:"volumes,omitempty"`
	Cursor  CnsCursor   `xml:"cursor"`
}

type CnsQuerySelection

type CnsQuerySelection struct {
	types.DynamicData

	Names []string `xml:"names,omitempty"`
}

type CnsQuerySelectionNameType

type CnsQuerySelectionNameType string

type CnsQuerySnapshots

type CnsQuerySnapshots CnsQuerySnapshotsRequestType

type CnsQuerySnapshotsRequestType

type CnsQuerySnapshotsRequestType struct {
	This                types.ManagedObjectReference `xml:"_this"`
	SnapshotQueryFilter CnsSnapshotQueryFilter       `xml:"snapshotQueryFilter"`
}

type CnsQuerySnapshotsResponse

type CnsQuerySnapshotsResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsQueryVolume

type CnsQueryVolume CnsQueryVolumeRequestType

type CnsQueryVolumeInfo

type CnsQueryVolumeInfo CnsQueryVolumeInfoRequestType

type CnsQueryVolumeInfoRequestType

type CnsQueryVolumeInfoRequestType struct {
	This      types.ManagedObjectReference `xml:"_this"`
	VolumeIds []CnsVolumeId                `xml:"volumes"`
}

type CnsQueryVolumeInfoResponse

type CnsQueryVolumeInfoResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsQueryVolumeInfoResult

type CnsQueryVolumeInfoResult struct {
	CnsVolumeOperationResult

	VolumeInfo BaseCnsVolumeInfo `xml:"volumeInfo,typeattr,omitempty"`
}

type CnsQueryVolumeRequestType

type CnsQueryVolumeRequestType struct {
	This   types.ManagedObjectReference `xml:"_this"`
	Filter CnsQueryFilter               `xml:"filter"`
}

type CnsQueryVolumeResponse

type CnsQueryVolumeResponse struct {
	Returnval CnsQueryResult `xml:"returnval"`
}

type CnsReconfigVolumePolicyRequestType

type CnsReconfigVolumePolicyRequestType struct {
	This                      types.ManagedObjectReference  `xml:"_this"`
	VolumePolicyReconfigSpecs []CnsVolumePolicyReconfigSpec `xml:"volumePolicyReconfigSpecs,omitempty"`
}

type CnsReconfigVolumePolicyResponse

type CnsReconfigVolumePolicyResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsRelocateVolume

type CnsRelocateVolume CnsRelocateVolumeRequestType

type CnsRelocateVolumeRequestType

type CnsRelocateVolumeRequestType struct {
	This          types.ManagedObjectReference `xml:"_this"`
	RelocateSpecs []BaseCnsVolumeRelocateSpec  `xml:"relocateSpecs,typeattr"`
}

type CnsRelocateVolumeResponse

type CnsRelocateVolumeResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsSnapshot

type CnsSnapshot struct {
	types.DynamicData

	SnapshotId  CnsSnapshotId `xml:"snapshotId"`
	VolumeId    CnsVolumeId   `xml:"volumeId"`
	Description string        `xml:"description,omitempty"`
	CreateTime  time.Time     `xml:"createTime"`
}

type CnsSnapshotCreateResult

type CnsSnapshotCreateResult struct {
	CnsSnapshotOperationResult
	Snapshot CnsSnapshot `xml:"snapshot,omitempty"`
}

type CnsSnapshotCreateSpec

type CnsSnapshotCreateSpec struct {
	types.DynamicData

	VolumeId    CnsVolumeId `xml:"volumeId"`
	Description string      `xml:"description"`
}

type CnsSnapshotDeleteResult

type CnsSnapshotDeleteResult struct {
	CnsSnapshotOperationResult
	SnapshotId CnsSnapshotId `xml:"snapshotId,omitempty"`
}

type CnsSnapshotDeleteSpec

type CnsSnapshotDeleteSpec struct {
	types.DynamicData

	VolumeId   CnsVolumeId   `xml:"volumeId"`
	SnapshotId CnsSnapshotId `xml:"snapshotId"`
}

type CnsSnapshotId

type CnsSnapshotId struct {
	types.DynamicData

	Id string `xml:"id"`
}

type CnsSnapshotNotFoundFault

type CnsSnapshotNotFoundFault struct {
	CnsFault

	VolumeId   CnsVolumeId   `xml:"volumeId,omitempty"`
	SnapshotId CnsSnapshotId `xml:"snapshotId"`
}

type CnsSnapshotOperationResult

type CnsSnapshotOperationResult struct {
	CnsVolumeOperationResult
}

type CnsSnapshotQueryFilter

type CnsSnapshotQueryFilter struct {
	types.DynamicData

	SnapshotQuerySpecs []CnsSnapshotQuerySpec `xml:"snapshotQuerySpecs,omitempty"`
	Cursor             *CnsCursor             `xml:"cursor,omitempty"`
}

type CnsSnapshotQueryResult

type CnsSnapshotQueryResult struct {
	types.DynamicData

	Entries []CnsSnapshotQueryResultEntry `xml:"entries,omitempty"`
	Cursor  CnsCursor                     `xml:"cursor"`
}

type CnsSnapshotQueryResultEntry

type CnsSnapshotQueryResultEntry struct {
	types.DynamicData

	Snapshot CnsSnapshot                 `xml:"snapshot,omitempty"`
	Error    *types.LocalizedMethodFault `xml:"error,omitempty"`
}

type CnsSnapshotQuerySpec

type CnsSnapshotQuerySpec struct {
	types.DynamicData

	VolumeId   CnsVolumeId    `xml:"volumeId"`
	SnapshotId *CnsSnapshotId `xml:"snapshotId,omitempty"`
}

type CnsSnapshotVolumeSource

type CnsSnapshotVolumeSource struct {
	CnsVolumeSource

	VolumeId   CnsVolumeId   `xml:"volumeId,omitempty"`
	SnapshotId CnsSnapshotId `xml:"snapshotId,omitempty"`
}

type CnsUpdateVolumeMetadataRequestType

type CnsUpdateVolumeMetadataRequestType struct {
	This        types.ManagedObjectReference  `xml:"_this"`
	UpdateSpecs []CnsVolumeMetadataUpdateSpec `xml:"updateSpecs,omitempty"`
}

type CnsUpdateVolumeMetadataResponse

type CnsUpdateVolumeMetadataResponse struct {
	Returnval types.ManagedObjectReference `xml:"returnval"`
}

type CnsVSANFileCreateSpec

type CnsVSANFileCreateSpec struct {
	CnsFileCreateSpec
	SoftQuotaInMb int64                                    `xml:"softQuotaInMb,omitempty"`
	Permission    []vsanfstypes.VsanFileShareNetPermission `xml:"permission,omitempty,typeattr"`
}

type CnsVolume

type CnsVolume struct {
	types.DynamicData

	VolumeId                     CnsVolumeId                 `xml:"volumeId"`
	DatastoreUrl                 string                      `xml:"datastoreUrl,omitempty"`
	Name                         string                      `xml:"name,omitempty"`
	VolumeType                   string                      `xml:"volumeType,omitempty"`
	StoragePolicyId              string                      `xml:"storagePolicyId,omitempty"`
	Metadata                     CnsVolumeMetadata           `xml:"metadata,omitempty"`
	BackingObjectDetails         BaseCnsBackingObjectDetails `xml:"backingObjectDetails,omitempty"`
	ComplianceStatus             string                      `xml:"complianceStatus,omitempty"`
	DatastoreAccessibilityStatus string                      `xml:"datastoreAccessibilityStatus,omitempty"`
	HealthStatus                 string                      `xml:"healthStatus,omitempty"`
}

type CnsVolumeACLConfigureSpec

type CnsVolumeACLConfigureSpec struct {
	types.DynamicData

	VolumeId              CnsVolumeId               `xml:"volumeId"`
	AccessControlSpecList []CnsNFSAccessControlSpec `xml:"accessControlSpecList,typeattr"`
}

type CnsVolumeAttachDetachSpec

type CnsVolumeAttachDetachSpec struct {
	types.DynamicData

	VolumeId CnsVolumeId                  `xml:"volumeId"`
	Vm       types.ManagedObjectReference `xml:"vm"`
}

type CnsVolumeAttachResult

type CnsVolumeAttachResult struct {
	CnsVolumeOperationResult

	DiskUUID string `xml:"diskUUID,omitempty"`
}

type CnsVolumeCreateResult

type CnsVolumeCreateResult struct {
	CnsVolumeOperationResult
	Name             string               `xml:"name,omitempty"`
	PlacementResults []CnsPlacementResult `xml:"placementResults,omitempty"`
}

type CnsVolumeCreateSpec

type CnsVolumeCreateSpec struct {
	types.DynamicData
	Name                 string                                `xml:"name"`
	VolumeType           string                                `xml:"volumeType"`
	Datastores           []types.ManagedObjectReference        `xml:"datastores,omitempty"`
	Metadata             CnsVolumeMetadata                     `xml:"metadata,omitempty"`
	BackingObjectDetails BaseCnsBackingObjectDetails           `xml:"backingObjectDetails,typeattr"`
	Profile              []types.BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
	CreateSpec           BaseCnsBaseCreateSpec                 `xml:"createSpec,omitempty,typeattr"`
	VolumeSource         BaseCnsVolumeSource                   `xml:"volumeSource,omitempty,typeattr"`
}

type CnsVolumeExtendSpec

type CnsVolumeExtendSpec struct {
	types.DynamicData

	VolumeId     CnsVolumeId `xml:"volumeId"`
	CapacityInMb int64       `xml:"capacityInMb"`
}

type CnsVolumeId

type CnsVolumeId struct {
	types.DynamicData

	Id string `xml:"id"`
}

type CnsVolumeInfo

type CnsVolumeInfo struct {
	types.DynamicData
}

func (*CnsVolumeInfo) GetCnsVolumeInfo

func (b *CnsVolumeInfo) GetCnsVolumeInfo() *CnsVolumeInfo

type CnsVolumeMetadata

type CnsVolumeMetadata struct {
	types.DynamicData

	ContainerCluster      CnsContainerCluster     `xml:"containerCluster"`
	EntityMetadata        []BaseCnsEntityMetadata `xml:"entityMetadata,typeattr,omitempty"`
	ContainerClusterArray []CnsContainerCluster   `xml:"containerClusterArray,omitempty"`
}

type CnsVolumeMetadataUpdateSpec

type CnsVolumeMetadataUpdateSpec struct {
	types.DynamicData

	VolumeId CnsVolumeId       `xml:"volumeId"`
	Metadata CnsVolumeMetadata `xml:"metadata,omitempty"`
}

type CnsVolumeNotFoundFault

type CnsVolumeNotFoundFault struct {
	CnsFault

	VolumeId CnsVolumeId `xml:"volumeId"`
}

type CnsVolumeOperationBatchResult

type CnsVolumeOperationBatchResult struct {
	types.DynamicData

	VolumeResults []BaseCnsVolumeOperationResult `xml:"volumeResults,omitempty,typeattr"`
}

type CnsVolumeOperationResult

type CnsVolumeOperationResult struct {
	types.DynamicData

	VolumeId CnsVolumeId                 `xml:"volumeId,omitempty"`
	Fault    *types.LocalizedMethodFault `xml:"fault,omitempty"`
}

func (*CnsVolumeOperationResult) GetCnsVolumeOperationResult

func (b *CnsVolumeOperationResult) GetCnsVolumeOperationResult() *CnsVolumeOperationResult

type CnsVolumePolicyReconfigSpec

type CnsVolumePolicyReconfigSpec struct {
	types.DynamicData

	VolumeId CnsVolumeId                           `xml:"volumeId"`
	Profile  []types.BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
}

type CnsVolumeRelocateSpec

type CnsVolumeRelocateSpec struct {
	types.DynamicData

	VolumeId  CnsVolumeId                           `xml:"volumeId"`
	Datastore types.ManagedObjectReference          `xml:"datastore"`
	Profile   []types.BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
}

func (CnsVolumeRelocateSpec) GetCnsVolumeRelocateSpec

func (s CnsVolumeRelocateSpec) GetCnsVolumeRelocateSpec() CnsVolumeRelocateSpec

type CnsVolumeSource

type CnsVolumeSource struct {
	types.DynamicData
}

func (*CnsVolumeSource) GetCnsVolumeSource

func (b *CnsVolumeSource) GetCnsVolumeSource() *CnsVolumeSource

type CnsVolumeType

type CnsVolumeType string

type CnsVsanFileShareBackingDetails

type CnsVsanFileShareBackingDetails struct {
	CnsFileBackingDetails

	Name         string           `xml:"name,omitempty"`
	AccessPoints []types.KeyValue `xml:"accessPoints,omitempty"`
}

type QuerySelectionNameType

type QuerySelectionNameType string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL