package types

import "github.com/vmware/govmomi/cns/types"

Index

Constants

const (
	CnsVolumeTypeBlock = CnsVolumeType("BLOCK")
	CnsVolumeTypeFile  = CnsVolumeType("FILE")
)
const (
	CnsClusterFlavorVanilla  = CnsClusterFlavor("VANILLA")
	CnsClusterFlavorWorkload = CnsClusterFlavor("WORKLOAD")
	CnsClusterFlavorGuest    = CnsClusterFlavor("GUEST_CLUSTER")
	CnsClusterFlavorUnknown  = CnsClusterFlavor("ClusterFlavor_Unknown")
)
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")
)
const (
	CnsKubernetesEntityTypePVC = CnsKubernetesEntityType("PERSISTENT_VOLUME_CLAIM")
	CnsKubernetesEntityTypePV  = CnsKubernetesEntityType("PERSISTENT_VOLUME")
	CnsKubernetesEntityTypePOD = CnsKubernetesEntityType("POD")
)
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")
)
const (
	CnsClusterTypeKubernetes = CnsClusterType("KUBERNETES")
)

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" json:"volumeId"`
}

func (*CnsAlreadyRegisteredFault) GetCnsAlreadyRegisteredFault

func (b *CnsAlreadyRegisteredFault) GetCnsAlreadyRegisteredFault() *CnsAlreadyRegisteredFault

type CnsAsyncQueryResult

type CnsAsyncQueryResult struct {
	CnsVolumeOperationResult

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

type CnsAttachVolume

type CnsAttachVolume CnsAttachVolumeRequestType

type CnsAttachVolumeRequestType

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

type CnsAttachVolumeResponse

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

type CnsBackingObjectDetails

type CnsBackingObjectDetails struct {
	types.DynamicData

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

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" json:"backingDiskId"`
	BackingDiskUrlPath             string `xml:"backingDiskUrlPath,omitempty" json:"backingDiskUrlPath"`
	BackingDiskObjectId            string `xml:"backingDiskObjectId,omitempty" json:"backingDiskObjectId"`
	AggregatedSnapshotCapacityInMb int64  `xml:"aggregatedSnapshotCapacityInMb,omitempty" json:"aggregatedSnapshotCapacityInMb"`
	BackingDiskPath                string `xml:"backingDiskPath,omitempty" json:"backingDiskPath"`
}

type CnsBlockCreateSpec

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" json:"cryptoSpec"`
}

CnsBlockCreateSpec is the specification for creating block volumes.

type CnsBlockVolumeInfo

type CnsBlockVolumeInfo struct {
	CnsVolumeInfo

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

type CnsBlockVolumeRelocateSpec

type CnsBlockVolumeRelocateSpec struct {
	CnsVolumeRelocateSpec
}

func NewCnsBlockVolumeRelocateSpec

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

type CnsClusterFlavor

type CnsClusterFlavor string

type CnsClusterType

type CnsClusterType string

type CnsConfigureVolumeACLs

type CnsConfigureVolumeACLs CnsConfigureVolumeACLsRequestType

type CnsConfigureVolumeACLsRequestType

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

type CnsConfigureVolumeACLsResponse

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

type CnsContainerCluster

type CnsContainerCluster struct {
	types.DynamicData

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

type CnsCreateSnapshots

type CnsCreateSnapshots CnsCreateSnapshotsRequestType

type CnsCreateSnapshotsRequestType

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

type CnsCreateSnapshotsResponse

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

type CnsCreateVolume

type CnsCreateVolume CnsCreateVolumeRequestType

type CnsCreateVolumeRequestType

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

type CnsCreateVolumeResponse

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

type CnsCursor

type CnsCursor struct {
	types.DynamicData

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

type CnsDeleteSnapshots

type CnsDeleteSnapshots CnsDeleteSnapshotsRequestType

type CnsDeleteSnapshotsRequestType

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

type CnsDeleteSnapshotsResponse

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

type CnsDeleteVolume

type CnsDeleteVolume CnsDeleteVolumeRequestType

type CnsDeleteVolumeRequestType

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

type CnsDeleteVolumeResponse

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

type CnsDetachVolume

type CnsDetachVolume CnsDetachVolumeRequestType

type CnsDetachVolumeRequestType

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

type CnsDetachVolumeResponse

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

type CnsEntityMetadata

type CnsEntityMetadata struct {
	types.DynamicData

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

func (*CnsEntityMetadata) GetCnsEntityMetadata

func (b *CnsEntityMetadata) GetCnsEntityMetadata() *CnsEntityMetadata

type CnsExtendVolume

type CnsExtendVolume CnsExtendVolumeRequestType

type CnsExtendVolumeRequestType

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

type CnsExtendVolumeResponse

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

type CnsFault

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

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

func (*CnsFault) GetCnsFault

func (b *CnsFault) GetCnsFault() *CnsFault

type CnsFileBackingDetails

type CnsFileBackingDetails struct {
	CnsBackingObjectDetails

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

type CnsFileCreateSpec

type CnsFileCreateSpec struct {
	CnsBaseCreateSpec
}

type CnsKubernetesEntityMetadata

type CnsKubernetesEntityMetadata struct {
	CnsEntityMetadata

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

type CnsKubernetesEntityReference

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

type CnsKubernetesEntityType

type CnsKubernetesEntityType string

type CnsNFSAccessControlSpec

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

type CnsPlacementResult

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

type CnsQueryAllVolume

type CnsQueryAllVolume CnsQueryAllVolumeRequestType

type CnsQueryAllVolumeRequestType

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

type CnsQueryAllVolumeResponse

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

type CnsQueryAsync

type CnsQueryAsync CnsQueryAsyncRequestType

type CnsQueryAsyncRequestType

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

type CnsQueryAsyncResponse

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

type CnsQueryFilter

type CnsQueryFilter struct {
	types.DynamicData

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

type CnsQueryResult

type CnsQueryResult struct {
	types.DynamicData

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

type CnsQuerySelection

type CnsQuerySelection struct {
	types.DynamicData

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

type CnsQuerySelectionNameType

type CnsQuerySelectionNameType string

type CnsQuerySnapshots

type CnsQuerySnapshots CnsQuerySnapshotsRequestType

type CnsQuerySnapshotsRequestType

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

type CnsQuerySnapshotsResponse

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

type CnsQueryVolume

type CnsQueryVolume CnsQueryVolumeRequestType

type CnsQueryVolumeInfo

type CnsQueryVolumeInfo CnsQueryVolumeInfoRequestType

type CnsQueryVolumeInfoRequestType

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

type CnsQueryVolumeInfoResponse

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

type CnsQueryVolumeInfoResult

type CnsQueryVolumeInfoResult struct {
	CnsVolumeOperationResult

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

type CnsQueryVolumeRequestType

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

type CnsQueryVolumeResponse

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

type CnsReconfigVolumePolicy

type CnsReconfigVolumePolicy CnsReconfigVolumePolicyRequestType

type CnsReconfigVolumePolicyRequestType

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

type CnsReconfigVolumePolicyResponse

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

type CnsRelocateVolume

type CnsRelocateVolume CnsRelocateVolumeRequestType

type CnsRelocateVolumeRequestType

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

type CnsRelocateVolumeResponse

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

type CnsSnapshot

type CnsSnapshot struct {
	types.DynamicData

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

type CnsSnapshotCreateResult

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

type CnsSnapshotCreateSpec

type CnsSnapshotCreateSpec struct {
	types.DynamicData

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

type CnsSnapshotCreatedFault

type CnsSnapshotCreatedFault struct {
	CnsFault

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

type CnsSnapshotDeleteResult

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

type CnsSnapshotDeleteSpec

type CnsSnapshotDeleteSpec struct {
	types.DynamicData

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

type CnsSnapshotId

type CnsSnapshotId struct {
	types.DynamicData

	Id string `xml:"id" json:"id"`
}

type CnsSnapshotNotFoundFault

type CnsSnapshotNotFoundFault struct {
	CnsFault

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

type CnsSnapshotOperationResult

type CnsSnapshotOperationResult struct {
	CnsVolumeOperationResult
}

type CnsSnapshotQueryFilter

type CnsSnapshotQueryFilter struct {
	types.DynamicData

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

type CnsSnapshotQueryResult

type CnsSnapshotQueryResult struct {
	types.DynamicData

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

type CnsSnapshotQueryResultEntry

type CnsSnapshotQueryResultEntry struct {
	types.DynamicData

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

type CnsSnapshotQuerySpec

type CnsSnapshotQuerySpec struct {
	types.DynamicData

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

type CnsSnapshotVolumeSource

type CnsSnapshotVolumeSource struct {
	CnsVolumeSource

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

type CnsSyncDatastore

type CnsSyncDatastore CnsSyncDatastoreRequestType

type CnsSyncDatastoreRequestType

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

type CnsSyncDatastoreResponse

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

type CnsUpdateVolumeCrypto

type CnsUpdateVolumeCrypto CnsUpdateVolumeCryptoRequestType

type CnsUpdateVolumeCryptoRequestType

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

type CnsUpdateVolumeCryptoResponse

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

type CnsUpdateVolumeMetadata

type CnsUpdateVolumeMetadata CnsUpdateVolumeMetadataRequestType

type CnsUpdateVolumeMetadataRequestType

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

type CnsUpdateVolumeMetadataResponse

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

type CnsVSANFileCreateSpec

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

type CnsVolume

type CnsVolume struct {
	types.DynamicData

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

type CnsVolumeACLConfigureSpec

type CnsVolumeACLConfigureSpec struct {
	types.DynamicData

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

type CnsVolumeAttachDetachSpec

type CnsVolumeAttachDetachSpec struct {
	types.DynamicData

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

type CnsVolumeAttachResult

type CnsVolumeAttachResult struct {
	CnsVolumeOperationResult

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

type CnsVolumeCreateResult

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

type CnsVolumeCreateSpec

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

type CnsVolumeCryptoUpdateSpec

type CnsVolumeCryptoUpdateSpec struct {
	types.DynamicData

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

CnsVolumeCryptoUpdateSpec is the specification for volume crypto update operation.

type CnsVolumeExtendSpec

type CnsVolumeExtendSpec struct {
	types.DynamicData

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

type CnsVolumeId

type CnsVolumeId struct {
	types.DynamicData

	Id string `xml:"id" json:"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" json:"containerCluster"`
	EntityMetadata        []BaseCnsEntityMetadata `xml:"entityMetadata,typeattr,omitempty" json:"entityMetadata"`
	ContainerClusterArray []CnsContainerCluster   `xml:"containerClusterArray,omitempty" json:"containerClusterArray"`
}

type CnsVolumeMetadataUpdateSpec

type CnsVolumeMetadataUpdateSpec struct {
	types.DynamicData

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

type CnsVolumeNotFoundFault

type CnsVolumeNotFoundFault struct {
	CnsFault

	VolumeId CnsVolumeId `xml:"volumeId" json:"volumeId"`
}

type CnsVolumeOperationBatchResult

type CnsVolumeOperationBatchResult struct {
	types.DynamicData

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

type CnsVolumeOperationResult

type CnsVolumeOperationResult struct {
	types.DynamicData

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

func (*CnsVolumeOperationResult) GetCnsVolumeOperationResult

func (b *CnsVolumeOperationResult) GetCnsVolumeOperationResult() *CnsVolumeOperationResult

type CnsVolumePolicyReconfigSpec

type CnsVolumePolicyReconfigSpec struct {
	types.DynamicData

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

type CnsVolumeRelocateSpec

type CnsVolumeRelocateSpec struct {
	types.DynamicData

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

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" json:"name"`
	AccessPoints []types.KeyValue `xml:"accessPoints,omitempty" json:"accessPoints"`
}

type QuerySelectionNameType

type QuerySelectionNameType string

Source Files

enum.go if.go types.go unreleased_types.go

Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
2 months ago

Tools for package owners.