Documentation
¶
Index ¶
- type BasicSystemInfo
- type Content
- type CopySnapshot
- type CopySnapshots
- type CopySnapshotsContent
- type CreateLunThinCloneParam
- type CreateSnapshotParam
- type Entries
- type Error
- type ErrorContent
- type ErrorMessage
- type FastVPParameters
- type FcPort
- type FcPortContent
- type FcPortID
- type FileContent
- type FileEventSettings
- type Filesystem
- type FsCreateParam
- type FsExpandModifyParam
- type FsExpandParameters
- type FsModifyParameters
- type FsParameters
- type HealthContent
- type Host
- type HostAccess
- type HostAccessResponse
- type HostContent
- type HostCreateParam
- type HostIDContent
- type HostIPPort
- type HostIPPortCreateParam
- type HostInitiator
- type HostInitiatorContent
- type HostInitiatorCreateParam
- type HostInitiatorModifyParam
- type HostInitiatorPath
- type HostInitiatorPathContent
- type HostIoLimitParameters
- type IPInterfaceContent
- type IPInterfaceEntries
- type IPPorts
- type InitiatorType
- type Initiators
- type IoLimitPolicy
- type IoLimitPolicyContent
- type IoLimitPolicyParam
- type LicenseInfo
- type LicenseInfoContent
- type Link
- type ListHost
- type ListHostInitiator
- type ListIPInterfaces
- type ListSnapshot
- type ListVolumes
- type LunCreateParam
- type LunExpandModifyParam
- type LunExpandParameters
- type LunHostAccessModifyParam
- type LunHostAccessParameters
- type LunModifyParam
- type LunParameters
- type MaxVolumSizeContent
- type MaxVolumSizeInfo
- type MetricContent
- type MetricEntries
- type MetricInfo
- type MetricInstance
- type MetricPaths
- type MetricQueryCreateResponse
- type MetricQueryResponseContent
- type MetricQueryResult
- type MetricRealTimeQuery
- type MetricResult
- type MetricResultEntry
- type NASServer
- type NASServerContent
- type NFSServer
- type NFSServerEntry
- type NFSServersResponse
- type NFSShare
- type NFSShareContent
- type NFSShareCreateFromSnapModify
- type NFSShareCreateFromSnapParam
- type NFSShareCreateParam
- type NFSShareDelete
- type NFSShareModify
- type NFSShareModifyContent
- type NFSShareParameters
- type NasServerID
- type ParentSnap
- type Path
- type Pool
- type PoolFastVP
- type Share
- type Snapshot
- type SnapshotContent
- type SnapshotIDContent
- type StoragePool
- type StoragePoolContent
- type StoragePoolID
- type StorageResource
- type StorageResourceContent
- type StorageResourceParam
- type StorageResourceParameters
- type SystemCapacityMetricResult
- type SystemCapacityMetricsQueryResult
- type SystemCapacityMetricsResultEntry
- type TenantContent
- type TenantEntry
- type TenantInfo
- type Tenants
- type Volume
- type VolumeContent
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 ¶
CopySnapshot struct to capture Copy snapshot parameters
type CopySnapshots ¶
type CopySnapshots struct {
CopySnapshotsContent CopySnapshotsContent `json:"content"`
}
CopySnapshots struct to capture copy snapshot content
type CopySnapshotsContent ¶
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
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 ¶
type FcPort struct {
FcPortContent FcPortContent `json:"content"`
}
FcPort struct to capture FC port object
type FcPortContent ¶
type FcPortContent struct {
Wwn string `json:"wwn"`
}
FcPortContent struct to capture FC port ID
type FcPortID ¶
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"`
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 ¶
type FsExpandModifyParam struct {
FsParameters *FsExpandParameters `json:"fsParameters"`
}
FsExpandModifyParam Struct to expand Filesystem
type FsExpandParameters ¶
type FsExpandParameters struct {
Size uint64 `json:"size"`
}
FsExpandParameters Struct to capture expand Filesystem parameters
type FsModifyParameters ¶
type FsModifyParameters struct {
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 ¶
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 ¶
type HostIDContent struct {
ID string `json:"id"`
}
HostIDContent Struct to capture Host ID Content
type HostIPPort ¶
type HostIPPort struct {
HostIPContent HostContent `json:"content"`
}
HostIPPort struct to capture Host IP port object
type HostIPPortCreateParam ¶
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 ¶
type HostInitiatorPath struct {
HostInitiatorPathContent HostInitiatorPathContent `json:"content"`
}
HostInitiatorPath struct to capture host initiator path object
type HostInitiatorPathContent ¶
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 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 ¶
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 ListHost ¶ added in v1.24.0
type ListHost struct {
Hosts []Host `json:"entries"`
}
ListHost struct to capture host list
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 ¶
type MaxVolumSizeContent struct {
ID string `json:"id"`
Limit int `json:"limitValue"`
Unit int `json:"unit"`
}
MaxVolumSizeContent is a response from querying systemLimit
type MaxVolumSizeInfo ¶
type MaxVolumSizeInfo struct {
MaxVolumSizeContent MaxVolumSizeContent `json:"content"`
}
MaxVolumSizeInfo is a response from querying systemLimit
type MetricContent ¶
type MetricContent struct {
ID int `json:"id"`
}
MetricContent is part of the response from /api/types/metric/instances
type MetricEntries ¶
type MetricEntries struct {
Cnt MetricContent `json:"content"`
}
MetricEntries is part of the response from /api/types/metric/instances
type MetricInfo ¶
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 ¶
type MetricInstance struct {
Base string `json:"base"`
Updated string `json:"updated"`
Content MetricInfo `json:"content"`
}
MetricInstance describes an instance of Unity metric
type MetricPaths ¶
type MetricPaths struct {
Entries []MetricEntries `json:"entries"`
}
MetricPaths comes from response from /api/types/metric/instances
type MetricQueryCreateResponse ¶
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 ¶
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 ¶
type MetricQueryResult struct {
Base string `json:"base"`
Updated string `json:"updated"`
Entries []MetricResultEntry `json:"entries"`
}
MetricQueryResult is response from querying a MetricCollection
type MetricRealTimeQuery ¶
MetricRealTimeQuery is body of a request to create a MetricCollection query
type MetricResult ¶
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 ¶
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 ¶
type NASServer struct {
NASServerContent NASServerContent `json:"content"`
}
NASServer struct to capture NAS Server object
type NASServerContent ¶
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 ¶
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 NFSServerEntry ¶
type NFSServersResponse ¶
type NFSServersResponse struct {
Base string `json:"@base"`
Updated time.Time `json:"updated"`
Links []Link `json:"links"`
Entries []NFSServerEntry `json:"entries"`
}
type NFSShareContent ¶
type NFSShareContent struct {
}
NFSShareContent struct to capture NFS Share parameters
type NFSShareCreateFromSnapModify ¶
type NFSShareCreateFromSnapModify struct {
}
NFSShareCreateFromSnapModify Struct to modify NFS Share created from snapshot parameters
type NFSShareCreateFromSnapParam ¶
type NFSShareCreateFromSnapParam struct {
}
NFSShareCreateFromSnapParam Struct to capture create NFS share from snapshot parameters
type NFSShareCreateParam ¶
type NFSShareCreateParam struct {
}
NFSShareCreateParam Struct to capture NFS Share Create parameters
type NFSShareDelete ¶
type NFSShareDelete struct {
}
NFSShareDelete Struct to modify NFS Share parameters
type NFSShareModify ¶
type NFSShareModify struct {
}
NFSShareModify Struct to modify NFS Share parameters
type NFSShareModifyContent ¶
type NFSShareModifyContent struct {
}
NFSShareModifyContent Struct to capture NFS Share modify content
type NFSShareParameters ¶
type NFSShareParameters struct {
}
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 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 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 ¶
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 ¶
StorageResource struct to capture storage resource ID
type StorageResourceContent ¶
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 ¶
type StorageResourceParameters struct {
StorageResourceContent StorageResourceContent `json:"content"`
}
StorageResourceParameters struct to capture Storage Resource content
type SystemCapacityMetricResult ¶
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 ¶
type SystemCapacityMetricsQueryResult struct {
Base string `json:"base"`
Updated string `json:"updated"`
Entries []SystemCapacityMetricsResultEntry `json:"entries"`
}
SystemCapacityMetricsQueryResult is response from querying systemCapacity
type SystemCapacityMetricsResultEntry ¶
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 ¶
TenantContent Struct to capture the Tenant Content
type TenantEntry ¶
type TenantEntry struct {
Content TenantContent `json:"content"`
}
TenantEntry Struct to capture the Tenant Entry
type TenantInfo ¶
type TenantInfo struct {
Entries []TenantEntry `json:"entries"`
}
TenantInfo Struct to capture the Tenant Info
type Tenants ¶
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