config

package
v4.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: UNKNOWN not legal advice Imports: 10 Imported by: 0

Documentation

Overview

Configure Hosts, Clusters and other Infrastructure

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AhvVmOverrideSpec

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

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

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

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

func NewAhvVmOverrideSpec

func NewAhvVmOverrideSpec() *AhvVmOverrideSpec

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

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

type Category

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Name of the category key.
	*/
	Key *string `json:"key"`
	/*
	  Name of the category value.
	*/
	Value *string `json:"value"`
}

Specifies category in key and value object format.

func NewCategory

func NewCategory() *Category

func (*Category) MarshalJSON

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

type ClusterReference

type ClusterReference 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.
	*/
	ExtId *string `json:"extId"`
	/*
	  Name of the Prism Element cluster, this is a read-only field
	*/
	Name *string `json:"name,omitempty"`
}

The UUID corresponding to the cluster where an entity resides or is synced.

func NewClusterReference

func NewClusterReference() *ClusterReference

func (*ClusterReference) MarshalJSON

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

type ComputeChangedRegionsResponse

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

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

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

	 */
	ResponseItemDiscriminator_ *string `json:"$responseItemDiscriminator,omitempty"`

	Response *OneOfComputeChangedRegionsResponseResponse `json:"response,omitempty"`
}

Response parameters for the compute changed regions. It is a chunk-encoded stream for the redirect request. It can contain a redirect IP, a certificate, or the actual changed regions. If the response contains a redirect IP, the client must re-send the request to the specified IP. The certificate needs to be set as NTNX_IGW_SESSION cookie in the header.

func NewComputeChangedRegionsResponse

func NewComputeChangedRegionsResponse() *ComputeChangedRegionsResponse

func (*ComputeChangedRegionsResponse) GetResponse

func (p *ComputeChangedRegionsResponse) GetResponse() interface{}

func (*ComputeChangedRegionsResponse) SetResponse

func (p *ComputeChangedRegionsResponse) SetResponse(v interface{}) error

type ComputeChangedRegionsResponseModel

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

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

REST response for all response codes in API path /dataprotection/v4.0.b1/config/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions Post operation

func NewComputeChangedRegionsResponseModel

func NewComputeChangedRegionsResponseModel() *ComputeChangedRegionsResponseModel

func (*ComputeChangedRegionsResponseModel) GetData

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

func (*ComputeChangedRegionsResponseModel) SetData

func (p *ComputeChangedRegionsResponseModel) SetData(v interface{}) 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 from 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 []import2.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 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"`
}

There are many scenarios where the state of an application must be captured as an aggregate of the internal state of a set of related entities at some point in time. The Consistency group is a collection of all the entities whose snapshot represents the application state at that point in time

func NewConsistencyGroup

func NewConsistencyGroup() *ConsistencyGroup

func (*ConsistencyGroup) MarshalJSON

func (p *ConsistencyGroup) MarshalJSON() ([]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,omitempty"`

	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)

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 migrate action on the Consistency group.

func NewConsistencyGroupMigrationSpec

func NewConsistencyGroupMigrationSpec() *ConsistencyGroupMigrationSpec

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 from 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 []import2.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 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)

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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewCreateConsistencyGroupApiResponse

func NewCreateConsistencyGroupApiResponse() *CreateConsistencyGroupApiResponse

func (*CreateConsistencyGroupApiResponse) GetData

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

func (*CreateConsistencyGroupApiResponse) SetData

func (p *CreateConsistencyGroupApiResponse) SetData(v interface{}) 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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewCreateRecoveryPointApiResponse

func NewCreateRecoveryPointApiResponse() *CreateRecoveryPointApiResponse

func (*CreateRecoveryPointApiResponse) GetData

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

func (*CreateRecoveryPointApiResponse) SetData

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

type DataProtectionSiteReference

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

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

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

func NewDataProtectionSiteReference

func NewDataProtectionSiteReference() *DataProtectionSiteReference

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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewDeleteConsistencyGroupApiResponse

func NewDeleteConsistencyGroupApiResponse() *DeleteConsistencyGroupApiResponse

func (*DeleteConsistencyGroupApiResponse) GetData

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

func (*DeleteConsistencyGroupApiResponse) SetData

func (p *DeleteConsistencyGroupApiResponse) SetData(v interface{}) 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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewDeleteRecoveryPointApiResponse

func NewDeleteRecoveryPointApiResponse() *DeleteRecoveryPointApiResponse

func (*DeleteRecoveryPointApiResponse) GetData

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

func (*DeleteRecoveryPointApiResponse) SetData

func (p *DeleteRecoveryPointApiResponse) SetData(v interface{}) 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"`
	/*
	  List of Prism Element clusters references. It is required in the scenario when both primary and secondary Prism Elements are managed by the same Prism Central.
	*/
	ClusterReferences []ClusterReference `json:"clusterReferences,omitempty"`
	/*
	  External identifier of the Prism Central.
	*/
	PcExtId *string `json:"pcExtId"`
}

func NewDisasterRecoveryLocation added in v4.2.1

func NewDisasterRecoveryLocation() *DisasterRecoveryLocation

func (*DisasterRecoveryLocation) MarshalJSON added in v4.2.1

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

type DiskRecoveryPoint

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Disk external identifier which is captured as part of this recovery point.
	*/
	DiskExtId *string `json:"diskExtId,omitempty"`
	/*
	  Disk recovery point Identifier.
	*/
	DiskRecoveryPointExtId *string `json:"diskRecoveryPointExtId,omitempty"`
}

A model that represents the disk recovery point properties.

func NewDiskRecoveryPoint

func NewDiskRecoveryPoint() *DiskRecoveryPoint

type EsxiVmOverrideSpec

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

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

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

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

func NewEsxiVmOverrideSpec

func NewEsxiVmOverrideSpec() *EsxiVmOverrideSpec

type ExpirationTimeSpec

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

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

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

Specification to set the expiration time of the recovery point.

func NewExpirationTimeSpec

func NewExpirationTimeSpec() *ExpirationTimeSpec

func (*ExpirationTimeSpec) MarshalJSON

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

type FileDetail

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

func NewFileDetail

func NewFileDetail() *FileDetail

type GetProtectedResourceApiResponse

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

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

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

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

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

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

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

func NewGetProtectedResourceApiResponse

func NewGetProtectedResourceApiResponse() *GetProtectedResourceApiResponse

func (*GetProtectedResourceApiResponse) GetData

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

func (*GetProtectedResourceApiResponse) SetData

func (p *GetProtectedResourceApiResponse) SetData(v interface{}) 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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewGetRecoveryPointApiResponse

func NewGetRecoveryPointApiResponse() *GetRecoveryPointApiResponse

func (*GetRecoveryPointApiResponse) GetData

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

func (*GetRecoveryPointApiResponse) SetData

func (p *GetRecoveryPointApiResponse) SetData(v interface{}) 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 []import2.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

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 IpAddress

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  IP address value in IPv4 format.
	*/
	Ipv4 *string `json:"ipv4"`
}

IP address.

func NewIpAddress

func NewIpAddress() *IpAddress

func (*IpAddress) MarshalJSON

func (p *IpAddress) MarshalJSON() ([]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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewListRecoveryPointsApiResponse

func NewListRecoveryPointsApiResponse() *ListRecoveryPointsApiResponse

func (*ListRecoveryPointsApiResponse) GetData

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

func (*ListRecoveryPointsApiResponse) SetData

func (p *ListRecoveryPointsApiResponse) SetData(v interface{}) 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

type MigrateConsistencyGroupApiResponse

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

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

REST response for all response codes in API path /dataprotection/v4.0.b1/config/consistency-groups/{extId}/$actions/migrate Post operation

func NewMigrateConsistencyGroupApiResponse

func NewMigrateConsistencyGroupApiResponse() *MigrateConsistencyGroupApiResponse

func (*MigrateConsistencyGroupApiResponse) GetData

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

func (*MigrateConsistencyGroupApiResponse) SetData

func (p *MigrateConsistencyGroupApiResponse) SetData(v interface{}) 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

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 OneOfComputeChangedRegionsResponseModelData

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

func NewOneOfComputeChangedRegionsResponseModelData

func NewOneOfComputeChangedRegionsResponseModelData() *OneOfComputeChangedRegionsResponseModelData

func (*OneOfComputeChangedRegionsResponseModelData) GetValue

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

func (*OneOfComputeChangedRegionsResponseModelData) MarshalJSON

func (*OneOfComputeChangedRegionsResponseModelData) SetValue

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

func (*OneOfComputeChangedRegionsResponseModelData) UnmarshalJSON

type OneOfComputeChangedRegionsResponseResponse

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

func NewOneOfComputeChangedRegionsResponseResponse

func NewOneOfComputeChangedRegionsResponseResponse() *OneOfComputeChangedRegionsResponseResponse

func (*OneOfComputeChangedRegionsResponseResponse) GetValue

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

func (*OneOfComputeChangedRegionsResponseResponse) MarshalJSON

func (*OneOfComputeChangedRegionsResponseResponse) SetValue

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

func (*OneOfComputeChangedRegionsResponseResponse) UnmarshalJSON

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 OneOfDeleteRecoveryPointApiResponseData

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

func NewOneOfDeleteRecoveryPointApiResponseData

func NewOneOfDeleteRecoveryPointApiResponseData() *OneOfDeleteRecoveryPointApiResponseData

func (*OneOfDeleteRecoveryPointApiResponseData) GetValue

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

func (*OneOfDeleteRecoveryPointApiResponseData) MarshalJSON

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

func (*OneOfDeleteRecoveryPointApiResponseData) SetValue

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

func (*OneOfDeleteRecoveryPointApiResponseData) UnmarshalJSON

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

type OneOfGetProtectedResourceApiResponseData

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

func NewOneOfGetProtectedResourceApiResponseData

func NewOneOfGetProtectedResourceApiResponseData() *OneOfGetProtectedResourceApiResponseData

func (*OneOfGetProtectedResourceApiResponseData) GetValue

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

func (*OneOfGetProtectedResourceApiResponseData) MarshalJSON

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

func (*OneOfGetProtectedResourceApiResponseData) SetValue

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

func (*OneOfGetProtectedResourceApiResponseData) UnmarshalJSON

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

type OneOfGetRecoveryPointApiResponseData

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

func NewOneOfGetRecoveryPointApiResponseData

func NewOneOfGetRecoveryPointApiResponseData() *OneOfGetRecoveryPointApiResponseData

func (*OneOfGetRecoveryPointApiResponseData) GetValue

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

func (*OneOfGetRecoveryPointApiResponseData) MarshalJSON

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

func (*OneOfGetRecoveryPointApiResponseData) SetValue

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

func (*OneOfGetRecoveryPointApiResponseData) UnmarshalJSON

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

type 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 OneOfMigrateConsistencyGroupApiResponseData

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

func NewOneOfMigrateConsistencyGroupApiResponseData

func NewOneOfMigrateConsistencyGroupApiResponseData() *OneOfMigrateConsistencyGroupApiResponseData

func (*OneOfMigrateConsistencyGroupApiResponseData) GetValue

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

func (*OneOfMigrateConsistencyGroupApiResponseData) MarshalJSON

func (*OneOfMigrateConsistencyGroupApiResponseData) SetValue

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

func (*OneOfMigrateConsistencyGroupApiResponseData) UnmarshalJSON

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 OneOfProtectedResourceRestoreSpecOverrides

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

func NewOneOfProtectedResourceRestoreSpecOverrides

func NewOneOfProtectedResourceRestoreSpecOverrides() *OneOfProtectedResourceRestoreSpecOverrides

func (*OneOfProtectedResourceRestoreSpecOverrides) GetValue

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

func (*OneOfProtectedResourceRestoreSpecOverrides) MarshalJSON

func (*OneOfProtectedResourceRestoreSpecOverrides) SetValue

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

func (*OneOfProtectedResourceRestoreSpecOverrides) 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 OneOfSynchronousReplicaPromoteApiResponseData

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

func NewOneOfSynchronousReplicaPromoteApiResponseData

func NewOneOfSynchronousReplicaPromoteApiResponseData() *OneOfSynchronousReplicaPromoteApiResponseData

func (*OneOfSynchronousReplicaPromoteApiResponseData) GetValue

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

func (*OneOfSynchronousReplicaPromoteApiResponseData) MarshalJSON

func (*OneOfSynchronousReplicaPromoteApiResponseData) SetValue

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

func (*OneOfSynchronousReplicaPromoteApiResponseData) UnmarshalJSON

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 ProtectedEntityType

type ProtectedEntityType int

Protected resource entity type.

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

func (ProtectedEntityType) GetName

func (e ProtectedEntityType) GetName() string

Returns the name of the enum

func (*ProtectedEntityType) MarshalJSON

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

func (ProtectedEntityType) Ref

func (*ProtectedEntityType) UnmarshalJSON

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

type ProtectedResource

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
	*/
	CategoryFqNames []string `json:"categoryFqNames,omitempty"`
	/*
	  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 []import2.ApiLink `json:"links,omitempty"`

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

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

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

func NewProtectedResource

func NewProtectedResource() *ProtectedResource

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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewProtectedResourcePromoteApiResponse

func NewProtectedResourcePromoteApiResponse() *ProtectedResourcePromoteApiResponse

func (*ProtectedResourcePromoteApiResponse) GetData

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

func (*ProtectedResourcePromoteApiResponse) SetData

func (p *ProtectedResourcePromoteApiResponse) SetData(v interface{}) 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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewProtectedResourceRestoreApiResponse

func NewProtectedResourceRestoreApiResponse() *ProtectedResourceRestoreApiResponse

func (*ProtectedResourceRestoreApiResponse) GetData

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

func (*ProtectedResourceRestoreApiResponse) SetData

func (p *ProtectedResourceRestoreApiResponse) SetData(v interface{}) 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 will be created on the same cluster.
	*/
	ClusterExtId *string `json:"clusterExtId"`
	/*

	 */
	OverridesItemDiscriminator_ *string `json:"$overridesItemDiscriminator,omitempty"`
	/*
	  The restore action specifications on the protected resource. This is an optional field and the specified properties will be overridden for the restored VM/VG.
	*/
	Overrides *OneOfProtectedResourceRestoreSpecOverrides `json:"overrides,omitempty"`
	/*
	  UTC date and time in ISO 8601 format representing the time from when the state of the entity should be restored. This needs to be a valid time within the restorable time range(s) for the protected resource.
	*/
	RestoreTime *time.Time `json:"restoreTime,omitempty"`
}

Restore action specifications for a minutely scheduled protected resource.

func NewProtectedResourceRestoreSpec

func NewProtectedResourceRestoreSpec() *ProtectedResourceRestoreSpec

func (*ProtectedResourceRestoreSpec) GetOverrides

func (p *ProtectedResourceRestoreSpec) GetOverrides() interface{}

func (*ProtectedResourceRestoreSpec) MarshalJSON

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

func (*ProtectedResourceRestoreSpec) SetOverrides

func (p *ProtectedResourceRestoreSpec) SetOverrides(v interface{}) 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 that can be used to recover the protected resource.

func NewRecoveryInfo

func NewRecoveryInfo() *RecoveryInfo

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"`
	/*
	  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 []import2.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the Recovery point.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  List of location references where the VM or volume group recovery point are a part of the specified recovery point.
	*/
	LocationReferences []LocationReference `json:"locationReferences,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`

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

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

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

func NewRecoveryPoint

func NewRecoveryPoint() *RecoveryPoint

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"`
	/*
	  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 []import2.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the Recovery point.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  List of location references where the VM or volume group recovery point are a part of the specified recovery point.
	*/
	LocationReferences []LocationReference `json:"locationReferences,omitempty"`
	/*
	  The name of the Recovery point.
	*/
	Name *string `json:"name,omitempty"`
	/*
	  A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
	*/
	OwnerExtId *string `json:"ownerExtId,omitempty"`

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

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

func NewRecoveryPointProjection

func NewRecoveryPointProjection() *RecoveryPointProjection

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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewRecoveryPointReplicateApiResponse

func NewRecoveryPointReplicateApiResponse() *RecoveryPointReplicateApiResponse

func (*RecoveryPointReplicateApiResponse) GetData

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

func (*RecoveryPointReplicateApiResponse) SetData

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

type RecoveryPointReplicationSpec

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

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

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

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

func NewRecoveryPointReplicationSpec

func NewRecoveryPointReplicationSpec() *RecoveryPointReplicationSpec

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 []import2.ApiLink `json:"links,omitempty"`
	/*
	  Name of the recovery point repository.
	*/
	Name *string `json:"name,omitempty"`
	/*

	 */
	ObjectStorageReferenceItemDiscriminator_ *string `json:"$objectStorageReferenceItemDiscriminator,omitempty"`

	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) SetObjectStorageReference

func (p *RecoveryPointRepository) SetObjectStorageReference(v interface{}) 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 []import2.ApiLink `json:"links,omitempty"`
	/*
	  Name of the recovery point repository.
	*/
	Name *string `json:"name,omitempty"`

	ObjectStorageReferenceItemDiscriminator_ *string `json:"$objectStorageReferenceItemDiscriminator,omitempty"`

	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

type RecoveryPointRestorationSpec

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

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

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

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

func NewRecoveryPointRestorationSpec

func NewRecoveryPointRestorationSpec() *RecoveryPointRestorationSpec

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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewRecoveryPointRestoreApiResponse

func NewRecoveryPointRestoreApiResponse() *RecoveryPointRestoreApiResponse

func (*RecoveryPointRestoreApiResponse) GetData

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

func (*RecoveryPointRestoreApiResponse) SetData

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

type RedirectionResponse

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A special token in string format. This token must be set as a session cookie in the redirect call.
	*/
	Certificate *string `json:"certificate,omitempty"`

	RedirectIp *IpAddress `json:"redirectIp,omitempty"`
}

func NewRedirectionResponse

func NewRedirectionResponse() *RedirectionResponse

type Region

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The length of the region in bytes.
	*/
	Length *int64 `json:"length"`
	/*
	  The start offset of the region in bytes.
	*/
	Offset *int64 `json:"offset"`

	RegionType *RegionType `json:"regionType"`
}

Changed region comprising of offset, length, and type of the region.

func NewRegion

func NewRegion() *Region

func (*Region) MarshalJSON

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

type RegionResponse

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
	*/
	NextOffset *int64 `json:"nextOffset,omitempty"`

	Regions []Region `json:"regions,omitempty"`
}

func NewRegionResponse

func NewRegionResponse() *RegionResponse

type RegionType

type RegionType int

The type of the region.

const (
	REGIONTYPE_UNKNOWN  RegionType = 0
	REGIONTYPE_REDACTED RegionType = 1
	REGIONTYPE_ZEROED   RegionType = 2
	REGIONTYPE_REGULAR  RegionType = 3
)

func (RegionType) GetName

func (e RegionType) GetName() string

Returns the name of the enum

func (*RegionType) MarshalJSON

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

func (RegionType) Ref

func (e RegionType) Ref() *RegionType

func (*RegionType) UnmarshalJSON

func (e *RegionType) 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

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 inclusively represent the range of time during which the entity is restorable.

func NewRestorableTimeRange

func NewRestorableTimeRange() *RestorableTimeRange

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"`
}

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

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

type Subnet

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

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

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

	Ipv4 *import5.IPv4Address `json:"ipv4,omitempty"`
}

CIDR of the network gateway.

func NewSubnet

func NewSubnet() *Subnet

type SynchronousReplicaPromoteApiResponse

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

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

REST response for all response codes in API path /dataprotection/v4.0.b1/config/synced-volume-groups/{extId}/$actions/promote Post operation

func NewSynchronousReplicaPromoteApiResponse

func NewSynchronousReplicaPromoteApiResponse() *SynchronousReplicaPromoteApiResponse

func (*SynchronousReplicaPromoteApiResponse) GetData

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

func (*SynchronousReplicaPromoteApiResponse) SetData

func (p *SynchronousReplicaPromoteApiResponse) SetData(v interface{}) 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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

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

func NewUpdateConsistencyGroupApiResponse

func NewUpdateConsistencyGroupApiResponse() *UpdateConsistencyGroupApiResponse

func (*UpdateConsistencyGroupApiResponse) GetData

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

func (*UpdateConsistencyGroupApiResponse) SetData

func (p *UpdateConsistencyGroupApiResponse) SetData(v interface{}) 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 *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /dataprotection/v4.0.b1/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) SetData

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

type VmRecoveryPoint

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

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

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

	DiskRecoveryPoints []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 []import2.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the recovery point. This identifier is used to identify the same instances of a recovery point across different sites.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  Category key-value pairs associated with the 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' will be represented as 'dept/hr'.
	*/
	VmCategories []string `json:"vmCategories,omitempty"`
	/*
	  VM external identifier which is captured as part of this recovery point.
	*/
	VmExtId *string `json:"vmExtId"`
}

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)

type VmRecoveryPointComputeChangedRegionsRequest

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The length to compute the changed region. If the value is not provided, the difference is performed from the start offset to the end of the disk. Note: the end offset might automatically align to a system-defined block boundary.
	*/
	Length *int64 `json:"length,omitempty"`
	/*
	  The start offset value to compute the changed region. If the value is not provided, the difference is executed from the offset of 0. Note: the start offset might automatically align to a system-defined block boundary.
	*/
	Offset *int64 `json:"offset,omitempty"`
	/*
	  Disk recovery point external identifier.
	*/
	ReferenceDiskRecoveryPointExtId *string `json:"referenceDiskRecoveryPointExtId,omitempty"`
	/*
	  The external identifier that can be used to retrieve the recovery point using its URL.
	*/
	ReferenceRecoveryPointExtId *string `json:"referenceRecoveryPointExtId,omitempty"`
	/*
	  The external identifier that can be used to retrieve the VM recovery point using its URL (Note: This attribute will be removed in future releases, use VM recovery point external identifier instead).
	*/
	ReferenceVmRecoveryPointExtId *string `json:"referenceVmRecoveryPointExtId,omitempty"`
}

Compute changed region parameters. In these parameters, you can specify a start offset, an end offset, and a reference disk recovery point. All parameters are optional. However, if a reference disk recovery point needs to be set, all three parameters - recovery point Id, VM recovery point Id, and disk recovery point Id must be specified.

func NewVmRecoveryPointComputeChangedRegionsRequest

func NewVmRecoveryPointComputeChangedRegionsRequest() *VmRecoveryPointComputeChangedRegionsRequest

type VmRecoveryPointRestoreOverride

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of a VM recovery point, that is a part of the top-level recovery point (Note: This attribute will be removed in future releases, use VM recovery point external identifier instead).
	*/
	VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId,omitempty"`
}

func NewVmRecoveryPointRestoreOverride

func NewVmRecoveryPointRestoreOverride() *VmRecoveryPointRestoreOverride

type VolumeGroupOverrideSpec

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

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

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

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

func NewVolumeGroupOverrideSpec

func NewVolumeGroupOverrideSpec() *VolumeGroupOverrideSpec

type VolumeGroupRecoveryPoint

type VolumeGroupRecoveryPoint 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 []import2.ApiLink `json:"links,omitempty"`
	/*
	  Location agnostic identifier of the recovery point. This identifier is used to identify the same instances of a recovery point across different sites.
	*/
	LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  Category key-value pairs associated with the volume group at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
	*/
	VolumeGroupCategories []string `json:"volumeGroupCategories,omitempty"`
	/*
	  Volume Group external identifier which is captured as part of this recovery point.
	*/
	VolumeGroupExtId *string `json:"volumeGroupExtId"`
}

A model that represents volume group recovery point properties.

func NewVolumeGroupRecoveryPoint

func NewVolumeGroupRecoveryPoint() *VolumeGroupRecoveryPoint

func (*VolumeGroupRecoveryPoint) MarshalJSON

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

type VolumeGroupRecoveryPointComputeChangedRegionsRequest

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The length to compute the changed region. If the value is not provided, the difference is performed from the start offset to the end of the disk. Note: the end offset might automatically align to a system-defined block boundary.
	*/
	Length *int64 `json:"length,omitempty"`
	/*
	  The start offset value to compute the changed region. If the value is not provided, the difference is executed from the offset of 0. Note: the start offset might automatically align to a system-defined block boundary.
	*/
	Offset *int64 `json:"offset,omitempty"`
	/*
	  Disk recovery point external identifier.
	*/
	ReferenceDiskRecoveryPointExtId *string `json:"referenceDiskRecoveryPointExtId,omitempty"`
	/*
	  The external identifier that can be used to retrieve the recovery point using its URL.
	*/
	ReferenceRecoveryPointExtId *string `json:"referenceRecoveryPointExtId,omitempty"`
	/*
	  The external identifier that can be used to retrieve the volume group recovery point using its URL (Note: This attribute will be removed in future releases, use volume group recovery point external identifier instead).
	*/
	ReferenceVolumeGroupRecoveryPointExtId *string `json:"referenceVolumeGroupRecoveryPointExtId,omitempty"`
}

Compute changed region parameters. In these parameters, you can specify a start offset, an end offset, and a reference disk recovery point. All parameters are optional. However, if a reference disk recovery point needs to be set, all three parameters - recovery point Id, volume group recovery point Id, and disk recovery point Id must be specified.

func NewVolumeGroupRecoveryPointComputeChangedRegionsRequest

func NewVolumeGroupRecoveryPointComputeChangedRegionsRequest() *VolumeGroupRecoveryPointComputeChangedRegionsRequest

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

type VolumeGroupSyncContext

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

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

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

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

	SecondarySite *SiteReference `json:"secondarySite,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

type VpcReference

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  External identifier of the VPC.
	*/
	ExtId *string `json:"extId"`
	/*
	  Name of the VPC, this is a read-only field.
	*/
	Name *string `json:"name,omitempty"`
}

VPC reference.

func NewVpcReference

func NewVpcReference() *VpcReference

func (*VpcReference) MarshalJSON

func (p *VpcReference) MarshalJSON() ([]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 []import2.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

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