common

package
v4.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Module dataprotection.v4.common of Nutanix Virtual Machine Management APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRecoveryPoint

type BaseRecoveryPoint 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 []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. 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 common properties of a Recovery point resources

func NewBaseRecoveryPoint

func NewBaseRecoveryPoint() *BaseRecoveryPoint

type FileDetail

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

func NewFileDetail

func NewFileDetail() *FileDetail

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_COMPLETE RecoveryPointStatus = 2
)

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.

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

Jump to

Keyboard shortcuts

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