models

package
v0.0.0-...-c7cb77a Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateExport

type CreateExport struct {

	/* clusters
	 */
	Clusters []string `json:"clusters,omitempty"`

	/* hosts
	 */
	Hosts []string `json:"hosts,omitempty"`

	/* initiators
	 */
	Initiators []string `json:"initiators,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* project
	 */
	Project string `json:"project,omitempty"`

	/* type
	 */
	Type string `json:"type,omitempty"`

	/* varray
	 */
	Varray string `json:"varray,omitempty"`

	/* volumes
	 */
	Volumes []*CreateExportVolumesItems0 `json:"volumes,omitempty"`
}

CreateExport create export

swagger:model CreateExport

func (*CreateExport) Validate

func (m *CreateExport) Validate(formats strfmt.Registry) error

Validate validates this create export

type CreateExportVolumesItems0

type CreateExportVolumesItems0 struct {

	/* id
	 */
	ID string `json:"id,omitempty"`

	/* lun
	 */
	Lun string `json:"lun,omitempty"`
}

CreateExportVolumesItems0 create export volumes items0

swagger:model CreateExportVolumesItems0

func (*CreateExportVolumesItems0) Validate

func (m *CreateExportVolumesItems0) Validate(formats strfmt.Registry) error

Validate validates this create export volumes items0

type CreateSnapshotFullCopy

type CreateSnapshotFullCopy struct {

	/* count
	 */
	Count int64 `json:"count,omitempty"`

	/* create inactive
	 */
	CreateInactive bool `json:"create_inactive,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* type
	 */
	Type string `json:"type,omitempty"`
}

CreateSnapshotFullCopy create snapshot full copy

swagger:model CreateSnapshotFullCopy

func (*CreateSnapshotFullCopy) Validate

func (m *CreateSnapshotFullCopy) Validate(formats strfmt.Registry) error

Validate validates this create snapshot full copy

type CreateVolume

type CreateVolume struct {

	/* consistency group
	 */
	ConsistencyGroup string `json:"consistency_group,omitempty"`

	/* count
	 */
	Count int32 `json:"count,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* project
	 */
	Project string `json:"project,omitempty"`

	/* size
	 */
	Size string `json:"size,omitempty"`

	/* varray
	 */
	Varray string `json:"varray,omitempty"`

	/* vpool
	 */
	Vpool string `json:"vpool,omitempty"`
}

CreateVolume create volume

swagger:model CreateVolume

func (*CreateVolume) Validate

func (m *CreateVolume) Validate(formats strfmt.Registry) error

Validate validates this create volume

type CreateVolumeFullCopy

type CreateVolumeFullCopy struct {

	/* count
	 */
	Count int64 `json:"count,omitempty"`

	/* create inactive
	 */
	CreateInactive bool `json:"create_inactive,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* type
	 */
	Type string `json:"type,omitempty"`
}

CreateVolumeFullCopy create volume full copy

swagger:model CreateVolumeFullCopy

func (*CreateVolumeFullCopy) Validate

func (m *CreateVolumeFullCopy) Validate(formats strfmt.Registry) error

Validate validates this create volume full copy

type CreateVolumeSnapshot

type CreateVolumeSnapshot struct {

	/* create inactive
	 */
	CreateInactive bool `json:"create_inactive,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* read only
	 */
	ReadOnly bool `json:"read_only,omitempty"`

	/* type
	 */
	Type string `json:"type,omitempty"`
}

CreateVolumeSnapshot create volume snapshot

swagger:model CreateVolumeSnapshot

func (*CreateVolumeSnapshot) Validate

func (m *CreateVolumeSnapshot) Validate(formats strfmt.Registry) error

Validate validates this create volume snapshot

type Error

type Error struct {

	/* code
	 */
	Code int32 `json:"code,omitempty"`

	/* description
	 */
	Description string `json:"description,omitempty"`

	/* details
	 */
	Details string `json:"details,omitempty"`

	/* retryable
	 */
	Retryable bool `json:"retryable,omitempty"`
}

Error error

swagger:model Error

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ExpandVolume

type ExpandVolume struct {

	/* new size
	 */
	NewSize string `json:"new_size,omitempty"`
}

ExpandVolume expand volume

swagger:model ExpandVolume

func (*ExpandVolume) Validate

func (m *ExpandVolume) Validate(formats strfmt.Registry) error

Validate validates this expand volume

type Link struct {

	/* href
	 */
	Href string `json:"href,omitempty"`

	/* rel
	 */
	Rel string `json:"rel,omitempty"`
}

Link link

swagger:model Link

func (*Link) Validate

func (m *Link) Validate(formats strfmt.Registry) error

Validate validates this link

type Resource

type Resource struct {

	/* id
	 */
	ID string `json:"id,omitempty"`

	/* link
	 */
	Link *Link `json:"link,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`
}

Resource resource

swagger:model Resource

func (*Resource) Validate

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type SearchResources

type SearchResources struct {

	/* resource
	 */
	Resource []*SearchResourcesResourceItems0 `json:"resource,omitempty"`
}

SearchResources search resources

swagger:model SearchResources

func (*SearchResources) Validate

func (m *SearchResources) Validate(formats strfmt.Registry) error

Validate validates this search resources

type SearchResourcesResourceItems0

type SearchResourcesResourceItems0 struct {
	Resource

	/* match
	 */
	Match string `json:"match,omitempty"`
}

SearchResourcesResourceItems0 search resources resource items0

swagger:model SearchResourcesResourceItems0

func (*SearchResourcesResourceItems0) Validate

func (m *SearchResourcesResourceItems0) Validate(formats strfmt.Registry) error

Validate validates this search resources resource items0

type Snapshot

type Snapshot struct {
	Volume

	/* is sync active
	 */
	IsSyncActive bool `json:"is_sync_active,omitempty"`

	/* replica state
	 */
	ReplicaState string `json:"replica_state,omitempty"`

	/* snapset label
	 */
	SnapsetLabel string `json:"snapset_label,omitempty"`

	/* source native id
	 */
	SourceNativeID string `json:"source_native_id,omitempty"`
}

Snapshot snapshot

swagger:model Snapshot

func (*Snapshot) Validate

func (m *Snapshot) Validate(formats strfmt.Registry) error

Validate validates this snapshot

type Snapshots

type Snapshots struct {

	/* id
	 */
	ID []string `json:"id,omitempty"`
}

Snapshots snapshots

swagger:model Snapshots

func (*Snapshots) Validate

func (m *Snapshots) Validate(formats strfmt.Registry) error

Validate validates this snapshots

type Task

type Task struct {

	/* associated resources
	 */
	AssociatedResources []string `json:"associated_resources,omitempty"`

	/* creation time
	 */
	CreationTime int64 `json:"creation_time,omitempty"`

	/* description
	 */
	Description string `json:"description,omitempty"`

	/* global
	 */
	Global bool `json:"global,omitempty"`

	/* id
	 */
	ID string `json:"id,omitempty"`

	/* inactive
	 */
	Inactive bool `json:"inactive,omitempty"`

	/* internal
	 */
	Internal bool `json:"internal,omitempty"`

	/* link
	 */
	Link *Link `json:"link,omitempty"`

	/* message
	 */
	Message string `json:"message,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* op id
	 */
	OpID string `json:"op_id,omitempty"`

	/* progress
	 */
	Progress int64 `json:"progress,omitempty"`

	/* remote
	 */
	Remote bool `json:"remote,omitempty"`

	/* resource
	 */
	Resource *Resource `json:"resource,omitempty"`

	/* start time
	 */
	StartTime int64 `json:"start_time,omitempty"`

	/* state
	 */
	State string `json:"state,omitempty"`

	/* tags
	 */
	Tags []string `json:"tags,omitempty"`

	/* tenant
	 */
	Tenant *Resource `json:"tenant,omitempty"`

	/* vdc
	 */
	Vdc *Resource `json:"vdc,omitempty"`
}

Task task

swagger:model Task

func (*Task) Validate

func (m *Task) Validate(formats strfmt.Registry) error

Validate validates this task

type Tasks

type Tasks struct {

	/* task
	 */
	Task []*Task `json:"task,omitempty"`
}

Tasks tasks

swagger:model Tasks

func (*Tasks) Validate

func (m *Tasks) Validate(formats strfmt.Registry) error

Validate validates this tasks

type UpdateExport

type UpdateExport struct {

	/* cluster changes
	 */
	ClusterChanges *UpdateExportClusterChanges `json:"cluster_changes,omitempty"`

	/* host changes
	 */
	HostChanges *UpdateExportHostChanges `json:"host_changes,omitempty"`

	/* initiator changes
	 */
	InitiatorChanges *UpdateExportInitiatorChanges `json:"initiator_changes,omitempty"`

	/* volume changes
	 */
	VolumeChanges string `json:"volume_changes,omitempty"`
}

UpdateExport update export

swagger:model UpdateExport

func (*UpdateExport) Validate

func (m *UpdateExport) Validate(formats strfmt.Registry) error

Validate validates this update export

type UpdateExportClusterChanges

type UpdateExportClusterChanges struct {

	/* add
	 */
	Add []string `json:"add,omitempty"`

	/* remove
	 */
	Remove []string `json:"remove,omitempty"`
}

UpdateExportClusterChanges update export cluster changes

swagger:model UpdateExportClusterChanges

func (*UpdateExportClusterChanges) Validate

func (m *UpdateExportClusterChanges) Validate(formats strfmt.Registry) error

Validate validates this update export cluster changes

type UpdateExportHostChanges

type UpdateExportHostChanges struct {

	/* add
	 */
	Add []string `json:"add,omitempty"`

	/* remove
	 */
	Remove []string `json:"remove,omitempty"`
}

UpdateExportHostChanges update export host changes

swagger:model UpdateExportHostChanges

func (*UpdateExportHostChanges) Validate

func (m *UpdateExportHostChanges) Validate(formats strfmt.Registry) error

Validate validates this update export host changes

type UpdateExportInitiatorChanges

type UpdateExportInitiatorChanges struct {

	/* add
	 */
	Add []string `json:"add,omitempty"`

	/* remove
	 */
	Remove []string `json:"remove,omitempty"`
}

UpdateExportInitiatorChanges update export initiator changes

swagger:model UpdateExportInitiatorChanges

func (*UpdateExportInitiatorChanges) Validate

func (m *UpdateExportInitiatorChanges) Validate(formats strfmt.Registry) error

Validate validates this update export initiator changes

type Volume

type Volume struct {
	Resource

	/* access state
	 */
	AccessState string `json:"access_state,omitempty"`

	/* allocated capacity gb
	 */
	AllocatedCapacityGb string `json:"allocated_capacity_gb,omitempty"`

	/* creation time
	 */
	CreationTime int64 `json:"creation_time,omitempty"`

	/* device label
	 */
	DeviceLabel string `json:"device_label,omitempty"`

	/* global
	 */
	Global bool `json:"global,omitempty"`

	/* high availability backing volumes
	 */
	HighAvailabilityBackingVolumes []string `json:"high_availability_backing_volumes,omitempty"`

	/* inactive
	 */
	Inactive bool `json:"inactive,omitempty"`

	/* internal
	 */
	Internal bool `json:"internal,omitempty"`

	/* is composite
	 */
	IsComposite bool `json:"is_composite,omitempty"`

	/* native id
	 */
	NativeID string `json:"native_id,omitempty"`

	/* pre allocation size gb
	 */
	PreAllocationSizeGb string `json:"pre_allocation_size_gb,omitempty"`

	/* project
	 */
	Project *Resource `json:"project,omitempty"`

	/* protection
	 */
	Protection *Resource `json:"protection,omitempty"`

	/* protocols
	 */
	Protocols []string `json:"protocols,omitempty"`

	/* provisioned capacity gb
	 */
	ProvisionedCapacityGb string `json:"provisioned_capacity_gb,omitempty"`

	/* remote
	 */
	Remote bool `json:"remote,omitempty"`

	/* replication group instance
	 */
	ReplicationGroupInstance string `json:"replication_group_instance,omitempty"`

	/* requested capacity gb
	 */
	RequestedCapacityGb string `json:"requested_capacity_gb,omitempty"`

	/* storage controller
	 */
	StorageController string `json:"storage_controller,omitempty"`

	/* storage pool
	 */
	StoragePool *Resource `json:"storage_pool,omitempty"`

	/* supports snapshot sessions
	 */
	SupportsSnapshotSessions bool `json:"supports_snapshot_sessions,omitempty"`

	/* system type
	 */
	SystemType string `json:"system_type,omitempty"`

	/* tags
	 */
	Tags []string `json:"tags,omitempty"`

	/* tenant
	 */
	Tenant *Resource `json:"tenant,omitempty"`

	/* thinly provisioned
	 */
	ThinlyProvisioned bool `json:"thinly_provisioned,omitempty"`

	/* varray
	 */
	Varray *Resource `json:"varray,omitempty"`

	/* vdc
	 */
	Vdc *Resource `json:"vdc,omitempty"`

	/* volume groups
	 */
	VolumeGroups []string `json:"volume_groups,omitempty"`

	/* vpool
	 */
	Vpool *Resource `json:"vpool,omitempty"`

	/* wwn
	 */
	Wwn string `json:"wwn,omitempty"`
}

Volume volume

swagger:model Volume

func (*Volume) Validate

func (m *Volume) Validate(formats strfmt.Registry) error

Validate validates this volume

type VolumeExports

type VolumeExports struct {

	/* itl
	 */
	Itl []*VolumeExportsItlItems0 `json:"itl,omitempty"`
}

VolumeExports volume exports

swagger:model VolumeExports

func (*VolumeExports) Validate

func (m *VolumeExports) Validate(formats strfmt.Registry) error

Validate validates this volume exports

type VolumeExportsItlItems0

type VolumeExportsItlItems0 struct {

	/* device
	 */
	Device *VolumeExportsItlItems0Device `json:"device,omitempty"`

	/* export
	 */
	Export *Resource `json:"export,omitempty"`

	/* hlu
	 */
	Hlu int64 `json:"hlu,omitempty"`

	/* initiator
	 */
	Initiator *VolumeExportsItlItems0Initiator `json:"initiator,omitempty"`

	/* san zone name
	 */
	SanZoneName string `json:"san_zone_name,omitempty"`

	/* target
	 */
	Target *VolumeExportsItlItems0Target `json:"target,omitempty"`
}

VolumeExportsItlItems0 volume exports itl items0

swagger:model VolumeExportsItlItems0

func (*VolumeExportsItlItems0) Validate

func (m *VolumeExportsItlItems0) Validate(formats strfmt.Registry) error

Validate validates this volume exports itl items0

type VolumeExportsItlItems0Device

type VolumeExportsItlItems0Device struct {
	Resource

	/* wwn
	 */
	Wwn string `json:"wwn,omitempty"`
}

VolumeExportsItlItems0Device volume exports itl items0 device

swagger:model VolumeExportsItlItems0Device

func (*VolumeExportsItlItems0Device) Validate

func (m *VolumeExportsItlItems0Device) Validate(formats strfmt.Registry) error

Validate validates this volume exports itl items0 device

type VolumeExportsItlItems0Initiator

type VolumeExportsItlItems0Initiator struct {
	Resource

	/* port
	 */
	Port string `json:"port,omitempty"`
}

VolumeExportsItlItems0Initiator volume exports itl items0 initiator

swagger:model VolumeExportsItlItems0Initiator

func (*VolumeExportsItlItems0Initiator) Validate

Validate validates this volume exports itl items0 initiator

type VolumeExportsItlItems0Target

type VolumeExportsItlItems0Target struct {
	Resource

	/* port
	 */
	Port string `json:"port,omitempty"`
}

VolumeExportsItlItems0Target volume exports itl items0 target

swagger:model VolumeExportsItlItems0Target

func (*VolumeExportsItlItems0Target) Validate

func (m *VolumeExportsItlItems0Target) Validate(formats strfmt.Registry) error

Validate validates this volume exports itl items0 target

type VolumeSnapshots

type VolumeSnapshots struct {

	/* snapshot
	 */
	Snapshot []*Resource `json:"snapshot,omitempty"`
}

VolumeSnapshots volume snapshots

swagger:model VolumeSnapshots

func (*VolumeSnapshots) Validate

func (m *VolumeSnapshots) Validate(formats strfmt.Registry) error

Validate validates this volume snapshots

type Volumes

type Volumes struct {

	/* id
	 */
	ID []string `json:"id,omitempty"`
}

Volumes volumes

swagger:model Volumes

func (*Volumes) Validate

func (m *Volumes) Validate(formats strfmt.Registry) error

Validate validates this volumes

Jump to

Keyboard shortcuts

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