Documentation
¶
Overview ¶
Configure Hosts, Clusters and other Infrastructure
Index ¶
- type AhvVmOverrideSpec
- type AmazonS3Bucket
- type AzureBlobStorageContainer
- type ClusterInfoApiResponse
- type ConsistencyGroup
- type ConsistencyGroupMember
- type ConsistencyGroupMemberType
- type ConsistencyGroupMigrationSpec
- type ConsistencyGroupProjection
- type CreateConsistencyGroupApiResponse
- type CreateRecoveryPointApiResponse
- type DataProtectionSiteReference
- type DeleteConsistencyGroupApiResponse
- type DeleteRecoveryPointApiResponse
- type EsxiVmOverrideSpec
- type ExpirationTimeSpec
- type FileDetail
- type GetProtectedResourceApiResponse
- type GetRecoveryPointApiResponse
- type GetVmRecoveryPointApiResponse
- type HostReference
- type HostType
- type IpAddress
- type ListRecoveryPointsApiResponse
- type LocationReference
- type MigrateConsistencyGroupApiResponse
- type NutanixObjectsBucket
- type ObjectStorageType
- type OneOfClusterInfoApiResponseData
- type OneOfCreateConsistencyGroupApiResponseData
- func (p *OneOfCreateConsistencyGroupApiResponseData) GetValue() interface{}
- func (p *OneOfCreateConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateConsistencyGroupApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateConsistencyGroupApiResponseData) 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 OneOfGetProtectedResourceApiResponseData
- func (p *OneOfGetProtectedResourceApiResponseData) GetValue() interface{}
- func (p *OneOfGetProtectedResourceApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetProtectedResourceApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetProtectedResourceApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetRecoveryPointApiResponseData
- func (p *OneOfGetRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfGetRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetVmRecoveryPointApiResponseData
- func (p *OneOfGetVmRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfGetVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetVmRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListRecoveryPointsApiResponseData
- func (p *OneOfListRecoveryPointsApiResponseData) GetValue() interface{}
- func (p *OneOfListRecoveryPointsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListRecoveryPointsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListRecoveryPointsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfMigrateConsistencyGroupApiResponseData
- func (p *OneOfMigrateConsistencyGroupApiResponseData) GetValue() interface{}
- func (p *OneOfMigrateConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfMigrateConsistencyGroupApiResponseData) SetValue(v interface{}) error
- func (p *OneOfMigrateConsistencyGroupApiResponseData) 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 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 OneOfRecoveryPointRepositoryObjectStorageReference
- func (p *OneOfRecoveryPointRepositoryObjectStorageReference) GetValue() interface{}
- func (p *OneOfRecoveryPointRepositoryObjectStorageReference) MarshalJSON() ([]byte, error)
- func (p *OneOfRecoveryPointRepositoryObjectStorageReference) SetValue(v interface{}) error
- func (p *OneOfRecoveryPointRepositoryObjectStorageReference) UnmarshalJSON(b []byte) error
- type OneOfRecoveryPointRepositoryProjectionObjectStorageReference
- func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) GetValue() interface{}
- func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) MarshalJSON() ([]byte, error)
- func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) SetValue(v interface{}) error
- func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) 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 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 OneOfUpdateConsistencyGroupApiResponseData
- func (p *OneOfUpdateConsistencyGroupApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateConsistencyGroupApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateConsistencyGroupApiResponseData) 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 OneOfVmRecoveryPointApplicationConsistentProperties
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) GetValue() interface{}
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) SetValue(v interface{}) error
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON(b []byte) error
- type ProtectedEntityType
- type ProtectedResource
- type ProtectedResourcePromoteApiResponse
- type ProtectedResourceReplicationStatus
- type ProtectedResourceRestoreApiResponse
- type ProtectedResourceRestoreSpec
- type RecoveryInfo
- type RecoveryPoint
- type RecoveryPointProjection
- type RecoveryPointReplicateApiResponse
- type RecoveryPointReplicationSpec
- type RecoveryPointRepository
- type RecoveryPointRepositoryProjection
- type RecoveryPointRestorationSpec
- type RecoveryPointRestoreApiResponse
- type ReplicationState
- type RestorableTimeRange
- type SiteProtectionInfo
- type SiteReference
- type SynchronousReplicaPromoteApiResponse
- type SynchronousReplicationRole
- type UpdateConsistencyGroupApiResponse
- type UpdateRecoveryPointExpirationTimeApiResponse
- type VmRecoveryPoint
- type VmRecoveryPointRestoreOverride
- type VolumeGroupOverrideSpec
- type VolumeGroupRecoveryPoint
- type VolumeGroupRecoveryPointRestoreOverride
- type VolumeGroupSyncContext
- type Witness
- 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"`
}
Protected resource/recovery point restore that overrides the AHV VM configuration. The specified properties will be overridden for the restored VM.
func NewAhvVmOverrideSpec ¶
func NewAhvVmOverrideSpec() *AhvVmOverrideSpec
type AmazonS3Bucket ¶
type AmazonS3Bucket struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Name of the Amazon S3 bucket.
*/
BucketName *string `json:"bucketName,omitempty"`
/*
Name of the AWS region.
*/
RegionName *string `json:"regionName,omitempty"`
}
Reference to the Amazon S3 bucket.
func NewAmazonS3Bucket ¶
func NewAmazonS3Bucket() *AmazonS3Bucket
type AzureBlobStorageContainer ¶
type AzureBlobStorageContainer struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Name of the Microsoft Azure Blob Storage container.
*/
ContainerName *string `json:"containerName,omitempty"`
/*
Name of the Microsoft Azure Blob Storage account.
*/
StorageAccountName *string `json:"storageAccountName,omitempty"`
}
Reference to the Microsoft Azure Blob Storage container.
func NewAzureBlobStorageContainer ¶
func NewAzureBlobStorageContainer() *AzureBlobStorageContainer
type ClusterInfoApiResponse ¶
type ClusterInfoApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfClusterInfoApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/recovery-points/{extId}/$actions/discover-cluster Post operation
func NewClusterInfoApiResponse ¶
func NewClusterInfoApiResponse() *ClusterInfoApiResponse
func (*ClusterInfoApiResponse) GetData ¶
func (p *ClusterInfoApiResponse) GetData() interface{}
func (*ClusterInfoApiResponse) SetData ¶
func (p *ClusterInfoApiResponse) SetData(v interface{}) error
type ConsistencyGroup ¶
type ConsistencyGroup struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The external identifier of the cluster to which the entities in the consistency group are associated.
*/
ClusterExtId *string `json:"clusterExtId,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
Members []ConsistencyGroupMember `json:"members"`
/*
Name of the consistency group.
*/
Name *string `json:"name"`
/*
The external identifier of the user who created this consistency group. This is a read-only field that is inserted into the consistency group entity at the time of the consistency group creation.
*/
OwnerExtId *string `json:"ownerExtId,omitempty"`
/*
The external identifier of the protection policy that protects the consistency group.
*/
ProtectionPolicyExtId *string `json:"protectionPolicyExtId,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
In many scenarios, it is necessary to capture the state of an application as a combined snapshot of the internal states of a related set of entities at a specific point in time. A consistency group is a collection of these entities, where their combined snapshot reflects the state of an application at that particular point in time.
func NewConsistencyGroup ¶
func NewConsistencyGroup() *ConsistencyGroup
func (*ConsistencyGroup) MarshalJSON ¶
func (p *ConsistencyGroup) MarshalJSON() ([]byte, error)
type ConsistencyGroupMember ¶
type ConsistencyGroupMember struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the members (VM or volume group) of the consistency group object.
*/
EntityExtId *string `json:"entityExtId"`
EntityType *ConsistencyGroupMemberType `json:"entityType"`
}
External identifier of the members (VM or volume group) of the consistency group object.
func NewConsistencyGroupMember ¶
func NewConsistencyGroupMember() *ConsistencyGroupMember
func (*ConsistencyGroupMember) MarshalJSON ¶
func (p *ConsistencyGroupMember) MarshalJSON() ([]byte, error)
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 ConsistencyGroupMigrationSpec ¶
type ConsistencyGroupMigrationSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Reference to the cluster in the target availability zone where the entities need to be migrated.
*/
TargetClusterExtId *string `json:"targetClusterExtId,omitempty"`
/*
Reference to the target availability zone where the entities need to be migrated.
*/
TargetPcExtId *string `json:"targetPcExtId,omitempty"`
}
Specification for the migration action on the consistency group.
func NewConsistencyGroupMigrationSpec ¶
func NewConsistencyGroupMigrationSpec() *ConsistencyGroupMigrationSpec
type ConsistencyGroupProjection ¶
type ConsistencyGroupProjection struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The external identifier of the cluster to which the entities in the consistency group are associated.
*/
ClusterExtId *string `json:"clusterExtId,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
Members []ConsistencyGroupMember `json:"members"`
/*
Name of the consistency group.
*/
Name *string `json:"name"`
/*
The external identifier of the user who created this consistency group. This is a read-only field that is inserted into the consistency group entity at the time of the consistency group creation.
*/
OwnerExtId *string `json:"ownerExtId,omitempty"`
/*
The external identifier of the protection policy that protects the consistency group.
*/
ProtectionPolicyExtId *string `json:"protectionPolicyExtId,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
func NewConsistencyGroupProjection ¶
func NewConsistencyGroupProjection() *ConsistencyGroupProjection
func (*ConsistencyGroupProjection) MarshalJSON ¶
func (p *ConsistencyGroupProjection) MarshalJSON() ([]byte, error)
type CreateConsistencyGroupApiResponse ¶
type CreateConsistencyGroupApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfCreateConsistencyGroupApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/consistency-groups Post operation
func NewCreateConsistencyGroupApiResponse ¶
func NewCreateConsistencyGroupApiResponse() *CreateConsistencyGroupApiResponse
func (*CreateConsistencyGroupApiResponse) GetData ¶
func (p *CreateConsistencyGroupApiResponse) GetData() interface{}
func (*CreateConsistencyGroupApiResponse) SetData ¶
func (p *CreateConsistencyGroupApiResponse) SetData(v interface{}) error
type CreateRecoveryPointApiResponse ¶
type CreateRecoveryPointApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfCreateRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/recovery-points Post operation
func NewCreateRecoveryPointApiResponse ¶
func NewCreateRecoveryPointApiResponse() *CreateRecoveryPointApiResponse
func (*CreateRecoveryPointApiResponse) GetData ¶
func (p *CreateRecoveryPointApiResponse) GetData() interface{}
func (*CreateRecoveryPointApiResponse) SetData ¶
func (p *CreateRecoveryPointApiResponse) SetData(v interface{}) error
type DataProtectionSiteReference ¶
type DataProtectionSiteReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the cluster.
*/
ClusterExtId *string `json:"clusterExtId,omitempty"`
/*
External identifier of the Prism Central.
*/
MgmtClusterExtId *string `json:"mgmtClusterExtId"`
}
Details about the data protection site in the Prism Central.
func NewDataProtectionSiteReference ¶
func NewDataProtectionSiteReference() *DataProtectionSiteReference
func (*DataProtectionSiteReference) MarshalJSON ¶
func (p *DataProtectionSiteReference) MarshalJSON() ([]byte, error)
type DeleteConsistencyGroupApiResponse ¶
type DeleteConsistencyGroupApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfDeleteConsistencyGroupApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/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 *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/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 EsxiVmOverrideSpec ¶
type EsxiVmOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The name of the restored VM
*/
Name *string `json:"name,omitempty"`
}
Protected resource/recovery point restore that overrides the ESXi VM configuration. The specified properties will be overridden for the restored VM.
func NewEsxiVmOverrideSpec ¶
func NewEsxiVmOverrideSpec() *EsxiVmOverrideSpec
type ExpirationTimeSpec ¶
type ExpirationTimeSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The UTC date and time in ISO-8601 format when the current recovery point expires . If not specified, the recovery point will never expire.
*/
ExpirationTime *time.Time `json:"expirationTime"`
}
Specification to set the expiration time of the recovery point.
func NewExpirationTimeSpec ¶
func NewExpirationTimeSpec() *ExpirationTimeSpec
func (*ExpirationTimeSpec) MarshalJSON ¶
func (p *ExpirationTimeSpec) MarshalJSON() ([]byte, error)
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type GetProtectedResourceApiResponse ¶
type GetProtectedResourceApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfGetProtectedResourceApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/protected-resources/{extId} Get operation
func NewGetProtectedResourceApiResponse ¶
func NewGetProtectedResourceApiResponse() *GetProtectedResourceApiResponse
func (*GetProtectedResourceApiResponse) GetData ¶
func (p *GetProtectedResourceApiResponse) GetData() interface{}
func (*GetProtectedResourceApiResponse) SetData ¶
func (p *GetProtectedResourceApiResponse) SetData(v interface{}) error
type GetRecoveryPointApiResponse ¶
type GetRecoveryPointApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfGetRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/recovery-points/{extId} Get operation
func NewGetRecoveryPointApiResponse ¶
func NewGetRecoveryPointApiResponse() *GetRecoveryPointApiResponse
func (*GetRecoveryPointApiResponse) GetData ¶
func (p *GetRecoveryPointApiResponse) GetData() interface{}
func (*GetRecoveryPointApiResponse) SetData ¶
func (p *GetRecoveryPointApiResponse) SetData(v interface{}) error
type GetVmRecoveryPointApiResponse ¶
type GetVmRecoveryPointApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfGetVmRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId} Get operation
func NewGetVmRecoveryPointApiResponse ¶
func NewGetVmRecoveryPointApiResponse() *GetVmRecoveryPointApiResponse
func (*GetVmRecoveryPointApiResponse) GetData ¶
func (p *GetVmRecoveryPointApiResponse) GetData() interface{}
func (*GetVmRecoveryPointApiResponse) SetData ¶
func (p *GetVmRecoveryPointApiResponse) SetData(v interface{}) error
type HostReference ¶
type HostReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
HostType *HostType `json:"hostType,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Name of the Witness host site.
*/
Name *string `json:"name,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
Information about the Witness host site.
func NewHostReference ¶
func NewHostReference() *HostReference
type HostType ¶
type HostType int
Type of the Witness host site.
func (*HostType) MarshalJSON ¶
func (*HostType) UnmarshalJSON ¶
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 ListRecoveryPointsApiResponse ¶
type ListRecoveryPointsApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfListRecoveryPointsApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/recovery-points Get operation
func NewListRecoveryPointsApiResponse ¶
func NewListRecoveryPointsApiResponse() *ListRecoveryPointsApiResponse
func (*ListRecoveryPointsApiResponse) GetData ¶
func (p *ListRecoveryPointsApiResponse) GetData() interface{}
func (*ListRecoveryPointsApiResponse) SetData ¶
func (p *ListRecoveryPointsApiResponse) SetData(v interface{}) error
type LocationReference ¶
type LocationReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the cluster where the recovery point is present.
*/
LocationExtId *string `json:"locationExtId,omitempty"`
}
Location reference where the specified recovery point is present.
func NewLocationReference ¶
func NewLocationReference() *LocationReference
type MigrateConsistencyGroupApiResponse ¶
type MigrateConsistencyGroupApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfMigrateConsistencyGroupApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/consistency-groups/{extId}/$actions/migrate Post operation
func NewMigrateConsistencyGroupApiResponse ¶
func NewMigrateConsistencyGroupApiResponse() *MigrateConsistencyGroupApiResponse
func (*MigrateConsistencyGroupApiResponse) GetData ¶
func (p *MigrateConsistencyGroupApiResponse) GetData() interface{}
func (*MigrateConsistencyGroupApiResponse) SetData ¶
func (p *MigrateConsistencyGroupApiResponse) SetData(v interface{}) error
type NutanixObjectsBucket ¶
type NutanixObjectsBucket struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
URI of the Nutanix Objects bucket.
*/
EndPoint *string `json:"endPoint,omitempty"`
}
Reference to the Nutanix Objects bucket.
func NewNutanixObjectsBucket ¶
func NewNutanixObjectsBucket() *NutanixObjectsBucket
type ObjectStorageType ¶
type ObjectStorageType int
Type of the S3-compatible object storage.
const ( OBJECTSTORAGETYPE_UNKNOWN ObjectStorageType = 0 OBJECTSTORAGETYPE_REDACTED ObjectStorageType = 1 OBJECTSTORAGETYPE_AZURE_BLOB_STORAGE ObjectStorageType = 2 OBJECTSTORAGETYPE_AMAZON_S3 ObjectStorageType = 3 OBJECTSTORAGETYPE_NUTANIX_OBJECTS ObjectStorageType = 4 )
func (ObjectStorageType) GetName ¶
func (e ObjectStorageType) GetName() string
Returns the name of the enum
func (*ObjectStorageType) MarshalJSON ¶
func (e *ObjectStorageType) MarshalJSON() ([]byte, error)
func (ObjectStorageType) Ref ¶
func (e ObjectStorageType) Ref() *ObjectStorageType
func (*ObjectStorageType) UnmarshalJSON ¶
func (e *ObjectStorageType) UnmarshalJSON(b []byte) error
type OneOfClusterInfoApiResponseData ¶
type OneOfClusterInfoApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfClusterInfoApiResponseData ¶
func NewOneOfClusterInfoApiResponseData() *OneOfClusterInfoApiResponseData
func (*OneOfClusterInfoApiResponseData) GetValue ¶
func (p *OneOfClusterInfoApiResponseData) GetValue() interface{}
func (*OneOfClusterInfoApiResponseData) MarshalJSON ¶
func (p *OneOfClusterInfoApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfClusterInfoApiResponseData) SetValue ¶
func (p *OneOfClusterInfoApiResponseData) SetValue(v interface{}) error
func (*OneOfClusterInfoApiResponseData) UnmarshalJSON ¶
func (p *OneOfClusterInfoApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateConsistencyGroupApiResponseData ¶
type OneOfCreateConsistencyGroupApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfCreateConsistencyGroupApiResponseData ¶
func NewOneOfCreateConsistencyGroupApiResponseData() *OneOfCreateConsistencyGroupApiResponseData
func (*OneOfCreateConsistencyGroupApiResponseData) GetValue ¶
func (p *OneOfCreateConsistencyGroupApiResponseData) GetValue() interface{}
func (*OneOfCreateConsistencyGroupApiResponseData) MarshalJSON ¶
func (p *OneOfCreateConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateConsistencyGroupApiResponseData) SetValue ¶
func (p *OneOfCreateConsistencyGroupApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateConsistencyGroupApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateConsistencyGroupApiResponseData) 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 OneOfGetProtectedResourceApiResponseData ¶
type OneOfGetProtectedResourceApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfGetProtectedResourceApiResponseData ¶
func NewOneOfGetProtectedResourceApiResponseData() *OneOfGetProtectedResourceApiResponseData
func (*OneOfGetProtectedResourceApiResponseData) GetValue ¶
func (p *OneOfGetProtectedResourceApiResponseData) GetValue() interface{}
func (*OneOfGetProtectedResourceApiResponseData) MarshalJSON ¶
func (p *OneOfGetProtectedResourceApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetProtectedResourceApiResponseData) SetValue ¶
func (p *OneOfGetProtectedResourceApiResponseData) SetValue(v interface{}) error
func (*OneOfGetProtectedResourceApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetProtectedResourceApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetRecoveryPointApiResponseData ¶
type OneOfGetRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfGetRecoveryPointApiResponseData ¶
func NewOneOfGetRecoveryPointApiResponseData() *OneOfGetRecoveryPointApiResponseData
func (*OneOfGetRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfGetRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfGetRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfGetRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfGetRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfGetRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVmRecoveryPointApiResponseData ¶
type OneOfGetVmRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfGetVmRecoveryPointApiResponseData ¶
func NewOneOfGetVmRecoveryPointApiResponseData() *OneOfGetVmRecoveryPointApiResponseData
func (*OneOfGetVmRecoveryPointApiResponseData) GetValue ¶
func (p *OneOfGetVmRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfGetVmRecoveryPointApiResponseData) MarshalJSON ¶
func (p *OneOfGetVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmRecoveryPointApiResponseData) SetValue ¶
func (p *OneOfGetVmRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListRecoveryPointsApiResponseData ¶
type OneOfListRecoveryPointsApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfListRecoveryPointsApiResponseData ¶
func NewOneOfListRecoveryPointsApiResponseData() *OneOfListRecoveryPointsApiResponseData
func (*OneOfListRecoveryPointsApiResponseData) GetValue ¶
func (p *OneOfListRecoveryPointsApiResponseData) GetValue() interface{}
func (*OneOfListRecoveryPointsApiResponseData) MarshalJSON ¶
func (p *OneOfListRecoveryPointsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListRecoveryPointsApiResponseData) SetValue ¶
func (p *OneOfListRecoveryPointsApiResponseData) SetValue(v interface{}) error
func (*OneOfListRecoveryPointsApiResponseData) UnmarshalJSON ¶
func (p *OneOfListRecoveryPointsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfMigrateConsistencyGroupApiResponseData ¶
type OneOfMigrateConsistencyGroupApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfMigrateConsistencyGroupApiResponseData ¶
func NewOneOfMigrateConsistencyGroupApiResponseData() *OneOfMigrateConsistencyGroupApiResponseData
func (*OneOfMigrateConsistencyGroupApiResponseData) GetValue ¶
func (p *OneOfMigrateConsistencyGroupApiResponseData) GetValue() interface{}
func (*OneOfMigrateConsistencyGroupApiResponseData) MarshalJSON ¶
func (p *OneOfMigrateConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfMigrateConsistencyGroupApiResponseData) SetValue ¶
func (p *OneOfMigrateConsistencyGroupApiResponseData) SetValue(v interface{}) error
func (*OneOfMigrateConsistencyGroupApiResponseData) UnmarshalJSON ¶
func (p *OneOfMigrateConsistencyGroupApiResponseData) 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 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 OneOfRecoveryPointRepositoryObjectStorageReference ¶
type OneOfRecoveryPointRepositoryObjectStorageReference struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfRecoveryPointRepositoryObjectStorageReference ¶
func NewOneOfRecoveryPointRepositoryObjectStorageReference() *OneOfRecoveryPointRepositoryObjectStorageReference
func (*OneOfRecoveryPointRepositoryObjectStorageReference) GetValue ¶
func (p *OneOfRecoveryPointRepositoryObjectStorageReference) GetValue() interface{}
func (*OneOfRecoveryPointRepositoryObjectStorageReference) MarshalJSON ¶
func (p *OneOfRecoveryPointRepositoryObjectStorageReference) MarshalJSON() ([]byte, error)
func (*OneOfRecoveryPointRepositoryObjectStorageReference) SetValue ¶
func (p *OneOfRecoveryPointRepositoryObjectStorageReference) SetValue(v interface{}) error
func (*OneOfRecoveryPointRepositoryObjectStorageReference) UnmarshalJSON ¶
func (p *OneOfRecoveryPointRepositoryObjectStorageReference) UnmarshalJSON(b []byte) error
type OneOfRecoveryPointRepositoryProjectionObjectStorageReference ¶
type OneOfRecoveryPointRepositoryProjectionObjectStorageReference struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfRecoveryPointRepositoryProjectionObjectStorageReference ¶
func NewOneOfRecoveryPointRepositoryProjectionObjectStorageReference() *OneOfRecoveryPointRepositoryProjectionObjectStorageReference
func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) GetValue ¶
func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) GetValue() interface{}
func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) MarshalJSON ¶
func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) MarshalJSON() ([]byte, error)
func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) SetValue ¶
func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) SetValue(v interface{}) error
func (*OneOfRecoveryPointRepositoryProjectionObjectStorageReference) UnmarshalJSON ¶
func (p *OneOfRecoveryPointRepositoryProjectionObjectStorageReference) 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 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 OneOfUpdateConsistencyGroupApiResponseData ¶
type OneOfUpdateConsistencyGroupApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfUpdateConsistencyGroupApiResponseData ¶
func NewOneOfUpdateConsistencyGroupApiResponseData() *OneOfUpdateConsistencyGroupApiResponseData
func (*OneOfUpdateConsistencyGroupApiResponseData) GetValue ¶
func (p *OneOfUpdateConsistencyGroupApiResponseData) GetValue() interface{}
func (*OneOfUpdateConsistencyGroupApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateConsistencyGroupApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateConsistencyGroupApiResponseData) SetValue ¶
func (p *OneOfUpdateConsistencyGroupApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateConsistencyGroupApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateConsistencyGroupApiResponseData) 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 OneOfVmRecoveryPointApplicationConsistentProperties ¶
type OneOfVmRecoveryPointApplicationConsistentProperties struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRecoveryPointApplicationConsistentProperties ¶
func NewOneOfVmRecoveryPointApplicationConsistentProperties() *OneOfVmRecoveryPointApplicationConsistentProperties
func (*OneOfVmRecoveryPointApplicationConsistentProperties) GetValue ¶
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) GetValue() interface{}
func (*OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON ¶
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON() ([]byte, error)
func (*OneOfVmRecoveryPointApplicationConsistentProperties) SetValue ¶
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) SetValue(v interface{}) error
func (*OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON ¶
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON(b []byte) error
type ProtectedEntityType ¶
type ProtectedEntityType int
Protected resource entity type.
const ( PROTECTEDENTITYTYPE_UNKNOWN ProtectedEntityType = 0 PROTECTEDENTITYTYPE_REDACTED ProtectedEntityType = 1 PROTECTEDENTITYTYPE_VM ProtectedEntityType = 2 PROTECTEDENTITYTYPE_VOLUME_GROUP ProtectedEntityType = 3 )
func (ProtectedEntityType) GetName ¶
func (e ProtectedEntityType) GetName() string
Returns the name of the enum
func (*ProtectedEntityType) MarshalJSON ¶
func (e *ProtectedEntityType) MarshalJSON() ([]byte, error)
func (ProtectedEntityType) Ref ¶
func (e ProtectedEntityType) Ref() *ProtectedEntityType
func (*ProtectedEntityType) UnmarshalJSON ¶
func (e *ProtectedEntityType) UnmarshalJSON(b []byte) error
type ProtectedResource ¶
type ProtectedResource struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
*/
CategoryFqNames []string `json:"categoryFqNames,omitempty"`
/*
External identifier of the Consistency group which the protected resource is part of.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
The external identifier of the VM or the volume group associated with the protected resource.
*/
EntityExtId *string `json:"entityExtId,omitempty"`
EntityType *ProtectedEntityType `json:"entityType,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
ReplicationStates []ReplicationState `json:"replicationStates,omitempty"`
/*
The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
*/
SiteProtectionInfo []SiteProtectionInfo `json:"siteProtectionInfo,omitempty"`
SourceSiteReference *DataProtectionSiteReference `json:"sourceSiteReference,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
Once a VM or volume group is associated with some protection policy, the schedule(s) in the protection policy kick in to achieve the specified recovery point objective. A protected resource represents the data protection view of such a VM or volume group. It contains information such as the restorable time ranges on the local Prism Central and the state of replication to the targets specified in all the applied protection policies.
func NewProtectedResource ¶
func NewProtectedResource() *ProtectedResource
type ProtectedResourcePromoteApiResponse ¶
type ProtectedResourcePromoteApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfProtectedResourcePromoteApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/protected-resources/{extId}/$actions/promote Post operation
func NewProtectedResourcePromoteApiResponse ¶
func NewProtectedResourcePromoteApiResponse() *ProtectedResourcePromoteApiResponse
func (*ProtectedResourcePromoteApiResponse) GetData ¶
func (p *ProtectedResourcePromoteApiResponse) GetData() interface{}
func (*ProtectedResourcePromoteApiResponse) SetData ¶
func (p *ProtectedResourcePromoteApiResponse) SetData(v interface{}) error
type ProtectedResourceReplicationStatus ¶
type ProtectedResourceReplicationStatus int
Status of replication to a specified target site.
const ( PROTECTEDRESOURCEREPLICATIONSTATUS_UNKNOWN ProtectedResourceReplicationStatus = 0 PROTECTEDRESOURCEREPLICATIONSTATUS_REDACTED ProtectedResourceReplicationStatus = 1 PROTECTEDRESOURCEREPLICATIONSTATUS_IN_SYNC ProtectedResourceReplicationStatus = 2 PROTECTEDRESOURCEREPLICATIONSTATUS_SYNCING ProtectedResourceReplicationStatus = 3 PROTECTEDRESOURCEREPLICATIONSTATUS_OUT_OF_SYNC ProtectedResourceReplicationStatus = 4 )
func (ProtectedResourceReplicationStatus) GetName ¶
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 *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/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 []import3.ApiLink `json:"links,omitempty"`
/*
Location agnostic identifier of the Recovery point.
*/
LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
/*
List of location references where the VM or volume group recovery point are a part of the specified recovery point.
*/
LocationReferences []LocationReference `json:"locationReferences,omitempty"`
/*
The name of the Recovery point.
*/
Name *string `json:"name,omitempty"`
/*
A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
*/
OwnerExtId *string `json:"ownerExtId,omitempty"`
RecoveryPointType *import1.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import1.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
/*
List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 30 entities. These entities can be a combination of VM(s) and volume group(s).
*/
VmRecoveryPoints []VmRecoveryPoint `json:"vmRecoveryPoints,omitempty"`
/*
List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 30 entities. These entities can be a combination of VM(s) and volume group(s).
*/
VolumeGroupRecoveryPoints []VolumeGroupRecoveryPoint `json:"volumeGroupRecoveryPoints,omitempty"`
}
Details about the recovery point along with all the captured VM and volume group recovery point(s).
func NewRecoveryPoint ¶
func NewRecoveryPoint() *RecoveryPoint
type RecoveryPointProjection ¶
type RecoveryPointProjection struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The UTC date and time in ISO-8601 format when the Recovery point is created.
*/
CreationTime *time.Time `json:"creationTime,omitempty"`
/*
The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
*/
ExpirationTime *time.Time `json:"expirationTime,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Location agnostic identifier of the Recovery point.
*/
LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
/*
List of location references where the VM or volume group recovery point are a part of the specified recovery point.
*/
LocationReferences []LocationReference `json:"locationReferences,omitempty"`
/*
The name of the Recovery point.
*/
Name *string `json:"name,omitempty"`
/*
A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
*/
OwnerExtId *string `json:"ownerExtId,omitempty"`
RecoveryPointType *import1.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import1.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
/*
List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 30 entities. These entities can be a combination of VM(s) and volume group(s).
*/
VmRecoveryPoints []VmRecoveryPoint `json:"vmRecoveryPoints,omitempty"`
/*
List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 30 entities. These entities can be a combination of VM(s) and volume group(s).
*/
VolumeGroupRecoveryPoints []VolumeGroupRecoveryPoint `json:"volumeGroupRecoveryPoints,omitempty"`
}
func NewRecoveryPointProjection ¶
func NewRecoveryPointProjection() *RecoveryPointProjection
type RecoveryPointReplicateApiResponse ¶
type RecoveryPointReplicateApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfRecoveryPointReplicateApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/recovery-points/{extId}/$actions/replicate Post operation
func NewRecoveryPointReplicateApiResponse ¶
func NewRecoveryPointReplicateApiResponse() *RecoveryPointReplicateApiResponse
func (*RecoveryPointReplicateApiResponse) GetData ¶
func (p *RecoveryPointReplicateApiResponse) GetData() interface{}
func (*RecoveryPointReplicateApiResponse) SetData ¶
func (p *RecoveryPointReplicateApiResponse) SetData(v interface{}) error
type RecoveryPointReplicationSpec ¶
type RecoveryPointReplicationSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the cluster.
*/
ClusterExtId *string `json:"clusterExtId,omitempty"`
/*
External identifier of the Prism Central.
*/
PcExtId *string `json:"pcExtId,omitempty"`
}
External identifier of the cluster and the Prism Central where the recovery point should be replicated.
func NewRecoveryPointReplicationSpec ¶
func NewRecoveryPointReplicationSpec() *RecoveryPointReplicationSpec
type RecoveryPointRepository ¶
type RecoveryPointRepository struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Name of the recovery point repository.
*/
Name *string `json:"name,omitempty"`
/*
*/
ObjectStorageReferenceItemDiscriminator_ *string `json:"$objectStorageReferenceItemDiscriminator,omitempty"`
/*
Object storage reference details.
*/
ObjectStorageReference *OneOfRecoveryPointRepositoryObjectStorageReference `json:"objectStorageReference,omitempty"`
ObjectStorageType *ObjectStorageType `json:"objectStorageType,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
A recovery point repository is a reference to a data store which can be used to store recovery points using Multicloud snapshot technology (MST). It can be backed by any S3-compatible object storage solutions, which include options like Nutanix Objects, as well as hyperscaler offerings such as Amazon AWS S3 and Microsoft Azure Blobs.
func NewRecoveryPointRepository ¶
func NewRecoveryPointRepository() *RecoveryPointRepository
func (*RecoveryPointRepository) GetObjectStorageReference ¶
func (p *RecoveryPointRepository) GetObjectStorageReference() interface{}
func (*RecoveryPointRepository) SetObjectStorageReference ¶
func (p *RecoveryPointRepository) SetObjectStorageReference(v interface{}) error
type RecoveryPointRepositoryProjection ¶
type RecoveryPointRepositoryProjection struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Name of the recovery point repository.
*/
Name *string `json:"name,omitempty"`
ObjectStorageReferenceItemDiscriminator_ *string `json:"$objectStorageReferenceItemDiscriminator,omitempty"`
/*
Object storage reference details.
*/
ObjectStorageReference *OneOfRecoveryPointRepositoryProjectionObjectStorageReference `json:"objectStorageReference,omitempty"`
ObjectStorageType *ObjectStorageType `json:"objectStorageType,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
func NewRecoveryPointRepositoryProjection ¶
func NewRecoveryPointRepositoryProjection() *RecoveryPointRepositoryProjection
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 *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/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 ReplicationState ¶
type ReplicationState struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The external identifier of the Protection policy associated with the protected resource.
*/
ProtectionPolicyExtId *string `json:"protectionPolicyExtId,omitempty"`
/*
The recovery point objective of the schedule in seconds.
*/
RecoveryPointObjectiveSeconds *int64 `json:"recoveryPointObjectiveSeconds,omitempty"`
ReplicationStatus *ProtectedResourceReplicationStatus `json:"replicationStatus,omitempty"`
TargetSiteReference *DataProtectionSiteReference `json:"targetSiteReference,omitempty"`
}
Replication related information about the protected resource.
func NewReplicationState ¶
func NewReplicationState() *ReplicationState
type RestorableTimeRange ¶
type RestorableTimeRange struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity ends.
*/
EndTime *time.Time `json:"endTime,omitempty"`
/*
UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
*/
StartTime *time.Time `json:"startTime,omitempty"`
}
The start and end time details, both inclusively represent the range of time during which the entity is restorable.
func NewRestorableTimeRange ¶
func NewRestorableTimeRange() *RestorableTimeRange
type SiteProtectionInfo ¶
type SiteProtectionInfo struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
LocationReference *DataProtectionSiteReference `json:"locationReference,omitempty"`
RecoveryInfo *RecoveryInfo `json:"recoveryInfo,omitempty"`
SynchronousReplicationRole *SynchronousReplicationRole `json:"synchronousReplicationRole,omitempty"`
}
The data protection details for the Protected resource that are relevant to the specified local or remote site, like the time ranges available for recovery on the given site.
func NewSiteProtectionInfo ¶
func NewSiteProtectionInfo() *SiteProtectionInfo
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 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/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 SynchronousReplicationRole ¶
type SynchronousReplicationRole int
Synchronous Replication role related information of the protected resource.
const ( SYNCHRONOUSREPLICATIONROLE_UNKNOWN SynchronousReplicationRole = 0 SYNCHRONOUSREPLICATIONROLE_REDACTED SynchronousReplicationRole = 1 SYNCHRONOUSREPLICATIONROLE_PRIMARY SynchronousReplicationRole = 2 SYNCHRONOUSREPLICATIONROLE_SECONDARY SynchronousReplicationRole = 3 SYNCHRONOUSREPLICATIONROLE_INDEPENDENT SynchronousReplicationRole = 4 SYNCHRONOUSREPLICATIONROLE_DECOUPLED SynchronousReplicationRole = 5 )
func (SynchronousReplicationRole) GetName ¶
func (e SynchronousReplicationRole) GetName() string
Returns the name of the enum
func (*SynchronousReplicationRole) MarshalJSON ¶
func (e *SynchronousReplicationRole) MarshalJSON() ([]byte, error)
func (SynchronousReplicationRole) Ref ¶
func (e SynchronousReplicationRole) Ref() *SynchronousReplicationRole
func (*SynchronousReplicationRole) UnmarshalJSON ¶
func (e *SynchronousReplicationRole) UnmarshalJSON(b []byte) error
type UpdateConsistencyGroupApiResponse ¶
type UpdateConsistencyGroupApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfUpdateConsistencyGroupApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/config/consistency-groups/{extId} Put operation
func NewUpdateConsistencyGroupApiResponse ¶
func NewUpdateConsistencyGroupApiResponse() *UpdateConsistencyGroupApiResponse
func (*UpdateConsistencyGroupApiResponse) GetData ¶
func (p *UpdateConsistencyGroupApiResponse) GetData() interface{}
func (*UpdateConsistencyGroupApiResponse) SetData ¶
func (p *UpdateConsistencyGroupApiResponse) SetData(v interface{}) error
type UpdateRecoveryPointExpirationTimeApiResponse ¶
type UpdateRecoveryPointExpirationTimeApiResponse struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`
Data *OneOfUpdateRecoveryPointExpirationTimeApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /dataprotection/v4.0/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"`
/*
*/
ApplicationConsistentPropertiesItemDiscriminator_ *string `json:"$applicationConsistentPropertiesItemDiscriminator,omitempty"`
/*
User-defined application-consistent properties for the recovery point.
*/
ApplicationConsistentProperties *OneOfVmRecoveryPointApplicationConsistentProperties `json:"applicationConsistentProperties,omitempty"`
/*
External identifier of the Consistency group which the VM was part of at the time of recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
The UTC date and time in ISO-8601 format when the Recovery point is created.
*/
CreationTime *time.Time `json:"creationTime,omitempty"`
DiskRecoveryPoints []import1.DiskRecoveryPoint `json:"diskRecoveryPoints,omitempty"`
/*
The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
*/
ExpirationTime *time.Time `json:"expirationTime,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
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 []import3.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 *import1.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import1.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
/*
Category key-value pairs associated with the VM at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' is displayed as 'dept/hr'.
*/
VmCategories []string `json:"vmCategories,omitempty"`
/*
VM external identifier which is captured as a part of this recovery point.
*/
VmExtId *string `json:"vmExtId,omitempty"`
}
A model that represents VM recovery point properties.
func NewVmRecoveryPoint ¶
func NewVmRecoveryPoint() *VmRecoveryPoint
type VmRecoveryPointRestoreOverride ¶
type VmRecoveryPointRestoreOverride struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of a VM recovery point, that is a part of the top-level recovery point.
*/
VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId,omitempty"`
}
func NewVmRecoveryPointRestoreOverride ¶
func NewVmRecoveryPointRestoreOverride() *VmRecoveryPointRestoreOverride
type VolumeGroupOverrideSpec ¶
type VolumeGroupOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The name of the restored volume group.
*/
Name *string `json:"name,omitempty"`
}
Protected resource/recovery point restore that overrides the volume group configuration. The specified properties will be overridden for the restored volume group.
func NewVolumeGroupOverrideSpec ¶
func NewVolumeGroupOverrideSpec() *VolumeGroupOverrideSpec
type VolumeGroupRecoveryPoint ¶
type VolumeGroupRecoveryPoint struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
External identifier of the Consistency group which the entity was part of at the time of recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
DiskRecoveryPoints []import1.DiskRecoveryPoint `json:"diskRecoveryPoints,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Location agnostic identifier of the recovery point. This identifier is used to identify the same instances of a recovery point across different sites.
*/
LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
/*
Category key-value pairs associated with the volume group at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
*/
VolumeGroupCategories []string `json:"volumeGroupCategories,omitempty"`
/*
Volume Group external identifier which is captured as part of this recovery point.
*/
VolumeGroupExtId *string `json:"volumeGroupExtId"`
}
A model that represents volume group recovery point properties.
func NewVolumeGroupRecoveryPoint ¶
func NewVolumeGroupRecoveryPoint() *VolumeGroupRecoveryPoint
func (*VolumeGroupRecoveryPoint) MarshalJSON ¶
func (p *VolumeGroupRecoveryPoint) MarshalJSON() ([]byte, error)
type VolumeGroupRecoveryPointRestoreOverride ¶
type VolumeGroupRecoveryPointRestoreOverride struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
VolumeGroupOverrideSpec *VolumeGroupOverrideSpec `json:"volumeGroupOverrideSpec,omitempty"`
/*
External identifier of a volume group recovery point, that is a part of the top-level recovery point.
*/
VolumeGroupRecoveryPointExtId *string `json:"volumeGroupRecoveryPointExtId,omitempty"`
}
func NewVolumeGroupRecoveryPointRestoreOverride ¶
func NewVolumeGroupRecoveryPointRestoreOverride() *VolumeGroupRecoveryPointRestoreOverride
type VolumeGroupSyncContext ¶
type VolumeGroupSyncContext struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
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 []import3.ApiLink `json:"links,omitempty"`
PrimarySite *SiteReference `json:"primarySite,omitempty"`
SecondarySite *SiteReference `json:"secondarySite,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
Specification corresponding to the volume group synced state. The primary site reference corresponds to the cluster reference information along with the related AZ information where the entity resides. The secondary site reference corresponds to the cluster site reference information along with the related AZ information where the volume group is synced to.
func NewVolumeGroupSyncContext ¶
func NewVolumeGroupSyncContext() *VolumeGroupSyncContext
type Witness ¶
type Witness struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
List of host references of the Witness.
*/
HostReferences []HostReference `json:"hostReferences,omitempty"`
/*
List of IP addresses for the Witness site.
*/
IpAddresses []string `json:"ipAddresses,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Name of the Witness site.
*/
Name *string `json:"name,omitempty"`
Status *WitnessAvailabilityStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
A model that represents the details of a Witness site.
func NewWitness ¶
func NewWitness() *Witness
type WitnessAvailabilityStatus ¶
type WitnessAvailabilityStatus int
Availability status of the Witness.
const ( WITNESSAVAILABILITYSTATUS_UNKNOWN WitnessAvailabilityStatus = 0 WITNESSAVAILABILITYSTATUS_REDACTED WitnessAvailabilityStatus = 1 WITNESSAVAILABILITYSTATUS_AVAILABLE WitnessAvailabilityStatus = 2 WITNESSAVAILABILITYSTATUS_UNAVAILABLE WitnessAvailabilityStatus = 3 )
func (WitnessAvailabilityStatus) GetName ¶
func (e WitnessAvailabilityStatus) GetName() string
Returns the name of the enum
func (*WitnessAvailabilityStatus) MarshalJSON ¶
func (e *WitnessAvailabilityStatus) MarshalJSON() ([]byte, error)
func (WitnessAvailabilityStatus) Ref ¶
func (e WitnessAvailabilityStatus) Ref() *WitnessAvailabilityStatus
func (*WitnessAvailabilityStatus) UnmarshalJSON ¶
func (e *WitnessAvailabilityStatus) UnmarshalJSON(b []byte) error