config

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 11 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"`

	GuestToolsSpec *import1.VmRestoreGuestToolsSpecification `json:"guestToolsSpec,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"`
}

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 Capability added in v4.2.1

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

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

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

	CapabilityName *DataProtectionCapabilityName `json:"capabilityName"`
	/*
	  Boolean - true if the capability is supported, false otherwise.
	*/
	IsSupported *bool `json:"isSupported"`
}

Capability dictionary entry with capability name and boolean value indicating support.

func NewCapability added in v4.2.1

func NewCapability() *Capability

func (*Capability) MarshalJSON added in v4.2.1

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

func (*Capability) UnmarshalJSON added in v4.2.1

func (p *Capability) 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.2/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 CreateConsistencyGroupApiResponse

type CreateConsistencyGroupApiResponse 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 *OneOfCreateConsistencyGroupApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/consistency-groups Post operation

func NewCreateConsistencyGroupApiResponse

func NewCreateConsistencyGroupApiResponse() *CreateConsistencyGroupApiResponse

func (*CreateConsistencyGroupApiResponse) GetData

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

func (*CreateConsistencyGroupApiResponse) MarshalJSON added in v4.2.1

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

func (*CreateConsistencyGroupApiResponse) SetData

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

func (*CreateConsistencyGroupApiResponse) UnmarshalJSON added in v4.2.1

func (p *CreateConsistencyGroupApiResponse) 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.2/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 CreationTimeRange added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Start of the time range. Recovery points created after this time are considered.
	*/
	FirstCreationTime *time.Time `json:"firstCreationTime,omitempty"`
	/*
	  End of the time range. Recovery points created before this time are considered.
	*/
	LastCreationTime *time.Time `json:"lastCreationTime,omitempty"`
}

Defines a time window using start and end timestamps, which is used to filter recovery points for deletion. The timestamps are in UTC and in ISO 8601 format.

func NewCreationTimeRange added in v4.2.1

func NewCreationTimeRange() *CreationTimeRange

func (*CreationTimeRange) MarshalJSON added in v4.2.1

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

func (*CreationTimeRange) UnmarshalJSON added in v4.2.1

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

type DataProtectionCapabilityName added in v4.2.1

type DataProtectionCapabilityName int

Name of the capability e.g. "SUPPORTS_NEAR_SYNC".

const (
	DATAPROTECTIONCAPABILITYNAME_UNKNOWN            DataProtectionCapabilityName = 0
	DATAPROTECTIONCAPABILITYNAME_REDACTED           DataProtectionCapabilityName = 1
	DATAPROTECTIONCAPABILITYNAME_SUPPORTS_NEAR_SYNC DataProtectionCapabilityName = 2
)

func (DataProtectionCapabilityName) GetName added in v4.2.1

Returns the name of the enum

func (*DataProtectionCapabilityName) MarshalJSON added in v4.2.1

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

func (DataProtectionCapabilityName) Ref added in v4.2.1

func (*DataProtectionCapabilityName) UnmarshalJSON added in v4.2.1

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

type DataProtectionClusterCapability added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A dictionary with a key as a capability name and a value as a boolean, true if supported by the cluster, false if not.  For example, the dictionary will look like { "SUPPORTS_NEAR_SYNC": true }.
	*/
	Capabilities []Capability `json:"capabilities,omitempty"`
	/*
	  Cluster UUID whose capabilities are retrieved.
	*/
	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"`
	/*
	  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"`
}

Describes data protection cluster capabilities.

func NewDataProtectionClusterCapability added in v4.2.1

func NewDataProtectionClusterCapability() *DataProtectionClusterCapability

func (*DataProtectionClusterCapability) MarshalJSON added in v4.2.1

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

func (*DataProtectionClusterCapability) UnmarshalJSON added in v4.2.1

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

type DataProtectionClusterCapabilityProjection added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A dictionary with a key as a capability name and a value as a boolean, true if supported by the cluster, false if not.  For example, the dictionary will look like { "SUPPORTS_NEAR_SYNC": true }.
	*/
	Capabilities []Capability `json:"capabilities,omitempty"`
	/*
	  Cluster UUID whose capabilities are retrieved.
	*/
	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"`
	/*
	  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 NewDataProtectionClusterCapabilityProjection added in v4.2.1

func NewDataProtectionClusterCapabilityProjection() *DataProtectionClusterCapabilityProjection

func (*DataProtectionClusterCapabilityProjection) MarshalJSON added in v4.2.1

func (*DataProtectionClusterCapabilityProjection) UnmarshalJSON added in v4.2.1

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 DeleteConsistencyGroupApiResponse

type DeleteConsistencyGroupApiResponse 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 *OneOfDeleteConsistencyGroupApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/consistency-groups/{extId} Delete operation

func NewDeleteConsistencyGroupApiResponse

func NewDeleteConsistencyGroupApiResponse() *DeleteConsistencyGroupApiResponse

func (*DeleteConsistencyGroupApiResponse) GetData

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

func (*DeleteConsistencyGroupApiResponse) MarshalJSON added in v4.2.1

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

func (*DeleteConsistencyGroupApiResponse) SetData

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

func (*DeleteConsistencyGroupApiResponse) UnmarshalJSON added in v4.2.1

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

type DeleteRecoveryPlanJobApiResponse added in v4.2.1

type DeleteRecoveryPlanJobApiResponse 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 *OneOfDeleteRecoveryPlanJobApiResponseData `json:"data,omitempty"`

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

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

func NewDeleteRecoveryPlanJobApiResponse added in v4.2.1

func NewDeleteRecoveryPlanJobApiResponse() *DeleteRecoveryPlanJobApiResponse

func (*DeleteRecoveryPlanJobApiResponse) GetData added in v4.2.1

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

func (*DeleteRecoveryPlanJobApiResponse) MarshalJSON added in v4.2.1

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

func (*DeleteRecoveryPlanJobApiResponse) SetData added in v4.2.1

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

func (*DeleteRecoveryPlanJobApiResponse) UnmarshalJSON added in v4.2.1

func (p *DeleteRecoveryPlanJobApiResponse) 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.2/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 DisasterRecoveryLocation added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the clusters associated with the recovery point at source Prism Central.
	*/
	ClusterExtIds []string `json:"clusterExtIds"`
	/*
	  External identifier of the Prism Central (also known as the Domain Manager) where the recovery point was first created.
	*/
	DomainManagerExtId *string `json:"domainManagerExtId"`
}

disasterRecoveryLocationDesc

func NewDisasterRecoveryLocation added in v4.2.1

func NewDisasterRecoveryLocation() *DisasterRecoveryLocation

func (*DisasterRecoveryLocation) MarshalJSON added in v4.2.1

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

func (*DisasterRecoveryLocation) UnmarshalJSON added in v4.2.1

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

type EntityRecoveryResult added in v4.2.1

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

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

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

	EntityType *import6.EntityType `json:"entityType,omitempty"`
	/*
	  Name of the recovered entity.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  Information about the recovered entity.
	*/
	RecoveredEntityExtId *string `json:"recoveredEntityExtId,omitempty"`
	/*
	  Source entity reference.
	*/
	SourceEntityExtId *string `json:"sourceEntityExtId,omitempty"`
}

This contains the external identifier of the source entity and recovered entity information, such as entity name and the recovered entity external identifier.

func NewEntityRecoveryResult added in v4.2.1

func NewEntityRecoveryResult() *EntityRecoveryResult

func (*EntityRecoveryResult) MarshalJSON added in v4.2.1

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

func (*EntityRecoveryResult) UnmarshalJSON added in v4.2.1

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

type EntityReference added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the entity.
	*/
	ExtId *string `json:"extId"`
}

External reference of an entity.

func NewEntityReference added in v4.2.1

func NewEntityReference() *EntityReference

func (*EntityReference) MarshalJSON added in v4.2.1

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

func (*EntityReference) UnmarshalJSON added in v4.2.1

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

type ErrorGroup added in v4.2.1

type ErrorGroup int

Type of validation errors or warnings.

const (
	ERRORGROUP_UNKNOWN         ErrorGroup = 0
	ERRORGROUP_REDACTED        ErrorGroup = 1
	ERRORGROUP_ENTITY          ErrorGroup = 2
	ERRORGROUP_NETWORK         ErrorGroup = 3
	ERRORGROUP_RECOVERY_POINT  ErrorGroup = 4
	ERRORGROUP_CATEGORY        ErrorGroup = 5
	ERRORGROUP_CONNECTIVITY    ErrorGroup = 6
	ERRORGROUP_INFRASTRUCTURE  ErrorGroup = 7
	ERRORGROUP_CLUSTER_LICENSE ErrorGroup = 8
)

func (ErrorGroup) GetName added in v4.2.1

func (e ErrorGroup) GetName() string

Returns the name of the enum

func (*ErrorGroup) MarshalJSON added in v4.2.1

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

func (ErrorGroup) Ref added in v4.2.1

func (e ErrorGroup) Ref() *ErrorGroup

func (*ErrorGroup) UnmarshalJSON added in v4.2.1

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

type ErrorMessage added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Error code for API request failure.
	*/
	ErrorCode *string `json:"errorCode,omitempty"`

	ErrorGroup *ErrorGroup `json:"errorGroup,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"`
	/*
	  Summary of the error.
	*/
	Message *string `json:"message,omitempty"`

	Severity *Severity `json:"severity,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"`
}

Provides the code, status, severity and summary of the error raised by an API call.

func NewErrorMessage added in v4.2.1

func NewErrorMessage() *ErrorMessage

func (*ErrorMessage) MarshalJSON added in v4.2.1

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

func (*ErrorMessage) UnmarshalJSON added in v4.2.1

func (p *ErrorMessage) 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 are 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 ExecutionStepEntityReference added in v4.2.1

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

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

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

	EntityType *ExecutionStepEntityType `json:"entityType,omitempty"`
	/*
	  External identifier of the entity.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  Name of the entity.
	*/
	Name *string `json:"name,omitempty"`
}

Entity reference model for execution step affected entities.

func NewExecutionStepEntityReference added in v4.2.1

func NewExecutionStepEntityReference() *ExecutionStepEntityReference

func (*ExecutionStepEntityReference) MarshalJSON added in v4.2.1

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

func (*ExecutionStepEntityReference) UnmarshalJSON added in v4.2.1

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

type ExecutionStepEntityType added in v4.2.1

type ExecutionStepEntityType int

Type of entity being recovered.

const (
	EXECUTIONSTEPENTITYTYPE_UNKNOWN           ExecutionStepEntityType = 0
	EXECUTIONSTEPENTITYTYPE_REDACTED          ExecutionStepEntityType = 1
	EXECUTIONSTEPENTITYTYPE_VM                ExecutionStepEntityType = 2
	EXECUTIONSTEPENTITYTYPE_SUBNET            ExecutionStepEntityType = 3
	EXECUTIONSTEPENTITYTYPE_AVAILABILITY_ZONE ExecutionStepEntityType = 4
	EXECUTIONSTEPENTITYTYPE_RECOVERY_PLAN     ExecutionStepEntityType = 5
	EXECUTIONSTEPENTITYTYPE_VIRTUAL_NETWORK   ExecutionStepEntityType = 6
	EXECUTIONSTEPENTITYTYPE_VOLUME_GROUP      ExecutionStepEntityType = 7
	EXECUTIONSTEPENTITYTYPE_CONSISTENCY_GROUP ExecutionStepEntityType = 8
	EXECUTIONSTEPENTITYTYPE_CATEGORY          ExecutionStepEntityType = 9
	EXECUTIONSTEPENTITYTYPE_VPN_GATEWAY       ExecutionStepEntityType = 10
	EXECUTIONSTEPENTITYTYPE_SUBNET_EXTENSION  ExecutionStepEntityType = 11
	EXECUTIONSTEPENTITYTYPE_VPC               ExecutionStepEntityType = 12
	EXECUTIONSTEPENTITYTYPE_RECOVERY_PLAN_JOB ExecutionStepEntityType = 13
)

func (ExecutionStepEntityType) GetName added in v4.2.1

func (e ExecutionStepEntityType) GetName() string

Returns the name of the enum

func (*ExecutionStepEntityType) MarshalJSON added in v4.2.1

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

func (ExecutionStepEntityType) Ref added in v4.2.1

func (*ExecutionStepEntityType) UnmarshalJSON added in v4.2.1

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

type ExecutionStepResult added in v4.2.1

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

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

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

	 */
	ResultItemDiscriminator_ *string `json:"$resultItemDiscriminator,omitempty"`
	/*
	  Resulted output for an execution of a step.
	*/
	Result *OneOfExecutionStepResultResult `json:"result"`
}

Resulted output for an execution of a step.

func NewExecutionStepResult added in v4.2.1

func NewExecutionStepResult() *ExecutionStepResult

func (*ExecutionStepResult) GetResult added in v4.2.1

func (p *ExecutionStepResult) GetResult() interface{}

func (*ExecutionStepResult) MarshalJSON added in v4.2.1

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

func (*ExecutionStepResult) SetResult added in v4.2.1

func (p *ExecutionStepResult) SetResult(v interface{}) error

func (*ExecutionStepResult) UnmarshalJSON added in v4.2.1

func (p *ExecutionStepResult) 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 never expires.
	*/
	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 FailoverDirection added in v4.2.1

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

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

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

	SourceCluster *EntityReference `json:"sourceCluster,omitempty"`
	/*
	  External identifier of the source domain manager.
	*/
	SourceDomainManagerExtId *string `json:"sourceDomainManagerExtId"`

	TargetCluster *EntityReference `json:"targetCluster,omitempty"`
	/*
	  External identifier of the target domain manager.
	*/
	TargetDomainManagerExtId *string `json:"targetDomainManagerExtId"`
}

Failover direction from the source disaster recovery location to the target disaster recovery location.

func NewFailoverDirection added in v4.2.1

func NewFailoverDirection() *FailoverDirection

func (*FailoverDirection) MarshalJSON added in v4.2.1

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

func (*FailoverDirection) UnmarshalJSON added in v4.2.1

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

type FileDetail

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

func NewFileDetail

func NewFileDetail() *FileDetail

type ForceDeleteAllRecoveryPointsSpec added in v4.2.1

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

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

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

	ClusterExtIds []string `json:"clusterExtIds,omitempty"`

	TimeRange *CreationTimeRange `json:"timeRange,omitempty"`
}

Specification for force deleting recovery points across specified clusters within a given time range.

func NewForceDeleteAllRecoveryPointsSpec added in v4.2.1

func NewForceDeleteAllRecoveryPointsSpec() *ForceDeleteAllRecoveryPointsSpec

func (*ForceDeleteAllRecoveryPointsSpec) MarshalJSON added in v4.2.1

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

func (*ForceDeleteAllRecoveryPointsSpec) UnmarshalJSON added in v4.2.1

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

type GetConsistencyGroupApiResponse added in v4.2.1

type GetConsistencyGroupApiResponse 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 *OneOfGetConsistencyGroupApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/consistency-groups/{extId} Get operation

func NewGetConsistencyGroupApiResponse added in v4.2.1

func NewGetConsistencyGroupApiResponse() *GetConsistencyGroupApiResponse

func (*GetConsistencyGroupApiResponse) GetData added in v4.2.1

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

func (*GetConsistencyGroupApiResponse) MarshalJSON added in v4.2.1

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

func (*GetConsistencyGroupApiResponse) SetData added in v4.2.1

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

func (*GetConsistencyGroupApiResponse) UnmarshalJSON added in v4.2.1

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

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.2/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 GetRecoveryPlanJobApiResponse added in v4.2.1

type GetRecoveryPlanJobApiResponse 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 *OneOfGetRecoveryPlanJobApiResponseData `json:"data,omitempty"`

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

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

func NewGetRecoveryPlanJobApiResponse added in v4.2.1

func NewGetRecoveryPlanJobApiResponse() *GetRecoveryPlanJobApiResponse

func (*GetRecoveryPlanJobApiResponse) GetData added in v4.2.1

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

func (*GetRecoveryPlanJobApiResponse) MarshalJSON added in v4.2.1

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

func (*GetRecoveryPlanJobApiResponse) SetData added in v4.2.1

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

func (*GetRecoveryPlanJobApiResponse) UnmarshalJSON added in v4.2.1

func (p *GetRecoveryPlanJobApiResponse) 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.2/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.2/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 ListConsistencyGroupsApiResponse added in v4.2.1

type ListConsistencyGroupsApiResponse 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 *OneOfListConsistencyGroupsApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/consistency-groups Get operation

func NewListConsistencyGroupsApiResponse added in v4.2.1

func NewListConsistencyGroupsApiResponse() *ListConsistencyGroupsApiResponse

func (*ListConsistencyGroupsApiResponse) GetData added in v4.2.1

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

func (*ListConsistencyGroupsApiResponse) MarshalJSON added in v4.2.1

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

func (*ListConsistencyGroupsApiResponse) SetData added in v4.2.1

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

func (*ListConsistencyGroupsApiResponse) UnmarshalJSON added in v4.2.1

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

type ListDPClusterCapabilitiesApiResponse added in v4.2.1

type ListDPClusterCapabilitiesApiResponse 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 *OneOfListDPClusterCapabilitiesApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/cluster-capabilities Get operation

func NewListDPClusterCapabilitiesApiResponse added in v4.2.1

func NewListDPClusterCapabilitiesApiResponse() *ListDPClusterCapabilitiesApiResponse

func (*ListDPClusterCapabilitiesApiResponse) GetData added in v4.2.1

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

func (*ListDPClusterCapabilitiesApiResponse) MarshalJSON added in v4.2.1

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

func (*ListDPClusterCapabilitiesApiResponse) SetData added in v4.2.1

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

func (*ListDPClusterCapabilitiesApiResponse) UnmarshalJSON added in v4.2.1

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

type ListRecoveryPlanJobExecutionStepsApiResponse added in v4.2.1

type ListRecoveryPlanJobExecutionStepsApiResponse 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 *OneOfListRecoveryPlanJobExecutionStepsApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/recovery-plan-jobs/{recoveryPlanJobExtId}/execution-steps Get operation

func NewListRecoveryPlanJobExecutionStepsApiResponse added in v4.2.1

func NewListRecoveryPlanJobExecutionStepsApiResponse() *ListRecoveryPlanJobExecutionStepsApiResponse

func (*ListRecoveryPlanJobExecutionStepsApiResponse) GetData added in v4.2.1

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

func (*ListRecoveryPlanJobExecutionStepsApiResponse) MarshalJSON added in v4.2.1

func (*ListRecoveryPlanJobExecutionStepsApiResponse) SetData added in v4.2.1

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

func (*ListRecoveryPlanJobExecutionStepsApiResponse) UnmarshalJSON added in v4.2.1

type ListRecoveryPlanJobValidationErrorsApiResponse added in v4.2.1

type ListRecoveryPlanJobValidationErrorsApiResponse 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 *OneOfListRecoveryPlanJobValidationErrorsApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/recovery-plan-jobs/{recoveryPlanJobExtId}/validation-errors Get operation

func NewListRecoveryPlanJobValidationErrorsApiResponse added in v4.2.1

func NewListRecoveryPlanJobValidationErrorsApiResponse() *ListRecoveryPlanJobValidationErrorsApiResponse

func (*ListRecoveryPlanJobValidationErrorsApiResponse) GetData added in v4.2.1

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

func (*ListRecoveryPlanJobValidationErrorsApiResponse) MarshalJSON added in v4.2.1

func (*ListRecoveryPlanJobValidationErrorsApiResponse) SetData added in v4.2.1

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

func (*ListRecoveryPlanJobValidationErrorsApiResponse) UnmarshalJSON added in v4.2.1

type ListRecoveryPlanJobsApiResponse added in v4.2.1

type ListRecoveryPlanJobsApiResponse 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 *OneOfListRecoveryPlanJobsApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/recovery-plan-jobs Get operation

func NewListRecoveryPlanJobsApiResponse added in v4.2.1

func NewListRecoveryPlanJobsApiResponse() *ListRecoveryPlanJobsApiResponse

func (*ListRecoveryPlanJobsApiResponse) GetData added in v4.2.1

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

func (*ListRecoveryPlanJobsApiResponse) MarshalJSON added in v4.2.1

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

func (*ListRecoveryPlanJobsApiResponse) SetData added in v4.2.1

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

func (*ListRecoveryPlanJobsApiResponse) UnmarshalJSON added in v4.2.1

func (p *ListRecoveryPlanJobsApiResponse) 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.2/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 OneOfCreateConsistencyGroupApiResponseData

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

func NewOneOfCreateConsistencyGroupApiResponseData

func NewOneOfCreateConsistencyGroupApiResponseData() *OneOfCreateConsistencyGroupApiResponseData

func (*OneOfCreateConsistencyGroupApiResponseData) GetValue

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

func (*OneOfCreateConsistencyGroupApiResponseData) MarshalJSON

func (*OneOfCreateConsistencyGroupApiResponseData) SetValue

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

func (*OneOfCreateConsistencyGroupApiResponseData) UnmarshalJSON

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 OneOfDeleteConsistencyGroupApiResponseData

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

func NewOneOfDeleteConsistencyGroupApiResponseData

func NewOneOfDeleteConsistencyGroupApiResponseData() *OneOfDeleteConsistencyGroupApiResponseData

func (*OneOfDeleteConsistencyGroupApiResponseData) GetValue

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

func (*OneOfDeleteConsistencyGroupApiResponseData) MarshalJSON

func (*OneOfDeleteConsistencyGroupApiResponseData) SetValue

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

func (*OneOfDeleteConsistencyGroupApiResponseData) UnmarshalJSON

type OneOfDeleteRecoveryPlanJobApiResponseData added in v4.2.1

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

func NewOneOfDeleteRecoveryPlanJobApiResponseData added in v4.2.1

func NewOneOfDeleteRecoveryPlanJobApiResponseData() *OneOfDeleteRecoveryPlanJobApiResponseData

func (*OneOfDeleteRecoveryPlanJobApiResponseData) GetValue added in v4.2.1

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

func (*OneOfDeleteRecoveryPlanJobApiResponseData) MarshalJSON added in v4.2.1

func (*OneOfDeleteRecoveryPlanJobApiResponseData) SetValue added in v4.2.1

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

func (*OneOfDeleteRecoveryPlanJobApiResponseData) UnmarshalJSON added in v4.2.1

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 OneOfExecutionStepResultResult added in v4.2.1

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

func NewOneOfExecutionStepResultResult added in v4.2.1

func NewOneOfExecutionStepResultResult() *OneOfExecutionStepResultResult

func (*OneOfExecutionStepResultResult) GetValue added in v4.2.1

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

func (*OneOfExecutionStepResultResult) MarshalJSON added in v4.2.1

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

func (*OneOfExecutionStepResultResult) SetValue added in v4.2.1

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

func (*OneOfExecutionStepResultResult) UnmarshalJSON added in v4.2.1

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

type OneOfGetConsistencyGroupApiResponseData added in v4.2.1

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

func NewOneOfGetConsistencyGroupApiResponseData added in v4.2.1

func NewOneOfGetConsistencyGroupApiResponseData() *OneOfGetConsistencyGroupApiResponseData

func (*OneOfGetConsistencyGroupApiResponseData) GetValue added in v4.2.1

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

func (*OneOfGetConsistencyGroupApiResponseData) MarshalJSON added in v4.2.1

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

func (*OneOfGetConsistencyGroupApiResponseData) SetValue added in v4.2.1

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

func (*OneOfGetConsistencyGroupApiResponseData) UnmarshalJSON added in v4.2.1

func (p *OneOfGetConsistencyGroupApiResponseData) 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 OneOfGetRecoveryPlanJobApiResponseData added in v4.2.1

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

func NewOneOfGetRecoveryPlanJobApiResponseData added in v4.2.1

func NewOneOfGetRecoveryPlanJobApiResponseData() *OneOfGetRecoveryPlanJobApiResponseData

func (*OneOfGetRecoveryPlanJobApiResponseData) GetValue added in v4.2.1

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

func (*OneOfGetRecoveryPlanJobApiResponseData) MarshalJSON added in v4.2.1

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

func (*OneOfGetRecoveryPlanJobApiResponseData) SetValue added in v4.2.1

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

func (*OneOfGetRecoveryPlanJobApiResponseData) UnmarshalJSON added in v4.2.1

func (p *OneOfGetRecoveryPlanJobApiResponseData) 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 OneOfListConsistencyGroupsApiResponseData added in v4.2.1

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

func NewOneOfListConsistencyGroupsApiResponseData added in v4.2.1

func NewOneOfListConsistencyGroupsApiResponseData() *OneOfListConsistencyGroupsApiResponseData

func (*OneOfListConsistencyGroupsApiResponseData) GetValue added in v4.2.1

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

func (*OneOfListConsistencyGroupsApiResponseData) MarshalJSON added in v4.2.1

func (*OneOfListConsistencyGroupsApiResponseData) SetValue added in v4.2.1

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

func (*OneOfListConsistencyGroupsApiResponseData) UnmarshalJSON added in v4.2.1

type OneOfListDPClusterCapabilitiesApiResponseData added in v4.2.1

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

func NewOneOfListDPClusterCapabilitiesApiResponseData added in v4.2.1

func NewOneOfListDPClusterCapabilitiesApiResponseData() *OneOfListDPClusterCapabilitiesApiResponseData

func (*OneOfListDPClusterCapabilitiesApiResponseData) GetValue added in v4.2.1

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

func (*OneOfListDPClusterCapabilitiesApiResponseData) MarshalJSON added in v4.2.1

func (*OneOfListDPClusterCapabilitiesApiResponseData) SetValue added in v4.2.1

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

func (*OneOfListDPClusterCapabilitiesApiResponseData) UnmarshalJSON added in v4.2.1

type OneOfListRecoveryPlanJobExecutionStepsApiResponseData added in v4.2.1

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

func NewOneOfListRecoveryPlanJobExecutionStepsApiResponseData added in v4.2.1

func NewOneOfListRecoveryPlanJobExecutionStepsApiResponseData() *OneOfListRecoveryPlanJobExecutionStepsApiResponseData

func (*OneOfListRecoveryPlanJobExecutionStepsApiResponseData) GetValue added in v4.2.1

func (*OneOfListRecoveryPlanJobExecutionStepsApiResponseData) MarshalJSON added in v4.2.1

func (*OneOfListRecoveryPlanJobExecutionStepsApiResponseData) SetValue added in v4.2.1

func (*OneOfListRecoveryPlanJobExecutionStepsApiResponseData) UnmarshalJSON added in v4.2.1

type OneOfListRecoveryPlanJobValidationErrorsApiResponseData added in v4.2.1

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

func NewOneOfListRecoveryPlanJobValidationErrorsApiResponseData added in v4.2.1

func NewOneOfListRecoveryPlanJobValidationErrorsApiResponseData() *OneOfListRecoveryPlanJobValidationErrorsApiResponseData

func (*OneOfListRecoveryPlanJobValidationErrorsApiResponseData) GetValue added in v4.2.1

func (*OneOfListRecoveryPlanJobValidationErrorsApiResponseData) MarshalJSON added in v4.2.1

func (*OneOfListRecoveryPlanJobValidationErrorsApiResponseData) SetValue added in v4.2.1

func (*OneOfListRecoveryPlanJobValidationErrorsApiResponseData) UnmarshalJSON added in v4.2.1

type OneOfListRecoveryPlanJobsApiResponseData added in v4.2.1

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

func NewOneOfListRecoveryPlanJobsApiResponseData added in v4.2.1

func NewOneOfListRecoveryPlanJobsApiResponseData() *OneOfListRecoveryPlanJobsApiResponseData

func (*OneOfListRecoveryPlanJobsApiResponseData) GetValue added in v4.2.1

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

func (*OneOfListRecoveryPlanJobsApiResponseData) MarshalJSON added in v4.2.1

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

func (*OneOfListRecoveryPlanJobsApiResponseData) SetValue added in v4.2.1

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

func (*OneOfListRecoveryPlanJobsApiResponseData) UnmarshalJSON added in v4.2.1

func (p *OneOfListRecoveryPlanJobsApiResponseData) 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 OneOfUpdateConsistencyGroupApiResponseData

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

func NewOneOfUpdateConsistencyGroupApiResponseData

func NewOneOfUpdateConsistencyGroupApiResponseData() *OneOfUpdateConsistencyGroupApiResponseData

func (*OneOfUpdateConsistencyGroupApiResponseData) GetValue

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

func (*OneOfUpdateConsistencyGroupApiResponseData) MarshalJSON

func (*OneOfUpdateConsistencyGroupApiResponseData) SetValue

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

func (*OneOfUpdateConsistencyGroupApiResponseData) UnmarshalJSON

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 OperationType added in v4.2.1

type OperationType int

Type of operation being performed.

const (
	OPERATIONTYPE_UNKNOWN                     OperationType = 0
	OPERATIONTYPE_REDACTED                    OperationType = 1
	OPERATIONTYPE_NETWORK_CREATION            OperationType = 2
	OPERATIONTYPE_SUBNET_EXTENSION_CREATION   OperationType = 3
	OPERATIONTYPE_NETWORK_GATEWAY_CREATION    OperationType = 4
	OPERATIONTYPE_VPC_UPDATION                OperationType = 5
	OPERATIONTYPE_SYNC_RECOVERY_POINTS        OperationType = 6
	OPERATIONTYPE_FLOATING_IP_CREATION        OperationType = 7
	OPERATIONTYPE_RESOURCE_RESERVATION        OperationType = 8
	OPERATIONTYPE_NOTIFY_WITNESS              OperationType = 9
	OPERATIONTYPE_VPC_CREATION                OperationType = 10
	OPERATIONTYPE_CONFIGURE_MANUAL_PROTECTION OperationType = 11
	OPERATIONTYPE_DELAY                       OperationType = 12
	OPERATIONTYPE_ENTITY_MIGRATION            OperationType = 13
	OPERATIONTYPE_ENTITY_RESTORATION          OperationType = 14
	OPERATIONTYPE_ENTITY_LIVE_MIGRATION       OperationType = 15
	OPERATIONTYPE_VM_POWER_ON                 OperationType = 16
	OPERATIONTYPE_ASSIGN_FLOATING_IP          OperationType = 17
	OPERATIONTYPE_STATIC_IP_VALIDATION        OperationType = 18
	OPERATIONTYPE_SCRIPT_EXECUTION            OperationType = 19
	OPERATIONTYPE_VM_VOLUME_IQN_ATTACHMENT    OperationType = 20
	OPERATIONTYPE_VM_VOLUME_ATTACHMENT        OperationType = 21
	OPERATIONTYPE_ENTITY_SNAPSHOT_SYNC        OperationType = 22
	OPERATIONTYPE_AUDIT                       OperationType = 23
	OPERATIONTYPE_NETWORK_DELETION            OperationType = 24
	OPERATIONTYPE_CONSISTENCY_GROUP_CREATE    OperationType = 25
	OPERATIONTYPE_SUBNET_EXTENSION_DELETION   OperationType = 26
	OPERATIONTYPE_NETWORK_GATEWAY_DELETION    OperationType = 27
	OPERATIONTYPE_STAGE_RECOVERY              OperationType = 28
	OPERATIONTYPE_ENTITY_RECOVERY             OperationType = 29
	OPERATIONTYPE_IP_CUSTOMIZATION            OperationType = 30
	OPERATIONTYPE_ENTITIES_CLEANUP            OperationType = 31
)

func (OperationType) GetName added in v4.2.1

func (e OperationType) GetName() string

Returns the name of the enum

func (*OperationType) MarshalJSON added in v4.2.1

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

func (OperationType) Ref added in v4.2.1

func (e OperationType) Ref() *OperationType

func (*OperationType) UnmarshalJSON added in v4.2.1

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

type PhaseSummary added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The completed percentage of this phase in the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`

	PhaseType *RecoveryPlanJobPhaseType `json:"phaseType,omitempty"`
	/*
	  List of stages in the phase.
	*/
	Stages []StageSummary `json:"stages,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `json:"status,omitempty"`
}

Summary of the phase in the recovery plan job. This is a generic model to represent the summary in the recovery plan job execution.

func NewPhaseSummary added in v4.2.1

func NewPhaseSummary() *PhaseSummary

func (*PhaseSummary) MarshalJSON added in v4.2.1

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

func (*PhaseSummary) UnmarshalJSON added in v4.2.1

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

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' is 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 schedules 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.2/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.2/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 ranges 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 RecoveryPlanActionType added in v4.2.1

type RecoveryPlanActionType int

Type of action performed by the recovery plan job.

const (
	RECOVERYPLANACTIONTYPE_UNKNOWN            RecoveryPlanActionType = 0
	RECOVERYPLANACTIONTYPE_REDACTED           RecoveryPlanActionType = 1
	RECOVERYPLANACTIONTYPE_VALIDATE           RecoveryPlanActionType = 2
	RECOVERYPLANACTIONTYPE_PLANNED_FAILOVER   RecoveryPlanActionType = 3
	RECOVERYPLANACTIONTYPE_UNPLANNED_FAILOVER RecoveryPlanActionType = 4
	RECOVERYPLANACTIONTYPE_TEST_FAILOVER      RecoveryPlanActionType = 5
)

func (RecoveryPlanActionType) GetName added in v4.2.1

func (e RecoveryPlanActionType) GetName() string

Returns the name of the enum

func (*RecoveryPlanActionType) MarshalJSON added in v4.2.1

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

func (RecoveryPlanActionType) Ref added in v4.2.1

func (*RecoveryPlanActionType) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanJob added in v4.2.1

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

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

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

	ActionType *RecoveryPlanActionType `json:"actionType,omitempty"`
	/*
	  Recovery plan job completion time in ISO-8601 format.
	*/
	EndTime *time.Time `json:"endTime,omitempty"`
	/*
	  Summary of all the phases involved in the recovery plan job execution:<br> - Pre-processing: Actions carried out prior to the recovery of entities, such as creating a network or synchronizing recovery points as part of a `PLANNED_FAILOVER` operation.<br> - Entity recovery: Steps performed for the recovery of the entities for the recovery plan job.<br> - Post-processing: Actions taken after the recovery of entities, such as creating a Consistency group or auditing the recovery plan job information.
	*/
	ExecutionPhases []PhaseSummary `json:"executionPhases,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  List of failover directions from source disaster recovery location to target disaster recovery location.<br> For example, when failing over virtual machines (VMs) and volume groups from clusters C1, C2 registered to domain manager PC1 on source location to cluster C3 registered to domain manager PC1 on target location, there must be one direction between source location (PC1, C1) to target location (PC1, C3) and another mapping between source location (PC1, C2) and target location (PC1, C3).<br> Domain manager is a required parameter while describing disaster recovery location in failover directions.<br> When creating a Recovery Plan Job across two domain managers, the source clusters are not required.<br> Failover direction contains clusters only when failing over between primary and secondary clusters registered to the same domain manager.
	*/
	FailoverDirections []FailoverDirection `json:"failoverDirections,omitempty"`
	/*
	  Indicates whether the recovery plan job was initiated by the witness or not.
	*/
	IsInitiatedByWitness *bool `json:"isInitiatedByWitness,omitempty"`
	/*
	  Indicates whether to perform a live migration of virtual machines (VMs) during a `PLANNED_FAILOVER` operation. When not specified or specified as false, the migration is performed for all virtual machines (VMs) in offline mode. When specified as true, the migration is performed for all virtual machines (VMs) in a running state.
	*/
	IsLiveMigrateVMs *bool `json:"isLiveMigrateVMs,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 Plan Job.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  External identifier of the owner of the recovery plan job.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`
	/*
	  Percentage complete for the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`
	/*
	  The external identifier of the recovery plan.
	*/
	RecoveryPlanExtId *string `json:"recoveryPlanExtId,omitempty"`
	/*
	  Point in time from which to restore the entities during an `UNPLANNED_FAILOVER` operation. Only ISO-8601 formatted timestamps are supported. For example, `2023-01-02T03:04:05Z`.<br> When specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the specified timestamp. If not specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the start of the Recovery plan job.
	*/
	RecoveryReferenceTime *time.Time `json:"recoveryReferenceTime,omitempty"`
	/*
	  Recovery plan job start time in ISO-8601 format.
	*/
	StartTime *time.Time `json:"startTime,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `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"`

	ValidationStatus *Summary `json:"validationStatus,omitempty"`
}

A recovery plan job specification describing the recovery plan to be executed, failover directions and type of failover.

func NewRecoveryPlanJob added in v4.2.1

func NewRecoveryPlanJob() *RecoveryPlanJob

func (*RecoveryPlanJob) MarshalJSON added in v4.2.1

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

func (*RecoveryPlanJob) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanJobExecutionStatus added in v4.2.1

type RecoveryPlanJobExecutionStatus int

Indicates the execution status of a single entity (e.g., a VM) within a recovery plan job.

const (
	RECOVERYPLANJOBEXECUTIONSTATUS_UNKNOWN                           RecoveryPlanJobExecutionStatus = 0
	RECOVERYPLANJOBEXECUTIONSTATUS_REDACTED                          RecoveryPlanJobExecutionStatus = 1
	RECOVERYPLANJOBEXECUTIONSTATUS_SUCCEEDED                         RecoveryPlanJobExecutionStatus = 2
	RECOVERYPLANJOBEXECUTIONSTATUS_RUNNING                           RecoveryPlanJobExecutionStatus = 3
	RECOVERYPLANJOBEXECUTIONSTATUS_ABORTED                           RecoveryPlanJobExecutionStatus = 4
	RECOVERYPLANJOBEXECUTIONSTATUS_FAILED                            RecoveryPlanJobExecutionStatus = 5
	RECOVERYPLANJOBEXECUTIONSTATUS_QUEUED                            RecoveryPlanJobExecutionStatus = 6
	RECOVERYPLANJOBEXECUTIONSTATUS_SUCCEEDED_WITH_VALIDATION_WARNING RecoveryPlanJobExecutionStatus = 7
)

func (RecoveryPlanJobExecutionStatus) GetName added in v4.2.1

Returns the name of the enum

func (*RecoveryPlanJobExecutionStatus) MarshalJSON added in v4.2.1

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

func (RecoveryPlanJobExecutionStatus) Ref added in v4.2.1

func (*RecoveryPlanJobExecutionStatus) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanJobExecutionStep added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of affected entities.
	*/
	AffectedEntities []ExecutionStepEntityReference `json:"affectedEntities,omitempty"`
	/*
	  Time in ISO-8601 format when the current step ended.
	*/
	EndTime *time.Time `json:"endTime,omitempty"`

	ErrorMessage *import3.AppMessage `json:"errorMessage,omitempty"`
	/*
	  Result for an execution step.
	*/
	ExecutionStepResults []ExecutionStepResult `json:"executionStepResults,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"`

	OperationType *OperationType `json:"operationType,omitempty"`
	/*
	  The completed percentage for a step in the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`

	Phase *RecoveryPlanJobPhaseType `json:"phase,omitempty"`
	/*
	  External identifier of a recovery plan stage.
	*/
	StageExtId *string `json:"stageExtId,omitempty"`
	/*
	  Time in ISO-8601 format when the current step started.
	*/
	StartTime *time.Time `json:"startTime,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `json:"status,omitempty"`
	/*
	  User readable message for the action being performed for the current step.
	*/
	StepDescription *string `json:"stepDescription,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 step executes an action. Each step has its external identifier and the status of the action it is/was performing.

func NewRecoveryPlanJobExecutionStep added in v4.2.1

func NewRecoveryPlanJobExecutionStep() *RecoveryPlanJobExecutionStep

func (*RecoveryPlanJobExecutionStep) MarshalJSON added in v4.2.1

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

func (*RecoveryPlanJobExecutionStep) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanJobExecutionStepProjection added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of affected entities.
	*/
	AffectedEntities []ExecutionStepEntityReference `json:"affectedEntities,omitempty"`
	/*
	  Time in ISO-8601 format when the current step ended.
	*/
	EndTime *time.Time `json:"endTime,omitempty"`

	ErrorMessage *import3.AppMessage `json:"errorMessage,omitempty"`
	/*
	  Result for an execution step.
	*/
	ExecutionStepResults []ExecutionStepResult `json:"executionStepResults,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"`

	OperationType *OperationType `json:"operationType,omitempty"`
	/*
	  The completed percentage for a step in the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`

	Phase *RecoveryPlanJobPhaseType `json:"phase,omitempty"`
	/*
	  External identifier of a recovery plan stage.
	*/
	StageExtId *string `json:"stageExtId,omitempty"`
	/*
	  Time in ISO-8601 format when the current step started.
	*/
	StartTime *time.Time `json:"startTime,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `json:"status,omitempty"`
	/*
	  User readable message for the action being performed for the current step.
	*/
	StepDescription *string `json:"stepDescription,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 NewRecoveryPlanJobExecutionStepProjection added in v4.2.1

func NewRecoveryPlanJobExecutionStepProjection() *RecoveryPlanJobExecutionStepProjection

func (*RecoveryPlanJobExecutionStepProjection) MarshalJSON added in v4.2.1

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

func (*RecoveryPlanJobExecutionStepProjection) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanJobPhaseType added in v4.2.1

type RecoveryPlanJobPhaseType int

The phase type of the execution step in the Recovery Plan Job.

const (
	RECOVERYPLANJOBPHASETYPE_UNKNOWN         RecoveryPlanJobPhaseType = 0
	RECOVERYPLANJOBPHASETYPE_REDACTED        RecoveryPlanJobPhaseType = 1
	RECOVERYPLANJOBPHASETYPE_PRE_PROCESSING  RecoveryPlanJobPhaseType = 2
	RECOVERYPLANJOBPHASETYPE_ENTITY_RECOVERY RecoveryPlanJobPhaseType = 3
	RECOVERYPLANJOBPHASETYPE_POST_PROCESSING RecoveryPlanJobPhaseType = 4
)

func (RecoveryPlanJobPhaseType) GetName added in v4.2.1

func (e RecoveryPlanJobPhaseType) GetName() string

Returns the name of the enum

func (*RecoveryPlanJobPhaseType) MarshalJSON added in v4.2.1

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

func (RecoveryPlanJobPhaseType) Ref added in v4.2.1

func (*RecoveryPlanJobPhaseType) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanJobProjection added in v4.2.1

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

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

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

	ActionType *RecoveryPlanActionType `json:"actionType,omitempty"`
	/*
	  Recovery plan job completion time in ISO-8601 format.
	*/
	EndTime *time.Time `json:"endTime,omitempty"`
	/*
	  Summary of all the phases involved in the recovery plan job execution:<br> - Pre-processing: Actions carried out prior to the recovery of entities, such as creating a network or synchronizing recovery points as part of a `PLANNED_FAILOVER` operation.<br> - Entity recovery: Steps performed for the recovery of the entities for the recovery plan job.<br> - Post-processing: Actions taken after the recovery of entities, such as creating a Consistency group or auditing the recovery plan job information.
	*/
	ExecutionPhases []PhaseSummary `json:"executionPhases,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  List of failover directions from source disaster recovery location to target disaster recovery location.<br> For example, when failing over virtual machines (VMs) and volume groups from clusters C1, C2 registered to domain manager PC1 on source location to cluster C3 registered to domain manager PC1 on target location, there must be one direction between source location (PC1, C1) to target location (PC1, C3) and another mapping between source location (PC1, C2) and target location (PC1, C3).<br> Domain manager is a required parameter while describing disaster recovery location in failover directions.<br> When creating a Recovery Plan Job across two domain managers, the source clusters are not required.<br> Failover direction contains clusters only when failing over between primary and secondary clusters registered to the same domain manager.
	*/
	FailoverDirections []FailoverDirection `json:"failoverDirections,omitempty"`
	/*
	  Indicates whether the recovery plan job was initiated by the witness or not.
	*/
	IsInitiatedByWitness *bool `json:"isInitiatedByWitness,omitempty"`
	/*
	  Indicates whether to perform a live migration of virtual machines (VMs) during a `PLANNED_FAILOVER` operation. When not specified or specified as false, the migration is performed for all virtual machines (VMs) in offline mode. When specified as true, the migration is performed for all virtual machines (VMs) in a running state.
	*/
	IsLiveMigrateVMs *bool `json:"isLiveMigrateVMs,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 Plan Job.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  External identifier of the owner of the recovery plan job.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`
	/*
	  Percentage complete for the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`
	/*
	  The external identifier of the recovery plan.
	*/
	RecoveryPlanExtId *string `json:"recoveryPlanExtId,omitempty"`
	/*
	  Point in time from which to restore the entities during an `UNPLANNED_FAILOVER` operation. Only ISO-8601 formatted timestamps are supported. For example, `2023-01-02T03:04:05Z`.<br> When specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the specified timestamp. If not specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the start of the Recovery plan job.
	*/
	RecoveryReferenceTime *time.Time `json:"recoveryReferenceTime,omitempty"`
	/*
	  Recovery plan job start time in ISO-8601 format.
	*/
	StartTime *time.Time `json:"startTime,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `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"`

	ValidationStatus *Summary `json:"validationStatus,omitempty"`
}

func NewRecoveryPlanJobProjection added in v4.2.1

func NewRecoveryPlanJobProjection() *RecoveryPlanJobProjection

func (*RecoveryPlanJobProjection) MarshalJSON added in v4.2.1

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

func (*RecoveryPlanJobProjection) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanValidationError added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of affected entities.
	*/
	AffectedEntities []import6.EntityReference `json:"affectedEntities,omitempty"`
	/*
	  Error code for API request failure.
	*/
	ErrorCode *string `json:"errorCode,omitempty"`

	ErrorGroup *ErrorGroup `json:"errorGroup,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"`
	/*
	  Summary of the error.
	*/
	Message *string `json:"message,omitempty"`

	RootCauseAnalysis *RootCauseAnalysis `json:"rootCauseAnalysis,omitempty"`

	Severity *Severity `json:"severity,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"`
}

Message used to report recovery plan job errors or warnings.

func NewRecoveryPlanValidationError added in v4.2.1

func NewRecoveryPlanValidationError() *RecoveryPlanValidationError

func (*RecoveryPlanValidationError) MarshalJSON added in v4.2.1

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

func (*RecoveryPlanValidationError) UnmarshalJSON added in v4.2.1

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

type RecoveryPlanValidationErrorProjection added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of affected entities.
	*/
	AffectedEntities []import6.EntityReference `json:"affectedEntities,omitempty"`
	/*
	  Error code for API request failure.
	*/
	ErrorCode *string `json:"errorCode,omitempty"`

	ErrorGroup *ErrorGroup `json:"errorGroup,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"`
	/*
	  Summary of the error.
	*/
	Message *string `json:"message,omitempty"`

	RootCauseAnalysis *RootCauseAnalysis `json:"rootCauseAnalysis,omitempty"`

	Severity *Severity `json:"severity,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 NewRecoveryPlanValidationErrorProjection added in v4.2.1

func NewRecoveryPlanValidationErrorProjection() *RecoveryPlanValidationErrorProjection

func (*RecoveryPlanValidationErrorProjection) MarshalJSON added in v4.2.1

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

func (*RecoveryPlanValidationErrorProjection) UnmarshalJSON added in v4.2.1

func (p *RecoveryPlanValidationErrorProjection) 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 recovery point is presently located.
	*/
	LocationReferences []LocationReference `json:"locationReferences,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A read only field inserted into the 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"`

	SourceLocation *DisasterRecoveryLocation `json:"sourceLocation,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"`
	/*
	  Indicates the total exclusive usage of this recovery point, which is the total space that could be reclaimed after deleting this recovery point.
	*/
	TotalExclusiveUsageBytes *int64 `json:"totalExclusiveUsageBytes,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 VMs and volume groups.
	*/
	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 VMs and volume groups.
	*/
	VolumeGroupRecoveryPoints []VolumeGroupRecoveryPoint `json:"volumeGroupRecoveryPoints,omitempty"`
}

Details about the recovery point along with all the captured VM and volume group recovery points.

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 recovery point is presently located.
	*/
	LocationReferences []LocationReference `json:"locationReferences,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A read only field inserted into the 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"`

	SourceLocation *DisasterRecoveryLocation `json:"sourceLocation,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"`
	/*
	  Indicates the total exclusive usage of this recovery point, which is the total space that could be reclaimed after deleting this recovery point.
	*/
	TotalExclusiveUsageBytes *int64 `json:"totalExclusiveUsageBytes,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 VMs and volume groups.
	*/
	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 VMs and volume groups.
	*/
	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.2/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 (also known as Domain Manager).
	*/
	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 points 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 points 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 points. In case no particular selection is made, all VM and volume group recovery points that are a part of the top-level recovery point are 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.2/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 RecycleBinEntry added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the categories attached to the entity at the time of deletion.
	*/
	CategoryIds []string `json:"categoryIds,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the user who deleted the entity.
	*/
	DeletedByUserExtId *string `json:"deletedByUserExtId,omitempty"`
	/*
	  Entity deletion time in ISO-8601 format.
	*/
	DeletionTime *time.Time `json:"deletionTime,omitempty"`
	/*
	  Absolute time in ISO-8601 format until which the entity's (VM/Volume group) retention is ensured by the Recycle Bin.
	*/
	ExpirationTime *time.Time `json:"expirationTime,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"`
	/*
	  Space consumed (in bytes) by the deleted entity in the Recycle Bin.
	*/
	SpaceConsumedBytes *int64 `json:"spaceConsumedBytes,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"`
}

Details of the Recycle Bin entry along with the entity details.

func NewRecycleBinEntry added in v4.2.1

func NewRecycleBinEntry() *RecycleBinEntry

func (*RecycleBinEntry) MarshalJSON added in v4.2.1

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

func (*RecycleBinEntry) UnmarshalJSON added in v4.2.1

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

type RecycleBinVm added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the categories attached to the entity at the time of deletion.
	*/
	CategoryIds []string `json:"categoryIds,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the user who deleted the entity.
	*/
	DeletedByUserExtId *string `json:"deletedByUserExtId,omitempty"`
	/*
	  Entity deletion time in ISO-8601 format.
	*/
	DeletionTime *time.Time `json:"deletionTime,omitempty"`
	/*
	  Absolute time in ISO-8601 format until which the entity's (VM/Volume group) retention is ensured by the Recycle Bin.
	*/
	ExpirationTime *time.Time `json:"expirationTime,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"`
	/*
	  Space consumed (in bytes) by the deleted entity in the Recycle Bin.
	*/
	SpaceConsumedBytes *int64 `json:"spaceConsumedBytes,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"`
	/*
	  VM external identifier which is captured as part of this recovery point.
	*/
	VmExtId *string `json:"vmExtId,omitempty"`
	/*
	  Name of the deleted VM.
	*/
	VmName *string `json:"vmName,omitempty"`
	/*
	  External identifier of the user who owned the VM before it was deleted.
	*/
	VmOwnerExtId *string `json:"vmOwnerExtId,omitempty"`
}

Details about the VM in Recycle Bin.

func NewRecycleBinVm added in v4.2.1

func NewRecycleBinVm() *RecycleBinVm

func (*RecycleBinVm) MarshalJSON added in v4.2.1

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

func (*RecycleBinVm) UnmarshalJSON added in v4.2.1

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

type RecycleBinVmProjection added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the categories attached to the entity at the time of deletion.
	*/
	CategoryIds []string `json:"categoryIds,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the user who deleted the entity.
	*/
	DeletedByUserExtId *string `json:"deletedByUserExtId,omitempty"`
	/*
	  Entity deletion time in ISO-8601 format.
	*/
	DeletionTime *time.Time `json:"deletionTime,omitempty"`
	/*
	  Absolute time in ISO-8601 format until which the entity's (VM/Volume group) retention is ensured by the Recycle Bin.
	*/
	ExpirationTime *time.Time `json:"expirationTime,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"`
	/*
	  Space consumed (in bytes) by the deleted entity in the Recycle Bin.
	*/
	SpaceConsumedBytes *int64 `json:"spaceConsumedBytes,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"`
	/*
	  VM external identifier which is captured as part of this recovery point.
	*/
	VmExtId *string `json:"vmExtId,omitempty"`
	/*
	  Name of the deleted VM.
	*/
	VmName *string `json:"vmName,omitempty"`
	/*
	  External identifier of the user who owned the VM before it was deleted.
	*/
	VmOwnerExtId *string `json:"vmOwnerExtId,omitempty"`
}

func NewRecycleBinVmProjection added in v4.2.1

func NewRecycleBinVmProjection() *RecycleBinVmProjection

func (*RecycleBinVmProjection) MarshalJSON added in v4.2.1

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

func (*RecycleBinVmProjection) UnmarshalJSON added in v4.2.1

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

type RecycleBinVolumeGroup added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the categories attached to the entity at the time of deletion.
	*/
	CategoryIds []string `json:"categoryIds,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the user who deleted the entity.
	*/
	DeletedByUserExtId *string `json:"deletedByUserExtId,omitempty"`
	/*
	  Entity deletion time in ISO-8601 format.
	*/
	DeletionTime *time.Time `json:"deletionTime,omitempty"`
	/*
	  Absolute time in ISO-8601 format until which the entity's (VM/Volume group) retention is ensured by the Recycle Bin.
	*/
	ExpirationTime *time.Time `json:"expirationTime,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"`
	/*
	  Space consumed (in bytes) by the deleted entity in the Recycle Bin.
	*/
	SpaceConsumedBytes *int64 `json:"spaceConsumedBytes,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"`
	/*
	  Volume Group external identifier which is captured as part of this recovery point.
	*/
	VolumeGroupExtId *string `json:"volumeGroupExtId,omitempty"`
	/*
	  Name of the deleted volume group.
	*/
	VolumeGroupName *string `json:"volumeGroupName,omitempty"`
	/*
	  External identifier of the user who owned the volume group before it was deleted.
	*/
	VolumeGroupOwnerExtId *string `json:"volumeGroupOwnerExtId,omitempty"`
}

Details about the volume group in Recycle Bin.

func NewRecycleBinVolumeGroup added in v4.2.1

func NewRecycleBinVolumeGroup() *RecycleBinVolumeGroup

func (*RecycleBinVolumeGroup) MarshalJSON added in v4.2.1

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

func (*RecycleBinVolumeGroup) UnmarshalJSON added in v4.2.1

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

type RecycleBinVolumeGroupProjection added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the categories attached to the entity at the time of deletion.
	*/
	CategoryIds []string `json:"categoryIds,omitempty"`
	/*
	  External identifier of the cluster.
	*/
	ClusterExtId *string `json:"clusterExtId,omitempty"`
	/*
	  External identifier of the user who deleted the entity.
	*/
	DeletedByUserExtId *string `json:"deletedByUserExtId,omitempty"`
	/*
	  Entity deletion time in ISO-8601 format.
	*/
	DeletionTime *time.Time `json:"deletionTime,omitempty"`
	/*
	  Absolute time in ISO-8601 format until which the entity's (VM/Volume group) retention is ensured by the Recycle Bin.
	*/
	ExpirationTime *time.Time `json:"expirationTime,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"`
	/*
	  Space consumed (in bytes) by the deleted entity in the Recycle Bin.
	*/
	SpaceConsumedBytes *int64 `json:"spaceConsumedBytes,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"`
	/*
	  Volume Group external identifier which is captured as part of this recovery point.
	*/
	VolumeGroupExtId *string `json:"volumeGroupExtId,omitempty"`
	/*
	  Name of the deleted volume group.
	*/
	VolumeGroupName *string `json:"volumeGroupName,omitempty"`
	/*
	  External identifier of the user who owned the volume group before it was deleted.
	*/
	VolumeGroupOwnerExtId *string `json:"volumeGroupOwnerExtId,omitempty"`
}

func NewRecycleBinVolumeGroupProjection added in v4.2.1

func NewRecycleBinVolumeGroupProjection() *RecycleBinVolumeGroupProjection

func (*RecycleBinVolumeGroupProjection) MarshalJSON added in v4.2.1

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

func (*RecycleBinVolumeGroupProjection) UnmarshalJSON added in v4.2.1

func (p *RecycleBinVolumeGroupProjection) 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 RootCauseAnalysis added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Cause of the validation errors or warnings.
	*/
	Cause *string `json:"cause,omitempty"`
	/*
	  List of impacts of the errors or warnings raised.
	*/
	Impacts []string `json:"impacts,omitempty"`
	/*
	  Steps to resolve the errors or warnings.
	*/
	Resolutions []string `json:"resolutions,omitempty"`
}

Possible causes, resolutions, impact and additional details to troubleshoot the error message.

func NewRootCauseAnalysis added in v4.2.1

func NewRootCauseAnalysis() *RootCauseAnalysis

func (*RootCauseAnalysis) MarshalJSON added in v4.2.1

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

func (*RootCauseAnalysis) UnmarshalJSON added in v4.2.1

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

type Severity added in v4.2.1

type Severity int

Severity of an error message.

const (
	SEVERITY_UNKNOWN  Severity = 0
	SEVERITY_REDACTED Severity = 1
	SEVERITY_ERROR    Severity = 2
	SEVERITY_WARNING  Severity = 3
)

func (Severity) GetName added in v4.2.1

func (e Severity) GetName() string

Returns the name of the enum

func (*Severity) MarshalJSON added in v4.2.1

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

func (Severity) Ref added in v4.2.1

func (e Severity) Ref() *Severity

func (*Severity) UnmarshalJSON added in v4.2.1

func (e *Severity) 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 StageSummary added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The completed percentage of this phase in the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`
	/*
	  External identifier of a recovery plan stage.
	*/
	StageExtId *string `json:"stageExtId,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `json:"status,omitempty"`
}

Recovery stage summary in the recovery plan job execution.

func NewStageSummary added in v4.2.1

func NewStageSummary() *StageSummary

func (*StageSummary) MarshalJSON added in v4.2.1

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

func (*StageSummary) UnmarshalJSON added in v4.2.1

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

type Summary added in v4.2.1

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The completed percentage of this phase in the recovery plan job.
	*/
	PercentageComplete *int `json:"percentageComplete,omitempty"`

	Status *RecoveryPlanJobExecutionStatus `json:"status,omitempty"`
}

Recovery plan job summary. This is a generic model to represent the summary in the recovery plan job execution.

func NewSummary added in v4.2.1

func NewSummary() *Summary

func (*Summary) MarshalJSON added in v4.2.1

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

func (*Summary) UnmarshalJSON added in v4.2.1

func (p *Summary) 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 UpdateConsistencyGroupApiResponse

type UpdateConsistencyGroupApiResponse 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 *OneOfUpdateConsistencyGroupApiResponseData `json:"data,omitempty"`

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

REST response for all response codes in API path /dataprotection/v4.2/config/consistency-groups/{extId} Put operation

func NewUpdateConsistencyGroupApiResponse

func NewUpdateConsistencyGroupApiResponse() *UpdateConsistencyGroupApiResponse

func (*UpdateConsistencyGroupApiResponse) GetData

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

func (*UpdateConsistencyGroupApiResponse) MarshalJSON added in v4.2.1

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

func (*UpdateConsistencyGroupApiResponse) SetData

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

func (*UpdateConsistencyGroupApiResponse) UnmarshalJSON added in v4.2.1

func (p *UpdateConsistencyGroupApiResponse) 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.2/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"`
	/*
	  Indicates the total exclusive usage of this recovery point, which is the total space that could be reclaimed after deleting this recovery point.
	*/
	TotalExclusiveUsageBytes *int64 `json:"totalExclusiveUsageBytes,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, is dropped or reset to the system defaults and the corresponding warnings are returned. If set to False, the restore operation runs in the normal mode where any failures are raised as errors and the VM is not 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 specifications.
	*/
	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 are 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"`
	/*
	  Indicates the total exclusive usage of this recovery point, which is the total space that could be reclaimed after deleting this recovery point.
	*/
	TotalExclusiveUsageBytes *int64 `json:"totalExclusiveUsageBytes,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' is 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