common

package
v4.0.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: UNKNOWN not legal advice Imports: 6 Imported by: 0

Documentation

Overview

Module dataprotection.v4.common of Nutanix Vmm Versioned APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecoveryPointProperties

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The external identifier that can be used to retrieve the consistency group using its URL.
	*/
	ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
	/*
	  Name of the Consistency group.
	*/
	ConsistencyGroupName *string `json:"consistencyGroupName,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 []import1.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 *RecoveryPointType `json:"recoveryPointType,omitempty"`

	Status *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 []VendorSpecificProperty `json:"vendorSpecificProperties,omitempty"`
}

A model that represents common properties of a Recovery point resources

func NewRecoveryPointProperties

func NewRecoveryPointProperties() *RecoveryPointProperties

type RecoveryPointStatus

type RecoveryPointStatus int

The status of the Recovery point, which indicates whether this Recovery point is fit to be consumed.

const (
	RECOVERYPOINTSTATUS_UNKNOWN    RecoveryPointStatus = 0
	RECOVERYPOINTSTATUS_REDACTED   RecoveryPointStatus = 1
	RECOVERYPOINTSTATUS_INCOMPLETE RecoveryPointStatus = 2
	RECOVERYPOINTSTATUS_COMPLETE   RecoveryPointStatus = 3
	RECOVERYPOINTSTATUS_EXPIRED    RecoveryPointStatus = 4
)

func (RecoveryPointStatus) GetName

func (e RecoveryPointStatus) GetName() string

Returns the name of the enum

func (*RecoveryPointStatus) MarshalJSON

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

func (RecoveryPointStatus) Ref

func (*RecoveryPointStatus) UnmarshalJSON

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

type RecoveryPointType

type RecoveryPointType int

Type of the Recovery point. Crash-consistent Recovery points and application-consistent Recovery points are used to capture all of the VM and application level details. However, application-consistent Recovery points can also capture all data stored in the memory and transactions in process.

const (
	RECOVERYPOINTTYPE_UNKNOWN                RecoveryPointType = 0
	RECOVERYPOINTTYPE_REDACTED               RecoveryPointType = 1
	RECOVERYPOINTTYPE_CRASH_CONSISTENT       RecoveryPointType = 2
	RECOVERYPOINTTYPE_APPLICATION_CONSISTENT RecoveryPointType = 3
)

func (RecoveryPointType) GetName

func (e RecoveryPointType) GetName() string

Returns the name of the enum

func (*RecoveryPointType) MarshalJSON

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

func (RecoveryPointType) Ref

func (*RecoveryPointType) UnmarshalJSON

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

type VendorSpecificProperty

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

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

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The unique identifier of the vendor. It can be a magic number, UUID or vendor name.
	*/
	VendorId *string `json:"vendorId"`
	/*
	  This is an opaque data interpreted only by the respective vendor.
	*/
	VendorMetadata *string `json:"vendorMetadata"`
}

Additional metadata provided by the client at the time of Recovery point creation.

func NewVendorSpecificProperty

func NewVendorSpecificProperty() *VendorSpecificProperty

func (*VendorSpecificProperty) MarshalJSON

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

Jump to

Keyboard shortcuts

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