types

package
v0.46.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 74

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 added in v0.23.0

type BaseCnsAlreadyRegisteredFault interface {
	GetCnsAlreadyRegisteredFault() *CnsAlreadyRegisteredFault
}

type BaseCnsBackingObjectDetails

type BaseCnsBackingObjectDetails interface {
	GetCnsBackingObjectDetails() *CnsBackingObjectDetails
}

type BaseCnsBaseCreateSpec added in v0.23.0

type BaseCnsBaseCreateSpec interface {
	GetCnsBaseCreateSpec() *CnsBaseCreateSpec
}

type BaseCnsEntityMetadata

type BaseCnsEntityMetadata interface {
	GetCnsEntityMetadata() *CnsEntityMetadata
}

type BaseCnsFault

type BaseCnsFault interface {
	GetCnsFault() *CnsFault
}

type BaseCnsVolumeInfo added in v0.23.0

type BaseCnsVolumeInfo interface {
	GetCnsVolumeInfo() *CnsVolumeInfo
}

type BaseCnsVolumeOperationResult

type BaseCnsVolumeOperationResult interface {
	GetCnsVolumeOperationResult() *CnsVolumeOperationResult
}

type BaseCnsVolumeRelocateSpec added in v0.24.0

type BaseCnsVolumeRelocateSpec interface {
	GetCnsVolumeRelocateSpec() CnsVolumeRelocateSpec
}

type BaseCnsVolumeSource added in v0.26.0

type BaseCnsVolumeSource interface {
	GetCnsVolumeSource() *CnsVolumeSource
}

type CnsAlreadyRegisteredFault added in v0.23.0

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

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

func (*CnsAlreadyRegisteredFault) GetCnsAlreadyRegisteredFault added in v0.23.0

func (b *CnsAlreadyRegisteredFault) GetCnsAlreadyRegisteredFault() *CnsAlreadyRegisteredFault

type CnsAsyncQueryResult added in v0.26.0

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 added in v0.23.0

type CnsBaseCreateSpec struct {
	types.DynamicData
}

func (*CnsBaseCreateSpec) GetCnsBaseCreateSpec added in v0.23.0

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"`
	AggregatedSnapshotCapacityInMb int64  `xml:"aggregatedSnapshotCapacityInMb,omitempty"`
	BackingDiskPath                string `xml:"backingDiskPath,omitempty"`
}

type CnsBlockCreateSpec added in v0.46.0

type CnsBlockCreateSpec struct {
	CnsBaseCreateSpec

	// Crypto specifies the encryption settings for the volume to be created.
	// Works with block volumes only.
	CryptoSpec types.BaseCryptoSpec `xml:"cryptoSpec,omitempty,typeattr"`
}

CnsBlockCreateSpec is the specification for creating block volumes.

type CnsBlockVolumeInfo added in v0.23.0

type CnsBlockVolumeInfo struct {
	CnsVolumeInfo

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

type CnsBlockVolumeRelocateSpec added in v0.24.0

type CnsBlockVolumeRelocateSpec struct {
	CnsVolumeRelocateSpec
}

func NewCnsBlockVolumeRelocateSpec added in v0.24.0

func NewCnsBlockVolumeRelocateSpec(volumeId string, datastore types.ManagedObjectReference, profile ...types.BaseVirtualMachineProfileSpec) CnsBlockVolumeRelocateSpec

type CnsClusterFlavor added in v0.23.0

type CnsClusterFlavor string

type CnsClusterType

type CnsClusterType string

type CnsConfigureVolumeACLs added in v0.24.0

type CnsConfigureVolumeACLs CnsConfigureVolumeACLsRequestType

type CnsConfigureVolumeACLsRequestType added in v0.24.0

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

type CnsConfigureVolumeACLsResponse added in v0.24.0

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 added in v0.26.0

type CnsCreateSnapshots CnsCreateSnapshotsRequestType

type CnsCreateSnapshotsRequestType added in v0.26.0

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

type CnsCreateSnapshotsResponse added in v0.26.0

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 added in v0.26.0

type CnsDeleteSnapshots CnsDeleteSnapshotsRequestType

type CnsDeleteSnapshotsRequestType added in v0.26.0

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

type CnsDeleteSnapshotsResponse added in v0.26.0

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 added in v0.23.0

type CnsExtendVolume CnsExtendVolumeRequestType

type CnsExtendVolumeRequestType added in v0.23.0

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

type CnsExtendVolumeResponse added in v0.23.0

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 added in v0.23.0

type CnsFileBackingDetails struct {
	CnsBackingObjectDetails

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

type CnsFileCreateSpec added in v0.23.0

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 added in v0.23.0

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 added in v0.24.1

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

type CnsPlacementResult added in v0.24.0

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 added in v0.26.0

type CnsQueryAsync CnsQueryAsyncRequestType

type CnsQueryAsyncRequestType added in v0.26.0

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

type CnsQueryAsyncResponse added in v0.26.0

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 added in v0.26.1

type CnsQuerySnapshots CnsQuerySnapshotsRequestType

type CnsQuerySnapshotsRequestType added in v0.26.1

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

type CnsQuerySnapshotsResponse added in v0.26.1

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

type CnsQueryVolume

type CnsQueryVolume CnsQueryVolumeRequestType

type CnsQueryVolumeInfo added in v0.23.0

type CnsQueryVolumeInfo CnsQueryVolumeInfoRequestType

type CnsQueryVolumeInfoRequestType added in v0.23.0

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

type CnsQueryVolumeInfoResponse added in v0.23.0

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

type CnsQueryVolumeInfoResult added in v0.23.0

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 CnsReconfigVolumePolicy added in v0.30.0

type CnsReconfigVolumePolicy CnsReconfigVolumePolicyRequestType

type CnsReconfigVolumePolicyRequestType added in v0.30.0

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

type CnsReconfigVolumePolicyResponse added in v0.30.0

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

type CnsRelocateVolume added in v0.24.0

type CnsRelocateVolume CnsRelocateVolumeRequestType

type CnsRelocateVolumeRequestType added in v0.24.0

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

type CnsRelocateVolumeResponse added in v0.24.0

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

type CnsSnapshot added in v0.26.0

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 added in v0.26.0

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

type CnsSnapshotCreateSpec added in v0.26.0

type CnsSnapshotCreateSpec struct {
	types.DynamicData

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

type CnsSnapshotCreatedFault added in v0.34.1

type CnsSnapshotCreatedFault struct {
	CnsFault

	VolumeId   CnsVolumeId                  `xml:"volumeId"`
	SnapshotId CnsSnapshotId                `xml:"SnapshotId"`
	Datastore  types.ManagedObjectReference `xml:"datastore"`
}

type CnsSnapshotDeleteResult added in v0.26.0

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

type CnsSnapshotDeleteSpec added in v0.26.0

type CnsSnapshotDeleteSpec struct {
	types.DynamicData

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

type CnsSnapshotId added in v0.26.0

type CnsSnapshotId struct {
	types.DynamicData

	Id string `xml:"id"`
}

type CnsSnapshotNotFoundFault added in v0.26.1

type CnsSnapshotNotFoundFault struct {
	CnsFault

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

type CnsSnapshotOperationResult added in v0.26.0

type CnsSnapshotOperationResult struct {
	CnsVolumeOperationResult
}

type CnsSnapshotQueryFilter added in v0.26.1

type CnsSnapshotQueryFilter struct {
	types.DynamicData

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

type CnsSnapshotQueryResult added in v0.26.1

type CnsSnapshotQueryResult struct {
	types.DynamicData

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

type CnsSnapshotQueryResultEntry added in v0.26.1

type CnsSnapshotQueryResultEntry struct {
	types.DynamicData

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

type CnsSnapshotQuerySpec added in v0.26.1

type CnsSnapshotQuerySpec struct {
	types.DynamicData

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

type CnsSnapshotVolumeSource added in v0.26.0

type CnsSnapshotVolumeSource struct {
	CnsVolumeSource

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

type CnsSyncDatastore added in v0.31.0

type CnsSyncDatastore CnsSyncDatastoreRequestType

type CnsSyncDatastoreRequestType added in v0.31.0

type CnsSyncDatastoreRequestType struct {
	This         types.ManagedObjectReference `xml:"_this"`
	DatastoreUrl string                       `xml:"datastoreUrl,omitempty"`
	FullSync     *bool                        `xml:"fullSync"`
}

type CnsSyncDatastoreResponse added in v0.31.0

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

type CnsUpdateVolumeCrypto added in v0.46.1

type CnsUpdateVolumeCrypto CnsUpdateVolumeCryptoRequestType

type CnsUpdateVolumeCryptoRequestType added in v0.46.1

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

type CnsUpdateVolumeCryptoResponse added in v0.46.1

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

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 added in v0.23.0

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 added in v0.24.0

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 CnsVolumeCryptoUpdateSpec added in v0.46.1

type CnsVolumeCryptoUpdateSpec struct {
	types.DynamicData

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

CnsVolumeCryptoUpdateSpec is the specification for volume crypto update operation.

type CnsVolumeExtendSpec added in v0.23.0

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 added in v0.23.0

type CnsVolumeInfo struct {
	types.DynamicData
}

func (*CnsVolumeInfo) GetCnsVolumeInfo added in v0.23.0

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 added in v0.26.0

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 added in v0.30.0

type CnsVolumePolicyReconfigSpec struct {
	types.DynamicData

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

type CnsVolumeRelocateSpec added in v0.24.0

type CnsVolumeRelocateSpec struct {
	types.DynamicData

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

func (CnsVolumeRelocateSpec) GetCnsVolumeRelocateSpec added in v0.24.0

func (s CnsVolumeRelocateSpec) GetCnsVolumeRelocateSpec() CnsVolumeRelocateSpec

type CnsVolumeSource added in v0.26.0

type CnsVolumeSource struct {
	types.DynamicData
}

func (*CnsVolumeSource) GetCnsVolumeSource added in v0.26.0

func (b *CnsVolumeSource) GetCnsVolumeSource() *CnsVolumeSource

type CnsVolumeType

type CnsVolumeType string

type CnsVsanFileShareBackingDetails added in v0.23.0

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