Documentation
¶
Overview ¶
Configure Hosts, Clusters and other Infrastructure
Index ¶
- type AhvVmOverrideSpec
- type Category
- type ChangedRegions
- type ChangedRegionsListApiResponse
- type ClusterReference
- type ConsistencyGroup
- type ConsistencyGroupApiResponse
- type ConsistencyGroupListApiResponse
- type ConsistencyGroupMember
- type ConsistencyGroupMemberType
- type ConsistencyGroupMigrateApiResponse
- type ConsistencyGroupMigrationSpec
- type ConsistencyGroupProjection
- type ConsistencyGroupRecoveryPointSpec
- type CreateConsistencyGroupRecoveryPointApiResponse
- type CreateRecoveryPointApiResponse
- type DataProtectionInfo
- type DataProtectionSiteReference
- type DeleteConsistencyGroupApiResponse
- type DeleteRecoveryPointApiResponse
- type DisasterRecoveryLocation
- type Disk
- type DiskRecoveryPoint
- type DiskRecoveryPointApiResponse
- type DiskRecoveryPointListApiResponse
- type EsxiVmOverrideSpec
- type HardwareArchitecture
- type HostReference
- type HostType
- type HypervisorType
- type IpAddress
- type LocationReference
- type OneOfChangedRegionsListApiResponseData
- func (p *OneOfChangedRegionsListApiResponseData) GetValue() interface{}
- func (p *OneOfChangedRegionsListApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfChangedRegionsListApiResponseData) SetValue(v interface{}) error
- func (p *OneOfChangedRegionsListApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfConsistencyGroupApiResponseData
- func (p *OneOfConsistencyGroupApiResponseData) GetValue() interface{}
- func (p *OneOfConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfConsistencyGroupApiResponseData) SetValue(v interface{}) error
- func (p *OneOfConsistencyGroupApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfConsistencyGroupListApiResponseData
- func (p *OneOfConsistencyGroupListApiResponseData) GetValue() interface{}
- func (p *OneOfConsistencyGroupListApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfConsistencyGroupListApiResponseData) SetValue(v interface{}) error
- func (p *OneOfConsistencyGroupListApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfConsistencyGroupMigrateApiResponseData
- func (p *OneOfConsistencyGroupMigrateApiResponseData) GetValue() interface{}
- func (p *OneOfConsistencyGroupMigrateApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfConsistencyGroupMigrateApiResponseData) SetValue(v interface{}) error
- func (p *OneOfConsistencyGroupMigrateApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateConsistencyGroupRecoveryPointApiResponseData
- func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateRecoveryPointApiResponseData
- func (p *OneOfCreateRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfCreateRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteConsistencyGroupApiResponseData
- func (p *OneOfDeleteConsistencyGroupApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteConsistencyGroupApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteConsistencyGroupApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteRecoveryPointApiResponseData
- func (p *OneOfDeleteRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDiskRecoveryPointApiResponseData
- func (p *OneOfDiskRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfDiskRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDiskRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDiskRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDiskRecoveryPointListApiResponseData
- func (p *OneOfDiskRecoveryPointListApiResponseData) GetValue() interface{}
- func (p *OneOfDiskRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDiskRecoveryPointListApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDiskRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfProtectedResourceApiResponseData
- func (p *OneOfProtectedResourceApiResponseData) GetValue() interface{}
- func (p *OneOfProtectedResourceApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfProtectedResourceApiResponseData) SetValue(v interface{}) error
- func (p *OneOfProtectedResourceApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfProtectedResourcePromoteApiResponseData
- func (p *OneOfProtectedResourcePromoteApiResponseData) GetValue() interface{}
- func (p *OneOfProtectedResourcePromoteApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfProtectedResourcePromoteApiResponseData) SetValue(v interface{}) error
- func (p *OneOfProtectedResourcePromoteApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfProtectedResourceRestoreApiResponseData
- func (p *OneOfProtectedResourceRestoreApiResponseData) GetValue() interface{}
- func (p *OneOfProtectedResourceRestoreApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfProtectedResourceRestoreApiResponseData) SetValue(v interface{}) error
- func (p *OneOfProtectedResourceRestoreApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRecoveryPointApiResponseData
- type OneOfRecoveryPointListApiResponseData
- func (p *OneOfRecoveryPointListApiResponseData) GetValue() interface{}
- func (p *OneOfRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRecoveryPointListApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRecoveryPointReplicateApiResponseData
- func (p *OneOfRecoveryPointReplicateApiResponseData) GetValue() interface{}
- func (p *OneOfRecoveryPointReplicateApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRecoveryPointReplicateApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRecoveryPointReplicateApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRecoveryPointRestoreApiResponseData
- func (p *OneOfRecoveryPointRestoreApiResponseData) GetValue() interface{}
- func (p *OneOfRecoveryPointRestoreApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRecoveryPointRestoreApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRecoveryPointRestoreApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfSyncedVolumeGroupByIdApiResponseData
- func (p *OneOfSyncedVolumeGroupByIdApiResponseData) GetValue() interface{}
- func (p *OneOfSyncedVolumeGroupByIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfSyncedVolumeGroupByIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfSyncedVolumeGroupByIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfSynchronousReplicaPromoteApiResponseData
- func (p *OneOfSynchronousReplicaPromoteApiResponseData) GetValue() interface{}
- func (p *OneOfSynchronousReplicaPromoteApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfSynchronousReplicaPromoteApiResponseData) SetValue(v interface{}) error
- func (p *OneOfSynchronousReplicaPromoteApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateRecoveryPointExpirationTimeApiResponseData
- func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfVMRecoveryPointApiResponseData
- type OneOfVMRecoveryPointListApiResponseData
- func (p *OneOfVMRecoveryPointListApiResponseData) GetValue() interface{}
- func (p *OneOfVMRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfVMRecoveryPointListApiResponseData) SetValue(v interface{}) error
- func (p *OneOfVMRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfValidateRestoreVmRecoveryPointApiResponseData
- func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfVmRecoveryPointRestoreApiResponseData
- func (p *OneOfVmRecoveryPointRestoreApiResponseData) GetValue() interface{}
- func (p *OneOfVmRecoveryPointRestoreApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRecoveryPointRestoreApiResponseData) SetValue(v interface{}) error
- func (p *OneOfVmRecoveryPointRestoreApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfVolumeGroupRecoveryPointApiResponseData
- func (p *OneOfVolumeGroupRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfVolumeGroupRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfVolumeGroupRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfVolumeGroupRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfVolumeGroupRecoveryPointListApiResponseData
- func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) GetValue() interface{}
- func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) SetValue(v interface{}) error
- func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfVolumeGroupRecoveryPointRestoreApiResponseData
- func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) GetValue() interface{}
- func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) SetValue(v interface{}) error
- func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfWitnessApiResponseData
- type PowerState
- type ProtectedResource
- type ProtectedResourceApiResponse
- type ProtectedResourceEntityType
- type ProtectedResourcePromoteApiResponse
- type ProtectedResourceReplicationStatus
- type ProtectedResourceRestoreApiResponse
- type ProtectedResourceRestoreSpec
- type RecoveryInfo
- type RecoveryPoint
- type RecoveryPointApiResponse
- type RecoveryPointListApiResponse
- type RecoveryPointReplicateApiResponse
- type RecoveryPointReplicationSpec
- type RecoveryPointRestorationSpec
- type RecoveryPointRestoreApiResponse
- type Regions
- type ReplicationState
- type RestorableTimeRange
- type SetExpirationTimeSpec
- type SiteReference
- type Subnet
- type SyncedVolumeGroupByIdApiResponse
- type SynchronousReplicaPromoteApiResponse
- type UpdateRecoveryPointExpirationTimeApiResponse
- type VMRecoveryPoint
- type VMRecoveryPointApiResponse
- type VMRecoveryPointListApiResponse
- type ValidateRecoveryPointResult
- type ValidateRestoreVmRecoveryPointApiResponse
- type ValidationSeverity
- type Vm
- type VmRecoveryPointRestorationSpec
- type VmRecoveryPointRestoreApiResponse
- type VmRecoveryPointRestoreOverride
- type VmSubRecoveryPoint
- type VmSubRecoveryPointProjection
- type VolumeGroup
- type VolumeGroupOverrideSpec
- type VolumeGroupRecoveryPoint
- type VolumeGroupRecoveryPointApiResponse
- type VolumeGroupRecoveryPointListApiResponse
- type VolumeGroupRecoveryPointRestorationSpec
- type VolumeGroupRecoveryPointRestoreApiResponse
- type VolumeGroupRecoveryPointRestoreOverride
- type VolumeGroupSubRecoveryPoint
- type VolumeGroupSubRecoveryPointProjection
- type VolumeGroupSyncContext
- type VpcReference
- type Witness
- type WitnessApiResponse
- type WitnessAvailabilityStatus
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"`
}
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 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 ¶
type ChangedRegions ¶
type ChangedRegions 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 will not be set when there are no more changed regions to be returned. Note that 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"`
/*
Changed Regions list comprising of offset and regions length pertaining to the Disk Recovery Point.
*/
Regions []Regions `json:"regions,omitempty"`
}
Changed Regions tracking
func NewChangedRegions ¶
func NewChangedRegions() *ChangedRegions
type ChangedRegionsListApiResponse ¶
type ChangedRegionsListApiResponse 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 *OneOfChangedRegionsListApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/disk-recovery-points/{diskRecoveryPointExtId}/changed-regions Get operation
func NewChangedRegionsListApiResponse ¶
func NewChangedRegionsListApiResponse() *ChangedRegionsListApiResponse
func (*ChangedRegionsListApiResponse) GetData ¶
func (p *ChangedRegionsListApiResponse) GetData() interface{}
func (*ChangedRegionsListApiResponse) SetData ¶
func (p *ChangedRegionsListApiResponse) SetData(v interface{}) 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 ConsistencyGroup ¶
type ConsistencyGroup 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"`
Members []ConsistencyGroupMember `json:"members,omitempty"`
/*
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"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 ConsistencyGroupApiResponse ¶
type ConsistencyGroupApiResponse 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 *OneOfConsistencyGroupApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/consistency-groups/{extId} Put operation
func NewConsistencyGroupApiResponse ¶
func NewConsistencyGroupApiResponse() *ConsistencyGroupApiResponse
func (*ConsistencyGroupApiResponse) GetData ¶
func (p *ConsistencyGroupApiResponse) GetData() interface{}
func (*ConsistencyGroupApiResponse) SetData ¶
func (p *ConsistencyGroupApiResponse) SetData(v interface{}) error
type ConsistencyGroupListApiResponse ¶
type ConsistencyGroupListApiResponse 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 *OneOfConsistencyGroupListApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/consistency-groups Get operation
func NewConsistencyGroupListApiResponse ¶
func NewConsistencyGroupListApiResponse() *ConsistencyGroupListApiResponse
func (*ConsistencyGroupListApiResponse) GetData ¶
func (p *ConsistencyGroupListApiResponse) GetData() interface{}
func (*ConsistencyGroupListApiResponse) SetData ¶
func (p *ConsistencyGroupListApiResponse) SetData(v interface{}) 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.
*/
EntityId *string `json:"entityId,omitempty"`
EntityType *ConsistencyGroupMemberType `json:"entityType"`
/*
External identifier of the members (VM or volume group) of the Consistency group object.
*/
ExtId *string `json:"extId,omitempty"`
}
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 (e ConsistencyGroupMemberType) Ref() *ConsistencyGroupMemberType
func (*ConsistencyGroupMemberType) UnmarshalJSON ¶
func (e *ConsistencyGroupMemberType) UnmarshalJSON(b []byte) error
type ConsistencyGroupMigrateApiResponse ¶
type ConsistencyGroupMigrateApiResponse 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 *OneOfConsistencyGroupMigrateApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/consistency-groups/{extId}/$actions/migrate Post operation
func NewConsistencyGroupMigrateApiResponse ¶
func NewConsistencyGroupMigrateApiResponse() *ConsistencyGroupMigrateApiResponse
func (*ConsistencyGroupMigrateApiResponse) GetData ¶
func (p *ConsistencyGroupMigrateApiResponse) GetData() interface{}
func (*ConsistencyGroupMigrateApiResponse) SetData ¶
func (p *ConsistencyGroupMigrateApiResponse) SetData(v interface{}) 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 target Availability Zone where the entities need to be migrated.
*/
TargetAvailabilityZoneId *string `json:"targetAvailabilityZoneId"`
/*
Reference to the cluster in the target Availability Zone where the entities need to be migrated.
*/
TargetClusterId *string `json:"targetClusterId,omitempty"`
}
Specification for the migrate action on the Consistency group.
func NewConsistencyGroupMigrationSpec ¶
func NewConsistencyGroupMigrationSpec() *ConsistencyGroupMigrationSpec
func (*ConsistencyGroupMigrationSpec) MarshalJSON ¶ added in v4.1.1
func (p *ConsistencyGroupMigrationSpec) MarshalJSON() ([]byte, error)
type ConsistencyGroupProjection ¶
type ConsistencyGroupProjection struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
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,omitempty"`
/*
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"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 ConsistencyGroupRecoveryPointSpec ¶
type ConsistencyGroupRecoveryPointSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Name of the Consistency group Recovery point.
*/
Name *string `json:"name"`
RecoveryPointType *import5.RecoveryPointType `json:"recoveryPointType,omitempty"`
}
Specification for Create Consistency group Recovery point
func NewConsistencyGroupRecoveryPointSpec ¶
func NewConsistencyGroupRecoveryPointSpec() *ConsistencyGroupRecoveryPointSpec
func (*ConsistencyGroupRecoveryPointSpec) MarshalJSON ¶
func (p *ConsistencyGroupRecoveryPointSpec) MarshalJSON() ([]byte, error)
type CreateConsistencyGroupRecoveryPointApiResponse ¶
type CreateConsistencyGroupRecoveryPointApiResponse 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 *OneOfCreateConsistencyGroupRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/consistency-groups/{extId}/$actions/create-recovery-point Post operation
func NewCreateConsistencyGroupRecoveryPointApiResponse ¶
func NewCreateConsistencyGroupRecoveryPointApiResponse() *CreateConsistencyGroupRecoveryPointApiResponse
func (*CreateConsistencyGroupRecoveryPointApiResponse) GetData ¶
func (p *CreateConsistencyGroupRecoveryPointApiResponse) GetData() interface{}
func (*CreateConsistencyGroupRecoveryPointApiResponse) SetData ¶
func (p *CreateConsistencyGroupRecoveryPointApiResponse) 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.a4/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 DataProtectionInfo ¶
type DataProtectionInfo 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 cluster, like the time ranges available for recovery on the given cluster.
func NewDataProtectionInfo ¶
func NewDataProtectionInfo() *DataProtectionInfo
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.
*/
PcExtId *string `json:"pcExtId,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.a4/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.a4/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 Disk ¶
type Disk struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Capacity of the virtual disk in bytes.
*/
CapacityBytes *int64 `json:"capacityBytes,omitempty"`
/*
Disk external identifier which is captured as part of this Recovery point.
*/
DiskExtId *string `json:"diskExtId,omitempty"`
}
The configuration of the Disk captured by the Recovery point.
type DiskRecoveryPoint ¶
type DiskRecoveryPoint 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"`
Disk *Disk `json:"disk,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"`
/*
The name of the Recovery point.
*/
Name *string `json:"name,omitempty"`
RecoveryPointType *import5.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import5.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 additional metadata provided by the client at the time of Recovery point creation.
*/
VendorSpecificProperties []import5.VendorSpecificProperty `json:"vendorSpecificProperties,omitempty"`
}
A model that represents the disk Recovery point properties.
func NewDiskRecoveryPoint ¶
func NewDiskRecoveryPoint() *DiskRecoveryPoint
type DiskRecoveryPointApiResponse ¶
type DiskRecoveryPointApiResponse 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 *OneOfDiskRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/disk-recovery-points/{diskRecoveryPointExtId} Get operation
func NewDiskRecoveryPointApiResponse ¶
func NewDiskRecoveryPointApiResponse() *DiskRecoveryPointApiResponse
func (*DiskRecoveryPointApiResponse) GetData ¶
func (p *DiskRecoveryPointApiResponse) GetData() interface{}
func (*DiskRecoveryPointApiResponse) SetData ¶
func (p *DiskRecoveryPointApiResponse) SetData(v interface{}) error
type DiskRecoveryPointListApiResponse ¶
type DiskRecoveryPointListApiResponse 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 *OneOfDiskRecoveryPointListApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/disk-recovery-points Get operation
func NewDiskRecoveryPointListApiResponse ¶
func NewDiskRecoveryPointListApiResponse() *DiskRecoveryPointListApiResponse
func (*DiskRecoveryPointListApiResponse) GetData ¶
func (p *DiskRecoveryPointListApiResponse) GetData() interface{}
func (*DiskRecoveryPointListApiResponse) SetData ¶
func (p *DiskRecoveryPointListApiResponse) SetData(v interface{}) error
type EsxiVmOverrideSpec ¶
type EsxiVmOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The name of the restored VM
*/
Name *string `json:"name,omitempty"`
}
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 HardwareArchitecture ¶
type HardwareArchitecture int
Architecture of the hardware where the Recovery point is generated.
const ( HARDWAREARCHITECTURE_UNKNOWN HardwareArchitecture = 0 HARDWAREARCHITECTURE_REDACTED HardwareArchitecture = 1 HARDWAREARCHITECTURE_X86_64 HardwareArchitecture = 2 HARDWAREARCHITECTURE_PPC HardwareArchitecture = 3 )
func (HardwareArchitecture) GetName ¶
func (e HardwareArchitecture) GetName() string
Returns the name of the enum
func (*HardwareArchitecture) MarshalJSON ¶
func (e *HardwareArchitecture) MarshalJSON() ([]byte, error)
func (HardwareArchitecture) Ref ¶
func (e HardwareArchitecture) Ref() *HardwareArchitecture
func (*HardwareArchitecture) UnmarshalJSON ¶
func (e *HardwareArchitecture) UnmarshalJSON(b []byte) error
type HostReference ¶
type HostReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
HostType *HostType `json:"hostType,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []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. It is automatically assigned by the system 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.
func (*HostType) MarshalJSON ¶
func (*HostType) UnmarshalJSON ¶
type HypervisorType ¶ added in v4.1.1
type HypervisorType int
Hypervisor type where the Recovery point is generated.
const ( HYPERVISORTYPE_UNKNOWN HypervisorType = 0 HYPERVISORTYPE_REDACTED HypervisorType = 1 HYPERVISORTYPE_AHV HypervisorType = 2 HYPERVISORTYPE_HYPERV HypervisorType = 3 HYPERVISORTYPE_VMWARE HypervisorType = 4 )
func (HypervisorType) GetName ¶ added in v4.1.1
func (e HypervisorType) GetName() string
Returns the name of the enum
func (*HypervisorType) MarshalJSON ¶ added in v4.1.1
func (e *HypervisorType) MarshalJSON() ([]byte, error)
func (HypervisorType) Ref ¶ added in v4.1.1
func (e HypervisorType) Ref() *HypervisorType
func (*HypervisorType) UnmarshalJSON ¶ added in v4.1.1
func (e *HypervisorType) UnmarshalJSON(b []byte) error
type 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 ¶
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 OneOfChangedRegionsListApiResponseData ¶
type OneOfChangedRegionsListApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfChangedRegionsListApiResponseData ¶
func NewOneOfChangedRegionsListApiResponseData() *OneOfChangedRegionsListApiResponseData
func (*OneOfChangedRegionsListApiResponseData) GetValue ¶
func (p *OneOfChangedRegionsListApiResponseData) GetValue() interface{}
func (*OneOfChangedRegionsListApiResponseData) MarshalJSON ¶
func (p *OneOfChangedRegionsListApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfChangedRegionsListApiResponseData) SetValue ¶
func (p *OneOfChangedRegionsListApiResponseData) SetValue(v interface{}) error
func (*OneOfChangedRegionsListApiResponseData) UnmarshalJSON ¶
func (p *OneOfChangedRegionsListApiResponseData) UnmarshalJSON(b []byte) error
type OneOfConsistencyGroupApiResponseData ¶
type OneOfConsistencyGroupApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfConsistencyGroupApiResponseData ¶
func NewOneOfConsistencyGroupApiResponseData() *OneOfConsistencyGroupApiResponseData
func (*OneOfConsistencyGroupApiResponseData) GetValue ¶
func (p *OneOfConsistencyGroupApiResponseData) GetValue() interface{}
func (*OneOfConsistencyGroupApiResponseData) MarshalJSON ¶
func (p *OneOfConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfConsistencyGroupApiResponseData) SetValue ¶
func (p *OneOfConsistencyGroupApiResponseData) SetValue(v interface{}) error
func (*OneOfConsistencyGroupApiResponseData) UnmarshalJSON ¶
func (p *OneOfConsistencyGroupApiResponseData) UnmarshalJSON(b []byte) error
type OneOfConsistencyGroupListApiResponseData ¶
type OneOfConsistencyGroupListApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfConsistencyGroupListApiResponseData ¶
func NewOneOfConsistencyGroupListApiResponseData() *OneOfConsistencyGroupListApiResponseData
func (*OneOfConsistencyGroupListApiResponseData) GetValue ¶
func (p *OneOfConsistencyGroupListApiResponseData) GetValue() interface{}
func (*OneOfConsistencyGroupListApiResponseData) MarshalJSON ¶
func (p *OneOfConsistencyGroupListApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfConsistencyGroupListApiResponseData) SetValue ¶
func (p *OneOfConsistencyGroupListApiResponseData) SetValue(v interface{}) error
func (*OneOfConsistencyGroupListApiResponseData) UnmarshalJSON ¶
func (p *OneOfConsistencyGroupListApiResponseData) UnmarshalJSON(b []byte) error
type OneOfConsistencyGroupMigrateApiResponseData ¶
type OneOfConsistencyGroupMigrateApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfConsistencyGroupMigrateApiResponseData ¶
func NewOneOfConsistencyGroupMigrateApiResponseData() *OneOfConsistencyGroupMigrateApiResponseData
func (*OneOfConsistencyGroupMigrateApiResponseData) GetValue ¶
func (p *OneOfConsistencyGroupMigrateApiResponseData) GetValue() interface{}
func (*OneOfConsistencyGroupMigrateApiResponseData) MarshalJSON ¶
func (p *OneOfConsistencyGroupMigrateApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfConsistencyGroupMigrateApiResponseData) SetValue ¶
func (p *OneOfConsistencyGroupMigrateApiResponseData) SetValue(v interface{}) error
func (*OneOfConsistencyGroupMigrateApiResponseData) UnmarshalJSON ¶
func (p *OneOfConsistencyGroupMigrateApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateConsistencyGroupRecoveryPointApiResponseData ¶
type OneOfCreateConsistencyGroupRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfCreateConsistencyGroupRecoveryPointApiResponseData ¶
func NewOneOfCreateConsistencyGroupRecoveryPointApiResponseData() *OneOfCreateConsistencyGroupRecoveryPointApiResponseData
func (*OneOfCreateConsistencyGroupRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfCreateConsistencyGroupRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateConsistencyGroupRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateConsistencyGroupRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateConsistencyGroupRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateRecoveryPointApiResponseData ¶
type OneOfCreateRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfCreateRecoveryPointApiResponseData ¶
func NewOneOfCreateRecoveryPointApiResponseData() *OneOfCreateRecoveryPointApiResponseData
func (*OneOfCreateRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfCreateRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfCreateRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfCreateRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfCreateRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type 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 (p *OneOfDeleteConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteConsistencyGroupApiResponseData) SetValue ¶
func (p *OneOfDeleteConsistencyGroupApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteConsistencyGroupApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteConsistencyGroupApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteRecoveryPointApiResponseData ¶
type OneOfDeleteRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfDeleteRecoveryPointApiResponseData ¶
func NewOneOfDeleteRecoveryPointApiResponseData() *OneOfDeleteRecoveryPointApiResponseData
func (*OneOfDeleteRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfDeleteRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfDeleteRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfDeleteRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDiskRecoveryPointApiResponseData ¶
type OneOfDiskRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfDiskRecoveryPointApiResponseData ¶
func NewOneOfDiskRecoveryPointApiResponseData() *OneOfDiskRecoveryPointApiResponseData
func (*OneOfDiskRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfDiskRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfDiskRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfDiskRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDiskRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfDiskRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfDiskRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfDiskRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDiskRecoveryPointListApiResponseData ¶
type OneOfDiskRecoveryPointListApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfDiskRecoveryPointListApiResponseData ¶
func NewOneOfDiskRecoveryPointListApiResponseData() *OneOfDiskRecoveryPointListApiResponseData
func (*OneOfDiskRecoveryPointListApiResponseData) GetValue ¶
func (p *OneOfDiskRecoveryPointListApiResponseData) GetValue() interface{}
func (*OneOfDiskRecoveryPointListApiResponseData) MarshalJSON ¶
func (p *OneOfDiskRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDiskRecoveryPointListApiResponseData) SetValue ¶
func (p *OneOfDiskRecoveryPointListApiResponseData) SetValue(v interface{}) error
func (*OneOfDiskRecoveryPointListApiResponseData) UnmarshalJSON ¶
func (p *OneOfDiskRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
type OneOfProtectedResourceApiResponseData ¶
type OneOfProtectedResourceApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfProtectedResourceApiResponseData ¶
func NewOneOfProtectedResourceApiResponseData() *OneOfProtectedResourceApiResponseData
func (*OneOfProtectedResourceApiResponseData) GetValue ¶
func (p *OneOfProtectedResourceApiResponseData) GetValue() interface{}
func (*OneOfProtectedResourceApiResponseData) MarshalJSON ¶
func (p *OneOfProtectedResourceApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfProtectedResourceApiResponseData) SetValue ¶
func (p *OneOfProtectedResourceApiResponseData) SetValue(v interface{}) error
func (*OneOfProtectedResourceApiResponseData) UnmarshalJSON ¶
func (p *OneOfProtectedResourceApiResponseData) UnmarshalJSON(b []byte) error
type OneOfProtectedResourcePromoteApiResponseData ¶
type OneOfProtectedResourcePromoteApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfProtectedResourcePromoteApiResponseData ¶
func NewOneOfProtectedResourcePromoteApiResponseData() *OneOfProtectedResourcePromoteApiResponseData
func (*OneOfProtectedResourcePromoteApiResponseData) GetValue ¶
func (p *OneOfProtectedResourcePromoteApiResponseData) GetValue() interface{}
func (*OneOfProtectedResourcePromoteApiResponseData) MarshalJSON ¶
func (p *OneOfProtectedResourcePromoteApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfProtectedResourcePromoteApiResponseData) SetValue ¶
func (p *OneOfProtectedResourcePromoteApiResponseData) SetValue(v interface{}) error
func (*OneOfProtectedResourcePromoteApiResponseData) UnmarshalJSON ¶
func (p *OneOfProtectedResourcePromoteApiResponseData) UnmarshalJSON(b []byte) error
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 (p *OneOfProtectedResourceRestoreApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfProtectedResourceRestoreApiResponseData) SetValue ¶
func (p *OneOfProtectedResourceRestoreApiResponseData) SetValue(v interface{}) error
func (*OneOfProtectedResourceRestoreApiResponseData) UnmarshalJSON ¶
func (p *OneOfProtectedResourceRestoreApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRecoveryPointApiResponseData ¶
type OneOfRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfRecoveryPointApiResponseData ¶
func NewOneOfRecoveryPointApiResponseData() *OneOfRecoveryPointApiResponseData
func (*OneOfRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRecoveryPointListApiResponseData ¶
type OneOfRecoveryPointListApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfRecoveryPointListApiResponseData ¶
func NewOneOfRecoveryPointListApiResponseData() *OneOfRecoveryPointListApiResponseData
func (*OneOfRecoveryPointListApiResponseData) GetValue ¶
func (p *OneOfRecoveryPointListApiResponseData) GetValue() interface{}
func (*OneOfRecoveryPointListApiResponseData) MarshalJSON ¶
func (p *OneOfRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRecoveryPointListApiResponseData) SetValue ¶
func (p *OneOfRecoveryPointListApiResponseData) SetValue(v interface{}) error
func (*OneOfRecoveryPointListApiResponseData) UnmarshalJSON ¶
func (p *OneOfRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
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 (p *OneOfRecoveryPointReplicateApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRecoveryPointReplicateApiResponseData) SetValue ¶
func (p *OneOfRecoveryPointReplicateApiResponseData) SetValue(v interface{}) error
func (*OneOfRecoveryPointReplicateApiResponseData) UnmarshalJSON ¶
func (p *OneOfRecoveryPointReplicateApiResponseData) UnmarshalJSON(b []byte) error
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 OneOfSyncedVolumeGroupByIdApiResponseData ¶
type OneOfSyncedVolumeGroupByIdApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfSyncedVolumeGroupByIdApiResponseData ¶
func NewOneOfSyncedVolumeGroupByIdApiResponseData() *OneOfSyncedVolumeGroupByIdApiResponseData
func (*OneOfSyncedVolumeGroupByIdApiResponseData) GetValue ¶
func (p *OneOfSyncedVolumeGroupByIdApiResponseData) GetValue() interface{}
func (*OneOfSyncedVolumeGroupByIdApiResponseData) MarshalJSON ¶
func (p *OneOfSyncedVolumeGroupByIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfSyncedVolumeGroupByIdApiResponseData) SetValue ¶
func (p *OneOfSyncedVolumeGroupByIdApiResponseData) SetValue(v interface{}) error
func (*OneOfSyncedVolumeGroupByIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfSyncedVolumeGroupByIdApiResponseData) 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 (p *OneOfSynchronousReplicaPromoteApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfSynchronousReplicaPromoteApiResponseData) SetValue ¶
func (p *OneOfSynchronousReplicaPromoteApiResponseData) SetValue(v interface{}) error
func (*OneOfSynchronousReplicaPromoteApiResponseData) UnmarshalJSON ¶
func (p *OneOfSynchronousReplicaPromoteApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateRecoveryPointExpirationTimeApiResponseData ¶
type OneOfUpdateRecoveryPointExpirationTimeApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfUpdateRecoveryPointExpirationTimeApiResponseData ¶
func NewOneOfUpdateRecoveryPointExpirationTimeApiResponseData() *OneOfUpdateRecoveryPointExpirationTimeApiResponseData
func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) GetValue ¶
func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) GetValue() interface{}
func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) SetValue ¶
func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateRecoveryPointExpirationTimeApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateRecoveryPointExpirationTimeApiResponseData) UnmarshalJSON(b []byte) error
type OneOfVMRecoveryPointApiResponseData ¶
type OneOfVMRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVMRecoveryPointApiResponseData ¶
func NewOneOfVMRecoveryPointApiResponseData() *OneOfVMRecoveryPointApiResponseData
func (*OneOfVMRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfVMRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfVMRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfVMRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVMRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfVMRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfVMRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfVMRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfVMRecoveryPointListApiResponseData ¶
type OneOfVMRecoveryPointListApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVMRecoveryPointListApiResponseData ¶
func NewOneOfVMRecoveryPointListApiResponseData() *OneOfVMRecoveryPointListApiResponseData
func (*OneOfVMRecoveryPointListApiResponseData) GetValue ¶
func (p *OneOfVMRecoveryPointListApiResponseData) GetValue() interface{}
func (*OneOfVMRecoveryPointListApiResponseData) MarshalJSON ¶
func (p *OneOfVMRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVMRecoveryPointListApiResponseData) SetValue ¶
func (p *OneOfVMRecoveryPointListApiResponseData) SetValue(v interface{}) error
func (*OneOfVMRecoveryPointListApiResponseData) UnmarshalJSON ¶
func (p *OneOfVMRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
type OneOfValidateRestoreVmRecoveryPointApiResponseData ¶
type OneOfValidateRestoreVmRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfValidateRestoreVmRecoveryPointApiResponseData ¶
func NewOneOfValidateRestoreVmRecoveryPointApiResponseData() *OneOfValidateRestoreVmRecoveryPointApiResponseData
func (*OneOfValidateRestoreVmRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfValidateRestoreVmRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfValidateRestoreVmRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfValidateRestoreVmRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfValidateRestoreVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfVmRecoveryPointRestoreApiResponseData ¶
type OneOfVmRecoveryPointRestoreApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRecoveryPointRestoreApiResponseData ¶
func NewOneOfVmRecoveryPointRestoreApiResponseData() *OneOfVmRecoveryPointRestoreApiResponseData
func (*OneOfVmRecoveryPointRestoreApiResponseData) GetValue ¶
func (p *OneOfVmRecoveryPointRestoreApiResponseData) GetValue() interface{}
func (*OneOfVmRecoveryPointRestoreApiResponseData) MarshalJSON ¶
func (p *OneOfVmRecoveryPointRestoreApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVmRecoveryPointRestoreApiResponseData) SetValue ¶
func (p *OneOfVmRecoveryPointRestoreApiResponseData) SetValue(v interface{}) error
func (*OneOfVmRecoveryPointRestoreApiResponseData) UnmarshalJSON ¶
func (p *OneOfVmRecoveryPointRestoreApiResponseData) UnmarshalJSON(b []byte) error
type OneOfVolumeGroupRecoveryPointApiResponseData ¶
type OneOfVolumeGroupRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVolumeGroupRecoveryPointApiResponseData ¶
func NewOneOfVolumeGroupRecoveryPointApiResponseData() *OneOfVolumeGroupRecoveryPointApiResponseData
func (*OneOfVolumeGroupRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfVolumeGroupRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfVolumeGroupRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfVolumeGroupRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVolumeGroupRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfVolumeGroupRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfVolumeGroupRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfVolumeGroupRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfVolumeGroupRecoveryPointListApiResponseData ¶
type OneOfVolumeGroupRecoveryPointListApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVolumeGroupRecoveryPointListApiResponseData ¶
func NewOneOfVolumeGroupRecoveryPointListApiResponseData() *OneOfVolumeGroupRecoveryPointListApiResponseData
func (*OneOfVolumeGroupRecoveryPointListApiResponseData) GetValue ¶
func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) GetValue() interface{}
func (*OneOfVolumeGroupRecoveryPointListApiResponseData) MarshalJSON ¶
func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVolumeGroupRecoveryPointListApiResponseData) SetValue ¶
func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) SetValue(v interface{}) error
func (*OneOfVolumeGroupRecoveryPointListApiResponseData) UnmarshalJSON ¶
func (p *OneOfVolumeGroupRecoveryPointListApiResponseData) UnmarshalJSON(b []byte) error
type OneOfVolumeGroupRecoveryPointRestoreApiResponseData ¶
type OneOfVolumeGroupRecoveryPointRestoreApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVolumeGroupRecoveryPointRestoreApiResponseData ¶
func NewOneOfVolumeGroupRecoveryPointRestoreApiResponseData() *OneOfVolumeGroupRecoveryPointRestoreApiResponseData
func (*OneOfVolumeGroupRecoveryPointRestoreApiResponseData) GetValue ¶
func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) GetValue() interface{}
func (*OneOfVolumeGroupRecoveryPointRestoreApiResponseData) MarshalJSON ¶
func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVolumeGroupRecoveryPointRestoreApiResponseData) SetValue ¶
func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) SetValue(v interface{}) error
func (*OneOfVolumeGroupRecoveryPointRestoreApiResponseData) UnmarshalJSON ¶
func (p *OneOfVolumeGroupRecoveryPointRestoreApiResponseData) UnmarshalJSON(b []byte) error
type OneOfWitnessApiResponseData ¶
type OneOfWitnessApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfWitnessApiResponseData ¶
func NewOneOfWitnessApiResponseData() *OneOfWitnessApiResponseData
func (*OneOfWitnessApiResponseData) GetValue ¶
func (p *OneOfWitnessApiResponseData) GetValue() interface{}
func (*OneOfWitnessApiResponseData) MarshalJSON ¶
func (p *OneOfWitnessApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfWitnessApiResponseData) SetValue ¶
func (p *OneOfWitnessApiResponseData) SetValue(v interface{}) error
func (*OneOfWitnessApiResponseData) UnmarshalJSON ¶
func (p *OneOfWitnessApiResponseData) UnmarshalJSON(b []byte) error
type PowerState ¶
type PowerState int
Power state of the VM when the Recovery point is generated.
const ( POWERSTATE_UNKNOWN PowerState = 0 POWERSTATE_REDACTED PowerState = 1 POWERSTATE_OFF PowerState = 2 POWERSTATE_ON PowerState = 3 )
func (*PowerState) MarshalJSON ¶
func (e *PowerState) MarshalJSON() ([]byte, error)
func (PowerState) Ref ¶
func (e PowerState) Ref() *PowerState
func (*PowerState) UnmarshalJSON ¶
func (e *PowerState) 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"`
/*
The data protection details for the protected resource that are relevant to any of the clusters in the local Prism Central, like the time ranges available for recovery.
*/
DataProtectionInfo []DataProtectionInfo `json:"dataProtectionInfo,omitempty"`
/*
The external identifier of the VM or the volume group associated with the protected resource.
*/
EntityExtId *string `json:"entityExtId,omitempty"`
EntityType *ProtectedResourceEntityType `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"`
SourceSiteReference *DataProtectionSiteReference `json:"sourceSiteReference,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 ProtectedResourceApiResponse ¶
type ProtectedResourceApiResponse 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 *OneOfProtectedResourceApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/protected-resources/{extId} Get operation
func NewProtectedResourceApiResponse ¶
func NewProtectedResourceApiResponse() *ProtectedResourceApiResponse
func (*ProtectedResourceApiResponse) GetData ¶
func (p *ProtectedResourceApiResponse) GetData() interface{}
func (*ProtectedResourceApiResponse) SetData ¶
func (p *ProtectedResourceApiResponse) SetData(v interface{}) error
type ProtectedResourceEntityType ¶
type ProtectedResourceEntityType int
Protected resource entity type.
const ( PROTECTEDRESOURCEENTITYTYPE_UNKNOWN ProtectedResourceEntityType = 0 PROTECTEDRESOURCEENTITYTYPE_REDACTED ProtectedResourceEntityType = 1 PROTECTEDRESOURCEENTITYTYPE_VM ProtectedResourceEntityType = 2 PROTECTEDRESOURCEENTITYTYPE_VOLUME_GROUP ProtectedResourceEntityType = 3 )
func (ProtectedResourceEntityType) GetName ¶
func (e ProtectedResourceEntityType) GetName() string
Returns the name of the enum
func (*ProtectedResourceEntityType) MarshalJSON ¶
func (e *ProtectedResourceEntityType) MarshalJSON() ([]byte, error)
func (ProtectedResourceEntityType) Ref ¶
func (e ProtectedResourceEntityType) Ref() *ProtectedResourceEntityType
func (*ProtectedResourceEntityType) UnmarshalJSON ¶
func (e *ProtectedResourceEntityType) UnmarshalJSON(b []byte) error
type ProtectedResourcePromoteApiResponse ¶
type ProtectedResourcePromoteApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfProtectedResourcePromoteApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/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:
ACTIVE - Replications are in-progress and the specified recovery point objective is met on the target site. SYNCING - The system is trying to meet the specified recovery point objective for the target site. DEGRADED - The replication schedule has been degraded to a higher recovery point objective. DISABLED - The replication schedule is disabled and there are no ongoing replications. DECOUPLED - The connection between recovery and source site is broken, the protected resource at the recovery site is out of sync and has been promoted to a live entity.
const ( PROTECTEDRESOURCEREPLICATIONSTATUS_UNKNOWN ProtectedResourceReplicationStatus = 0 PROTECTEDRESOURCEREPLICATIONSTATUS_REDACTED ProtectedResourceReplicationStatus = 1 PROTECTEDRESOURCEREPLICATIONSTATUS_ACTIVE ProtectedResourceReplicationStatus = 2 PROTECTEDRESOURCEREPLICATIONSTATUS_SYNCING ProtectedResourceReplicationStatus = 3 PROTECTEDRESOURCEREPLICATIONSTATUS_DEGRADED ProtectedResourceReplicationStatus = 4 PROTECTEDRESOURCEREPLICATIONSTATUS_DISABLED ProtectedResourceReplicationStatus = 5 PROTECTEDRESOURCEREPLICATIONSTATUS_DECOUPLED ProtectedResourceReplicationStatus = 6 )
func (ProtectedResourceReplicationStatus) GetName ¶
func (e ProtectedResourceReplicationStatus) GetName() string
Returns the name of the enum
func (*ProtectedResourceReplicationStatus) MarshalJSON ¶
func (e *ProtectedResourceReplicationStatus) MarshalJSON() ([]byte, error)
func (ProtectedResourceReplicationStatus) Ref ¶
func (e ProtectedResourceReplicationStatus) Ref() *ProtectedResourceReplicationStatus
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.a4/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"`
/*
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) MarshalJSON ¶
func (p *ProtectedResourceRestoreSpec) MarshalJSON() ([]byte, error)
type RecoveryInfo ¶
type RecoveryInfo struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
List of restorable time ranges.
*/
RestorableTimeRanges []RestorableTimeRange `json:"restorableTimeRanges,omitempty"`
}
The restorable time range details 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 points 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 *import5.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import5.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 additional metadata provided by the client at the time of Recovery point creation.
*/
VendorSpecificProperties []import5.VendorSpecificProperty `json:"vendorSpecificProperties,omitempty"`
/*
List of VM Recovery points that are a part of the specified top-level Recovery point.
*/
VmRecoveryPoints []VmSubRecoveryPoint `json:"vmRecoveryPoints,omitempty"`
/*
List of VM external identifiers that are intended to be captured as part of the Recovery point.
*/
VmReferenceList []string `json:"vmReferenceList,omitempty"`
/*
List of volume group Recovery points that are a part of the specified top-level Recovery point.
*/
VolumeGroupRecoveryPoints []VolumeGroupSubRecoveryPoint `json:"volumeGroupRecoveryPoints,omitempty"`
/*
List of volume group external identifiers that are intended to be captured as part of the Recovery point.
*/
VolumeGroupReferenceList []string `json:"volumeGroupReferenceList,omitempty"`
}
Details about the Recovery point along with all the captured VM and volume group Recovery point(s).
func NewRecoveryPoint ¶
func NewRecoveryPoint() *RecoveryPoint
type RecoveryPointApiResponse ¶
type RecoveryPointApiResponse 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 *OneOfRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{extId} Get operation
func NewRecoveryPointApiResponse ¶
func NewRecoveryPointApiResponse() *RecoveryPointApiResponse
func (*RecoveryPointApiResponse) GetData ¶
func (p *RecoveryPointApiResponse) GetData() interface{}
func (*RecoveryPointApiResponse) SetData ¶
func (p *RecoveryPointApiResponse) SetData(v interface{}) error
type RecoveryPointListApiResponse ¶
type RecoveryPointListApiResponse 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 *OneOfRecoveryPointListApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points Get operation
func NewRecoveryPointListApiResponse ¶
func NewRecoveryPointListApiResponse() *RecoveryPointListApiResponse
func (*RecoveryPointListApiResponse) GetData ¶
func (p *RecoveryPointListApiResponse) GetData() interface{}
func (*RecoveryPointListApiResponse) SetData ¶
func (p *RecoveryPointListApiResponse) SetData(v interface{}) error
type RecoveryPointReplicateApiResponse ¶
type RecoveryPointReplicateApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfRecoveryPointReplicateApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/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"`
/*
Target availability zone reference for the entities to be replicated.
*/
TargetAvailabilityZoneId *string `json:"targetAvailabilityZoneId,omitempty"`
/*
Details of the Cluster reference in the target availability zone for the entities to be replicated.
*/
TargetClusterId *string `json:"targetClusterId,omitempty"`
}
External identifier of the cluster and the Prism Central where the Recovery point should be replicated.
func NewRecoveryPointReplicationSpec ¶
func NewRecoveryPointReplicationSpec() *RecoveryPointReplicationSpec
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.a4/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 Regions ¶
type Regions struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The length of the regions in bytes.
*/
Length *int64 `json:"length,omitempty"`
/*
The byte offset indicating the start of the regions.
*/
Offset *int64 `json:"offset,omitempty"`
}
Changed Regions list comprising of offset and regions length pertaining to the Disk Recovery Point.
func NewRegions ¶
func NewRegions() *Regions
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.
*/
ProtectionPolicyReference *string `json:"protectionPolicyReference,omitempty"`
/*
The recovery point objective of the schedule in seconds.
*/
RecoveryPointObjective *int64 `json:"recoveryPointObjective,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 SetExpirationTimeSpec ¶
type SetExpirationTimeSpec 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 and will be garbage collected. 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 NewSetExpirationTimeSpec ¶
func NewSetExpirationTimeSpec() *SetExpirationTimeSpec
func (*SetExpirationTimeSpec) MarshalJSON ¶
func (p *SetExpirationTimeSpec) MarshalJSON() ([]byte, error)
type SiteReference ¶
type SiteReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The UUID corresponding to the Availability Zone where an entity resides or is synced.
*/
AvailabilityZoneReference *string `json:"availabilityZoneReference,omitempty"`
/*
The UUID corresponding to the cluster where an entity resides or is synced.
*/
ClusterReference *string `json:"clusterReference,omitempty"`
}
Specification corresponding to the cluster reference information along with the related AZ information.
func NewSiteReference ¶
func NewSiteReference() *SiteReference
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 *import6.IPv4Address `json:"ipv4,omitempty"`
}
CIDR of the network gateway.
type SyncedVolumeGroupByIdApiResponse ¶
type SyncedVolumeGroupByIdApiResponse 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 *OneOfSyncedVolumeGroupByIdApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/synced-volume-groups/{extId} Get operation
func NewSyncedVolumeGroupByIdApiResponse ¶
func NewSyncedVolumeGroupByIdApiResponse() *SyncedVolumeGroupByIdApiResponse
func (*SyncedVolumeGroupByIdApiResponse) GetData ¶
func (p *SyncedVolumeGroupByIdApiResponse) GetData() interface{}
func (*SyncedVolumeGroupByIdApiResponse) SetData ¶
func (p *SyncedVolumeGroupByIdApiResponse) SetData(v interface{}) error
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.a4/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 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.a4/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"`
/*
External identifier of the Consistency group which the entity was part of at the time of Recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
The UTC date and time in ISO-8601 format when the Recovery point is created.
*/
CreationTime *time.Time `json:"creationTime,omitempty"`
/*
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"`
/*
The name of the Recovery point.
*/
Name *string `json:"name,omitempty"`
RecoveryPointType *import5.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import5.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 additional metadata provided by the client at the time of Recovery point creation.
*/
VendorSpecificProperties []import5.VendorSpecificProperty `json:"vendorSpecificProperties,omitempty"`
Vm *Vm `json:"vm,omitempty"`
}
A model that represents VM Recovery point properties.
func NewVMRecoveryPoint ¶
func NewVMRecoveryPoint() *VMRecoveryPoint
type VMRecoveryPointApiResponse ¶
type VMRecoveryPointApiResponse 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 *OneOfVMRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId} Get operation
func NewVMRecoveryPointApiResponse ¶
func NewVMRecoveryPointApiResponse() *VMRecoveryPointApiResponse
func (*VMRecoveryPointApiResponse) GetData ¶
func (p *VMRecoveryPointApiResponse) GetData() interface{}
func (*VMRecoveryPointApiResponse) SetData ¶
func (p *VMRecoveryPointApiResponse) SetData(v interface{}) error
type VMRecoveryPointListApiResponse ¶
type VMRecoveryPointListApiResponse 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 *OneOfVMRecoveryPointListApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/vm-recovery-points Get operation
func NewVMRecoveryPointListApiResponse ¶
func NewVMRecoveryPointListApiResponse() *VMRecoveryPointListApiResponse
func (*VMRecoveryPointListApiResponse) GetData ¶
func (p *VMRecoveryPointListApiResponse) GetData() interface{}
func (*VMRecoveryPointListApiResponse) SetData ¶
func (p *VMRecoveryPointListApiResponse) SetData(v interface{}) error
type ValidateRecoveryPointResult ¶
type ValidateRecoveryPointResult struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Validation failure or warning details.
*/
Detail *string `json:"detail,omitempty"`
/*
Possible resolution for the validation failure or warning.
*/
Resolution *string `json:"resolution,omitempty"`
Severity *ValidationSeverity `json:"severity"`
}
Recovery point validation failure details, if any.
func NewValidateRecoveryPointResult ¶
func NewValidateRecoveryPointResult() *ValidateRecoveryPointResult
func (*ValidateRecoveryPointResult) MarshalJSON ¶
func (p *ValidateRecoveryPointResult) MarshalJSON() ([]byte, error)
type ValidateRestoreVmRecoveryPointApiResponse ¶
type ValidateRestoreVmRecoveryPointApiResponse 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 *OneOfValidateRestoreVmRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/$actions/validate-restore Post operation
func NewValidateRestoreVmRecoveryPointApiResponse ¶
func NewValidateRestoreVmRecoveryPointApiResponse() *ValidateRestoreVmRecoveryPointApiResponse
func (*ValidateRestoreVmRecoveryPointApiResponse) GetData ¶
func (p *ValidateRestoreVmRecoveryPointApiResponse) GetData() interface{}
func (*ValidateRestoreVmRecoveryPointApiResponse) SetData ¶
func (p *ValidateRestoreVmRecoveryPointApiResponse) SetData(v interface{}) error
type ValidationSeverity ¶
type ValidationSeverity int
Validation failure severity. Applicable values are WARNING or ERROR.
const ( VALIDATIONSEVERITY_UNKNOWN ValidationSeverity = 0 VALIDATIONSEVERITY_REDACTED ValidationSeverity = 1 VALIDATIONSEVERITY_WARNING ValidationSeverity = 2 VALIDATIONSEVERITY_ERROR ValidationSeverity = 3 )
func (ValidationSeverity) GetName ¶
func (e ValidationSeverity) GetName() string
Returns the name of the enum
func (*ValidationSeverity) MarshalJSON ¶
func (e *ValidationSeverity) MarshalJSON() ([]byte, error)
func (ValidationSeverity) Ref ¶
func (e ValidationSeverity) Ref() *ValidationSeverity
func (*ValidationSeverity) UnmarshalJSON ¶
func (e *ValidationSeverity) UnmarshalJSON(b []byte) error
type Vm ¶
type Vm struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Number of cores per vCPU.
*/
CoresPerVcpu *int `json:"coresPerVcpu,omitempty"`
HardwareArchitecture *HardwareArchitecture `json:"hardwareArchitecture,omitempty"`
HypervisorType *HypervisorType `json:"hypervisorType,omitempty"`
/*
Memory size in bytes.
*/
MemorySizeBytes *int64 `json:"memorySizeBytes,omitempty"`
/*
The name of the VM that is captured as part of this Recovery point.
*/
Name *string `json:"name,omitempty"`
/*
Number of vCPUs.
*/
NumVcpus *int `json:"numVcpus,omitempty"`
PowerState *PowerState `json:"powerState,omitempty"`
/*
VM external identifier which is captured as part of this Recovery point.
*/
VmExtId *string `json:"vmExtId,omitempty"`
/*
Docref(vmNumThreadsPerCoreDesc)
*/
VmNumThreadsPerCore *int `json:"vmNumThreadsPerCore,omitempty"`
}
The configuration of the VM captured by the Recovery point.
type VmRecoveryPointRestorationSpec ¶
type VmRecoveryPointRestorationSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
AhvVmOverrideSpec *AhvVmOverrideSpec `json:"ahvVmOverrideSpec,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"`
EsxiVmOverrideSpec *EsxiVmOverrideSpec `json:"esxiVmOverrideSpec,omitempty"`
}
Specification for the restore action on the VM Recovery point.
func NewVmRecoveryPointRestorationSpec ¶
func NewVmRecoveryPointRestorationSpec() *VmRecoveryPointRestorationSpec
type VmRecoveryPointRestoreApiResponse ¶
type VmRecoveryPointRestoreApiResponse 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 *OneOfVmRecoveryPointRestoreApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/$actions/restore Post operation
func NewVmRecoveryPointRestoreApiResponse ¶
func NewVmRecoveryPointRestoreApiResponse() *VmRecoveryPointRestoreApiResponse
func (*VmRecoveryPointRestoreApiResponse) GetData ¶
func (p *VmRecoveryPointRestoreApiResponse) GetData() interface{}
func (*VmRecoveryPointRestoreApiResponse) SetData ¶
func (p *VmRecoveryPointRestoreApiResponse) SetData(v interface{}) error
type VmRecoveryPointRestoreOverride ¶
type VmRecoveryPointRestoreOverride struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
AhvVmOverrideSpec *AhvVmOverrideSpec `json:"ahvVmOverrideSpec,omitempty"`
EsxiVmOverrideSpec *EsxiVmOverrideSpec `json:"esxiVmOverrideSpec,omitempty"`
/*
External identifier of a VM Recovery point, that is a part of the top-level Recovery point.
*/
VmRecoveryPointId *string `json:"vmRecoveryPointId"`
}
func NewVmRecoveryPointRestoreOverride ¶
func NewVmRecoveryPointRestoreOverride() *VmRecoveryPointRestoreOverride
func (*VmRecoveryPointRestoreOverride) MarshalJSON ¶ added in v4.1.1
func (p *VmRecoveryPointRestoreOverride) MarshalJSON() ([]byte, error)
type VmSubRecoveryPoint ¶
type VmSubRecoveryPoint struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the Consistency group which the entity was part of at the time of Recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
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"`
/*
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,omitempty"`
/*
The external identifier that can be used to retrieve the VM Recovery point using its URL.
*/
VmRecoveryPointId *string `json:"vmRecoveryPointId,omitempty"`
}
A model that represents VM Recovery point properties.
func NewVmSubRecoveryPoint ¶
func NewVmSubRecoveryPoint() *VmSubRecoveryPoint
type VmSubRecoveryPointProjection ¶
type VmSubRecoveryPointProjection struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the Consistency group which the entity was part of at the time of Recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
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"`
/*
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,omitempty"`
/*
The external identifier that can be used to retrieve the VM Recovery point using its URL.
*/
VmRecoveryPointId *string `json:"vmRecoveryPointId,omitempty"`
}
func NewVmSubRecoveryPointProjection ¶
func NewVmSubRecoveryPointProjection() *VmSubRecoveryPointProjection
type VolumeGroup ¶
type VolumeGroup struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The name of the volume group that is captured as part of this Recovery point.
*/
Name *string `json:"name,omitempty"`
/*
Volume group external identifier which is captured as part of this Recovery point.
*/
VolumeGroupExtId *string `json:"volumeGroupExtId,omitempty"`
}
The configuration of the volume group captured by the Recovery point.
func NewVolumeGroup ¶
func NewVolumeGroup() *VolumeGroup
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"`
}
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"`
/*
External identifier of the Consistency group which the entity was part of at the time of Recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
The UTC date and time in ISO-8601 format when the Recovery point is created.
*/
CreationTime *time.Time `json:"creationTime,omitempty"`
/*
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"`
/*
The name of the Recovery point.
*/
Name *string `json:"name,omitempty"`
RecoveryPointType *import5.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import5.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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 additional metadata provided by the client at the time of Recovery point creation.
*/
VendorSpecificProperties []import5.VendorSpecificProperty `json:"vendorSpecificProperties,omitempty"`
VolumeGroup *VolumeGroup `json:"volumeGroup,omitempty"`
}
A model that represents volume group Recovery point properties.
func NewVolumeGroupRecoveryPoint ¶
func NewVolumeGroupRecoveryPoint() *VolumeGroupRecoveryPoint
type VolumeGroupRecoveryPointApiResponse ¶
type VolumeGroupRecoveryPointApiResponse 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 *OneOfVolumeGroupRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId} Get operation
func NewVolumeGroupRecoveryPointApiResponse ¶
func NewVolumeGroupRecoveryPointApiResponse() *VolumeGroupRecoveryPointApiResponse
func (*VolumeGroupRecoveryPointApiResponse) GetData ¶
func (p *VolumeGroupRecoveryPointApiResponse) GetData() interface{}
func (*VolumeGroupRecoveryPointApiResponse) SetData ¶
func (p *VolumeGroupRecoveryPointApiResponse) SetData(v interface{}) error
type VolumeGroupRecoveryPointListApiResponse ¶
type VolumeGroupRecoveryPointListApiResponse 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 *OneOfVolumeGroupRecoveryPointListApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/volume-group-recovery-points Get operation
func NewVolumeGroupRecoveryPointListApiResponse ¶
func NewVolumeGroupRecoveryPointListApiResponse() *VolumeGroupRecoveryPointListApiResponse
func (*VolumeGroupRecoveryPointListApiResponse) GetData ¶
func (p *VolumeGroupRecoveryPointListApiResponse) GetData() interface{}
func (*VolumeGroupRecoveryPointListApiResponse) SetData ¶
func (p *VolumeGroupRecoveryPointListApiResponse) SetData(v interface{}) error
type VolumeGroupRecoveryPointRestorationSpec ¶
type VolumeGroupRecoveryPointRestorationSpec 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"`
/*
The name of the restored volume group.
*/
Name *string `json:"name,omitempty"`
}
Specification for the restore action on the volume group Recovery point.
func NewVolumeGroupRecoveryPointRestorationSpec ¶
func NewVolumeGroupRecoveryPointRestorationSpec() *VolumeGroupRecoveryPointRestorationSpec
type VolumeGroupRecoveryPointRestoreApiResponse ¶
type VolumeGroupRecoveryPointRestoreApiResponse 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 *OneOfVolumeGroupRecoveryPointRestoreApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/$actions/restore Post operation
func NewVolumeGroupRecoveryPointRestoreApiResponse ¶
func NewVolumeGroupRecoveryPointRestoreApiResponse() *VolumeGroupRecoveryPointRestoreApiResponse
func (*VolumeGroupRecoveryPointRestoreApiResponse) GetData ¶
func (p *VolumeGroupRecoveryPointRestoreApiResponse) GetData() interface{}
func (*VolumeGroupRecoveryPointRestoreApiResponse) SetData ¶
func (p *VolumeGroupRecoveryPointRestoreApiResponse) SetData(v interface{}) error
type VolumeGroupRecoveryPointRestoreOverride ¶
type VolumeGroupRecoveryPointRestoreOverride struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
VolumeGroupOverrideSpec *VolumeGroupOverrideSpec `json:"volumeGroupOverrideSpec,omitempty"`
/*
External identifier of a volume group Recovery point, that is a part of the top-level Recovery point.
*/
VolumeGroupRecoveryPointId *string `json:"volumeGroupRecoveryPointId"`
}
func NewVolumeGroupRecoveryPointRestoreOverride ¶
func NewVolumeGroupRecoveryPointRestoreOverride() *VolumeGroupRecoveryPointRestoreOverride
func (*VolumeGroupRecoveryPointRestoreOverride) MarshalJSON ¶ added in v4.1.1
func (p *VolumeGroupRecoveryPointRestoreOverride) MarshalJSON() ([]byte, error)
type VolumeGroupSubRecoveryPoint ¶
type VolumeGroupSubRecoveryPoint struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the Consistency group which the entity was part of at the time of Recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
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"`
/*
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,omitempty"`
/*
The external identifier that can be used to retrieve the volume group Recovery point using its URL.
*/
VolumeGroupRecoveryPointId *string `json:"volumeGroupRecoveryPointId,omitempty"`
}
A model that represents volume group Recovery point properties.
func NewVolumeGroupSubRecoveryPoint ¶
func NewVolumeGroupSubRecoveryPoint() *VolumeGroupSubRecoveryPoint
type VolumeGroupSubRecoveryPointProjection ¶
type VolumeGroupSubRecoveryPointProjection struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the Consistency group which the entity was part of at the time of Recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
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"`
/*
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,omitempty"`
/*
The external identifier that can be used to retrieve the volume group Recovery point using its URL.
*/
VolumeGroupRecoveryPointId *string `json:"volumeGroupRecoveryPointId,omitempty"`
}
func NewVolumeGroupSubRecoveryPointProjection ¶
func NewVolumeGroupSubRecoveryPointProjection() *VolumeGroupSubRecoveryPointProjection
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 to which the network belongs.
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 to be assigned to the Virtual Machine.
*/
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. It is automatically assigned by the system 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 WitnessApiResponse ¶
type WitnessApiResponse 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 *OneOfWitnessApiResponseData `json:"data,omitempty"`
Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0.a4/config/witness/{extId} Get operation
func NewWitnessApiResponse ¶
func NewWitnessApiResponse() *WitnessApiResponse
func (*WitnessApiResponse) GetData ¶
func (p *WitnessApiResponse) GetData() interface{}
func (*WitnessApiResponse) SetData ¶
func (p *WitnessApiResponse) SetData(v interface{}) error
type WitnessAvailabilityStatus ¶
type WitnessAvailabilityStatus int
Availability status of the Witness.
const ( WITNESSAVAILABILITYSTATUS_UNKNOWN WitnessAvailabilityStatus = 0 WITNESSAVAILABILITYSTATUS_REDACTED WitnessAvailabilityStatus = 1 WITNESSAVAILABILITYSTATUS_AVAILABLE WitnessAvailabilityStatus = 2 WITNESSAVAILABILITYSTATUS_UNAVAILABLE WitnessAvailabilityStatus = 3 )
func (WitnessAvailabilityStatus) GetName ¶
func (e WitnessAvailabilityStatus) GetName() string
Returns the name of the enum
func (*WitnessAvailabilityStatus) MarshalJSON ¶
func (e *WitnessAvailabilityStatus) MarshalJSON() ([]byte, error)
func (WitnessAvailabilityStatus) Ref ¶
func (e WitnessAvailabilityStatus) Ref() *WitnessAvailabilityStatus
func (*WitnessAvailabilityStatus) UnmarshalJSON ¶
func (e *WitnessAvailabilityStatus) UnmarshalJSON(b []byte) error