protectpc

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Module prism.v4.protectpc of Nutanix Prism APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddReplicasApiResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/add-replicas Post operation

func NewAddReplicasApiResponse

func NewAddReplicasApiResponse() *AddReplicasApiResponse

func (*AddReplicasApiResponse) GetData

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

func (*AddReplicasApiResponse) SetData

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

type ApiError

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The error message field where the error response will be put.
	*/
	ErrorMessageList []string `json:"errorMessageList,omitempty"`
	/*
	  The type of error, like INVALID_INPUT, INTERNAL_SERVER_ERROR, etc.
	*/
	ErrorType *string `json:"errorType,omitempty"`
}

The error response that we want to return to the user.

func NewApiError

func NewApiError() *ApiError
type ApiLink struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The URL that points to the relationship.
	*/
	Href *string `json:"href,omitempty"`
	/*
	  The name of the relationship.
	*/
	Rel *string `json:"rel,omitempty"`
}

HATEOAS links for the request. For paginated requests includes prev/next/first and last links

func NewApiLink() *ApiLink

type ApiResponseMetadata

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

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

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

	Links []ApiLink `json:"links,omitempty"`
}

Metadata associated with API responses.

func NewApiResponseMetadata

func NewApiResponseMetadata() *ApiResponseMetadata

type ApiSuccess

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The success message field where the success response message will be put.
	*/
	Message *string `json:"message,omitempty"`
}

The success response that we want to return to the user.

func NewApiSuccess

func NewApiSuccess() *ApiSuccess

type BackupTargets

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of PE cluster uuid.
	*/
	ClusterUuidList []string `json:"clusterUuidList,omitempty"`

	ObjectStoreEndpointList []PcObjectStoreEndpoint `json:"objectStoreEndpointList,omitempty"`
}

List of pe cluster uuid or object store endpoints which needs to be provided while making a post request, to add a PE or object store as a backup for the PC data.

func NewBackupTargets

func NewBackupTargets() *BackupTargets

type BackupTargetsInfo

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

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

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

	ObjectStoreEndpointInfoList []ObjectStoreEndpointInfo `json:"objectStoreEndpointInfoList,omitempty"`

	PeInfoList []PEInfo `json:"peInfoList,omitempty"`
}

Model to contain information regarding PE's which are already added as replicas. It is a list of PEInfo model.

func NewBackupTargetsInfo

func NewBackupTargetsInfo() *BackupTargetsInfo

type EligibleCluster

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The amount of entities which can be backed up to the PE from PC.
	*/
	BackedUpEntitiesCountSupported *int64 `json:"backedUpEntitiesCountSupported,omitempty"`
	/*
	  Name of the eligible PE(cluster).
	*/
	ClusterName *string `json:"clusterName,omitempty"`
	/*
	  Uuid of the eligible PE(cluster).
	*/
	ClusterUuid *string `json:"clusterUuid,omitempty"`
	/*
	  Whether the candidate PE was hosting PC.
	*/
	IsHostingPe *bool `json:"isHostingPe,omitempty"`
}

Eligible cluster object for PC backup. Containing some basic properties like cluster_uuid, cluster_name, remainingStorage, totalStorage

func NewEligibleCluster

func NewEligibleCluster() *EligibleCluster

type EligibleClusterList

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

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

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

	EligibleClusterList []EligibleCluster `json:"eligibleClusterList,omitempty"`
}

An object containing a list of eligible cluster object. These are the eligible cluster for which PC backup is possible.

func NewEligibleClusterList

func NewEligibleClusterList() *EligibleClusterList

type FailedRecoveryPointDetails

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Failure reason because of which backup failed for that particular timestamp.
	*/
	Message *string `json:"message,omitempty"`
	/*
	  Timestamp at which backup failed for defined object store.
	*/
	RecoveryPointTimestamp *int64 `json:"recoveryPointTimestamp,omitempty"`
	/*
	  A RPO value in seconds to be configured.
	*/
	RpoSeconds *int `json:"rpoSeconds,omitempty"`
}

Failed recovery stats details i.e timestamp, rpo and failure message.

func NewFailedRecoveryPointDetails

func NewFailedRecoveryPointDetails() *FailedRecoveryPointDetails

type FailedRecoveryPointsStats

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

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

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

	FailedRecoveryPoints []FailedRecoveryPointDetails `json:"failedRecoveryPoints,omitempty"`
	/*
	  Count of failed recovery points in last 30 days.
	*/
	TotalFailedRecoveryPoints *int64 `json:"totalFailedRecoveryPoints,omitempty"`
}

Contains the total failed recovery counts and stats details list.

func NewFailedRecoveryPointsStats

func NewFailedRecoveryPointsStats() *FailedRecoveryPointsStats

type FileDetail

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

func NewFileDetail

func NewFileDetail() *FileDetail

type ObjectStoreEndpointInfo

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A unique id corresponding to the object store.
	*/
	EntityId *string `json:"entityId,omitempty"`
	/*
	  Tells whether the backup is paused on the given PE or not.
	*/
	IsBackupPaused *bool `json:"isBackupPaused,omitempty"`
	/*
	  The last sync time signifies the time at which the backup was last synced to PE. This time will be updated every 30min.
	*/
	LastSyncTimestamp *int64 `json:"lastSyncTimestamp,omitempty"`

	ObjectStoreEndpoint *PcObjectStoreEndpoint `json:"objectStoreEndpoint,omitempty"`
	/*
	  Tells the reason why the backup might be paused. Will be empty if isBackupPaused field is false.
	*/
	PauseBackupMessage *string `json:"pauseBackupMessage,omitempty"`
}

Model to contain the information of the replica ObjectStoreEndpoints. It contains information like ObjectStore endpointAddress, endpointFlavour, and lastSyncTimestamp.

func NewObjectStoreEndpointInfo

func NewObjectStoreEndpointInfo() *ObjectStoreEndpointInfo

type OneOfAddReplicasApiResponseData

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

func NewOneOfAddReplicasApiResponseData

func NewOneOfAddReplicasApiResponseData() *OneOfAddReplicasApiResponseData

func (*OneOfAddReplicasApiResponseData) GetValue

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

func (*OneOfAddReplicasApiResponseData) MarshalJSON

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

func (*OneOfAddReplicasApiResponseData) SetValue

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

func (*OneOfAddReplicasApiResponseData) UnmarshalJSON

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

type OneOfRecoverPcApiResponseData

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

func NewOneOfRecoverPcApiResponseData

func NewOneOfRecoverPcApiResponseData() *OneOfRecoverPcApiResponseData

func (*OneOfRecoverPcApiResponseData) GetValue

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

func (*OneOfRecoverPcApiResponseData) MarshalJSON

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

func (*OneOfRecoverPcApiResponseData) SetValue

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

func (*OneOfRecoverPcApiResponseData) UnmarshalJSON

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

type OneOfRemoveReplicaResponseData

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

func NewOneOfRemoveReplicaResponseData

func NewOneOfRemoveReplicaResponseData() *OneOfRemoveReplicaResponseData

func (*OneOfRemoveReplicaResponseData) GetValue

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

func (*OneOfRemoveReplicaResponseData) MarshalJSON

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

func (*OneOfRemoveReplicaResponseData) SetValue

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

func (*OneOfRemoveReplicaResponseData) UnmarshalJSON

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

type OneOfRestoreFilesApiResponseData

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

func NewOneOfRestoreFilesApiResponseData

func NewOneOfRestoreFilesApiResponseData() *OneOfRestoreFilesApiResponseData

func (*OneOfRestoreFilesApiResponseData) GetValue

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

func (*OneOfRestoreFilesApiResponseData) MarshalJSON

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

func (*OneOfRestoreFilesApiResponseData) SetValue

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

func (*OneOfRestoreFilesApiResponseData) UnmarshalJSON

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

type OneOfStopServicesApiResponseData

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

func NewOneOfStopServicesApiResponseData

func NewOneOfStopServicesApiResponseData() *OneOfStopServicesApiResponseData

func (*OneOfStopServicesApiResponseData) GetValue

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

func (*OneOfStopServicesApiResponseData) MarshalJSON

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

func (*OneOfStopServicesApiResponseData) SetValue

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

func (*OneOfStopServicesApiResponseData) UnmarshalJSON

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

type OneOfUpdateCredentialApiResponseData

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

func NewOneOfUpdateCredentialApiResponseData

func NewOneOfUpdateCredentialApiResponseData() *OneOfUpdateCredentialApiResponseData

func (*OneOfUpdateCredentialApiResponseData) GetValue

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

func (*OneOfUpdateCredentialApiResponseData) MarshalJSON

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

func (*OneOfUpdateCredentialApiResponseData) SetValue

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

func (*OneOfUpdateCredentialApiResponseData) UnmarshalJSON

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

type OneOfUpdateRpoApiResponseData

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

func NewOneOfUpdateRpoApiResponseData

func NewOneOfUpdateRpoApiResponseData() *OneOfUpdateRpoApiResponseData

func (*OneOfUpdateRpoApiResponseData) GetValue

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

func (*OneOfUpdateRpoApiResponseData) MarshalJSON

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

func (*OneOfUpdateRpoApiResponseData) SetValue

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

func (*OneOfUpdateRpoApiResponseData) UnmarshalJSON

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

type PEInfo

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Tells whether the backup is paused on the given PE or not.
	*/
	IsBackupPaused *bool `json:"isBackupPaused,omitempty"`
	/*
	  The last sync time signifies the time at which the backup was last synced to PE. This time will be updated every 30min.
	*/
	LastSyncTimestamp *int64 `json:"lastSyncTimestamp,omitempty"`
	/*
	  Tells the reason why the backup might be paused. Will be empty if isBackupPaused field is false.
	*/
	PauseBackupMessage *string `json:"pauseBackupMessage,omitempty"`
	/*
	  PE cluster uuid. A unique id corresponding to the cluster.
	*/
	PeClusterId *string `json:"peClusterId,omitempty"`
	/*
	  A human redable name of the PE cluster.
	*/
	PeName *string `json:"peName,omitempty"`
}

Model to contain the information of the replica PE. It contains information like PE clusterUuid, PE name, and lastSyncTimestamp.

func NewPEInfo

func NewPEInfo() *PEInfo

type PcEndpointCredentials

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  AccessKey for the endpoint flavor
	*/
	AccessKey *string `json:"accessKey,omitempty"`
	/*
	  SecretAccessKey for the endpoint flavor.
	*/
	SecretAccessKey *string `json:"secretAccessKey,omitempty"`
}

This object consists of accessKey, secretAccessKey for a given entityId.

func NewPcEndpointCredentials

func NewPcEndpointCredentials() *PcEndpointCredentials

type PcEndpointFlavour

type PcEndpointFlavour int
const (
	PCENDPOINTFLAVOUR_KS3     PcEndpointFlavour = 0
	PCENDPOINTFLAVOUR_UNKNOWN PcEndpointFlavour = 1
)

func (PcEndpointFlavour) GetName

func (e PcEndpointFlavour) GetName() string

Returns the name of the enum

func (*PcEndpointFlavour) MarshalJSON

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

func (PcEndpointFlavour) Ref

func (*PcEndpointFlavour) UnmarshalJSON

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

type PcObjectStoreEndpoint

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Retention days configured for backup in Object Store.
	*/
	BackupRetentionDays *int `json:"backupRetentionDays,omitempty"`
	/*
		  The bucket name of the object store endpoint where backup data of Prism Central
		is stored.
	*/
	Bucket *string `json:"bucket,omitempty"`
	/*
		  The endpoint address of the object store where backup data of Prism Central
		is present.
	*/
	EndpointAddress *string `json:"endpointAddress,omitempty"`

	EndpointCredentials *PcEndpointCredentials `json:"endpointCredentials,omitempty"`

	EndpointFlavour *PcEndpointFlavour `json:"endpointFlavour,omitempty"`
	/*
		  The ip address or domain of the object store endpoint where backup data of Prism Central
		is stored.
	*/
	IpAddressOrDomain *string `json:"ipAddressOrDomain,omitempty"`
	/*
		  The port of the object store endpoint where backup data of Prism Central
		is stored.
	*/
	Port *string `json:"port,omitempty"`
	/*
		  The region name of the object store endpoint where backup data of Prism Central
		is stored.
	*/
	Region *string `json:"region,omitempty"`
	/*
	  A RPO value in seconds to be configured.
	*/
	RpoSeconds *int `json:"rpoSeconds,omitempty"`
	/*
		  Skip the verification of TLS certificates during communication with object
		store endpoint.
	*/
	SkipTLS *bool `json:"skipTLS,omitempty"`
}

The endpoint of the object store where backup data of Prism Central is present.

func NewPcObjectStoreEndpoint

func NewPcObjectStoreEndpoint() *PcObjectStoreEndpoint

type PcRestoreRootTask

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Task uuid of the root PC restore task.
	*/
	TaskUuid *string `json:"taskUuid,omitempty"`
}

Model to return the root task uuid created at PC for the recovery flow. As success this uuid will be returned telling that the task has been initiated and now the PE have to wait until the tasks finishes.

func NewPcRestoreRootTask

func NewPcRestoreRootTask() *PcRestoreRootTask

type PcvmRestoreFile

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

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

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

	EncryptionVersion *string `json:"encryptionVersion,omitempty"`
	/*
	  Contents of the file to be restored.
	*/
	FileContent *string `json:"fileContent,omitempty"`
	/*
	  Path of the file to be restored.
	*/
	FilePath *string `json:"filePath,omitempty"`
	/*
	  Whether the file is encrypted.
	*/
	IsEncrypted *bool `json:"isEncrypted,omitempty"`

	KeyId *string `json:"keyId,omitempty"`
}

File object containing file path and content.

func NewPcvmRestoreFile

func NewPcvmRestoreFile() *PcvmRestoreFile

type PcvmRestoreFiles

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

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

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

	FileList []PcvmRestoreFile `json:"fileList,omitempty"`
}

List of files to be restored in new PC.

func NewPcvmRestoreFiles

func NewPcvmRestoreFiles() *PcvmRestoreFiles

type RecoverPcApiResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/recover Post operation

func NewRecoverPcApiResponse

func NewRecoverPcApiResponse() *RecoverPcApiResponse

func (*RecoverPcApiResponse) GetData

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

func (*RecoverPcApiResponse) SetData

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

type RecoveryStatus

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Overall completion percentage of task.
	*/
	OverallCompletionPercentage *int `json:"overallCompletionPercentage,omitempty"`
	/*
		  Recovery state of recovery task. Possible values could be IDFDataRestore,
		WaitForProcessesToReconcile.
	*/
	RecoveryState *string `json:"recoveryState,omitempty"`
	/*
	  Recovery state title, the message that appears to the user.
	*/
	RecoveryStateTitle *string `json:"recoveryStateTitle,omitempty"`
}

An object containing Recovery state and overall completion percentage of recovery task.

func NewRecoveryStatus

func NewRecoveryStatus() *RecoveryStatus

type RemoveReplicaResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/replica/{backupTargetID} Delete operation

func NewRemoveReplicaResponse

func NewRemoveReplicaResponse() *RemoveReplicaResponse

func (*RemoveReplicaResponse) GetData

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

func (*RemoveReplicaResponse) SetData

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

type ReplicaInfo

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  BackupUuid for the particular backup for which recovery is triggered.
	*/
	BackupUuid *string `json:"backupUuid,omitempty"`

	ObjectStoreEndpoint *PcObjectStoreEndpoint `json:"objectStoreEndpoint,omitempty"`
	/*
	  PE cluster uuid. A unique id corresponding to the cluster.
	*/
	PeClusterId *string `json:"peClusterId,omitempty"`

	PeClusterIpList []string `json:"peClusterIpList,omitempty"`
}

Contains all the IPs of the Replica PEs and PE cluster uuid which is required to make request on the PE3. Recovered PC will try to call all of them sequentially if it does not work.

func NewReplicaInfo

func NewReplicaInfo() *ReplicaInfo

type RestoreFilesApiResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/restore-files Post operation

func NewRestoreFilesApiResponse

func NewRestoreFilesApiResponse() *RestoreFilesApiResponse

func (*RestoreFilesApiResponse) GetData

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

func (*RestoreFilesApiResponse) SetData

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

type RpoConfig

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A RPO value in seconds to be configured.
	*/
	RpoSeconds *int `json:"rpoSeconds,omitempty"`
}

Object consisting of rpo value to be configured for the given entityId.

func NewRpoConfig

func NewRpoConfig() *RpoConfig

type StopServicesApiResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/stop-services Post operation

func NewStopServicesApiResponse

func NewStopServicesApiResponse() *StopServicesApiResponse

func (*StopServicesApiResponse) GetData

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

func (*StopServicesApiResponse) SetData

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

type UpdateCredentialApiResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/objectstore/{entityId}/$actions/update-credentials Post operation

func NewUpdateCredentialApiResponse

func NewUpdateCredentialApiResponse() *UpdateCredentialApiResponse

func (*UpdateCredentialApiResponse) GetData

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

func (*UpdateCredentialApiResponse) SetData

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

type UpdateRpoApiResponse

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

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

REST response for all response codes in API path /prism/v4.0/protectpc/objectstore/{entityId}/$actions/update-rpo Post operation

func NewUpdateRpoApiResponse

func NewUpdateRpoApiResponse() *UpdateRpoApiResponse

func (*UpdateRpoApiResponse) GetData

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

func (*UpdateRpoApiResponse) SetData

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

Jump to

Keyboard shortcuts

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