config

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Configure Hosts, Clusters and other Infrastructure

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AhvVmOverrideSpec

type AhvVmOverrideSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Categories to be associated with the VM on successful restore. If not specified, the VM is provisioned without any categories.
	*/
	Categories []import1.CategoryReference `json:"categories,omitempty"`
	/*
	  VM description.
	*/
	Description *string `json:"description,omitempty"`
	/*
	  Name of the VM to override with. If not specified, a name is chosen by the system and returned to the task entities when complete.
	*/
	Name *string `json:"name,omitempty"`

	NicSpec *import1.VmRestoreNicConfigSpecification `json:"nicSpec,omitempty"`

	OwnershipInfo *import1.OwnershipInfo `json:"ownershipInfo,omitempty"`
}

Protected resource/recovery point restore that overrides the AHV VM configuration. The specified properties will be overridden for the restored VM.

func NewAhvVmOverrideSpec

func NewAhvVmOverrideSpec() *AhvVmOverrideSpec

func (*AhvVmOverrideSpec) MarshalJSON added in v4.1.1

func (p *AhvVmOverrideSpec) MarshalJSON() ([]byte, error)

func (*AhvVmOverrideSpec) UnmarshalJSON added in v4.1.1

func (p *AhvVmOverrideSpec) UnmarshalJSON(b []byte) error

type AmazonS3Bucket

type AmazonS3Bucket struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Name of the Amazon S3 bucket.
	*/
	BucketName *string `json:"bucketName,omitempty"`
	/*
	  Name of the AWS region.
	*/
	RegionName *string `json:"regionName,omitempty"`
}

Reference to the Amazon S3 bucket.

func NewAmazonS3Bucket

func NewAmazonS3Bucket() *AmazonS3Bucket

func (*AmazonS3Bucket) MarshalJSON added in v4.1.1

func (p *AmazonS3Bucket) MarshalJSON() ([]byte, error)

func (*AmazonS3Bucket) UnmarshalJSON added in v4.1.1

func (p *AmazonS3Bucket) UnmarshalJSON(b []byte) error

type AzureBlobStorageContainer

type AzureBlobStorageContainer struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Name of the Microsoft Azure Blob Storage container.
	*/
	ContainerName *string `json:"containerName,omitempty"`
	/*
	  Name of the Microsoft Azure Blob Storage account.
	*/
	StorageAccountName *string `json:"storageAccountName,omitempty"`
}

Reference to the Microsoft Azure Blob Storage container.

func NewAzureBlobStorageContainer

func NewAzureBlobStorageContainer() *AzureBlobStorageContainer

func (*AzureBlobStorageContainer) MarshalJSON added in v4.1.1

func (p *AzureBlobStorageContainer) MarshalJSON() ([]byte, error)

func (*AzureBlobStorageContainer) UnmarshalJSON added in v4.1.1

func (p *AzureBlobStorageContainer) UnmarshalJSON(b []byte) error

type ClusterInfoApiResponse

type ClusterInfoApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfClusterInfoApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{extId}/$actions/discover-cluster Post operation

func NewClusterInfoApiResponse

func NewClusterInfoApiResponse() *ClusterInfoApiResponse

func (*ClusterInfoApiResponse) GetData

func (p *ClusterInfoApiResponse) GetData() interface{}

func (*ClusterInfoApiResponse) MarshalJSON added in v4.1.1

func (p *ClusterInfoApiResponse) MarshalJSON() ([]byte, error)

func (*ClusterInfoApiResponse) SetData

func (p *ClusterInfoApiResponse) SetData(v interface{}) error

func (*ClusterInfoApiResponse) UnmarshalJSON added in v4.1.1

func (p *ClusterInfoApiResponse) UnmarshalJSON(b []byte) error

type ConsistencyGroup

type ConsistencyGroup struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The external identifier of the cluster to which the entities in the consistency group are associated.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`

	Members []ConsistencyGroupMember `json:"members"`
	/*
	  Name of the consistency group.
	*/
	Name *string `json:"name"`
	/*
	  The external identifier of the user who created this consistency group. This is a read-only field that is inserted into the consistency group entity at the time of the consistency group creation.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`
	/*
	  The external identifier of the protection policy that protects the consistency group.
	*/
	ProtectionPolicyExtId *string `json:"protectionPolicyExtId,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

In many scenarios, it is necessary to capture the state of an application as a combined snapshot of the internal states of a related set of entities at a specific point in time. A consistency group is a collection of these entities, where their combined snapshot reflects the state of an application at that particular point in time.

func NewConsistencyGroup

func NewConsistencyGroup() *ConsistencyGroup

func (*ConsistencyGroup) MarshalJSON

func (p *ConsistencyGroup) MarshalJSON() ([]byte, error)

func (*ConsistencyGroup) UnmarshalJSON added in v4.1.1

func (p *ConsistencyGroup) UnmarshalJSON(b []byte) error

type ConsistencyGroupMember

type ConsistencyGroupMember struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the members (VM or volume group) of the consistency group object.
	*/
	EntityExtId *string `json:"entityExtId"`

	EntityType *ConsistencyGroupMemberType `json:"entityType"`
}

External identifier of the members (VM or volume group) of the consistency group object.

func NewConsistencyGroupMember

func NewConsistencyGroupMember() *ConsistencyGroupMember

func (*ConsistencyGroupMember) MarshalJSON

func (p *ConsistencyGroupMember) MarshalJSON() ([]byte, error)

func (*ConsistencyGroupMember) UnmarshalJSON added in v4.1.1

func (p *ConsistencyGroupMember) UnmarshalJSON(b []byte) error

type ConsistencyGroupMemberType

type ConsistencyGroupMemberType int

Consistency group member type.

const (
	CONSISTENCYGROUPMEMBERTYPE_UNKNOWN      ConsistencyGroupMemberType = 0
	CONSISTENCYGROUPMEMBERTYPE_REDACTED     ConsistencyGroupMemberType = 1
	CONSISTENCYGROUPMEMBERTYPE_VM           ConsistencyGroupMemberType = 2
	CONSISTENCYGROUPMEMBERTYPE_VOLUME_GROUP ConsistencyGroupMemberType = 3
)

func (ConsistencyGroupMemberType) GetName

func (e ConsistencyGroupMemberType) GetName() string

Returns the name of the enum

func (*ConsistencyGroupMemberType) MarshalJSON

func (e *ConsistencyGroupMemberType) MarshalJSON() ([]byte, error)

func (ConsistencyGroupMemberType) Ref

func (*ConsistencyGroupMemberType) UnmarshalJSON

func (e *ConsistencyGroupMemberType) UnmarshalJSON(b []byte) error

type ConsistencyGroupMigrationSpec

type ConsistencyGroupMigrationSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Reference to the cluster in the target availability zone where the entities need to be migrated.
	*/
	TargetClusterExtId *string `json:"targetClusterExtId,omitempty"`
	/*
	  Reference to the target availability zone where the entities need to be migrated.
	*/
	TargetPcExtId *string `json:"targetPcExtId,omitempty"`
}

Specification for the migration action on the consistency group.

func NewConsistencyGroupMigrationSpec

func NewConsistencyGroupMigrationSpec() *ConsistencyGroupMigrationSpec

func (*ConsistencyGroupMigrationSpec) MarshalJSON added in v4.1.1

func (p *ConsistencyGroupMigrationSpec) MarshalJSON() ([]byte, error)

func (*ConsistencyGroupMigrationSpec) UnmarshalJSON added in v4.1.1

func (p *ConsistencyGroupMigrationSpec) UnmarshalJSON(b []byte) error

type ConsistencyGroupProjection

type ConsistencyGroupProjection struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The external identifier of the cluster to which the entities in the consistency group are associated.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`

	Members []ConsistencyGroupMember `json:"members"`
	/*
	  Name of the consistency group.
	*/
	Name *string `json:"name"`
	/*
	  The external identifier of the user who created this consistency group. This is a read-only field that is inserted into the consistency group entity at the time of the consistency group creation.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`
	/*
	  The external identifier of the protection policy that protects the consistency group.
	*/
	ProtectionPolicyExtId *string `json:"protectionPolicyExtId,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

func NewConsistencyGroupProjection

func NewConsistencyGroupProjection() *ConsistencyGroupProjection

func (*ConsistencyGroupProjection) MarshalJSON

func (p *ConsistencyGroupProjection) MarshalJSON() ([]byte, error)

func (*ConsistencyGroupProjection) UnmarshalJSON added in v4.1.1

func (p *ConsistencyGroupProjection) UnmarshalJSON(b []byte) error

type CreateRecoveryPointApiResponse

type CreateRecoveryPointApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfCreateRecoveryPointApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points Post operation

func NewCreateRecoveryPointApiResponse

func NewCreateRecoveryPointApiResponse() *CreateRecoveryPointApiResponse

func (*CreateRecoveryPointApiResponse) GetData

func (p *CreateRecoveryPointApiResponse) GetData() interface{}

func (*CreateRecoveryPointApiResponse) MarshalJSON added in v4.1.1

func (p *CreateRecoveryPointApiResponse) MarshalJSON() ([]byte, error)

func (*CreateRecoveryPointApiResponse) SetData

func (p *CreateRecoveryPointApiResponse) SetData(v interface{}) error

func (*CreateRecoveryPointApiResponse) UnmarshalJSON added in v4.1.1

func (p *CreateRecoveryPointApiResponse) UnmarshalJSON(b []byte) error

type DataProtectionSiteReference

type DataProtectionSiteReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the domain manager.
	*/
	DomainManagerExtId *string `json:"domainManagerExtId"`
}

Details about the data protection site in Prism Central.

func NewDataProtectionSiteReference

func NewDataProtectionSiteReference() *DataProtectionSiteReference

func (*DataProtectionSiteReference) MarshalJSON

func (p *DataProtectionSiteReference) MarshalJSON() ([]byte, error)

func (*DataProtectionSiteReference) UnmarshalJSON added in v4.1.1

func (p *DataProtectionSiteReference) UnmarshalJSON(b []byte) error

type DeleteRecoveryPointApiResponse

type DeleteRecoveryPointApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfDeleteRecoveryPointApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{extId} Delete operation

func NewDeleteRecoveryPointApiResponse

func NewDeleteRecoveryPointApiResponse() *DeleteRecoveryPointApiResponse

func (*DeleteRecoveryPointApiResponse) GetData

func (p *DeleteRecoveryPointApiResponse) GetData() interface{}

func (*DeleteRecoveryPointApiResponse) MarshalJSON added in v4.1.1

func (p *DeleteRecoveryPointApiResponse) MarshalJSON() ([]byte, error)

func (*DeleteRecoveryPointApiResponse) SetData

func (p *DeleteRecoveryPointApiResponse) SetData(v interface{}) error

func (*DeleteRecoveryPointApiResponse) UnmarshalJSON added in v4.1.1

func (p *DeleteRecoveryPointApiResponse) UnmarshalJSON(b []byte) error

type EsxiVmOverrideSpec

type EsxiVmOverrideSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The name of the restored VM
	*/
	Name *string `json:"name,omitempty"`
}

Protected resource/recovery point restore that overrides the ESXi VM configuration. The specified properties will be overridden for the restored VM.

func NewEsxiVmOverrideSpec

func NewEsxiVmOverrideSpec() *EsxiVmOverrideSpec

func (*EsxiVmOverrideSpec) MarshalJSON added in v4.1.1

func (p *EsxiVmOverrideSpec) MarshalJSON() ([]byte, error)

func (*EsxiVmOverrideSpec) UnmarshalJSON added in v4.1.1

func (p *EsxiVmOverrideSpec) UnmarshalJSON(b []byte) error

type ExpirationTimeSpec

type ExpirationTimeSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the current recovery point expires . If not specified, the recovery point will never expire.
	*/
	ExpirationTime *time.Time `json:"expirationTime"`
}

Specification to set the expiration time of the recovery point.

func NewExpirationTimeSpec

func NewExpirationTimeSpec() *ExpirationTimeSpec

func (*ExpirationTimeSpec) MarshalJSON

func (p *ExpirationTimeSpec) MarshalJSON() ([]byte, error)

func (*ExpirationTimeSpec) UnmarshalJSON added in v4.1.1

func (p *ExpirationTimeSpec) UnmarshalJSON(b []byte) error

type FileDetail

type FileDetail struct {
	Path        *string `json:"-"`
	ObjectType_ *string `json:"-"`
}

func NewFileDetail

func NewFileDetail() *FileDetail

type GetProtectedResourceApiResponse

type GetProtectedResourceApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfGetProtectedResourceApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/protected-resources/{extId} Get operation

func NewGetProtectedResourceApiResponse

func NewGetProtectedResourceApiResponse() *GetProtectedResourceApiResponse

func (*GetProtectedResourceApiResponse) GetData

func (p *GetProtectedResourceApiResponse) GetData() interface{}

func (*GetProtectedResourceApiResponse) MarshalJSON added in v4.1.1

func (p *GetProtectedResourceApiResponse) MarshalJSON() ([]byte, error)

func (*GetProtectedResourceApiResponse) SetData

func (p *GetProtectedResourceApiResponse) SetData(v interface{}) error

func (*GetProtectedResourceApiResponse) UnmarshalJSON added in v4.1.1

func (p *GetProtectedResourceApiResponse) UnmarshalJSON(b []byte) error

type GetRecoveryPointApiResponse

type GetRecoveryPointApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfGetRecoveryPointApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{extId} Get operation

func NewGetRecoveryPointApiResponse

func NewGetRecoveryPointApiResponse() *GetRecoveryPointApiResponse

func (*GetRecoveryPointApiResponse) GetData

func (p *GetRecoveryPointApiResponse) GetData() interface{}

func (*GetRecoveryPointApiResponse) MarshalJSON added in v4.1.1

func (p *GetRecoveryPointApiResponse) MarshalJSON() ([]byte, error)

func (*GetRecoveryPointApiResponse) SetData

func (p *GetRecoveryPointApiResponse) SetData(v interface{}) error

func (*GetRecoveryPointApiResponse) UnmarshalJSON added in v4.1.1

func (p *GetRecoveryPointApiResponse) UnmarshalJSON(b []byte) error

type GetVmRecoveryPointApiResponse

type GetVmRecoveryPointApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfGetVmRecoveryPointApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId} Get operation

func NewGetVmRecoveryPointApiResponse

func NewGetVmRecoveryPointApiResponse() *GetVmRecoveryPointApiResponse

func (*GetVmRecoveryPointApiResponse) GetData

func (p *GetVmRecoveryPointApiResponse) GetData() interface{}

func (*GetVmRecoveryPointApiResponse) MarshalJSON added in v4.1.1

func (p *GetVmRecoveryPointApiResponse) MarshalJSON() ([]byte, error)

func (*GetVmRecoveryPointApiResponse) SetData

func (p *GetVmRecoveryPointApiResponse) SetData(v interface{}) error

func (*GetVmRecoveryPointApiResponse) UnmarshalJSON added in v4.1.1

func (p *GetVmRecoveryPointApiResponse) UnmarshalJSON(b []byte) error

type HostReference

type HostReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`

	HostType *HostType `json:"hostType,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Name of the Witness host site.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

Information about the Witness host site.

func NewHostReference

func NewHostReference() *HostReference

func (*HostReference) MarshalJSON added in v4.1.1

func (p *HostReference) MarshalJSON() ([]byte, error)

func (*HostReference) UnmarshalJSON added in v4.1.1

func (p *HostReference) UnmarshalJSON(b []byte) error

type HostType

type HostType int

Type of the Witness host site.

const (
	HOSTTYPE_UNKNOWN       HostType = 0
	HOSTTYPE_REDACTED      HostType = 1
	HOSTTYPE_PRISM_ELEMENT HostType = 2
)

func (HostType) GetName

func (e HostType) GetName() string

Returns the name of the enum

func (*HostType) MarshalJSON

func (e *HostType) MarshalJSON() ([]byte, error)

func (HostType) Ref

func (e HostType) Ref() *HostType

func (*HostType) UnmarshalJSON

func (e *HostType) UnmarshalJSON(b []byte) error

type HypervisorType added in v4.1.1

type HypervisorType int

Type of Hypervisor present on the cluster.

const (
	HYPERVISORTYPE_UNKNOWN  HypervisorType = 0
	HYPERVISORTYPE_REDACTED HypervisorType = 1
	HYPERVISORTYPE_AHV      HypervisorType = 2
	HYPERVISORTYPE_ESXI     HypervisorType = 3
)

func (HypervisorType) GetName added in v4.1.1

func (e HypervisorType) GetName() string

Returns the name of the enum

func (*HypervisorType) MarshalJSON added in v4.1.1

func (e *HypervisorType) MarshalJSON() ([]byte, error)

func (HypervisorType) Ref added in v4.1.1

func (e HypervisorType) Ref() *HypervisorType

func (*HypervisorType) UnmarshalJSON added in v4.1.1

func (e *HypervisorType) UnmarshalJSON(b []byte) error

type ListRecoveryPointsApiResponse

type ListRecoveryPointsApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfListRecoveryPointsApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points Get operation

func NewListRecoveryPointsApiResponse

func NewListRecoveryPointsApiResponse() *ListRecoveryPointsApiResponse

func (*ListRecoveryPointsApiResponse) GetData

func (p *ListRecoveryPointsApiResponse) GetData() interface{}

func (*ListRecoveryPointsApiResponse) MarshalJSON added in v4.1.1

func (p *ListRecoveryPointsApiResponse) MarshalJSON() ([]byte, error)

func (*ListRecoveryPointsApiResponse) SetData

func (p *ListRecoveryPointsApiResponse) SetData(v interface{}) error

func (*ListRecoveryPointsApiResponse) UnmarshalJSON added in v4.1.1

func (p *ListRecoveryPointsApiResponse) UnmarshalJSON(b []byte) error

type LocationReference

type LocationReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the cluster where the recovery point is present.
	*/
	LocationExtId *string `json:"locationExtId,omitempty"`
}

Location reference where the specified recovery point is present.

func NewLocationReference

func NewLocationReference() *LocationReference

func (*LocationReference) MarshalJSON added in v4.1.1

func (p *LocationReference) MarshalJSON() ([]byte, error)

func (*LocationReference) UnmarshalJSON added in v4.1.1

func (p *LocationReference) UnmarshalJSON(b []byte) error

type NutanixObjectsBucket

type NutanixObjectsBucket struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  URI of the Nutanix Objects bucket.
	*/
	EndPoint *string `json:"endPoint,omitempty"`
}

Reference to the Nutanix Objects bucket.

func NewNutanixObjectsBucket

func NewNutanixObjectsBucket() *NutanixObjectsBucket

func (*NutanixObjectsBucket) MarshalJSON added in v4.1.1

func (p *NutanixObjectsBucket) MarshalJSON() ([]byte, error)

func (*NutanixObjectsBucket) UnmarshalJSON added in v4.1.1

func (p *NutanixObjectsBucket) UnmarshalJSON(b []byte) error

type ObjectStorageType

type ObjectStorageType int

Type of the S3-compatible object storage.

const (
	OBJECTSTORAGETYPE_UNKNOWN            ObjectStorageType = 0
	OBJECTSTORAGETYPE_REDACTED           ObjectStorageType = 1
	OBJECTSTORAGETYPE_AZURE_BLOB_STORAGE ObjectStorageType = 2
	OBJECTSTORAGETYPE_AMAZON_S3          ObjectStorageType = 3
	OBJECTSTORAGETYPE_NUTANIX_OBJECTS    ObjectStorageType = 4
)

func (ObjectStorageType) GetName

func (e ObjectStorageType) GetName() string

Returns the name of the enum

func (*ObjectStorageType) MarshalJSON

func (e *ObjectStorageType) MarshalJSON() ([]byte, error)

func (ObjectStorageType) Ref

func (*ObjectStorageType) UnmarshalJSON

func (e *ObjectStorageType) UnmarshalJSON(b []byte) error

type OneOfClusterInfoApiResponseData

type OneOfClusterInfoApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfClusterInfoApiResponseData

func NewOneOfClusterInfoApiResponseData() *OneOfClusterInfoApiResponseData

func (*OneOfClusterInfoApiResponseData) GetValue

func (p *OneOfClusterInfoApiResponseData) GetValue() interface{}

func (*OneOfClusterInfoApiResponseData) MarshalJSON

func (p *OneOfClusterInfoApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfClusterInfoApiResponseData) SetValue

func (p *OneOfClusterInfoApiResponseData) SetValue(v interface{}) error

func (*OneOfClusterInfoApiResponseData) UnmarshalJSON

func (p *OneOfClusterInfoApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCreateRecoveryPointApiResponseData

type OneOfCreateRecoveryPointApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateRecoveryPointApiResponseData

func NewOneOfCreateRecoveryPointApiResponseData() *OneOfCreateRecoveryPointApiResponseData

func (*OneOfCreateRecoveryPointApiResponseData) GetValue

func (p *OneOfCreateRecoveryPointApiResponseData) GetValue() interface{}

func (*OneOfCreateRecoveryPointApiResponseData) MarshalJSON

func (p *OneOfCreateRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateRecoveryPointApiResponseData) SetValue

func (p *OneOfCreateRecoveryPointApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateRecoveryPointApiResponseData) UnmarshalJSON

func (p *OneOfCreateRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDeleteRecoveryPointApiResponseData

type OneOfDeleteRecoveryPointApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteRecoveryPointApiResponseData

func NewOneOfDeleteRecoveryPointApiResponseData() *OneOfDeleteRecoveryPointApiResponseData

func (*OneOfDeleteRecoveryPointApiResponseData) GetValue

func (p *OneOfDeleteRecoveryPointApiResponseData) GetValue() interface{}

func (*OneOfDeleteRecoveryPointApiResponseData) MarshalJSON

func (p *OneOfDeleteRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteRecoveryPointApiResponseData) SetValue

func (p *OneOfDeleteRecoveryPointApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteRecoveryPointApiResponseData) UnmarshalJSON

func (p *OneOfDeleteRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetProtectedResourceApiResponseData

type OneOfGetProtectedResourceApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetProtectedResourceApiResponseData

func NewOneOfGetProtectedResourceApiResponseData() *OneOfGetProtectedResourceApiResponseData

func (*OneOfGetProtectedResourceApiResponseData) GetValue

func (p *OneOfGetProtectedResourceApiResponseData) GetValue() interface{}

func (*OneOfGetProtectedResourceApiResponseData) MarshalJSON

func (p *OneOfGetProtectedResourceApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetProtectedResourceApiResponseData) SetValue

func (p *OneOfGetProtectedResourceApiResponseData) SetValue(v interface{}) error

func (*OneOfGetProtectedResourceApiResponseData) UnmarshalJSON

func (p *OneOfGetProtectedResourceApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetRecoveryPointApiResponseData

type OneOfGetRecoveryPointApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetRecoveryPointApiResponseData

func NewOneOfGetRecoveryPointApiResponseData() *OneOfGetRecoveryPointApiResponseData

func (*OneOfGetRecoveryPointApiResponseData) GetValue

func (p *OneOfGetRecoveryPointApiResponseData) GetValue() interface{}

func (*OneOfGetRecoveryPointApiResponseData) MarshalJSON

func (p *OneOfGetRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetRecoveryPointApiResponseData) SetValue

func (p *OneOfGetRecoveryPointApiResponseData) SetValue(v interface{}) error

func (*OneOfGetRecoveryPointApiResponseData) UnmarshalJSON

func (p *OneOfGetRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetVmRecoveryPointApiResponseData

type OneOfGetVmRecoveryPointApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetVmRecoveryPointApiResponseData

func NewOneOfGetVmRecoveryPointApiResponseData() *OneOfGetVmRecoveryPointApiResponseData

func (*OneOfGetVmRecoveryPointApiResponseData) GetValue

func (p *OneOfGetVmRecoveryPointApiResponseData) GetValue() interface{}

func (*OneOfGetVmRecoveryPointApiResponseData) MarshalJSON

func (p *OneOfGetVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetVmRecoveryPointApiResponseData) SetValue

func (p *OneOfGetVmRecoveryPointApiResponseData) SetValue(v interface{}) error

func (*OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON

func (p *OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error

type OneOfListRecoveryPointsApiResponseData

type OneOfListRecoveryPointsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListRecoveryPointsApiResponseData

func NewOneOfListRecoveryPointsApiResponseData() *OneOfListRecoveryPointsApiResponseData

func (*OneOfListRecoveryPointsApiResponseData) GetValue

func (p *OneOfListRecoveryPointsApiResponseData) GetValue() interface{}

func (*OneOfListRecoveryPointsApiResponseData) MarshalJSON

func (p *OneOfListRecoveryPointsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListRecoveryPointsApiResponseData) SetValue

func (p *OneOfListRecoveryPointsApiResponseData) SetValue(v interface{}) error

func (*OneOfListRecoveryPointsApiResponseData) UnmarshalJSON

func (p *OneOfListRecoveryPointsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfProtectedResourcePromoteApiResponseData

type OneOfProtectedResourcePromoteApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfProtectedResourcePromoteApiResponseData

func NewOneOfProtectedResourcePromoteApiResponseData() *OneOfProtectedResourcePromoteApiResponseData

func (*OneOfProtectedResourcePromoteApiResponseData) GetValue

func (p *OneOfProtectedResourcePromoteApiResponseData) GetValue() interface{}

func (*OneOfProtectedResourcePromoteApiResponseData) MarshalJSON

func (*OneOfProtectedResourcePromoteApiResponseData) SetValue

func (p *OneOfProtectedResourcePromoteApiResponseData) SetValue(v interface{}) error

func (*OneOfProtectedResourcePromoteApiResponseData) UnmarshalJSON

type OneOfProtectedResourceRestoreApiResponseData

type OneOfProtectedResourceRestoreApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfProtectedResourceRestoreApiResponseData

func NewOneOfProtectedResourceRestoreApiResponseData() *OneOfProtectedResourceRestoreApiResponseData

func (*OneOfProtectedResourceRestoreApiResponseData) GetValue

func (p *OneOfProtectedResourceRestoreApiResponseData) GetValue() interface{}

func (*OneOfProtectedResourceRestoreApiResponseData) MarshalJSON

func (*OneOfProtectedResourceRestoreApiResponseData) SetValue

func (p *OneOfProtectedResourceRestoreApiResponseData) SetValue(v interface{}) error

func (*OneOfProtectedResourceRestoreApiResponseData) UnmarshalJSON

type OneOfRecoveryPointReplicateApiResponseData

type OneOfRecoveryPointReplicateApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfRecoveryPointReplicateApiResponseData

func NewOneOfRecoveryPointReplicateApiResponseData() *OneOfRecoveryPointReplicateApiResponseData

func (*OneOfRecoveryPointReplicateApiResponseData) GetValue

func (p *OneOfRecoveryPointReplicateApiResponseData) GetValue() interface{}

func (*OneOfRecoveryPointReplicateApiResponseData) MarshalJSON

func (*OneOfRecoveryPointReplicateApiResponseData) SetValue

func (p *OneOfRecoveryPointReplicateApiResponseData) SetValue(v interface{}) error

func (*OneOfRecoveryPointReplicateApiResponseData) UnmarshalJSON

type OneOfRecoveryPointRepositoryObjectStorageReference

type OneOfRecoveryPointRepositoryObjectStorageReference struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfRecoveryPointRepositoryObjectStorageReference

func NewOneOfRecoveryPointRepositoryObjectStorageReference() *OneOfRecoveryPointRepositoryObjectStorageReference

func (*OneOfRecoveryPointRepositoryObjectStorageReference) GetValue

func (p *OneOfRecoveryPointRepositoryObjectStorageReference) GetValue() interface{}

func (*OneOfRecoveryPointRepositoryObjectStorageReference) MarshalJSON

func (*OneOfRecoveryPointRepositoryObjectStorageReference) SetValue

func (p *OneOfRecoveryPointRepositoryObjectStorageReference) SetValue(v interface{}) error

func (*OneOfRecoveryPointRepositoryObjectStorageReference) UnmarshalJSON

type OneOfRecoveryPointRepositoryProjectionObjectStorageReference

type OneOfRecoveryPointRepositoryProjectionObjectStorageReference struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) GetValue

func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) MarshalJSON

func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) SetValue

func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) UnmarshalJSON

type OneOfRecoveryPointRestoreApiResponseData

type OneOfRecoveryPointRestoreApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfRecoveryPointRestoreApiResponseData

func NewOneOfRecoveryPointRestoreApiResponseData() *OneOfRecoveryPointRestoreApiResponseData

func (*OneOfRecoveryPointRestoreApiResponseData) GetValue

func (p *OneOfRecoveryPointRestoreApiResponseData) GetValue() interface{}

func (*OneOfRecoveryPointRestoreApiResponseData) MarshalJSON

func (p *OneOfRecoveryPointRestoreApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfRecoveryPointRestoreApiResponseData) SetValue

func (p *OneOfRecoveryPointRestoreApiResponseData) SetValue(v interface{}) error

func (*OneOfRecoveryPointRestoreApiResponseData) UnmarshalJSON

func (p *OneOfRecoveryPointRestoreApiResponseData) UnmarshalJSON(b []byte) error

type OneOfUpdateRecoveryPointExpirationTimeApiResponseData

type OneOfUpdateRecoveryPointExpirationTimeApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpdateRecoveryPointExpirationTimeApiResponseData

func NewOneOfUpdateRecoveryPointExpirationTimeApiResponseData() *OneOfUpdateRecoveryPointExpirationTimeApiResponseData

func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) GetValue

func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) MarshalJSON

func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) SetValue

func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) UnmarshalJSON

type OneOfVmRecoveryPointApplicationConsistentProperties

type OneOfVmRecoveryPointApplicationConsistentProperties struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfVmRecoveryPointApplicationConsistentProperties

func NewOneOfVmRecoveryPointApplicationConsistentProperties() *OneOfVmRecoveryPointApplicationConsistentProperties

func (*OneOfVmRecoveryPointApplicationConsistentProperties) GetValue

func (p *OneOfVmRecoveryPointApplicationConsistentProperties) GetValue() interface{}

func (*OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON

func (*OneOfVmRecoveryPointApplicationConsistentProperties) SetValue

func (*OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON

type OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec added in v4.1.1

type OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfVmRecoveryPointRestoreOverrideVmOverrideSpec added in v4.1.1

func NewOneOfVmRecoveryPointRestoreOverrideVmOverrideSpec() *OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec

func (*OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec) GetValue added in v4.1.1

func (p *OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec) GetValue() interface{}

func (*OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec) MarshalJSON added in v4.1.1

func (*OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec) SetValue added in v4.1.1

func (p *OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec) SetValue(v interface{}) error

func (*OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec) UnmarshalJSON added in v4.1.1

type ProtectedEntityType

type ProtectedEntityType int

Protected resource entity type.

const (
	PROTECTEDENTITYTYPE_UNKNOWN      ProtectedEntityType = 0
	PROTECTEDENTITYTYPE_REDACTED     ProtectedEntityType = 1
	PROTECTEDENTITYTYPE_VM           ProtectedEntityType = 2
	PROTECTEDENTITYTYPE_VOLUME_GROUP ProtectedEntityType = 3
)

func (ProtectedEntityType) GetName

func (e ProtectedEntityType) GetName() string

Returns the name of the enum

func (*ProtectedEntityType) MarshalJSON

func (e *ProtectedEntityType) MarshalJSON() ([]byte, error)

func (ProtectedEntityType) Ref

func (*ProtectedEntityType) UnmarshalJSON

func (e *ProtectedEntityType) UnmarshalJSON(b []byte) error

type ProtectedResource

type ProtectedResource struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
	*/
	CategoryFqNames []string `json:"categoryFqNames,omitempty"`
	/*
	  External identifier of the Consistency group which the protected resource is part of.
	*/
	ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
	/*
	  The external identifier of the VM or the volume group associated with the protected resource.
	*/
	EntityExtId *string `json:"entityExtId,omitempty"`

	EntityType *ProtectedEntityType `json:"entityType,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`

	ReplicationStates []ReplicationState `json:"replicationStates,omitempty"`
	/*
	  The data protection details of the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
	*/
	SiteProtectionInfo []SiteProtectionInfo `json:"siteProtectionInfo,omitempty"`

	SourceSiteReference *DataProtectionSiteReference `json:"sourceSiteReference,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

Once a VM or volume group is associated with some protection policy, the schedule(s) in the protection policy kick in to achieve the specified recovery point objective. A protected resource represents the data protection view of such a VM or volume group. It contains information such as the restorable time ranges on the local Prism Central and the state of replication to the targets specified in all the applied protection policies.

func NewProtectedResource

func NewProtectedResource() *ProtectedResource

func (*ProtectedResource) MarshalJSON added in v4.1.1

func (p *ProtectedResource) MarshalJSON() ([]byte, error)

func (*ProtectedResource) UnmarshalJSON added in v4.1.1

func (p *ProtectedResource) UnmarshalJSON(b []byte) error

type ProtectedResourcePromoteApiResponse

type ProtectedResourcePromoteApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfProtectedResourcePromoteApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/protected-resources/{extId}/$actions/promote Post operation

func NewProtectedResourcePromoteApiResponse

func NewProtectedResourcePromoteApiResponse() *ProtectedResourcePromoteApiResponse

func (*ProtectedResourcePromoteApiResponse) GetData

func (p *ProtectedResourcePromoteApiResponse) GetData() interface{}

func (*ProtectedResourcePromoteApiResponse) MarshalJSON added in v4.1.1

func (p *ProtectedResourcePromoteApiResponse) MarshalJSON() ([]byte, error)

func (*ProtectedResourcePromoteApiResponse) SetData

func (p *ProtectedResourcePromoteApiResponse) SetData(v interface{}) error

func (*ProtectedResourcePromoteApiResponse) UnmarshalJSON added in v4.1.1

func (p *ProtectedResourcePromoteApiResponse) UnmarshalJSON(b []byte) error

type ProtectedResourceReplicationStatus

type ProtectedResourceReplicationStatus int

Status of replication to a specified target site.

const (
	PROTECTEDRESOURCEREPLICATIONSTATUS_UNKNOWN     ProtectedResourceReplicationStatus = 0
	PROTECTEDRESOURCEREPLICATIONSTATUS_REDACTED    ProtectedResourceReplicationStatus = 1
	PROTECTEDRESOURCEREPLICATIONSTATUS_IN_SYNC     ProtectedResourceReplicationStatus = 2
	PROTECTEDRESOURCEREPLICATIONSTATUS_SYNCING     ProtectedResourceReplicationStatus = 3
	PROTECTEDRESOURCEREPLICATIONSTATUS_OUT_OF_SYNC ProtectedResourceReplicationStatus = 4
)

func (ProtectedResourceReplicationStatus) GetName

Returns the name of the enum

func (*ProtectedResourceReplicationStatus) MarshalJSON

func (e *ProtectedResourceReplicationStatus) MarshalJSON() ([]byte, error)

func (ProtectedResourceReplicationStatus) Ref

func (*ProtectedResourceReplicationStatus) UnmarshalJSON

func (e *ProtectedResourceReplicationStatus) UnmarshalJSON(b []byte) error

type ProtectedResourceRestoreApiResponse

type ProtectedResourceRestoreApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfProtectedResourceRestoreApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/protected-resources/{extId}/$actions/restore Post operation

func NewProtectedResourceRestoreApiResponse

func NewProtectedResourceRestoreApiResponse() *ProtectedResourceRestoreApiResponse

func (*ProtectedResourceRestoreApiResponse) GetData

func (p *ProtectedResourceRestoreApiResponse) GetData() interface{}

func (*ProtectedResourceRestoreApiResponse) MarshalJSON added in v4.1.1

func (p *ProtectedResourceRestoreApiResponse) MarshalJSON() ([]byte, error)

func (*ProtectedResourceRestoreApiResponse) SetData

func (p *ProtectedResourceRestoreApiResponse) SetData(v interface{}) error

func (*ProtectedResourceRestoreApiResponse) UnmarshalJSON added in v4.1.1

func (p *ProtectedResourceRestoreApiResponse) UnmarshalJSON(b []byte) error

type ProtectedResourceRestoreSpec

type ProtectedResourceRestoreSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The external identifier of the cluster on which the entity has valid restorable time ranges. The restored entity is created on the same cluster.
	*/
	ClusterExtId *string `json:"clusterExtId"`
	/*
	  UTC date and time in ISO 8601 format representing the time from when the state of the entity should be restored. This must be a valid time within the restorable time range(s) for the protected resource.
	*/
	RestoreTime *time.Time `json:"restoreTime,omitempty"`
}

Restore action specifications for a minutely scheduled protected resource.

func NewProtectedResourceRestoreSpec

func NewProtectedResourceRestoreSpec() *ProtectedResourceRestoreSpec

func (*ProtectedResourceRestoreSpec) MarshalJSON

func (p *ProtectedResourceRestoreSpec) MarshalJSON() ([]byte, error)

func (*ProtectedResourceRestoreSpec) UnmarshalJSON added in v4.1.1

func (p *ProtectedResourceRestoreSpec) UnmarshalJSON(b []byte) error

type RecoveryInfo

type RecoveryInfo struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of restorable time ranges.
	*/
	RestorableTimeRanges []RestorableTimeRange `json:"restorableTimeRanges,omitempty"`
}

The restorable time range details used to recover the protected resource.

func NewRecoveryInfo

func NewRecoveryInfo() *RecoveryInfo

func (*RecoveryInfo) MarshalJSON added in v4.1.1

func (p *RecoveryInfo) MarshalJSON() ([]byte, error)

func (*RecoveryInfo) UnmarshalJSON added in v4.1.1

func (p *RecoveryInfo) UnmarshalJSON(b []byte) error

type RecoveryPoint

type RecoveryPoint struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the Recovery point is created.
	*/
	CreationTime *time.Time `json:"creationTime,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
	*/
	ExpirationTime *time.Time `json:"expirationTime,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  Indicates whether the recovery point is secure. Approvals are necessary for the manual deletion of secure recovery points.
	*/
	IsSecure *bool `json:"isSecure,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the Recovery point.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  List of location references where the VM or volume group recovery point are a part of the specified recovery point.
	*/
	LocationReferences []LocationReference `json:"locationReferences,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`

	RecoveryPointType *import2.RecoveryPointType `json:"recoveryPointType,omitempty"`

	Status *import2.RecoveryPointStatus `json:"status,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VM(s) and volume group(s).
	*/
	VmRecoveryPoints []VmRecoveryPoint `json:"vmRecoveryPoints,omitempty"`
	/*
	  List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VM(s) and volume group(s).
	*/
	VolumeGroupRecoveryPoints []VolumeGroupRecoveryPoint `json:"volumeGroupRecoveryPoints,omitempty"`
}

Details about the recovery point along with all the captured VM and volume group recovery point(s).

func NewRecoveryPoint

func NewRecoveryPoint() *RecoveryPoint

func (*RecoveryPoint) MarshalJSON added in v4.1.1

func (p *RecoveryPoint) MarshalJSON() ([]byte, error)

func (*RecoveryPoint) UnmarshalJSON added in v4.1.1

func (p *RecoveryPoint) UnmarshalJSON(b []byte) error

type RecoveryPointProjection

type RecoveryPointProjection struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the Recovery point is created.
	*/
	CreationTime *time.Time `json:"creationTime,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
	*/
	ExpirationTime *time.Time `json:"expirationTime,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  Indicates whether the recovery point is secure. Approvals are necessary for the manual deletion of secure recovery points.
	*/
	IsSecure *bool `json:"isSecure,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the Recovery point.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  List of location references where the VM or volume group recovery point are a part of the specified recovery point.
	*/
	LocationReferences []LocationReference `json:"locationReferences,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`

	RecoveryPointType *import2.RecoveryPointType `json:"recoveryPointType,omitempty"`

	Status *import2.RecoveryPointStatus `json:"status,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VM(s) and volume group(s).
	*/
	VmRecoveryPoints []VmRecoveryPoint `json:"vmRecoveryPoints,omitempty"`
	/*
	  List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VM(s) and volume group(s).
	*/
	VolumeGroupRecoveryPoints []VolumeGroupRecoveryPoint `json:"volumeGroupRecoveryPoints,omitempty"`
}

func NewRecoveryPointProjection

func NewRecoveryPointProjection() *RecoveryPointProjection

func (*RecoveryPointProjection) MarshalJSON added in v4.1.1

func (p *RecoveryPointProjection) MarshalJSON() ([]byte, error)

func (*RecoveryPointProjection) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointProjection) UnmarshalJSON(b []byte) error

type RecoveryPointReplicateApiResponse

type RecoveryPointReplicateApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfRecoveryPointReplicateApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{extId}/$actions/replicate Post operation

func NewRecoveryPointReplicateApiResponse

func NewRecoveryPointReplicateApiResponse() *RecoveryPointReplicateApiResponse

func (*RecoveryPointReplicateApiResponse) GetData

func (p *RecoveryPointReplicateApiResponse) GetData() interface{}

func (*RecoveryPointReplicateApiResponse) MarshalJSON added in v4.1.1

func (p *RecoveryPointReplicateApiResponse) MarshalJSON() ([]byte, error)

func (*RecoveryPointReplicateApiResponse) SetData

func (p *RecoveryPointReplicateApiResponse) SetData(v interface{}) error

func (*RecoveryPointReplicateApiResponse) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointReplicateApiResponse) UnmarshalJSON(b []byte) error

type RecoveryPointReplicationSpec

type RecoveryPointReplicationSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the Prism Central.
	*/
	PcExtId *string `json:"pcExtId,omitempty"`
}

External identifier of the cluster and the Prism Central where the recovery point should be replicated.

func NewRecoveryPointReplicationSpec

func NewRecoveryPointReplicationSpec() *RecoveryPointReplicationSpec

func (*RecoveryPointReplicationSpec) MarshalJSON added in v4.1.1

func (p *RecoveryPointReplicationSpec) MarshalJSON() ([]byte, error)

func (*RecoveryPointReplicationSpec) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointReplicationSpec) UnmarshalJSON(b []byte) error

type RecoveryPointRepository

type RecoveryPointRepository struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Name of the recovery point repository.
	*/
	Name *string `json:"name,omitempty"`
	/*

	 */
	ObjectStorageReferenceItemDiscriminator_ *string `json:"$objectStorageReferenceItemDiscriminator,omitempty"`
	/*
	  Object storage reference details.
	*/
	ObjectStorageReference *OneOfRecoveryPointRepositoryObjectStorageReference `json:"objectStorageReference,omitempty"`

	ObjectStorageType *ObjectStorageType `json:"objectStorageType,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

A recovery point repository is a reference to a data store which can be used to store recovery points using Multicloud snapshot technology (MST). It can be backed by any S3-compatible object storage solutions, which include options like Nutanix Objects, as well as hyperscaler offerings such as Amazon AWS S3 and Microsoft Azure Blobs.

func NewRecoveryPointRepository

func NewRecoveryPointRepository() *RecoveryPointRepository

func (*RecoveryPointRepository) GetObjectStorageReference

func (p *RecoveryPointRepository) GetObjectStorageReference() interface{}

func (*RecoveryPointRepository) MarshalJSON added in v4.1.1

func (p *RecoveryPointRepository) MarshalJSON() ([]byte, error)

func (*RecoveryPointRepository) SetObjectStorageReference

func (p *RecoveryPointRepository) SetObjectStorageReference(v interface{}) error

func (*RecoveryPointRepository) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointRepository) UnmarshalJSON(b []byte) error

type RecoveryPointRepositoryProjection

type RecoveryPointRepositoryProjection struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Name of the recovery point repository.
	*/
	Name *string `json:"name,omitempty"`

	ObjectStorageReferenceItemDiscriminator_ *string `json:"$objectStorageReferenceItemDiscriminator,omitempty"`
	/*
	  Object storage reference details.
	*/
	ObjectStorageReference *OneOfRecoveryPointRepositoryProjectionObjectStorageReference `json:"objectStorageReference,omitempty"`

	ObjectStorageType *ObjectStorageType `json:"objectStorageType,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

func NewRecoveryPointRepositoryProjection

func NewRecoveryPointRepositoryProjection() *RecoveryPointRepositoryProjection

func (*RecoveryPointRepositoryProjection) MarshalJSON added in v4.1.1

func (p *RecoveryPointRepositoryProjection) MarshalJSON() ([]byte, error)

func (*RecoveryPointRepositoryProjection) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointRepositoryProjection) UnmarshalJSON(b []byte) error

type RecoveryPointRestorationSpec

type RecoveryPointRestorationSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Recovery points are restored at the associated location reference by default. However, there is no particular location reference associated with recovery points located on the cloud. In such a case, the client must specify the external identifier of the cluster on which the entity should be restored.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  List of specifications to restore a specific VM recovery point(s) that are a part of the top-level recovery point. A specific VM recovery point can be selected for restore by specifying its external identifier along with override specification (if any).
	*/
	VmRecoveryPointRestoreOverrides []VmRecoveryPointRestoreOverride `json:"vmRecoveryPointRestoreOverrides,omitempty"`
	/*
	  List of specifications to restore a specific volume group recovery point(s) that are a part of the top-level recovery point. A specific volume group recovery point can be selected for restore by specifying its external identifier along with override specification (if any).
	*/
	VolumeGroupRecoveryPointRestoreOverrides []VolumeGroupRecoveryPointRestoreOverride `json:"volumeGroupRecoveryPointRestoreOverrides,omitempty"`
}

Specification for the restore action on the top-level recovery point. For a recovery point that contains multiple VM or volume group recovery points, users can selectively trigger restore for any specific set of VM or volume group recovery point(s). In case no particular selection is made, all VM and volume group recovery points that are a part of the top-level recovery point will be restored.

func NewRecoveryPointRestorationSpec

func NewRecoveryPointRestorationSpec() *RecoveryPointRestorationSpec

func (*RecoveryPointRestorationSpec) MarshalJSON added in v4.1.1

func (p *RecoveryPointRestorationSpec) MarshalJSON() ([]byte, error)

func (*RecoveryPointRestorationSpec) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointRestorationSpec) UnmarshalJSON(b []byte) error

type RecoveryPointRestoreApiResponse

type RecoveryPointRestoreApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfRecoveryPointRestoreApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{extId}/$actions/restore Post operation

func NewRecoveryPointRestoreApiResponse

func NewRecoveryPointRestoreApiResponse() *RecoveryPointRestoreApiResponse

func (*RecoveryPointRestoreApiResponse) GetData

func (p *RecoveryPointRestoreApiResponse) GetData() interface{}

func (*RecoveryPointRestoreApiResponse) MarshalJSON added in v4.1.1

func (p *RecoveryPointRestoreApiResponse) MarshalJSON() ([]byte, error)

func (*RecoveryPointRestoreApiResponse) SetData

func (p *RecoveryPointRestoreApiResponse) SetData(v interface{}) error

func (*RecoveryPointRestoreApiResponse) UnmarshalJSON added in v4.1.1

func (p *RecoveryPointRestoreApiResponse) UnmarshalJSON(b []byte) error

type ReplicationState

type ReplicationState struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The external identifier of the Protection policy associated with the protected resource.
	*/
	ProtectionPolicyExtId *string `json:"protectionPolicyExtId,omitempty"`
	/*
	  The recovery point objective of the schedule in seconds.
	*/
	RecoveryPointObjectiveSeconds *int64 `json:"recoveryPointObjectiveSeconds,omitempty"`

	ReplicationStatus *ProtectedResourceReplicationStatus `json:"replicationStatus,omitempty"`

	TargetSiteReference *DataProtectionSiteReference `json:"targetSiteReference,omitempty"`
}

Replication-related information about the protected resource.

func NewReplicationState

func NewReplicationState() *ReplicationState

func (*ReplicationState) MarshalJSON added in v4.1.1

func (p *ReplicationState) MarshalJSON() ([]byte, error)

func (*ReplicationState) UnmarshalJSON added in v4.1.1

func (p *ReplicationState) UnmarshalJSON(b []byte) error

type RestorableTimeRange

type RestorableTimeRange struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity ends.
	*/
	EndTime *time.Time `json:"endTime,omitempty"`
	/*
	  UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
	*/
	StartTime *time.Time `json:"startTime,omitempty"`
}

The start and end time details, both inclusive, represent the range of time during which the entity is restorable.

func NewRestorableTimeRange

func NewRestorableTimeRange() *RestorableTimeRange

func (*RestorableTimeRange) MarshalJSON added in v4.1.1

func (p *RestorableTimeRange) MarshalJSON() ([]byte, error)

func (*RestorableTimeRange) UnmarshalJSON added in v4.1.1

func (p *RestorableTimeRange) UnmarshalJSON(b []byte) error

type SiteProtectionInfo

type SiteProtectionInfo struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	LocationReference *DataProtectionSiteReference `json:"locationReference,omitempty"`

	RecoveryInfo *RecoveryInfo `json:"recoveryInfo,omitempty"`

	SynchronousReplicationRole *SynchronousReplicationRole `json:"synchronousReplicationRole,omitempty"`
}

The data protection details for the Protected resource that are relevant to the specified local or remote site, like the time ranges available for recovery on the given site.

func NewSiteProtectionInfo

func NewSiteProtectionInfo() *SiteProtectionInfo

func (*SiteProtectionInfo) MarshalJSON added in v4.1.1

func (p *SiteProtectionInfo) MarshalJSON() ([]byte, error)

func (*SiteProtectionInfo) UnmarshalJSON added in v4.1.1

func (p *SiteProtectionInfo) UnmarshalJSON(b []byte) error

type SiteReference

type SiteReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The UUID corresponding to the Availability Zone where an entity resides or is synced.
	*/
	AvailabilityZoneReference *string `json:"availabilityZoneReference,omitempty"`
	/*
	  The UUID corresponding to the cluster where an entity resides or is synced.
	*/
	ClusterReference *string `json:"clusterReference,omitempty"`
}

Specification corresponding to the cluster reference information along with the related AZ information.

func NewSiteReference

func NewSiteReference() *SiteReference

func (*SiteReference) MarshalJSON added in v4.1.1

func (p *SiteReference) MarshalJSON() ([]byte, error)

func (*SiteReference) UnmarshalJSON added in v4.1.1

func (p *SiteReference) UnmarshalJSON(b []byte) error

type SynchronousReplicationRole

type SynchronousReplicationRole int

Synchronous replication role-related information of the protected resource.

const (
	SYNCHRONOUSREPLICATIONROLE_UNKNOWN     SynchronousReplicationRole = 0
	SYNCHRONOUSREPLICATIONROLE_REDACTED    SynchronousReplicationRole = 1
	SYNCHRONOUSREPLICATIONROLE_PRIMARY     SynchronousReplicationRole = 2
	SYNCHRONOUSREPLICATIONROLE_SECONDARY   SynchronousReplicationRole = 3
	SYNCHRONOUSREPLICATIONROLE_INDEPENDENT SynchronousReplicationRole = 4
	SYNCHRONOUSREPLICATIONROLE_DECOUPLED   SynchronousReplicationRole = 5
)

func (SynchronousReplicationRole) GetName

func (e SynchronousReplicationRole) GetName() string

Returns the name of the enum

func (*SynchronousReplicationRole) MarshalJSON

func (e *SynchronousReplicationRole) MarshalJSON() ([]byte, error)

func (SynchronousReplicationRole) Ref

func (*SynchronousReplicationRole) UnmarshalJSON

func (e *SynchronousReplicationRole) UnmarshalJSON(b []byte) error

type UpdateRecoveryPointExpirationTimeApiResponse

type UpdateRecoveryPointExpirationTimeApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfUpdateRecoveryPointExpirationTimeApiResponseData `json:"data,omitempty"`

	Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.1/config/recovery-points/{extId}/$actions/set-expiration-time Post operation

func NewUpdateRecoveryPointExpirationTimeApiResponse

func NewUpdateRecoveryPointExpirationTimeApiResponse() *UpdateRecoveryPointExpirationTimeApiResponse

func (*UpdateRecoveryPointExpirationTimeApiResponse) GetData

func (p *UpdateRecoveryPointExpirationTimeApiResponse) GetData() interface{}

func (*UpdateRecoveryPointExpirationTimeApiResponse) MarshalJSON added in v4.1.1

func (*UpdateRecoveryPointExpirationTimeApiResponse) SetData

func (p *UpdateRecoveryPointExpirationTimeApiResponse) SetData(v interface{}) error

func (*UpdateRecoveryPointExpirationTimeApiResponse) UnmarshalJSON added in v4.1.1

type VmRecoveryPoint

type VmRecoveryPoint struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	ApplicationConsistentPropertiesItemDiscriminator_ *string `json:"$applicationConsistentPropertiesItemDiscriminator,omitempty"`
	/*
	  User-defined application-consistent properties for the recovery point.
	*/
	ApplicationConsistentProperties *OneOfVmRecoveryPointApplicationConsistentProperties `json:"applicationConsistentProperties,omitempty"`
	/*
	  External identifier of the Consistency group which the VM was part of at the time of recovery point creation.
	*/
	ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the Recovery point is created.
	*/
	CreationTime *time.Time `json:"creationTime,omitempty"`

	DiskRecoveryPoints []import2.DiskRecoveryPoint `json:"diskRecoveryPoints,omitempty"`
	/*
	  The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
	*/
	ExpirationTime *time.Time `json:"expirationTime,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`

	HypervisorType *HypervisorType `json:"hypervisorType,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the Recovery point.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`

	RecoveryPointType *import2.RecoveryPointType `json:"recoveryPointType,omitempty"`

	Status *import2.RecoveryPointStatus `json:"status,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  Category key-value pairs associated with the VM at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' is displayed as 'dept/hr'.
	*/
	VmCategories []string `json:"vmCategories,omitempty"`
	/*
	  VM external identifier which is captured as a part of this recovery point.
	*/
	VmExtId *string `json:"vmExtId,omitempty"`
}

A model that represents VM recovery point properties.

func NewVmRecoveryPoint

func NewVmRecoveryPoint() *VmRecoveryPoint

func (*VmRecoveryPoint) MarshalJSON added in v4.1.1

func (p *VmRecoveryPoint) MarshalJSON() ([]byte, error)

func (*VmRecoveryPoint) UnmarshalJSON added in v4.1.1

func (p *VmRecoveryPoint) UnmarshalJSON(b []byte) error

type VmRecoveryPointRestoreOverride

type VmRecoveryPointRestoreOverride struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
	*/
	IsStrictMode *bool `json:"isStrictMode,omitempty"`

	VmOverrideSpecItemDiscriminator_ *string `json:"$vmOverrideSpecItemDiscriminator,omitempty"`
	/*
	  AHV/ESXi specific VM restore override specs.
	*/
	VmOverrideSpec *OneOfVmRecoveryPointRestoreOverrideVmOverrideSpec `json:"vmOverrideSpec,omitempty"`
	/*
	  External identifier of a VM recovery point, that is a part of the top-level recovery point.
	*/
	VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId,omitempty"`
}

func NewVmRecoveryPointRestoreOverride

func NewVmRecoveryPointRestoreOverride() *VmRecoveryPointRestoreOverride

func (*VmRecoveryPointRestoreOverride) GetVmOverrideSpec added in v4.1.1

func (p *VmRecoveryPointRestoreOverride) GetVmOverrideSpec() interface{}

func (*VmRecoveryPointRestoreOverride) MarshalJSON added in v4.1.1

func (p *VmRecoveryPointRestoreOverride) MarshalJSON() ([]byte, error)

func (*VmRecoveryPointRestoreOverride) SetVmOverrideSpec added in v4.1.1

func (p *VmRecoveryPointRestoreOverride) SetVmOverrideSpec(v interface{}) error

func (*VmRecoveryPointRestoreOverride) UnmarshalJSON added in v4.1.1

func (p *VmRecoveryPointRestoreOverride) UnmarshalJSON(b []byte) error

type VolumeGroupOverrideSpec

type VolumeGroupOverrideSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The name of the restored volume group.
	*/
	Name *string `json:"name,omitempty"`
}

Protected resource/recovery point restore that overrides the volume group configuration. The specified properties will be overridden for the restored volume group.

func NewVolumeGroupOverrideSpec

func NewVolumeGroupOverrideSpec() *VolumeGroupOverrideSpec

func (*VolumeGroupOverrideSpec) MarshalJSON added in v4.1.1

func (p *VolumeGroupOverrideSpec) MarshalJSON() ([]byte, error)

func (*VolumeGroupOverrideSpec) UnmarshalJSON added in v4.1.1

func (p *VolumeGroupOverrideSpec) UnmarshalJSON(b []byte) error

type VolumeGroupRecoveryPoint

type VolumeGroupRecoveryPoint struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the Consistency group which the entity was part of at the time of recovery point creation.
	*/
	ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`

	DiskRecoveryPoints []import2.DiskRecoveryPoint `json:"diskRecoveryPoints,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the recovery point. This identifier is used to identify the same instances of a recovery point across different sites.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  Category key-value pairs associated with the volume group at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
	*/
	VolumeGroupCategories []string `json:"volumeGroupCategories,omitempty"`
	/*
	  Volume Group external identifier which is captured as part of this recovery point.
	*/
	VolumeGroupExtId *string `json:"volumeGroupExtId"`
}

A model that represents volume group recovery point properties.

func NewVolumeGroupRecoveryPoint

func NewVolumeGroupRecoveryPoint() *VolumeGroupRecoveryPoint

func (*VolumeGroupRecoveryPoint) MarshalJSON

func (p *VolumeGroupRecoveryPoint) MarshalJSON() ([]byte, error)

func (*VolumeGroupRecoveryPoint) UnmarshalJSON added in v4.1.1

func (p *VolumeGroupRecoveryPoint) UnmarshalJSON(b []byte) error

type VolumeGroupRecoveryPointRestoreOverride

type VolumeGroupRecoveryPointRestoreOverride struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	VolumeGroupOverrideSpec *VolumeGroupOverrideSpec `json:"volumeGroupOverrideSpec,omitempty"`
	/*
	  External identifier of a volume group recovery point, that is a part of the top-level recovery point.
	*/
	VolumeGroupRecoveryPointExtId *string `json:"volumeGroupRecoveryPointExtId,omitempty"`
}

func NewVolumeGroupRecoveryPointRestoreOverride

func NewVolumeGroupRecoveryPointRestoreOverride() *VolumeGroupRecoveryPointRestoreOverride

func (*VolumeGroupRecoveryPointRestoreOverride) MarshalJSON added in v4.1.1

func (p *VolumeGroupRecoveryPointRestoreOverride) MarshalJSON() ([]byte, error)

func (*VolumeGroupRecoveryPointRestoreOverride) UnmarshalJSON added in v4.1.1

func (p *VolumeGroupRecoveryPointRestoreOverride) UnmarshalJSON(b []byte) error

type VolumeGroupSyncContext

type VolumeGroupSyncContext struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`

	PrimarySite *SiteReference `json:"primarySite,omitempty"`

	SecondarySite *SiteReference `json:"secondarySite,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

Specification corresponding to the volume group synced state. The primary site reference corresponds to the cluster reference information along with the related AZ information where the entity resides. The secondary site reference corresponds to the cluster site reference information along with the related AZ information where the volume group is synced to.

func NewVolumeGroupSyncContext

func NewVolumeGroupSyncContext() *VolumeGroupSyncContext

func (*VolumeGroupSyncContext) MarshalJSON added in v4.1.1

func (p *VolumeGroupSyncContext) MarshalJSON() ([]byte, error)

func (*VolumeGroupSyncContext) UnmarshalJSON added in v4.1.1

func (p *VolumeGroupSyncContext) UnmarshalJSON(b []byte) error

type Witness

type Witness struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  List of host references of the Witness.
	*/
	HostReferences []HostReference `json:"hostReferences,omitempty"`
	/*
	  List of IP addresses for the Witness site.
	*/
	IpAddresses []string `json:"ipAddresses,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import4.ApiLink `json:"links,omitempty"`
	/*
	  Name of the Witness site.
	*/
	Name *string `json:"name,omitempty"`

	Status *WitnessAvailabilityStatus `json:"status,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
}

A model that represents the details of a Witness site.

func NewWitness

func NewWitness() *Witness

func (*Witness) MarshalJSON added in v4.1.1

func (p *Witness) MarshalJSON() ([]byte, error)

func (*Witness) UnmarshalJSON added in v4.1.1

func (p *Witness) UnmarshalJSON(b []byte) error

type WitnessAvailabilityStatus

type WitnessAvailabilityStatus int

Availability status of the Witness.

const (
	WITNESSAVAILABILITYSTATUS_UNKNOWN     WitnessAvailabilityStatus = 0
	WITNESSAVAILABILITYSTATUS_REDACTED    WitnessAvailabilityStatus = 1
	WITNESSAVAILABILITYSTATUS_AVAILABLE   WitnessAvailabilityStatus = 2
	WITNESSAVAILABILITYSTATUS_UNAVAILABLE WitnessAvailabilityStatus = 3
)

func (WitnessAvailabilityStatus) GetName

func (e WitnessAvailabilityStatus) GetName() string

Returns the name of the enum

func (*WitnessAvailabilityStatus) MarshalJSON

func (e *WitnessAvailabilityStatus) MarshalJSON() ([]byte, error)

func (WitnessAvailabilityStatus) Ref

func (*WitnessAvailabilityStatus) UnmarshalJSON

func (e *WitnessAvailabilityStatus) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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