types

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicSystemInfo

type BasicSystemInfo struct {
	Base    string    `json:"@base"`
	Updated time.Time `json:"updated"`
	Links   []Link    `json:"links"`
	Entries []Entries `json:"entries"`
}

BasicSystemInfo Struct to capture the BasicSystemInfo response

type Content

type Content struct {
	ID                 string `json:"id"`
	Model              string `json:"model"`
	Name               string `json:"name"`
	SoftwareVersion    string `json:"softwareVersion"`
	APIVersion         string `json:"apiVersion"`
	EarliestAPIVersion string `json:"earliestApiVersion"`
}

Content Struct to capture the SystemInfo Content.

type CopySnapshot added in v1.3.0

type CopySnapshot struct {
	Name  string `json:"copyName,omitempty"`
	Child bool   `json:"child"`
}

CopySnapshot struct to capture Copy snapshot parameters

type CopySnapshots added in v1.3.0

type CopySnapshots struct {
	CopySnapshotsContent CopySnapshotsContent `json:"content"`
}

CopySnapshots struct to capture copy snapshot content

type CopySnapshotsContent added in v1.3.0

type CopySnapshotsContent struct {
	Copies []StorageResource `json:"copies,omitempty"`
}

CopySnapshotsContent struct to capture copies list

type CreateLunThinCloneParam

type CreateLunThinCloneParam struct {
	SnapIDContent *SnapshotIDContent `json:"snap"`
	Name          string             `json:"name"`
}

CreateLunThinCloneParam struct to capture Create LUN thin clone Parameters

type CreateSnapshotParam

type CreateSnapshotParam struct {
	Name                 string                `json:"name,omitempty"`
	StorageResource      *StorageResourceParam `json:"storageResource,omitempty"`
	Description          string                `json:"description,omitempty"`
	RetentionDuration    uint64                `json:"retentionDuration,omitempty"`
	IsAutoDelete         bool                  `json:"isAutoDelete"`
	FilesystemAccessType int                   `json:"filesystemAccessType,omitempty"`
}

CreateSnapshotParam struct to capture create snapshot parameters

type Entries

type Entries struct {
	Base    string    `json:"@base"`
	Updated time.Time `json:"updated"`
	Links   []Link    `json:"links"`
	Content Content   `json:"content"`
}

Entries Struct to capture Entries contains a list of Links.

type Error

type Error struct {
	ErrorContent ErrorContent `json:"error"`
}

Error Struct to cature error

func (Error) Error

func (e Error) Error() string

Error function returns the error message.

type ErrorContent

type ErrorContent struct {
	Message        []ErrorMessage `json:"messages"`
	HTTPStatusCode int            `json:"httpStatusCode"`
	ErrorCode      int            `json:"errorCode"`
}

ErrorContent Struct to capture the Error information.

type ErrorMessage

type ErrorMessage struct {
	EnUS string `json:"en-US"`
}

ErrorMessage Struct to cature error message

type FastVPParameters

type FastVPParameters struct {
	TieringPolicy int `json:"tieringPolicy"`
}

FastVPParameters Struct to capture Tiering Policy for Create Volume

type FcPort added in v1.2.0

type FcPort struct {
	FcPortContent FcPortContent `json:"content"`
}

FcPort struct to capture FC port object

type FcPortContent added in v1.2.0

type FcPortContent struct {
	Wwn string `json:"wwn"`
}

FcPortContent struct to capture FC port ID

type FcPortID added in v1.2.0

type FcPortID struct {
	ID string `json:"id"`
}

FcPortID struct to capture FC port ID

type FileContent

type FileContent struct {
	ID                     string        `json:"id"`
	Name                   string        `json:"name,omitempty"`
	SizeTotal              uint64        `json:"sizeTotal,omitempty"`
	Description            string        `json:"description,omitempty"`
	Type                   int           `json:"type,omitempty"`
	Format                 int           `json:"format,omitempty"`
	HostIOSize             int64         `json:"hostIOSize,omitempty"`
	TieringPolicy          uint64        `json:"tieringPolicy,omitempty"`
	IsThinEnabled          bool          `json:"isThinEnabled"`
	IsDataReductionEnabled bool          `json:"isDataReductionEnabled"`
	Pool                   Pool          `json:"pool,omitempty"`
	NASServer              Pool          `json:"nasServer,omitempty"`
	StorageResource        Pool          `json:"storageResource,omitempty"`
	NFSShare               []Share       `json:"nfsShare,omitempty"`
	CIFSShare              []Pool        `json:"cifsShare,omitempty"`
	Health                 HealthContent `json:"health,omitempty"`
}

FileContent struct to capture filesystem parameters

type FileEventSettings

type FileEventSettings struct {
	IsCIFSEnabled bool `json:"isCIFSEnabled"`
	IsNFSEnabled  bool `json:"isNFSEnabled"`
}

FileEventSettings Struct to capture File event settings

type Filesystem

type Filesystem struct {
	FileContent FileContent `json:"content"`
}

Filesystem struct to capture filesystem object

type FsCreateParam

type FsCreateParam struct {
	Name         string        `json:"name"`
	Description  string        `json:"description,omitempty"`
	FsParameters *FsParameters `json:"fsParameters"`
}

FsCreateParam Struct to capture the Filesystem create Params

type FsExpandModifyParam added in v1.3.0

type FsExpandModifyParam struct {
	FsParameters *FsExpandParameters `json:"fsParameters"`
}

FsExpandModifyParam Struct to expand Filesystem

type FsExpandParameters added in v1.3.0

type FsExpandParameters struct {
	Size uint64 `json:"size"`
}

FsExpandParameters Struct to capture expand Filesystem parameters

type FsModifyParameters added in v1.2.0

type FsModifyParameters struct {
	NFSShares   *[]NFSShareCreateParam `json:"nfsShareCreate,omitempty"`
	Description string                 `json:"description,omitempty"`
}

FsModifyParameters Struct to modify Filesystem parameters

type FsParameters

type FsParameters struct {
	Size                   uint64                 `json:"size,omitempty"`
	IsThinEnabled          string                 `json:"isThinEnabled,omitempty"`
	IsDataReductionEnabled string                 `json:"isDataReductionEnabled,omitempty"`
	SupportedProtocol      int                    `json:"supportedProtocols"`
	HostIOSize             int                    `json:"hostIOSize"`
	StoragePool            *StoragePoolID         `json:"pool,omitempty"`
	FastVPParameters       *FastVPParameters      `json:"fastVPParameters,omitempty"`
	HostAccess             *[]HostAccess          `json:"hostAccess,omitempty"`
	IoLimitParameters      *HostIoLimitParameters `json:"ioLimitParameters,omitempty"`
	NasServer              *NasServerID           `json:"nasServer"`
	FileEventSettings      FileEventSettings      `json:"fileEventSettings,omitempty"`
}

FsParameters Struct to capture the File system properties

type HealthContent added in v1.4.0

type HealthContent struct {
	Value          int      `json:"value"`
	DescriptionIDs []string `json:"descriptionIds"`
	Descriptions   []string `json:"descriptions"`
}

HealthContent to capture health status

type Host

type Host struct {
	HostContent HostContent `json:"content"`
}

Host struct to capture host object

type HostAccess

type HostAccess struct {
	HostIDContent *HostIDContent `json:"host"`
	AccessMask    string         `json:"accessMask,omitempty"`
}

HostAccess Struct to capture Host access parameters

type HostAccessResponse

type HostAccessResponse struct {
	HostContent HostContent `json:"host"`
	HLU         int         `json:"hlu"`
}

HostAccessResponse Struct to capture Host Access in Volume response

type HostContent

type HostContent struct {
	ID              string       `json:"id"`
	Name            string       `json:"name,omitempty"`
	Description     string       `json:"description,omitempty"`
	FcInitiators    []Initiators `json:"fcHostInitiators,omitempty"`
	IscsiInitiators []Initiators `json:"iscsiHostInitiators,omitempty"`
	IPPorts         []IPPorts    `json:"hostIPPorts,omitempty"`
	Address         string       `json:"address,omitempty"`
}

HostContent struct to capture host parameters

type HostCreateParam

type HostCreateParam struct {
	Type        string   `json:"type"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	OsType      string   `json:"osType"`
	Tenant      *Tenants `json:"tenant,omitempty"`
}

HostCreateParam Struct to capture Host Request

type HostIDContent added in v1.9.0

type HostIDContent struct {
	ID string `json:"id"`
}

HostIDContent Struct to capture Host ID Content

type HostIPPort added in v1.9.0

type HostIPPort struct {
	HostIPContent HostContent `json:"content"`
}

HostIPPort struct to capture Host IP port object

type HostIPPortCreateParam added in v1.9.0

type HostIPPortCreateParam struct {
	HostIDContent *HostIDContent `json:"host"`
	Address       string         `json:"address"`
}

HostIPPortCreateParam Struct to capture Host IP Pot Request

type HostInitiator

type HostInitiator struct {
	HostInitiatorContent HostInitiatorContent `json:"content"`
}

HostInitiator struct to capture host initiator object

type HostInitiatorContent

type HostInitiatorContent struct {
	ID          string        `json:"id"`
	Health      HealthContent `json:"health"`
	Type        int           `json:"type"`
	InitiatorID string        `json:"InitiatorId"`
	IsIgnored   bool          `json:"isIgnored"`
	ParentHost  HostContent   `json:"parentHost"`
	Paths       []Path        `json:"paths"`
}

HostInitiatorContent struct to capture host initiator parameters

type HostInitiatorCreateParam

type HostInitiatorCreateParam struct {
	HostIDContent *HostIDContent `json:"host"`
	InitiatorType InitiatorType  `json:"initiatorType"`
	InitiatorWwn  string         `json:"initiatorWWNorIqn"`
}

HostInitiatorCreateParam Struct to capture Host Initiator create parameters

type HostInitiatorModifyParam

type HostInitiatorModifyParam struct {
	HostIDContent *HostIDContent `json:"host"`
}

HostInitiatorModifyParam Struct to capture Host Initiator modify parameters

type HostInitiatorPath added in v1.2.0

type HostInitiatorPath struct {
	HostInitiatorPathContent HostInitiatorPathContent `json:"content"`
}

HostInitiatorPath struct to capture host initiator path object

type HostInitiatorPathContent added in v1.2.0

type HostInitiatorPathContent struct {
	FcPortID FcPortID `json:"fcPort"`
}

HostInitiatorPathContent struct to capture host initiator parameters

type HostIoLimitParameters

type HostIoLimitParameters struct {
	IoLimitPolicyParam *IoLimitPolicyParam `json:"ioLimitPolicy"`
}

HostIoLimitParameters struct to capture HostIO Limit parameters

type IPInterfaceContent

type IPInterfaceContent struct {
	ID        string `json:"id"`
	IPAddress string `json:"ipAddress"`
	Type      int    `json:"type"`
}

IPInterfaceContent struct to capture IpInterface parameters

type IPInterfaceEntries

type IPInterfaceEntries struct {
	IPInterfaceContent IPInterfaceContent `json:"content"`
}

IPInterfaceEntries struct to capture IpInterface object

type IPPorts added in v1.9.0

type IPPorts struct {
	ID      string `json:"id"`
	Address string `json:"address,omitempty"`
}

IPPorts struct to capture IpPort ID

type InitiatorType

type InitiatorType string

InitiatorType is string Type

type Initiators

type Initiators struct {
	ID string `json:"id"`
}

Initiators struct to capture Initiator ID

type IoLimitPolicy

type IoLimitPolicy struct {
	IoLimitPolicyContent IoLimitPolicyContent `json:"content,omitempty"`
}

IoLimitPolicy struct IO limit policy object

type IoLimitPolicyContent

type IoLimitPolicyContent struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

IoLimitPolicyContent struct to capture IoLimitPolicyContent parameters

type IoLimitPolicyParam

type IoLimitPolicyParam struct {
	ID string `json:"id"`
}

IoLimitPolicyParam struct to capture IOLimit Policy Parameters

type LicenseInfo

type LicenseInfo struct {
	LicenseInfoContent LicenseInfoContent `json:"content"`
}

LicenseInfo for features on Array

type LicenseInfoContent

type LicenseInfoContent struct {
	IsInstalled bool `json:"isInstalled"`
	IsValid     bool `json:"isValid"`
}

LicenseInfoContent for features on Array

type Link struct {
	Rel  string `json:"rel"`
	Href string `json:"href"`
}

Link Struct to capture the link response

type ListHostInitiator

type ListHostInitiator struct {
	HostInitiator []HostInitiator `json:"entries"`
}

ListHostInitiator struct to capture host initiators

type ListIPInterfaces

type ListIPInterfaces struct {
	Entries []IPInterfaceEntries `json:"entries"`
}

ListIPInterfaces struct to capture snapshot list

type ListSnapshot

type ListSnapshot struct {
	Snapshots []Snapshot `json:"entries"`
}

ListSnapshot struct to capture snapshot list

type ListVolumes

type ListVolumes struct {
	Volumes []Volume `json:"entries"`
}

ListVolumes Struct to capture the response of StorageResource response

type LunCreateParam

type LunCreateParam struct {
	Name          string         `json:"name"`
	Description   string         `json:"description,omitempty"`
	LunParameters *LunParameters `json:"lunParameters"`
}

LunCreateParam Struct to capture the Lun create Params

type LunExpandModifyParam

type LunExpandModifyParam struct {
	LunParameters *LunExpandParameters `json:"lunParameters"`
}

LunExpandModifyParam Struct to capture Lun expand modify parameters

type LunExpandParameters

type LunExpandParameters struct {
	Size uint64 `json:"size,omitempty"`
}

LunExpandParameters to capture Lun expand parameters

type LunHostAccessModifyParam

type LunHostAccessModifyParam struct {
	LunHostAccessParameters *LunHostAccessParameters `json:"lunParameters"`
}

LunHostAccessModifyParam Struct to capture Lun host access modify parameters

type LunHostAccessParameters

type LunHostAccessParameters struct {
	HostAccess *[]HostAccess `json:"hostAccess,omitempty"`
}

LunHostAccessParameters to capture Lun Host Access parameters

type LunModifyParam

type LunModifyParam struct {
	LunParameters *LunParameters `json:"lunParameters"`
}

LunModifyParam Struct to capture Lun modify parameters

type LunParameters

type LunParameters struct {
	Name                   string                 `json:"name,omitempty"`
	Size                   uint64                 `json:"size,omitempty"`
	IsThinEnabled          string                 `json:"isThinEnabled,omitempty"`
	StoragePool            *StoragePoolID         `json:"pool,omitempty"`
	IsDataReductionEnabled string                 `json:"isDataReductionEnabled,omitempty"`
	FastVPParameters       *FastVPParameters      `json:"fastVPParameters,omitempty"`
	HostAccess             *[]HostAccess          `json:"hostAccess,omitempty"`
	IoLimitParameters      *HostIoLimitParameters `json:"ioLimitParameters,omitempty"`
}

LunParameters Struct to capture the Lun properties

type MaxVolumSizeContent added in v1.16.0

type MaxVolumSizeContent struct {
	ID    string `json:"id"`
	Limit int    `json:"limitValue"`
	Unit  int    `json:"unit"`
}

MaxVolumSizeContent is a response from querying systemLimit

type MaxVolumSizeInfo added in v1.16.0

type MaxVolumSizeInfo struct {
	MaxVolumSizeContent MaxVolumSizeContent `json:"content"`
}

MaxVolumSizeInfo is a response from querying systemLimit

type MetricContent added in v1.6.0

type MetricContent struct {
	ID int `json:"id"`
}

MetricContent is part of the response from /api/types/metric/instances

type MetricEntries added in v1.6.0

type MetricEntries struct {
	Cnt MetricContent `json:"content"`
}

MetricEntries is part of the response from /api/types/metric/instances

type MetricInfo added in v1.6.0

type MetricInfo struct {
	ID                    int    `json:"id"`
	Name                  string `json:"name"`
	Path                  string `json:"path"`
	Product               int    `json:"product"`
	Type                  int    `json:"type"`
	Description           string `json:"description"`
	IsHistoricalAvailable bool   `json:"isHistoricalAvailable"`
	IsRealtimeAvailable   bool   `json:"isRealtimeAvailable"`
	Unit                  int    `json:"unit"`
	UnitDisplayString     string `json:"unitDisplayString"`
	Visibility            int    `json:"visibility"`
}

MetricInfo has all the details of instance of a Unity metric

type MetricInstance added in v1.6.0

type MetricInstance struct {
	Base    string     `json:"base"`
	Updated string     `json:"updated"`
	Content MetricInfo `json:"content"`
}

MetricInstance describes an instance of Unity metric

type MetricPaths added in v1.6.0

type MetricPaths struct {
	Entries []MetricEntries `json:"entries"`
}

MetricPaths comes from response from /api/types/metric/instances

type MetricQueryCreateResponse added in v1.6.0

type MetricQueryCreateResponse struct {
	Base    string                     `json:"base"`
	Updated string                     `json:"updated"`
	Content MetricQueryResponseContent `json:"content"`
}

MetricQueryCreateResponse a response from creating a MetricCollection query

type MetricQueryResponseContent added in v1.6.0

type MetricQueryResponseContent struct {
	MaximumSamples int      `json:"maximumSamples"`
	Expiration     string   `json:"expiration"`
	Interval       int      `json:"interval"`
	Paths          []string `json:"paths"`
	ID             int      `json:"id"`
}

MetricQueryResponseContent is part of response to creating a MetricCollection query

type MetricQueryResult added in v1.6.0

type MetricQueryResult struct {
	Base    string              `json:"base"`
	Updated string              `json:"updated"`
	Entries []MetricResultEntry `json:"entries"`
}

MetricQueryResult is response from querying a MetricCollection

type MetricRealTimeQuery added in v1.6.0

type MetricRealTimeQuery struct {
	Paths    []string `json:"paths"`
	Interval int      `json:"interval"`
}

MetricRealTimeQuery is body of a request to create a MetricCollection query

type MetricResult added in v1.6.0

type MetricResult struct {
	QueryID   int                    `json:"queryId"`
	Path      string                 `json:"path"`
	Timestamp string                 `json:"timestamp"`
	Values    map[string]interface{} `json:"values"`
}

MetricResult is part of response of a MetricCollection query

type MetricResultEntry added in v1.6.0

type MetricResultEntry struct {
	Base    string       `json:"base"`
	Updated string       `json:"updated"`
	Content MetricResult `json:"content"`
}

MetricResultEntry is part of response of a MetricCollection query

type NASServer added in v1.2.0

type NASServer struct {
	NASServerContent NASServerContent `json:"content"`
}

NASServer struct to capture NAS Server object

type NASServerContent added in v1.2.0

type NASServerContent struct {
	ID        string    `json:"id"`
	Name      string    `json:"name,omitempty"`
	NFSServer NFSServer `json:"nfsServer,omitempty"`
}

NASServerContent struct to capture NAS Server object

type NFSServer added in v1.2.0

type NFSServer struct {
	ID           string `json:"id"`
	Name         string `json:"name,omitempty"`
	NFSv3Enabled bool   `json:"nfsv3Enabled"`
	NFSv4Enabled bool   `json:"nfsv4Enabled"`
}

NFSServer struct to capture NFS Server object

type NFSShare added in v1.2.0

type NFSShare struct {
	NFSShareContent NFSShareContent `json:"content"`
}

NFSShare struct to capture NFS Share object

type NFSShareContent added in v1.2.0

type NFSShareContent struct {
	ID                      string        `json:"id"`
	Name                    string        `json:"name,omitempty"`
	Filesystem              Pool          `json:"filesystem,omitempty"`
	ReadOnlyHosts           []HostContent `json:"readOnlyHosts,omitempty"`
	ReadWriteHosts          []HostContent `json:"readWriteHosts,omitempty"`
	ReadOnlyRootAccessHosts []HostContent `json:"readOnlyRootAccessHosts,omitempty"`
	RootAccessHosts         []HostContent `json:"rootAccessHosts,omitempty"`
	ExportPaths             []string      `json:"exportPaths,omitempty"`
}

NFSShareContent struct to capture NFS Share parameters

type NFSShareCreateFromSnapModify added in v1.3.0

type NFSShareCreateFromSnapModify struct {
	DefaultAccess           string           `json:"defaultAccess,omitempty"`
	ReadOnlyHosts           *[]HostIDContent `json:"readOnlyHosts,omitempty"`
	ReadWriteHosts          *[]HostIDContent `json:"readWriteHosts,omitempty"`
	ReadOnlyRootAccessHosts *[]HostIDContent `json:"readOnlyRootAccessHosts,omitempty"`
	RootAccessHosts         *[]HostIDContent `json:"rootAccessHosts,omitempty"`
}

NFSShareCreateFromSnapModify Struct to modify NFS Share created from snapshot parameters

type NFSShareCreateFromSnapParam added in v1.3.0

type NFSShareCreateFromSnapParam struct {
	Name          string            `json:"name"`
	Path          string            `json:"path"`
	DefaultAccess string            `json:"defaultAccess,omitempty"`
	Snapshot      SnapshotIDContent `json:"snap"`
}

NFSShareCreateFromSnapParam Struct to capture create NFS share from snapshot parameters

type NFSShareCreateParam added in v1.2.0

type NFSShareCreateParam struct {
	Name               string              `json:"name"`
	Path               string              `json:"path"`
	NFSShareParameters *NFSShareParameters `json:"nfsShareParameters,omitempty"`
}

NFSShareCreateParam Struct to capture NFS Share Create parameters

type NFSShareDelete added in v1.2.0

type NFSShareDelete struct {
	NFSSharesDeleteContent *[]NFSShareModifyContent `json:"nfsShareDelete,omitempty"`
}

NFSShareDelete Struct to modify NFS Share parameters

type NFSShareModify added in v1.2.0

type NFSShareModify struct {
	NFSSharesModifyContent *[]NFSShareModifyContent `json:"nfsShareModify,omitempty"`
}

NFSShareModify Struct to modify NFS Share parameters

type NFSShareModifyContent added in v1.2.0

type NFSShareModifyContent struct {
	NFSShare           *StorageResourceParam `json:"nfsShare,omitempty"`
	NFSShareParameters *NFSShareParameters   `json:"nfsShareParameters,omitempty"`
}

NFSShareModifyContent Struct to capture NFS Share modify content

type NFSShareParameters added in v1.2.0

type NFSShareParameters struct {
	DefaultAccess           string           `json:"defaultAccess,omitempty"`
	ReadOnlyHosts           *[]HostIDContent `json:"readOnlyHosts,omitempty"`
	ReadWriteHosts          *[]HostIDContent `json:"readWriteHosts,omitempty"`
	ReadOnlyRootAccessHosts *[]HostIDContent `json:"readOnlyRootAccessHosts,omitempty"`
	RootAccessHosts         *[]HostIDContent `json:"rootAccessHosts,omitempty"`
}

NFSShareParameters Struct to capture NFS Share properties

type NasServerID

type NasServerID struct {
	NasServerID string `json:"id"`
}

NasServerID Struct to capture Nas server ID for Create Volume

type ParentSnap

type ParentSnap struct {
	ID string `json:"id"`
}

ParentSnap to capture Source Snapshot ID

type Path added in v1.2.0

type Path struct {
	ID string `json:"id"`
}

Path struct to capture Path ID

type Pool

type Pool struct {
	ID   string `json:"id"`
	Name string `json:"name,omitempty"`
}

Pool struct to capture Pool Id

type PoolFastVP

type PoolFastVP struct {
	Status            int  `json:"status"`
	RelocationRate    int  `json:"relocationRate"`
	Type              int  `json:"type"`
	IsScheduleEnabled bool `json:"isScheduleEnabled"`
}

PoolFastVP struct to capture fastvp property of pool

type Share added in v1.3.0

type Share struct {
	ID         string          `json:"id"`
	Name       string          `json:"name,omitempty"`
	Path       string          `json:"path,omitempty"`
	ParentSnap StorageResource `json:"snap,omitempty"`
}

Share object to capture NFS Share object from FileContent

type Snapshot

type Snapshot struct {
	SnapshotContent SnapshotContent `json:"content"`
}

Snapshot struct to capture snapshot object

type SnapshotContent

type SnapshotContent struct {
	ResourceID      string          `json:"id"`
	Name            string          `json:"name"`
	Description     string          `json:"description,omitempty"`
	StorageResource StorageResource `json:"storageResource,omitempty"`
	CreationTime    time.Time       `json:"creationTime,omitempty"`
	ExpirationTime  time.Time       `json:"expirationTime,omitempty"`
	LastRefreshTime time.Time       `json:"lastRefreshTime,omitempty"`
	State           int             `json:"state,omitempty"`
	Size            int64           `json:"size"`
	IsAutoDelete    bool            `json:"isAutoDelete"`
	AccessType      int             `json:"accessType,omitempty"`
	ParentSnap      StorageResource `json:"parentSnap,omitempty"`
}

SnapshotContent struct to capture snapshot parameters

type SnapshotIDContent added in v1.9.0

type SnapshotIDContent struct {
	ID string `json:"id"`
}

SnapshotIDContent struct to capture Snapshot ID Content

type StoragePool

type StoragePool struct {
	StoragePoolContent StoragePoolContent `json:"content"`
}

StoragePool Struct to capture the response of StoragePool response

type StoragePoolContent

type StoragePoolContent struct {
	ID                          string     `json:"id"`
	Name                        string     `json:"name"`
	Description                 string     `json:"description"`
	FreeCapacity                uint64     `json:"sizeFree"`
	TotalCapacity               uint64     `json:"sizeTotal"`
	UsedCapacity                uint64     `json:"sizeUsed"`
	SubscribedCapacity          uint64     `json:"sizeSubscribed"`
	HasDataReductionEnabledLuns bool       `json:"hasDataReductionEnabledLuns"`
	HasDataReductionEnabledFs   bool       `json:"hasDataReductionEnabledFs"`
	IsFASTCacheEnabled          bool       `json:"isFASTCacheEnabled"`
	Type                        int8       `json:"type"`
	IsAllFlash                  bool       `json:"isAllFlash"`
	PoolFastVP                  PoolFastVP `json:"poolFastVP"`
}

StoragePoolContent Struct to capture the StoragePool Content properties

type StoragePoolID

type StoragePoolID struct {
	PoolID string `json:"id"`
}

StoragePoolID Struct to capture Storage pool ID for Create Volume

type StorageResource

type StorageResource struct {
	ID   string `json:"id"`
	Name string `json:"name,omitempty"`
}

StorageResource struct to capture storage resource ID

type StorageResourceContent added in v1.3.0

type StorageResourceContent struct {
	ID         string          `json:"id"`
	Name       string          `json:"name,omitempty"`
	Filesystem StorageResource `json:"filesystem,omitempty"`
}

StorageResourceContent struct to capture Storage Resource content

type StorageResourceParam

type StorageResourceParam struct {
	ID string `json:"id"`
}

StorageResourceParam struct to capture storage resource parameters

type StorageResourceParameters added in v1.3.0

type StorageResourceParameters struct {
	StorageResourceContent StorageResourceContent `json:"content"`
}

StorageResourceParameters struct to capture Storage Resource content

type SystemCapacityMetricResult added in v1.15.0

type SystemCapacityMetricResult struct {
	ID               string `json:"id"`
	SizeFree         int    `json:"sizeFree"`
	SizeTotal        int    `json:"sizeTotal"`
	SizeUsed         int    `json:"sizeUsed"`
	SizePreallocated int    `json:"sizePreallocated"`
	SizeSubscribed   int    `json:"sizeSubscribed"`
	TotalLogicalSize int    `json:"totalLogicalSize"`
}

SystemCapacityMetricResult is part of response of a SystemCapacityMetricsQueryResult query

type SystemCapacityMetricsQueryResult added in v1.15.0

type SystemCapacityMetricsQueryResult struct {
	Base    string                             `json:"base"`
	Updated string                             `json:"updated"`
	Entries []SystemCapacityMetricsResultEntry `json:"entries"`
}

SystemCapacityMetricsQueryResult is response from querying systemCapacity

type SystemCapacityMetricsResultEntry added in v1.15.0

type SystemCapacityMetricsResultEntry struct {
	Base    string                     `json:"base"`
	Updated string                     `json:"updated"`
	Content SystemCapacityMetricResult `json:"content"`
}

SystemCapacityMetricsResultEntry is part of response of a SystemCapacityMetricsQueryResult query

type TenantContent added in v1.8.0

type TenantContent struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

TenantContent Struct to capture the Tenant Content

type TenantEntry added in v1.8.0

type TenantEntry struct {
	Content TenantContent `json:"content"`
}

TenantEntry Struct to capture the Tenant Entry

type TenantInfo added in v1.8.0

type TenantInfo struct {
	Entries []TenantEntry `json:"entries"`
}

TenantInfo Struct to capture the Tenant Info

type Tenants added in v1.8.0

type Tenants struct {
	TenantID string `json:"id"`
}

Tenants Struct to capture the Tenants

type Volume

type Volume struct {
	VolumeContent VolumeContent `json:"content"`
}

Volume struct to capture response of volume

type VolumeContent

type VolumeContent struct {
	ResourceID             string               `json:"id"`
	Name                   string               `json:"name,omitempty"`
	Description            string               `json:"description,omitempty"`
	Type                   int                  `json:"type,omitempty"`
	SizeTotal              uint64               `json:"sizeTotal,omitempty"`
	SizeUsed               uint64               `json:"sizeUsed,omitempty"`
	SizeAllocated          uint64               `json:"sizeAllocated,omitempty"`
	HostAccessResponse     []HostAccessResponse `json:"hostAccess,omitempty"`
	Wwn                    string               `json:"wwn,omitempty"`
	Pool                   Pool                 `json:"pool,omitempty"`
	IsThinEnabled          bool                 `json:"isThinEnabled"`
	IsDataReductionEnabled bool                 `json:"isDataReductionEnabled"`
	IoLimitPolicyContent   IoLimitPolicyContent `json:"ioLimitPolicy,omitempty"`
	IsThinClone            bool                 `json:"isThinClone"`
	ParentSnap             ParentSnap           `json:"parentSnap,omitempty"`
	TieringPolicy          int                  `json:"tieringPolicy,omitempty"`
	ParentVolume           StorageResource      `json:"originalParentLun,omitempty"`
	Health                 HealthContent        `json:"health,omitempty"`
}

VolumeContent struct to capture volume properties

Jump to

Keyboard shortcuts

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