models

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CloneTaskStatusStatusRunning captures enum value "running"
	CloneTaskStatusStatusRunning string = "running"

	// CloneTaskStatusStatusCompleted captures enum value "completed"
	CloneTaskStatusStatusCompleted string = "completed"

	// CloneTaskStatusStatusFailed captures enum value "failed"
	CloneTaskStatusStatusFailed string = "failed"

	// CloneTaskStatusStatusUnknown captures enum value "unknown"
	CloneTaskStatusStatusUnknown string = "unknown"
)
View Source
const (

	// CreateCosImageImportJobBucketAccessPublic captures enum value "public"
	CreateCosImageImportJobBucketAccessPublic string = "public"

	// CreateCosImageImportJobBucketAccessPrivate captures enum value "private"
	CreateCosImageImportJobBucketAccessPrivate string = "private"
)
View Source
const (

	// CreateCosImageImportJobOsTypeAix captures enum value "aix"
	CreateCosImageImportJobOsTypeAix string = "aix"

	// CreateCosImageImportJobOsTypeIbmi captures enum value "ibmi"
	CreateCosImageImportJobOsTypeIbmi string = "ibmi"

	// CreateCosImageImportJobOsTypeRhel captures enum value "rhel"
	CreateCosImageImportJobOsTypeRhel string = "rhel"

	// CreateCosImageImportJobOsTypeSles captures enum value "sles"
	CreateCosImageImportJobOsTypeSles string = "sles"
)
View Source
const (

	// CreateDataVolumeAffinityPolicyAffinity captures enum value "affinity"
	CreateDataVolumeAffinityPolicyAffinity string = "affinity"

	// CreateDataVolumeAffinityPolicyAntiDashAffinity captures enum value "anti-affinity"
	CreateDataVolumeAffinityPolicyAntiDashAffinity string = "anti-affinity"
)
View Source
const (

	// CreateImageOsTypeAix captures enum value "aix"
	CreateImageOsTypeAix string = "aix"

	// CreateImageOsTypeIbmi captures enum value "ibmi"
	CreateImageOsTypeIbmi string = "ibmi"

	// CreateImageOsTypeRhel captures enum value "rhel"
	CreateImageOsTypeRhel string = "rhel"

	// CreateImageOsTypeSles captures enum value "sles"
	CreateImageOsTypeSles string = "sles"
)
View Source
const (

	// CreateImageSourceRootDashProject captures enum value "root-project"
	CreateImageSourceRootDashProject string = "root-project"

	// CreateImageSourceURL captures enum value "url"
	CreateImageSourceURL string = "url"
)
View Source
const (

	// EventLevelNotice captures enum value "notice"
	EventLevelNotice string = "notice"

	// EventLevelInfo captures enum value "info"
	EventLevelInfo string = "info"

	// EventLevelWarning captures enum value "warning"
	EventLevelWarning string = "warning"

	// EventLevelError captures enum value "error"
	EventLevelError string = "error"
)
View Source
const (

	// LastOperationResourceStateInProgress captures enum value "in progress"
	LastOperationResourceStateInProgress string = "in progress"

	// LastOperationResourceStateSucceeded captures enum value "succeeded"
	LastOperationResourceStateSucceeded string = "succeeded"

	// LastOperationResourceStateFailed captures enum value "failed"
	LastOperationResourceStateFailed string = "failed"
)
View Source
const (

	// MultiVolumesCreateAffinityPolicyAffinity captures enum value "affinity"
	MultiVolumesCreateAffinityPolicyAffinity string = "affinity"

	// MultiVolumesCreateAffinityPolicyAntiDashAffinity captures enum value "anti-affinity"
	MultiVolumesCreateAffinityPolicyAntiDashAffinity string = "anti-affinity"
)
View Source
const (

	// NetworkAccessConfigInternalDashOnly captures enum value "internal-only"
	NetworkAccessConfigInternalDashOnly string = "internal-only"

	// NetworkAccessConfigOutboundDashOnly captures enum value "outbound-only"
	NetworkAccessConfigOutboundDashOnly string = "outbound-only"

	// NetworkAccessConfigBidirectionalDashStaticDashRoute captures enum value "bidirectional-static-route"
	NetworkAccessConfigBidirectionalDashStaticDashRoute string = "bidirectional-static-route"

	// NetworkAccessConfigBidirectionalDashBgp captures enum value "bidirectional-bgp"
	NetworkAccessConfigBidirectionalDashBgp string = "bidirectional-bgp"

	// NetworkAccessConfigBidirectionalDashL2out captures enum value "bidirectional-l2out"
	NetworkAccessConfigBidirectionalDashL2out string = "bidirectional-l2out"
)
View Source
const (

	// NetworkTypeVlan captures enum value "vlan"
	NetworkTypeVlan string = "vlan"

	// NetworkTypePubDashVlan captures enum value "pub-vlan"
	NetworkTypePubDashVlan string = "pub-vlan"
)
View Source
const (

	// NetworkCreateAccessConfigInternalDashOnly captures enum value "internal-only"
	NetworkCreateAccessConfigInternalDashOnly string = "internal-only"

	// NetworkCreateAccessConfigOutboundDashOnly captures enum value "outbound-only"
	NetworkCreateAccessConfigOutboundDashOnly string = "outbound-only"

	// NetworkCreateAccessConfigBidirectionalDashStaticDashRoute captures enum value "bidirectional-static-route"
	NetworkCreateAccessConfigBidirectionalDashStaticDashRoute string = "bidirectional-static-route"

	// NetworkCreateAccessConfigBidirectionalDashBgp captures enum value "bidirectional-bgp"
	NetworkCreateAccessConfigBidirectionalDashBgp string = "bidirectional-bgp"

	// NetworkCreateAccessConfigBidirectionalDashL2out captures enum value "bidirectional-l2out"
	NetworkCreateAccessConfigBidirectionalDashL2out string = "bidirectional-l2out"
)
View Source
const (

	// NetworkCreateTypeVlan captures enum value "vlan"
	NetworkCreateTypeVlan string = "vlan"

	// NetworkCreateTypePubDashVlan captures enum value "pub-vlan"
	NetworkCreateTypePubDashVlan string = "pub-vlan"
)
View Source
const (

	// NetworkReferenceAccessConfigInternalDashOnly captures enum value "internal-only"
	NetworkReferenceAccessConfigInternalDashOnly string = "internal-only"

	// NetworkReferenceAccessConfigOutboundDashOnly captures enum value "outbound-only"
	NetworkReferenceAccessConfigOutboundDashOnly string = "outbound-only"

	// NetworkReferenceAccessConfigBidirectionalDashStaticDashRoute captures enum value "bidirectional-static-route"
	NetworkReferenceAccessConfigBidirectionalDashStaticDashRoute string = "bidirectional-static-route"

	// NetworkReferenceAccessConfigBidirectionalDashBgp captures enum value "bidirectional-bgp"
	NetworkReferenceAccessConfigBidirectionalDashBgp string = "bidirectional-bgp"

	// NetworkReferenceAccessConfigBidirectionalDashL2out captures enum value "bidirectional-l2out"
	NetworkReferenceAccessConfigBidirectionalDashL2out string = "bidirectional-l2out"
)
View Source
const (

	// NetworkReferenceTypeVlan captures enum value "vlan"
	NetworkReferenceTypeVlan string = "vlan"

	// NetworkReferenceTypePubDashVlan captures enum value "pub-vlan"
	NetworkReferenceTypePubDashVlan string = "pub-vlan"
)
View Source
const (

	// OperationsBootModeA captures enum value "a"
	OperationsBootModeA string = "a"

	// OperationsBootModeB captures enum value "b"
	OperationsBootModeB string = "b"

	// OperationsBootModeC captures enum value "c"
	OperationsBootModeC string = "c"

	// OperationsBootModeD captures enum value "d"
	OperationsBootModeD string = "d"
)
View Source
const (

	// OperationsOperatingModeNormal captures enum value "normal"
	OperationsOperatingModeNormal string = "normal"

	// OperationsOperatingModeManual captures enum value "manual"
	OperationsOperatingModeManual string = "manual"
)
View Source
const (

	// OperationsTaskDston captures enum value "dston"
	OperationsTaskDston string = "dston"

	// OperationsTaskRetrydump captures enum value "retrydump"
	OperationsTaskRetrydump string = "retrydump"

	// OperationsTaskConsoleservice captures enum value "consoleservice"
	OperationsTaskConsoleservice string = "consoleservice"

	// OperationsTaskIopreset captures enum value "iopreset"
	OperationsTaskIopreset string = "iopreset"

	// OperationsTaskRemotedstoff captures enum value "remotedstoff"
	OperationsTaskRemotedstoff string = "remotedstoff"

	// OperationsTaskRemotedston captures enum value "remotedston"
	OperationsTaskRemotedston string = "remotedston"

	// OperationsTaskIopdump captures enum value "iopdump"
	OperationsTaskIopdump string = "iopdump"

	// OperationsTaskDumprestart captures enum value "dumprestart"
	OperationsTaskDumprestart string = "dumprestart"
)
View Source
const (

	// PVMInstanceProcTypeDedicated captures enum value "dedicated"
	PVMInstanceProcTypeDedicated string = "dedicated"

	// PVMInstanceProcTypeShared captures enum value "shared"
	PVMInstanceProcTypeShared string = "shared"

	// PVMInstanceProcTypeCapped captures enum value "capped"
	PVMInstanceProcTypeCapped string = "capped"

	// PVMInstanceProcTypeEmpty captures enum value ""
	PVMInstanceProcTypeEmpty string = ""
)
View Source
const (

	// PVMInstanceActionActionStart captures enum value "start"
	PVMInstanceActionActionStart string = "start"

	// PVMInstanceActionActionStop captures enum value "stop"
	PVMInstanceActionActionStop string = "stop"

	// PVMInstanceActionActionImmediateDashShutdown captures enum value "immediate-shutdown"
	PVMInstanceActionActionImmediateDashShutdown string = "immediate-shutdown"

	// PVMInstanceActionActionHardDashReboot captures enum value "hard-reboot"
	PVMInstanceActionActionHardDashReboot string = "hard-reboot"

	// PVMInstanceActionActionSoftDashReboot captures enum value "soft-reboot"
	PVMInstanceActionActionSoftDashReboot string = "soft-reboot"

	// PVMInstanceActionActionResetDashState captures enum value "reset-state"
	PVMInstanceActionActionResetDashState string = "reset-state"
)
View Source
const (

	// PVMInstanceCaptureCaptureDestinationImageDashCatalog captures enum value "image-catalog"
	PVMInstanceCaptureCaptureDestinationImageDashCatalog string = "image-catalog"

	// PVMInstanceCaptureCaptureDestinationCloudDashStorage captures enum value "cloud-storage"
	PVMInstanceCaptureCaptureDestinationCloudDashStorage string = "cloud-storage"

	// PVMInstanceCaptureCaptureDestinationBoth captures enum value "both"
	PVMInstanceCaptureCaptureDestinationBoth string = "both"
)
View Source
const (

	// PVMInstanceCloneProcTypeDedicated captures enum value "dedicated"
	PVMInstanceCloneProcTypeDedicated string = "dedicated"

	// PVMInstanceCloneProcTypeShared captures enum value "shared"
	PVMInstanceCloneProcTypeShared string = "shared"

	// PVMInstanceCloneProcTypeCapped captures enum value "capped"
	PVMInstanceCloneProcTypeCapped string = "capped"
)
View Source
const (

	// PVMInstanceCreateProcTypeDedicated captures enum value "dedicated"
	PVMInstanceCreateProcTypeDedicated string = "dedicated"

	// PVMInstanceCreateProcTypeShared captures enum value "shared"
	PVMInstanceCreateProcTypeShared string = "shared"

	// PVMInstanceCreateProcTypeCapped captures enum value "capped"
	PVMInstanceCreateProcTypeCapped string = "capped"
)
View Source
const (

	// PVMInstanceCreateReplicantAffinityPolicyAffinity captures enum value "affinity"
	PVMInstanceCreateReplicantAffinityPolicyAffinity string = "affinity"

	// PVMInstanceCreateReplicantAffinityPolicyAntiDashAffinity captures enum value "anti-affinity"
	PVMInstanceCreateReplicantAffinityPolicyAntiDashAffinity string = "anti-affinity"

	// PVMInstanceCreateReplicantAffinityPolicyNone captures enum value "none"
	PVMInstanceCreateReplicantAffinityPolicyNone string = "none"
)
View Source
const (

	// PVMInstanceCreateReplicantNamingSchemePrefix captures enum value "prefix"
	PVMInstanceCreateReplicantNamingSchemePrefix string = "prefix"

	// PVMInstanceCreateReplicantNamingSchemeSuffix captures enum value "suffix"
	PVMInstanceCreateReplicantNamingSchemeSuffix string = "suffix"
)
View Source
const (

	// PVMInstanceMultiCreateAffinityPolicyAffinity captures enum value "affinity"
	PVMInstanceMultiCreateAffinityPolicyAffinity string = "affinity"

	// PVMInstanceMultiCreateAffinityPolicyAntiDashAffinity captures enum value "anti-affinity"
	PVMInstanceMultiCreateAffinityPolicyAntiDashAffinity string = "anti-affinity"

	// PVMInstanceMultiCreateAffinityPolicyNone captures enum value "none"
	PVMInstanceMultiCreateAffinityPolicyNone string = "none"
)
View Source
const (

	// PVMInstanceMultiCreateNumericalPrefix captures enum value "prefix"
	PVMInstanceMultiCreateNumericalPrefix string = "prefix"

	// PVMInstanceMultiCreateNumericalSuffix captures enum value "suffix"
	PVMInstanceMultiCreateNumericalSuffix string = "suffix"
)
View Source
const (

	// PVMInstanceOperationOperationTypeJob captures enum value "job"
	PVMInstanceOperationOperationTypeJob string = "job"

	// PVMInstanceOperationOperationTypeBoot captures enum value "boot"
	PVMInstanceOperationOperationTypeBoot string = "boot"
)
View Source
const (

	// PVMInstanceReferenceProcTypeDedicated captures enum value "dedicated"
	PVMInstanceReferenceProcTypeDedicated string = "dedicated"

	// PVMInstanceReferenceProcTypeShared captures enum value "shared"
	PVMInstanceReferenceProcTypeShared string = "shared"

	// PVMInstanceReferenceProcTypeCapped captures enum value "capped"
	PVMInstanceReferenceProcTypeCapped string = "capped"
)
View Source
const (

	// PVMInstanceUpdateProcTypeDedicated captures enum value "dedicated"
	PVMInstanceUpdateProcTypeDedicated string = "dedicated"

	// PVMInstanceUpdateProcTypeShared captures enum value "shared"
	PVMInstanceUpdateProcTypeShared string = "shared"

	// PVMInstanceUpdateProcTypeCapped captures enum value "capped"
	PVMInstanceUpdateProcTypeCapped string = "capped"
)
View Source
const (

	// PVMInstanceUpdateResponseProcTypeDedicated captures enum value "dedicated"
	PVMInstanceUpdateResponseProcTypeDedicated string = "dedicated"

	// PVMInstanceUpdateResponseProcTypeShared captures enum value "shared"
	PVMInstanceUpdateResponseProcTypeShared string = "shared"

	// PVMInstanceUpdateResponseProcTypeCapped captures enum value "capped"
	PVMInstanceUpdateResponseProcTypeCapped string = "capped"
)
View Source
const (

	// PlacementGroupPolicyAffinity captures enum value "affinity"
	PlacementGroupPolicyAffinity string = "affinity"

	// PlacementGroupPolicyAntiDashAffinity captures enum value "anti-affinity"
	PlacementGroupPolicyAntiDashAffinity string = "anti-affinity"
)
View Source
const (

	// PlacementGroupCreatePolicyAffinity captures enum value "affinity"
	PlacementGroupCreatePolicyAffinity string = "affinity"

	// PlacementGroupCreatePolicyAntiDashAffinity captures enum value "anti-affinity"
	PlacementGroupCreatePolicyAntiDashAffinity string = "anti-affinity"
)
View Source
const (

	// PvmInstanceDeploymentProcessorModeDedicated captures enum value "dedicated"
	PvmInstanceDeploymentProcessorModeDedicated string = "dedicated"

	// PvmInstanceDeploymentProcessorModeShared captures enum value "shared"
	PvmInstanceDeploymentProcessorModeShared string = "shared"

	// PvmInstanceDeploymentProcessorModeCapped captures enum value "capped"
	PvmInstanceDeploymentProcessorModeCapped string = "capped"
)
View Source
const (

	// SAPProfileTypeBalanced captures enum value "balanced"
	SAPProfileTypeBalanced string = "balanced"

	// SAPProfileTypeCompute captures enum value "compute"
	SAPProfileTypeCompute string = "compute"

	// SAPProfileTypeMemory captures enum value "memory"
	SAPProfileTypeMemory string = "memory"

	// SAPProfileTypeNonDashProduction captures enum value "non-production"
	SAPProfileTypeNonDashProduction string = "non-production"

	// SAPProfileTypeUltraDashMemory captures enum value "ultra-memory"
	SAPProfileTypeUltraDashMemory string = "ultra-memory"
)
View Source
const (

	// ServiceBindingVolumeMountModeR captures enum value "r"
	ServiceBindingVolumeMountModeR string = "r"

	// ServiceBindingVolumeMountModeRw captures enum value "rw"
	ServiceBindingVolumeMountModeRw string = "rw"
)
View Source
const (

	// StorageAffinityAffinityPolicyAffinity captures enum value "affinity"
	StorageAffinityAffinityPolicyAffinity string = "affinity"

	// StorageAffinityAffinityPolicyAntiDashAffinity captures enum value "anti-affinity"
	StorageAffinityAffinityPolicyAntiDashAffinity string = "anti-affinity"
)
View Source
const (

	// StoragePoolStateClosed captures enum value "closed"
	StoragePoolStateClosed string = "closed"

	// StoragePoolStateOpened captures enum value "opened"
	StoragePoolStateOpened string = "opened"
)
View Source
const (

	// StorageTypeStateActive captures enum value "active"
	StorageTypeStateActive string = "active"

	// StorageTypeStateInactive captures enum value "inactive"
	StorageTypeStateInactive string = "inactive"
)
View Source
const (

	// TokenRequestSourceWeb captures enum value "web"
	TokenRequestSourceWeb string = "web"

	// TokenRequestSourceCli captures enum value "cli"
	TokenRequestSourceCli string = "cli"
)
View Source
const (

	// TransitGatewayLocationLocationTypeRegion captures enum value "region"
	TransitGatewayLocationLocationTypeRegion string = "region"

	// TransitGatewayLocationLocationTypeDataDashCenter captures enum value "data-center"
	TransitGatewayLocationLocationTypeDataDashCenter string = "data-center"

	// TransitGatewayLocationLocationTypeZone captures enum value "zone"
	TransitGatewayLocationLocationTypeZone string = "zone"
)
View Source
const (

	// UpdateStoragePoolStateClosed captures enum value "closed"
	UpdateStoragePoolStateClosed string = "closed"

	// UpdateStoragePoolStateOpened captures enum value "opened"
	UpdateStoragePoolStateOpened string = "opened"
)
View Source
const (

	// VolumePrimaryRoleMaster captures enum value "master"
	VolumePrimaryRoleMaster string = "master"

	// VolumePrimaryRoleAux captures enum value "aux"
	VolumePrimaryRoleAux string = "aux"
)
View Source
const (

	// VolumeGroupActionStartSourceMaster captures enum value "master"
	VolumeGroupActionStartSourceMaster string = "master"

	// VolumeGroupActionStartSourceAux captures enum value "aux"
	VolumeGroupActionStartSourceAux string = "aux"
)
View Source
const (

	// VolumeReferencePrimaryRoleMaster captures enum value "master"
	VolumeReferencePrimaryRoleMaster string = "master"

	// VolumeReferencePrimaryRoleAux captures enum value "aux"
	VolumeReferencePrimaryRoleAux string = "aux"
)
View Source
const (

	// PVMInstanceCreateStorageConnectionVSCSI captures enum value "vSCSI"
	PVMInstanceCreateStorageConnectionVSCSI string = "vSCSI"
)
View Source
const (

	// ServiceBindingVolumeMountDeviceTypeShared captures enum value "shared"
	ServiceBindingVolumeMountDeviceTypeShared string = "shared"
)
View Source
const (

	// VolumeGroupActionResetStatusAvailable captures enum value "available"
	VolumeGroupActionResetStatusAvailable string = "available"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRole

type AccessRole struct {

	// Object containing what permissions are allowed
	// Required: true
	Permissions *Permissions `json:"permissions"`

	// String representation of an access role
	Role string `json:"role,omitempty"`
}

AccessRole access role

swagger:model AccessRole

func (*AccessRole) ContextValidate

func (m *AccessRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this access role based on the context it is used

func (*AccessRole) MarshalBinary

func (m *AccessRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessRole) UnmarshalBinary

func (m *AccessRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessRole) Validate

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

Validate validates this access role

type AccessToken

type AccessToken struct {

	// Access Token
	// Required: true
	AccessToken *string `json:"accessToken"`
}

AccessToken access token

swagger:model AccessToken

func (*AccessToken) ContextValidate

func (m *AccessToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access token based on context it is used

func (*AccessToken) MarshalBinary

func (m *AccessToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessToken) UnmarshalBinary

func (m *AccessToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessToken) Validate

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

Validate validates this access token

type AsyncOperation

type AsyncOperation struct {

	// operation
	Operation string `json:"operation,omitempty"`
}

AsyncOperation async operation

swagger:model AsyncOperation

func (*AsyncOperation) ContextValidate

func (m *AsyncOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this async operation based on context it is used

func (*AsyncOperation) MarshalBinary

func (m *AsyncOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AsyncOperation) UnmarshalBinary

func (m *AsyncOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AsyncOperation) Validate

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

Validate validates this async operation

type AvailableStockImages

type AvailableStockImages map[string]StockImages

AvailableStockImages A map of an array of stock images for each available storage type

swagger:model AvailableStockImages

func (AvailableStockImages) ContextValidate

func (m AvailableStockImages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this available stock images based on the context it is used

func (AvailableStockImages) Validate

func (m AvailableStockImages) Validate(formats strfmt.Registry) error

Validate validates this available stock images

type Catalog

type Catalog struct {

	// services
	Services []*Service `json:"services"`
}

Catalog catalog

swagger:model Catalog

func (*Catalog) ContextValidate

func (m *Catalog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this catalog based on the context it is used

func (*Catalog) MarshalBinary

func (m *Catalog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Catalog) UnmarshalBinary

func (m *Catalog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Catalog) Validate

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

Validate validates this catalog

type CloneTaskReference

type CloneTaskReference struct {

	// ID of a long running PowerVC clone task
	// Required: true
	CloneTaskID *string `json:"cloneTaskID"`

	// Link to PowerVC clone task resource
	// Required: true
	Href *string `json:"href"`
}

CloneTaskReference clone task reference

swagger:model CloneTaskReference

func (*CloneTaskReference) ContextValidate

func (m *CloneTaskReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this clone task reference based on context it is used

func (*CloneTaskReference) MarshalBinary

func (m *CloneTaskReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloneTaskReference) UnmarshalBinary

func (m *CloneTaskReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloneTaskReference) Validate

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

Validate validates this clone task reference

type CloneTaskStatus

type CloneTaskStatus struct {

	// List of cloned volumes created from the clone volumes task
	ClonedVolumes []*ClonedVolume `json:"clonedVolumes"`

	// The reason the clone volumes task has failed
	FailedReason string `json:"failedReason,omitempty"`

	// Snapshot completion percentage
	// Required: true
	PercentComplete *int64 `json:"percentComplete"`

	// Status of the clone volumes task
	// Required: true
	// Enum: [running completed failed unknown]
	Status *string `json:"status"`
}

CloneTaskStatus clone task status

swagger:model CloneTaskStatus

func (*CloneTaskStatus) ContextValidate

func (m *CloneTaskStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this clone task status based on the context it is used

func (*CloneTaskStatus) MarshalBinary

func (m *CloneTaskStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloneTaskStatus) UnmarshalBinary

func (m *CloneTaskStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloneTaskStatus) Validate

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

Validate validates this clone task status

type ClonedVolume

type ClonedVolume struct {

	// ID of the new cloned volume
	ClonedVolumeID string `json:"clonedVolumeID,omitempty"`

	// ID of the source volume to be cloned
	SourceVolumeID string `json:"sourceVolumeID,omitempty"`
}

ClonedVolume cloned volume

swagger:model ClonedVolume

func (*ClonedVolume) ContextValidate

func (m *ClonedVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cloned volume based on context it is used

func (*ClonedVolume) MarshalBinary

func (m *ClonedVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClonedVolume) UnmarshalBinary

func (m *ClonedVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClonedVolume) Validate

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

Validate validates this cloned volume

type ClonedVolumeDetail

type ClonedVolumeDetail struct {

	// clone
	// Required: true
	Clone *VolumeInfo `json:"clone"`

	// source
	// Required: true
	Source *VolumeInfo `json:"source"`
}

ClonedVolumeDetail cloned volume detail

swagger:model ClonedVolumeDetail

func (*ClonedVolumeDetail) ContextValidate

func (m *ClonedVolumeDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloned volume detail based on the context it is used

func (*ClonedVolumeDetail) MarshalBinary

func (m *ClonedVolumeDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClonedVolumeDetail) UnmarshalBinary

func (m *ClonedVolumeDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClonedVolumeDetail) Validate

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

Validate validates this cloned volume detail

type CloudInstance

type CloudInstance struct {

	// Cloud Instance Capabilities
	Capabilities []string `json:"capabilities"`

	// Cloud Instance ID
	// Required: true
	CloudInstanceID *string `json:"cloudInstanceID"`

	// Indicates if the cloud instance is enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// Indicates if the cloud instance is initialized and ready for use
	// Required: true
	Initialized *bool `json:"initialized"`

	// Limits on the cloud instance
	// Required: true
	Limits *CloudInstanceUsageLimits `json:"limits"`

	// Cloud Instance Name
	// Required: true
	Name *string `json:"name"`

	// The open stack ID that controls this cloud instance
	// Required: true
	OpenstackID *string `json:"openstackID"`

	// PVM instances owned by the Cloud Instance
	// Required: true
	PvmInstances []*PVMInstanceReference `json:"pvmInstances"`

	// The region the cloud instance lives
	// Required: true
	Region *string `json:"region"`

	// The tenant ID that owns this cloud instance
	// Required: true
	TenantID *string `json:"tenantID"`

	// Current usage on the cloud instance
	// Required: true
	Usage *CloudInstanceUsageLimits `json:"usage"`
}

CloudInstance cloud instance

swagger:model CloudInstance

func (*CloudInstance) ContextValidate

func (m *CloudInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud instance based on the context it is used

func (*CloudInstance) MarshalBinary

func (m *CloudInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudInstance) UnmarshalBinary

func (m *CloudInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudInstance) Validate

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

Validate validates this cloud instance

type CloudInstanceCreate

type CloudInstanceCreate struct {

	// Number of power instances allowed
	Instances *float64 `json:"instances,omitempty"`

	// Amount of memory allowed
	// Required: true
	Memory *float64 `json:"memory"`

	// Number of processor units allowed
	// Required: true
	ProcUnits *float64 `json:"procUnits"`

	// Number of processors allowed
	// Required: true
	Processors *float64 `json:"processors"`

	// The region the cloud instance lives
	// Required: true
	Region *string `json:"region"`

	// Amount of storage allowed (TB)
	Storage *float64 `json:"storage,omitempty"`

	// The tenant ID that owns this cloud instance
	// Required: true
	TenantID *string `json:"tenantID"`
}

CloudInstanceCreate cloud instance create

swagger:model CloudInstanceCreate

func (*CloudInstanceCreate) ContextValidate

func (m *CloudInstanceCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cloud instance create based on context it is used

func (*CloudInstanceCreate) MarshalBinary

func (m *CloudInstanceCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudInstanceCreate) UnmarshalBinary

func (m *CloudInstanceCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudInstanceCreate) Validate

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

Validate validates this cloud instance create

type CloudInstanceReference

type CloudInstanceReference struct {

	// Cloud Instance Capabilities
	Capabilities []string `json:"capabilities"`

	// Cloud Instance ID
	// Required: true
	CloudInstanceID *string `json:"cloudInstanceID"`

	// Indicates if the cloud instance is enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// Link to Cloud Instance resource
	// Required: true
	Href *string `json:"href"`

	// Indicates if the cloud instance is initialized and ready for use
	// Required: true
	Initialized *bool `json:"initialized"`

	// Limits on the cloud instance
	// Required: true
	Limits *CloudInstanceUsageLimits `json:"limits"`

	// Cloud Instance Name
	// Required: true
	Name *string `json:"name"`

	// The region the cloud instance lives
	// Required: true
	Region *string `json:"region"`
}

CloudInstanceReference cloud instance reference

swagger:model CloudInstanceReference

func (*CloudInstanceReference) ContextValidate

func (m *CloudInstanceReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud instance reference based on the context it is used

func (*CloudInstanceReference) MarshalBinary

func (m *CloudInstanceReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudInstanceReference) UnmarshalBinary

func (m *CloudInstanceReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudInstanceReference) Validate

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

Validate validates this cloud instance reference

type CloudInstanceUpdate

type CloudInstanceUpdate struct {

	// Number of power instances allowed
	Instances *float64 `json:"instances,omitempty"`

	// Amount of memory allowed
	Memory *float64 `json:"memory,omitempty"`

	// Number of processor units allowed
	ProcUnits *float64 `json:"procUnits,omitempty"`

	// Number of processors allowed
	Processors *float64 `json:"processors,omitempty"`

	// Amount of storage allowed (TB)
	Storage *float64 `json:"storage,omitempty"`
}

CloudInstanceUpdate cloud instance update

swagger:model CloudInstanceUpdate

func (*CloudInstanceUpdate) ContextValidate

func (m *CloudInstanceUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cloud instance update based on context it is used

func (*CloudInstanceUpdate) MarshalBinary

func (m *CloudInstanceUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudInstanceUpdate) UnmarshalBinary

func (m *CloudInstanceUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudInstanceUpdate) Validate

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

Validate validates this cloud instance update

type CloudInstanceUsageLimits

type CloudInstanceUsageLimits struct {

	// Maximum memory (in GB) per PVMInstance
	InstanceMemory *float64 `json:"instanceMemory,omitempty"`

	// Maximum proc units per PVMInstance
	InstanceProcUnits *float64 `json:"instanceProcUnits,omitempty"`

	// Number of power instances allowed
	// Required: true
	Instances *float64 `json:"instances"`

	// Amount of memory allowed
	// Required: true
	Memory *float64 `json:"memory"`

	// Maximum network bandwidth to GCP Mbps
	PeeringBandwidth *int64 `json:"peeringBandwidth,omitempty"`

	// Amount of peering networks allowed
	PeeringNetworks *int64 `json:"peeringNetworks,omitempty"`

	// Number of processor units allowed
	// Required: true
	ProcUnits *float64 `json:"procUnits"`

	// Number of processors allowed
	// Required: true
	Processors *float64 `json:"processors"`

	// Amount of storage allowed (TB)
	// Required: true
	Storage *float64 `json:"storage"`

	// Amount of SSD storage allowed (TB)
	StorageSSD *float64 `json:"storageSSD,omitempty"`

	// Amount of standard (HDD) storage allowed (TB)
	StorageStandard *float64 `json:"storageStandard,omitempty"`
}

CloudInstanceUsageLimits cloud instance usage limits

swagger:model CloudInstanceUsageLimits

func (*CloudInstanceUsageLimits) ContextValidate

func (m *CloudInstanceUsageLimits) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cloud instance usage limits based on context it is used

func (*CloudInstanceUsageLimits) MarshalBinary

func (m *CloudInstanceUsageLimits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudInstanceUsageLimits) UnmarshalBinary

func (m *CloudInstanceUsageLimits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudInstanceUsageLimits) Validate

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

Validate validates this cloud instance usage limits

type ConsoleLanguage

type ConsoleLanguage struct {

	// language code
	// Required: true
	Code *string `json:"code"`

	// language description
	Language string `json:"language,omitempty"`
}

ConsoleLanguage console language

swagger:model ConsoleLanguage

func (*ConsoleLanguage) ContextValidate

func (m *ConsoleLanguage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this console language based on context it is used

func (*ConsoleLanguage) MarshalBinary

func (m *ConsoleLanguage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsoleLanguage) UnmarshalBinary

func (m *ConsoleLanguage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsoleLanguage) Validate

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

Validate validates this console language

type ConsoleLanguages

type ConsoleLanguages struct {

	// console languages
	// Required: true
	ConsoleLanguages []*ConsoleLanguage `json:"consoleLanguages"`
}

ConsoleLanguages console languages

swagger:model ConsoleLanguages

func (*ConsoleLanguages) ContextValidate

func (m *ConsoleLanguages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this console languages based on the context it is used

func (*ConsoleLanguages) MarshalBinary

func (m *ConsoleLanguages) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsoleLanguages) UnmarshalBinary

func (m *ConsoleLanguages) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsoleLanguages) Validate

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

Validate validates this console languages

type Context

type Context interface{}

Context See [Context Conventions](https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#context-object) for more details.

swagger:model Context

type CreateCosImageImportJob

type CreateCosImageImportJob struct {

	// Cloud Object Storage access key; required for buckets with private access
	AccessKey string `json:"accessKey,omitempty"`

	// indicates if the bucket has public or private access public access require no authentication keys private access requires hmac authentication keys (access,secret)
	// Enum: [public private]
	BucketAccess *string `json:"bucketAccess,omitempty"`

	// Cloud Object Storage bucket name; bucket-name[/optional/folder]
	// Required: true
	BucketName *string `json:"bucketName"`

	// Cloud Object Storage image filename
	// Required: true
	ImageFilename *string `json:"imageFilename"`

	// Name for the image that will be loaded into the boot image catalog
	// Required: true
	ImageName *string `json:"imageName"`

	// Image OS Type, required if importing a raw image; raw images can only be imported using the command line interface
	// Enum: [aix ibmi rhel sles]
	OsType string `json:"osType,omitempty"`

	// Cloud Object Storage region
	// Required: true
	Region *string `json:"region"`

	// Cloud Object Storage secret key; required for buckets with private access
	SecretKey string `json:"secretKey,omitempty"`

	// Storage affinity data used for storage pool selection
	StorageAffinity *StorageAffinity `json:"storageAffinity,omitempty"`

	// Storage pool where the image will be loaded, if provided then storageType and storageAffinity will be ignored
	StoragePool string `json:"storagePool,omitempty"`

	// Type of storage; will be ignored if storagePool or storageAffinity is provided. If only using storageType for storage selection then the storage pool with the most available space will be selected
	StorageType string `json:"storageType,omitempty"`
}

CreateCosImageImportJob create cos image import job

swagger:model CreateCosImageImportJob

func (*CreateCosImageImportJob) ContextValidate

func (m *CreateCosImageImportJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cos image import job based on the context it is used

func (*CreateCosImageImportJob) MarshalBinary

func (m *CreateCosImageImportJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateCosImageImportJob) UnmarshalBinary

func (m *CreateCosImageImportJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateCosImageImportJob) Validate

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

Validate validates this create cos image import job

type CreateDataVolume

type CreateDataVolume struct {

	// PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and affinityVolume is not provided
	AffinityPVMInstance *string `json:"affinityPVMInstance,omitempty"`

	// Affinity policy for data volume being created; ignored if volumePool provided; for policy 'affinity' requires one of affinityPVMInstance or affinityVolume to be specified; for policy 'anti-affinity' requires one of antiAffinityPVMInstances or antiAffinityVolumes to be specified
	// Enum: [affinity anti-affinity]
	AffinityPolicy *string `json:"affinityPolicy,omitempty"`

	// Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and affinityPVMInstance is not provided
	AffinityVolume *string `json:"affinityVolume,omitempty"`

	// List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and antiAffinityVolumes is not provided
	AntiAffinityPVMInstances []string `json:"antiAffinityPVMInstances"`

	// List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and antiAffinityPVMInstances is not provided
	AntiAffinityVolumes []string `json:"antiAffinityVolumes"`

	// Type of Disk, required if affinityPolicy and volumePool not provided, otherwise ignored
	DiskType string `json:"diskType,omitempty"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// Indicates if the volume should be replication enabled or not
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// Indicates if the volume is shareable between VMs
	Shareable *bool `json:"shareable,omitempty"`

	// Volume Size (GB)
	// Required: true
	Size *float64 `json:"size"`

	// Volume pool where the volume will be created; if provided then diskType and affinityPolicy values will be ignored
	VolumePool string `json:"volumePool,omitempty"`
}

CreateDataVolume create data volume

swagger:model CreateDataVolume

func (*CreateDataVolume) ContextValidate

func (m *CreateDataVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create data volume based on context it is used

func (*CreateDataVolume) MarshalBinary

func (m *CreateDataVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDataVolume) UnmarshalBinary

func (m *CreateDataVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDataVolume) Validate

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

Validate validates this create data volume

type CreateImage

type CreateImage struct {

	// Cloud Storage access key; required for import image
	AccessKey string `json:"accessKey,omitempty"`

	// Cloud Storage bucket name; bucket-name[/optional/folder]; required for import image
	BucketName string `json:"bucketName,omitempty"`

	// Type of Disk; will be ignored if storagePool or affinityPolicy is provided; Used only when importing an image from cloud storage.
	DiskType string `json:"diskType,omitempty"`

	// Cloud Storage image filename; required for import image
	ImageFilename string `json:"imageFilename,omitempty"`

	// Image ID of existing source image; required for copy image
	ImageID string `json:"imageID,omitempty"`

	// Name to give created image; required for import image
	ImageName string `json:"imageName,omitempty"`

	// (deprecated - replaced by region, imageFilename and bucketName) Path to image starting with service endpoint and ending with image filename
	ImagePath string `json:"imagePath,omitempty"`

	// Image OS Type, required if importing a raw image; raw images can only be imported using the command line interface
	// Enum: [aix ibmi rhel sles]
	OsType string `json:"osType,omitempty"`

	// Cloud Storage Region; only required to access IBM Cloud Storage
	Region string `json:"region,omitempty"`

	// Cloud Storage secret key; required for import image
	SecretKey string `json:"secretKey,omitempty"`

	// Source of the image
	// >*Note*: url option is deprecated, this option is supported till Oct 2022
	//
	// Required: true
	// Enum: [root-project url]
	Source *string `json:"source"`

	// The storage affinity data; ignored if storagePool is provided; Used only when importing an image from cloud storage.
	StorageAffinity *StorageAffinity `json:"storageAffinity,omitempty"`

	// Storage pool where the image will be loaded; if provided then storageAffinity and diskType will be ignored; Used only when importing an image from cloud storage.
	StoragePool string `json:"storagePool,omitempty"`
}

CreateImage create image

swagger:model CreateImage

func (*CreateImage) ContextValidate

func (m *CreateImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create image based on the context it is used

func (*CreateImage) MarshalBinary

func (m *CreateImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateImage) UnmarshalBinary

func (m *CreateImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateImage) Validate

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

Validate validates this create image

type DHCPServer

type DHCPServer struct {

	// The ID of the DHCP Server
	// Required: true
	ID *string `json:"id"`

	// The DHCP Server private network
	// Required: true
	Network *DHCPServerNetwork `json:"network"`

	// The status of the DHCP Server
	// Required: true
	Status *string `json:"status"`
}

DHCPServer d h c p server

swagger:model DHCPServer

func (*DHCPServer) ContextValidate

func (m *DHCPServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d h c p server based on the context it is used

func (*DHCPServer) MarshalBinary

func (m *DHCPServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DHCPServer) UnmarshalBinary

func (m *DHCPServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DHCPServer) Validate

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

Validate validates this d h c p server

type DHCPServerCreate

type DHCPServerCreate struct {

	// Optional cidr for DHCP private network
	Cidr *string `json:"cidr,omitempty"`

	// Optional DNS Server for DHCP service
	DNSServer *string `json:"dnsServer,omitempty"`

	// Optional name of DHCP Service. Only alphanumeric characters and dashes are allowed (will be prefixed by DHCP identifier)
	Name *string `json:"name,omitempty"`

	// Indicates if SNAT will be enabled for DHCP service
	SnatEnabled *bool `json:"snatEnabled,omitempty"`
}

DHCPServerCreate d h c p server create

swagger:model DHCPServerCreate

func (*DHCPServerCreate) ContextValidate

func (m *DHCPServerCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this d h c p server create based on context it is used

func (*DHCPServerCreate) MarshalBinary

func (m *DHCPServerCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DHCPServerCreate) UnmarshalBinary

func (m *DHCPServerCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DHCPServerCreate) Validate

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

Validate validates this d h c p server create

type DHCPServerDetail

type DHCPServerDetail struct {

	// The ID of the DHCP Server
	// Required: true
	ID *string `json:"id"`

	// The list of DHCP Server PVM Instance leases
	Leases []*DHCPServerLeases `json:"leases"`

	// The DHCP Server private network
	// Required: true
	Network *DHCPServerNetwork `json:"network"`

	// The status of the DHCP Server
	// Required: true
	Status *string `json:"status"`
}

DHCPServerDetail d h c p server detail

swagger:model DHCPServerDetail

func (*DHCPServerDetail) ContextValidate

func (m *DHCPServerDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d h c p server detail based on the context it is used

func (*DHCPServerDetail) MarshalBinary

func (m *DHCPServerDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DHCPServerDetail) UnmarshalBinary

func (m *DHCPServerDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DHCPServerDetail) Validate

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

Validate validates this d h c p server detail

type DHCPServerLeases

type DHCPServerLeases struct {

	// The IP of the PVM Instance
	// Required: true
	InstanceIP *string `json:"instanceIP"`

	// The MAC Address of the PVM Instance
	// Required: true
	InstanceMacAddress *string `json:"instanceMacAddress"`
}

DHCPServerLeases d h c p server leases

swagger:model DHCPServerLeases

func (*DHCPServerLeases) ContextValidate

func (m *DHCPServerLeases) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this d h c p server leases based on context it is used

func (*DHCPServerLeases) MarshalBinary

func (m *DHCPServerLeases) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DHCPServerLeases) UnmarshalBinary

func (m *DHCPServerLeases) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DHCPServerLeases) Validate

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

Validate validates this d h c p server leases

type DHCPServerNetwork

type DHCPServerNetwork struct {

	// The ID of the network
	// Required: true
	ID *string `json:"id"`

	// The name of the network
	// Required: true
	Name *string `json:"name"`
}

DHCPServerNetwork d h c p server network

swagger:model DHCPServerNetwork

func (*DHCPServerNetwork) ContextValidate

func (m *DHCPServerNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this d h c p server network based on context it is used

func (*DHCPServerNetwork) MarshalBinary

func (m *DHCPServerNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DHCPServerNetwork) UnmarshalBinary

func (m *DHCPServerNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DHCPServerNetwork) Validate

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

Validate validates this d h c p server network

type DHCPServers

type DHCPServers []*DHCPServer

DHCPServers The list of DHCP Servers

swagger:model DHCPServers

func (DHCPServers) ContextValidate

func (m DHCPServers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d h c p servers based on the context it is used

func (DHCPServers) Validate

func (m DHCPServers) Validate(formats strfmt.Registry) error

Validate validates this d h c p servers

type DashboardClient

type DashboardClient struct {

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

	// redirect uri
	RedirectURI string `json:"redirect_uri,omitempty"`

	// secret
	Secret string `json:"secret,omitempty"`
}

DashboardClient dashboard client

swagger:model DashboardClient

func (*DashboardClient) ContextValidate

func (m *DashboardClient) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dashboard client based on context it is used

func (*DashboardClient) MarshalBinary

func (m *DashboardClient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardClient) UnmarshalBinary

func (m *DashboardClient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardClient) Validate

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

Validate validates this dashboard client

type DeviceCode

type DeviceCode struct {

	// This code lets the device running the app securely determine whether the user has granted or denied access
	// Required: true
	DeviceCode *string `json:"deviceCode"`

	// The length of time, in seconds, that the device_code and user_code are valid
	// Required: true
	ExpiresIn *float64 `json:"expiresIn"`

	// The length of time, in seconds, that your device should wait between polling requests
	// Required: true
	Interval *float64 `json:"interval"`

	// The value given to the user to enter on device authentication page
	// Required: true
	UserCode *string `json:"userCode"`

	// A URL that the user must navigate to, on a separate device, to enter the user_code and grant or deny access to your application. Your user interface will also display this value
	// Required: true
	VerificationURL *string `json:"verificationURL"`
}

DeviceCode device code

swagger:model DeviceCode

func (*DeviceCode) ContextValidate

func (m *DeviceCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device code based on context it is used

func (*DeviceCode) MarshalBinary

func (m *DeviceCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceCode) UnmarshalBinary

func (m *DeviceCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceCode) Validate

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

Validate validates this device code

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

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

	// error
	Error string `json:"error,omitempty"`

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

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Event

type Event struct {

	// Type of action for this event
	// Required: true
	Action *string `json:"action"`

	// ID of the Activity
	// Required: true
	EventID *string `json:"eventID"`

	// Level of the event (notice, info, warning, error)
	// Required: true
	// Enum: [notice info warning error]
	Level *string `json:"level"`

	// The (translated) message of the event
	// Required: true
	Message *string `json:"message"`

	// Any metadata associated with the event
	Metadata interface{} `json:"metadata,omitempty"`

	// Type of resource for this event
	// Required: true
	Resource *string `json:"resource"`

	// Time of activity in ISO 8601 - RFC3339
	// Required: true
	// Format: date-time
	Time *strfmt.DateTime `json:"time"`

	// Time of activity in unix epoch
	// Required: true
	Timestamp *int64 `json:"timestamp"`

	// user
	User *EventUser `json:"user,omitempty"`
}

Event event

swagger:model Event

func (*Event) ContextValidate

func (m *Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event based on the context it is used

func (*Event) MarshalBinary

func (m *Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

func (m *Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type EventUser

type EventUser struct {

	// Email of the User
	Email string `json:"email,omitempty"`

	// Name of the User
	Name string `json:"name,omitempty"`

	// ID of user who created/caused the event
	// Required: true
	UserID *string `json:"userID"`
}

EventUser event user

swagger:model EventUser

func (*EventUser) ContextValidate

func (m *EventUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event user based on context it is used

func (*EventUser) MarshalBinary

func (m *EventUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventUser) UnmarshalBinary

func (m *EventUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventUser) Validate

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

Validate validates this event user

type Events

type Events struct {

	// Events
	// Required: true
	Events []*Event `json:"events"`
}

Events events

swagger:model Events

func (*Events) ContextValidate

func (m *Events) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this events based on the context it is used

func (*Events) MarshalBinary

func (m *Events) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Events) UnmarshalBinary

func (m *Events) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Events) Validate

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

Validate validates this events

type ExportImage

type ExportImage struct {

	// Cloud Object Storage Access key
	// Required: true
	AccessKey *string `json:"accessKey"`

	// Cloud Object Storage Bucket name
	// Required: true
	BucketName *string `json:"bucketName"`

	// Cloud Object Storage Region; required for IBM COS
	Region string `json:"region,omitempty"`

	// Cloud Object Storage Secret key
	SecretKey string `json:"secretKey,omitempty"`
}

ExportImage export image

swagger:model ExportImage

func (*ExportImage) ContextValidate

func (m *ExportImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export image based on context it is used

func (*ExportImage) MarshalBinary

func (m *ExportImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportImage) UnmarshalBinary

func (m *ExportImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportImage) Validate

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

Validate validates this export image

type FlashCopyMapping

type FlashCopyMapping struct {

	// Indicates the rate of flash copy operation of a volume
	CopyRate int64 `json:"copyRate,omitempty"`

	// Indicates flash copy name of the volume
	// Required: true
	FlashCopyName *string `json:"flashCopyName"`

	// Indicates the progress of flash copy operation
	Progress int64 `json:"progress,omitempty"`

	// Indicates name of the source volume
	SourceVolumeName string `json:"sourceVolumeName,omitempty"`

	// Indicates the start time of flash copy operation
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// Copy status of a volume
	Status string `json:"status,omitempty"`

	// Indicates name of the target volume
	TargetVolumeName string `json:"targetVolumeName,omitempty"`
}

FlashCopyMapping flash copy mapping

swagger:model FlashCopyMapping

func (*FlashCopyMapping) ContextValidate

func (m *FlashCopyMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flash copy mapping based on context it is used

func (*FlashCopyMapping) MarshalBinary

func (m *FlashCopyMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FlashCopyMapping) UnmarshalBinary

func (m *FlashCopyMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FlashCopyMapping) Validate

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

Validate validates this flash copy mapping

type FlashCopyMappings

type FlashCopyMappings []*FlashCopyMapping

FlashCopyMappings flash copy mappings

swagger:model FlashCopyMappings

func (FlashCopyMappings) ContextValidate

func (m FlashCopyMappings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this flash copy mappings based on the context it is used

func (FlashCopyMappings) Validate

func (m FlashCopyMappings) Validate(formats strfmt.Registry) error

Validate validates this flash copy mappings

type HardwarePlatform

type HardwarePlatform struct {

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

	// The DataCenter list of servers and their available resources
	HostsResources []*HostResources `json:"hostsResources"`

	// Configured Memory GB
	Memory float64 `json:"memory,omitempty"`

	// Processor to Memory (GB) Ratio
	ProcessorMemoryRatio float64 `json:"processorMemoryRatio,omitempty"`

	// Configured Processors
	Processors float64 `json:"processors,omitempty"`

	// Allowable granularity for shared processors
	SharedProcessorStep float64 `json:"sharedProcessorStep,omitempty"`

	// Short code for hardware
	Type string `json:"type,omitempty"`
}

HardwarePlatform Hardware platform detailing its limits and statistics

swagger:model HardwarePlatform

func (*HardwarePlatform) ContextValidate

func (m *HardwarePlatform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hardware platform based on the context it is used

func (*HardwarePlatform) MarshalBinary

func (m *HardwarePlatform) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HardwarePlatform) UnmarshalBinary

func (m *HardwarePlatform) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HardwarePlatform) Validate

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

Validate validates this hardware platform

type HardwarePlatforms

type HardwarePlatforms map[string]HardwarePlatform

HardwarePlatforms A map of hardware platforms detailing their limits and statistics

swagger:model HardwarePlatforms

func (HardwarePlatforms) ContextValidate

func (m HardwarePlatforms) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hardware platforms based on the context it is used

func (HardwarePlatforms) Validate

func (m HardwarePlatforms) Validate(formats strfmt.Registry) error

Validate validates this hardware platforms

type Health

type Health struct {

	// Returns a description of the current servers health
	// Required: true
	Status *string `json:"status"`
}

Health health

swagger:model Health

func (*Health) ContextValidate

func (m *Health) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this health based on context it is used

func (*Health) MarshalBinary

func (m *Health) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Health) UnmarshalBinary

func (m *Health) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Health) Validate

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

Validate validates this health

type HostInfo

type HostInfo struct {

	// Host core information
	// Required: true
	Cores *HostResource `json:"cores"`

	// Hostname
	// Required: true
	Hostname *string `json:"hostname"`

	// IP Address
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// Host memory information
	// Required: true
	Memory *HostResource `json:"memory"`

	// PVM Instances on host
	// Required: true
	PvmInstances []*HostPVMInstance `json:"pvmInstances"`
}

HostInfo host info

swagger:model HostInfo

func (*HostInfo) ContextValidate

func (m *HostInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this host info based on the context it is used

func (*HostInfo) MarshalBinary

func (m *HostInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostInfo) UnmarshalBinary

func (m *HostInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostInfo) Validate

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

Validate validates this host info

type HostPVMInstance

type HostPVMInstance struct {

	// Cloud Instance ID pvm instance is a member of
	// Required: true
	CloudInstanceID *string `json:"cloudInstanceID"`

	// Owner information of pvm instance
	// Required: true
	Owner *OwnerInfo `json:"owner"`

	// Instance ID
	// Required: true
	PvmInstanceID *string `json:"pvmInstanceID"`

	// Instance name
	// Required: true
	PvmName *string `json:"pvmName"`

	// State of pvm instance
	// Required: true
	State *string `json:"state"`

	// Tenant ID of pvm instance
	// Required: true
	TenantID *string `json:"tenantID"`
}

HostPVMInstance A pvm instance on host

swagger:model HostPVMInstance

func (*HostPVMInstance) ContextValidate

func (m *HostPVMInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this host p VM instance based on the context it is used

func (*HostPVMInstance) MarshalBinary

func (m *HostPVMInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostPVMInstance) UnmarshalBinary

func (m *HostPVMInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostPVMInstance) Validate

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

Validate validates this host p VM instance

type HostResource

type HostResource struct {

	// Free
	// Required: true
	Free *float64 `json:"free"`

	// Total
	// Required: true
	Total *float64 `json:"total"`

	// Used
	// Required: true
	Used *float64 `json:"used"`
}

HostResource host resource

swagger:model HostResource

func (*HostResource) ContextValidate

func (m *HostResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this host resource based on context it is used

func (*HostResource) MarshalBinary

func (m *HostResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostResource) UnmarshalBinary

func (m *HostResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostResource) Validate

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

Validate validates this host resource

type HostResources

type HostResources struct {

	// The host available Processor units
	// Required: true
	Cores *float64 `json:"cores"`

	// The host identifier
	// Required: true
	ID *int64 `json:"id"`

	// The host available RAM memory in GiB
	// Required: true
	Memory *int64 `json:"memory"`
}

HostResources host resources

swagger:model HostResources

func (*HostResources) ContextValidate

func (m *HostResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this host resources based on context it is used

func (*HostResources) MarshalBinary

func (m *HostResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostResources) UnmarshalBinary

func (m *HostResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostResources) Validate

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

Validate validates this host resources

type IPAddressRange

type IPAddressRange struct {

	// Ending IP Address
	// Required: true
	EndingIPAddress *string `json:"endingIPAddress"`

	// Starting IP Address
	// Required: true
	StartingIPAddress *string `json:"startingIPAddress"`
}

IPAddressRange IP address range

swagger:model IPAddressRange

func (*IPAddressRange) ContextValidate

func (m *IPAddressRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this IP address range based on context it is used

func (*IPAddressRange) MarshalBinary

func (m *IPAddressRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPAddressRange) UnmarshalBinary

func (m *IPAddressRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPAddressRange) Validate

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

Validate validates this IP address range

type Image

type Image struct {

	// Creation Date
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

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

	// Image ID
	// Required: true
	ImageID *string `json:"imageID"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Image Name
	// Required: true
	Name *string `json:"name"`

	// List of Servers that have deployed the image
	Servers []string `json:"servers"`

	// Image Size
	// Required: true
	Size *float64 `json:"size"`

	// specifications
	Specifications *ImageSpecifications `json:"specifications,omitempty"`

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

	// Storage pool where the image resides
	// Required: true
	StoragePool *string `json:"storagePool"`

	// Storage type for image
	// Required: true
	StorageType *string `json:"storageType"`

	// taskref
	Taskref *TaskReference `json:"taskref,omitempty"`

	// Image Volumes
	Volumes []*ImageVolume `json:"volumes"`
}

Image image

swagger:model Image

func (*Image) ContextValidate

func (m *Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image based on the context it is used

func (*Image) MarshalBinary

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) Validate

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

Validate validates this image

type ImageReference

type ImageReference struct {

	// Creation Date
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Description
	// Required: true
	Description *string `json:"description"`

	// Link to Image resource
	// Required: true
	Href *string `json:"href"`

	// Image ID
	// Required: true
	ImageID *string `json:"imageID"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Image Name
	// Required: true
	Name *string `json:"name"`

	// specifications
	// Required: true
	Specifications *ImageSpecifications `json:"specifications"`

	// Image State
	// Required: true
	State *string `json:"state"`

	// Storage pool where image resides
	// Required: true
	StoragePool *string `json:"storagePool"`

	// Storage type for image
	// Required: true
	StorageType *string `json:"storageType"`
}

ImageReference image reference

swagger:model ImageReference

func (*ImageReference) ContextValidate

func (m *ImageReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image reference based on the context it is used

func (*ImageReference) MarshalBinary

func (m *ImageReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageReference) UnmarshalBinary

func (m *ImageReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageReference) Validate

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

Validate validates this image reference

type ImageSpecifications

type ImageSpecifications struct {

	// Architecture
	Architecture string `json:"architecture,omitempty"`

	// Container Format
	ContainerFormat string `json:"containerFormat,omitempty"`

	// Disk Format
	DiskFormat string `json:"diskFormat,omitempty"`

	// Endianness
	Endianness string `json:"endianness,omitempty"`

	// Hypervisor Type
	HypervisorType string `json:"hypervisorType,omitempty"`

	// Image Type
	ImageType string `json:"imageType,omitempty"`

	// Operating System
	OperatingSystem string `json:"operatingSystem,omitempty"`
}

ImageSpecifications image specifications

swagger:model ImageSpecifications

func (*ImageSpecifications) ContextValidate

func (m *ImageSpecifications) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image specifications based on context it is used

func (*ImageSpecifications) MarshalBinary

func (m *ImageSpecifications) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageSpecifications) UnmarshalBinary

func (m *ImageSpecifications) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageSpecifications) Validate

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

Validate validates this image specifications

type ImageVolume

type ImageVolume struct {

	// Indicates if the volume is boot capable
	// Required: true
	Bootable *bool `json:"bootable"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// Volume Size
	// Required: true
	Size *float64 `json:"size"`

	// Volume ID
	// Required: true
	VolumeID *string `json:"volumeID"`
}

ImageVolume image volume

swagger:model ImageVolume

func (*ImageVolume) ContextValidate

func (m *ImageVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image volume based on context it is used

func (*ImageVolume) MarshalBinary

func (m *ImageVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageVolume) UnmarshalBinary

func (m *ImageVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageVolume) Validate

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

Validate validates this image volume

type Images

type Images struct {

	// Images
	// Required: true
	Images []*ImageReference `json:"images"`
}

Images images

swagger:model Images

func (*Images) ContextValidate

func (m *Images) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this images based on the context it is used

func (*Images) MarshalBinary

func (m *Images) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Images) UnmarshalBinary

func (m *Images) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Images) Validate

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

Validate validates this images

type InstanceCapabilities

type InstanceCapabilities map[string]InstanceCapability

InstanceCapabilities List of available capabilities for a specific service Example: {"per":true}

swagger:model InstanceCapabilities

func (InstanceCapabilities) ContextValidate

func (m InstanceCapabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this instance capabilities based on the context it is used

func (InstanceCapabilities) Validate

func (m InstanceCapabilities) Validate(formats strfmt.Registry) error

Validate validates this instance capabilities

type InstanceCapability

type InstanceCapability bool

InstanceCapability Capability value

swagger:model InstanceCapability

func (InstanceCapability) ContextValidate

func (m InstanceCapability) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this instance capability based on context it is used

func (InstanceCapability) Validate

func (m InstanceCapability) Validate(formats strfmt.Registry) error

Validate validates this instance capability

type JSONSchemaObject

type JSONSchemaObject interface{}

JSONSchemaObject JSON schema object

swagger:model JSONSchemaObject

type Job

type Job struct {

	// create timestamp for the job
	// Format: date-time
	CreateTimestamp strfmt.DateTime `json:"createTimestamp,omitempty"`

	// id of a job
	// Required: true
	ID *string `json:"id"`

	// operation
	// Required: true
	Operation *Operation `json:"operation"`

	// status
	// Required: true
	Status *Status `json:"status"`
}

Job job

swagger:model Job

func (*Job) ContextValidate

func (m *Job) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this job based on the context it is used

func (*Job) MarshalBinary

func (m *Job) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Job) UnmarshalBinary

func (m *Job) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Job) Validate

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

Validate validates this job

type JobReference

type JobReference struct {

	// Link to job resource
	// Required: true
	Href *string `json:"href"`

	// id of a job used to get status of long running operation
	// Required: true
	ID *string `json:"id"`
}

JobReference job reference

swagger:model JobReference

func (*JobReference) ContextValidate

func (m *JobReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this job reference based on context it is used

func (*JobReference) MarshalBinary

func (m *JobReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobReference) UnmarshalBinary

func (m *JobReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobReference) Validate

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

Validate validates this job reference

type Jobs

type Jobs struct {

	// Jobs
	// Required: true
	Jobs []*Job `json:"jobs"`
}

Jobs jobs

swagger:model Jobs

func (*Jobs) ContextValidate

func (m *Jobs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs based on the context it is used

func (*Jobs) MarshalBinary

func (m *Jobs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Jobs) UnmarshalBinary

func (m *Jobs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Jobs) Validate

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

Validate validates this jobs

type KeyLifetime

type KeyLifetime int64

KeyLifetime Policy key lifetime Example: 28800

swagger:model KeyLifetime

func (KeyLifetime) ContextValidate

func (m KeyLifetime) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this key lifetime based on context it is used

func (KeyLifetime) Validate

func (m KeyLifetime) Validate(formats strfmt.Registry) error

Validate validates this key lifetime

type LastOperationResource

type LastOperationResource struct {

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

	// state
	// Required: true
	// Enum: [in progress succeeded failed]
	State *string `json:"state"`
}

LastOperationResource last operation resource

swagger:model LastOperationResource

func (*LastOperationResource) ContextValidate

func (m *LastOperationResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this last operation resource based on context it is used

func (*LastOperationResource) MarshalBinary

func (m *LastOperationResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LastOperationResource) UnmarshalBinary

func (m *LastOperationResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LastOperationResource) Validate

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

Validate validates this last operation resource

type MaximumStorageAllocation

type MaximumStorageAllocation struct {

	// Maximum allocation storage size (GB)
	// Required: true
	MaxAllocationSize *int64 `json:"maxAllocationSize"`

	// Storage pool
	// Required: true
	StoragePool *string `json:"storagePool"`

	// Storage type
	// Required: true
	StorageType *string `json:"storageType"`
}

MaximumStorageAllocation Maximum storage allocation

swagger:model MaximumStorageAllocation

func (*MaximumStorageAllocation) ContextValidate

func (m *MaximumStorageAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this maximum storage allocation based on context it is used

func (*MaximumStorageAllocation) MarshalBinary

func (m *MaximumStorageAllocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MaximumStorageAllocation) UnmarshalBinary

func (m *MaximumStorageAllocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MaximumStorageAllocation) Validate

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

Validate validates this maximum storage allocation

type Metadata

type Metadata interface{}

Metadata See [Service Metadata Conventions](https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#service-metadata) for more details.

swagger:model Metadata

type MinMaxDefault

type MinMaxDefault struct {

	// default value
	// Required: true
	Default *float64 `json:"default"`

	// max value
	// Required: true
	Max *float64 `json:"max"`

	// min value
	// Required: true
	Min *float64 `json:"min"`
}

MinMaxDefault min max default

swagger:model MinMaxDefault

func (*MinMaxDefault) ContextValidate

func (m *MinMaxDefault) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this min max default based on context it is used

func (*MinMaxDefault) MarshalBinary

func (m *MinMaxDefault) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MinMaxDefault) UnmarshalBinary

func (m *MinMaxDefault) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MinMaxDefault) Validate

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

Validate validates this min max default

type MultiVolumesCreate

type MultiVolumesCreate struct {

	// PVM Instance (ID or Name)to base volume affinity policy against; required if requesting affinity and affinityVolume is not provided
	AffinityPVMInstance *string `json:"affinityPVMInstance,omitempty"`

	// Affinity policy for data volume being created; ignored if volumePool provided; for policy 'affinity' requires one of affinityPVMInstance or affinityVolume to be specified; for policy 'anti-affinity' requires one of antiAffinityPVMInstances or antiAffinityVolumes to be specified
	// Enum: [affinity anti-affinity]
	AffinityPolicy *string `json:"affinityPolicy,omitempty"`

	// Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and affinityPVMInstance is not provided
	AffinityVolume *string `json:"affinityVolume,omitempty"`

	// List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and antiAffinityVolumes is not provided
	AntiAffinityPVMInstances []string `json:"antiAffinityPVMInstances"`

	// List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and antiAffinityPVMInstances is not provided
	AntiAffinityVolumes []string `json:"antiAffinityVolumes"`

	// Number of volumes to create
	Count int64 `json:"count,omitempty"`

	// Type of Disk, required if affinityPolicy and volumePool not provided, otherwise ignored
	DiskType string `json:"diskType,omitempty"`

	// Base name of the volume(s)
	// Required: true
	Name *string `json:"name"`

	// Indicates if the volume should be replication enabled or not
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// Indicates if the volume is shareable between VMs
	Shareable *bool `json:"shareable,omitempty"`

	// Volume Size (GB)
	// Required: true
	Size *int64 `json:"size"`

	// Volume pool where the volume will be created; if provided then diskType and affinityPolicy values will be ignored
	VolumePool string `json:"volumePool,omitempty"`
}

MultiVolumesCreate multi volumes create

swagger:model MultiVolumesCreate

func (*MultiVolumesCreate) ContextValidate

func (m *MultiVolumesCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this multi volumes create based on context it is used

func (*MultiVolumesCreate) MarshalBinary

func (m *MultiVolumesCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MultiVolumesCreate) UnmarshalBinary

func (m *MultiVolumesCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MultiVolumesCreate) Validate

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

Validate validates this multi volumes create

type Network

type Network struct {

	// Network communication configuration
	//   * `internal-only` - network is only used for internal host communication
	//   * `outbound-only` - network will be capable of egress traffic
	//   * `bidirectional-static-route` - network will be capable of ingress and egress traffic via static routes
	//   * `bidirectional-bgp` - network will be capable of ingress and egress traffic via bgp configuration
	//   * `bidirectional-l2out` - network will be capable of ingress and egress traffic via l2out ACI configuration
	//
	// Enum: [internal-only outbound-only bidirectional-static-route bidirectional-bgp bidirectional-l2out]
	AccessConfig string `json:"accessConfig,omitempty"`

	// Network in CIDR notation (192.168.0.0/24)
	// Required: true
	Cidr *string `json:"cidr"`

	// DHCP Managed Network
	DhcpManaged bool `json:"dhcpManaged,omitempty"`

	// DNS Servers
	// Required: true
	DNSServers []string `json:"dnsServers"`

	// Gateway IP Address
	Gateway string `json:"gateway,omitempty"`

	// ip address metrics
	// Required: true
	IPAddressMetrics *NetworkIPAddressMetrics `json:"ipAddressMetrics"`

	// IP Address Ranges
	// Required: true
	IPAddressRanges []*IPAddressRange `json:"ipAddressRanges"`

	// Maximum transmission unit
	// Required: true
	Mtu *int64 `json:"mtu"`

	// Network Name
	// Required: true
	Name *string `json:"name"`

	// Unique Network ID
	// Required: true
	NetworkID *string `json:"networkID"`

	// Public IP Address Ranges (for pub-vlan networks)
	PublicIPAddressRanges []*IPAddressRange `json:"publicIPAddressRanges,omitempty"`

	// Type of Network {vlan, pub-vlan}
	// Required: true
	// Enum: [vlan pub-vlan]
	Type *string `json:"type"`

	// VLAN ID
	// Required: true
	VlanID *float64 `json:"vlanID"`
}

Network network

swagger:model Network

func (*Network) ContextValidate

func (m *Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network based on the context it is used

func (*Network) MarshalBinary

func (m *Network) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Network) UnmarshalBinary

func (m *Network) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Network) Validate

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

Validate validates this network

type NetworkCreate

type NetworkCreate struct {

	// Network communication configuration
	//   * `internal-only` - network is only used for internal host communication
	//   * `outbound-only` - network will be capable of egress traffic
	//   * `bidirectional-static-route` - network will be capable of ingress and egress traffic via static routes
	//   * `bidirectional-bgp` - network will be capable of ingress and egress traffic via bgp configuration
	//   * `bidirectional-l2out` - network will be capable of ingress and egress traffic via l2out ACI configuration
	//
	// Enum: [internal-only outbound-only bidirectional-static-route bidirectional-bgp bidirectional-l2out]
	AccessConfig string `json:"accessConfig,omitempty"`

	// Network in CIDR notation (192.168.0.0/24)
	Cidr string `json:"cidr,omitempty"`

	// DNS Servers. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network)
	DNSServers []string `json:"dnsServers"`

	// Gateway IP Address
	Gateway string `json:"gateway,omitempty"`

	// IP Address Ranges
	IPAddressRanges []*IPAddressRange `json:"ipAddressRanges"`

	// Maximum transmission unit
	// Maximum: 9000
	// Minimum: 1450
	Mtu *int64 `json:"mtu,omitempty"`

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

	// Type of Network - 'vlan' (private network) 'pub-vlan' (public network)
	// Required: true
	// Enum: [vlan pub-vlan]
	Type *string `json:"type"`
}

NetworkCreate network create Example: {"accessConfig":"internal-only","cidr":"192.168.1.0/24","gateway":"192.168.1.1","ipAddressRanges":[{"endingIPAddress":"192.168.1.254","startingIPAddress":"192.168.1.2"}],"mtu":1450,"name":"sample-network","type":"vlan"}

swagger:model NetworkCreate

func (*NetworkCreate) ContextValidate

func (m *NetworkCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network create based on the context it is used

func (*NetworkCreate) MarshalBinary

func (m *NetworkCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkCreate) UnmarshalBinary

func (m *NetworkCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkCreate) UnmarshalJSON

func (m *NetworkCreate) UnmarshalJSON(b []byte) error

func (*NetworkCreate) Validate

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

Validate validates this network create

type NetworkID

type NetworkID struct {

	// network ID
	// Example: 7f950c76-8582-11qeb-8dcd-0242ac172
	// Required: true
	NetworkID *string `json:"networkID"`
}

NetworkID unique identifier of a network

swagger:model NetworkID

func (*NetworkID) ContextValidate

func (m *NetworkID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network ID based on context it is used

func (*NetworkID) MarshalBinary

func (m *NetworkID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkID) UnmarshalBinary

func (m *NetworkID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkID) Validate

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

Validate validates this network ID

type NetworkIDs

type NetworkIDs struct {

	// an array of network IDs
	// Example: ["7f950c76-8582-11qeb-8dcd-0242ac143","7f950c76-8582-11veb-8dcd-0242ac153","7f950c76-8582-11deb-8dcd-0242ac163"]
	NetworkIDs []string `json:"networkIDs"`
}

NetworkIDs network i ds

swagger:model NetworkIDs

func (*NetworkIDs) ContextValidate

func (m *NetworkIDs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network i ds based on context it is used

func (*NetworkIDs) MarshalBinary

func (m *NetworkIDs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkIDs) UnmarshalBinary

func (m *NetworkIDs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkIDs) Validate

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

Validate validates this network i ds

type NetworkIPAddressMetrics

type NetworkIPAddressMetrics struct {

	// Number of available IP addresses
	// Required: true
	Available *float64 `json:"available"`

	// Total number of all IP addresses in all ipAddressRanges
	// Required: true
	Total *float64 `json:"total"`

	// Number of IP addresses currently in use
	// Required: true
	Used *float64 `json:"used"`

	// Utilization of IP addresses in percent form (used / total) [0 - 100]
	// Required: true
	Utilization *float64 `json:"utilization"`
}

NetworkIPAddressMetrics IP Address Metrics

swagger:model NetworkIPAddressMetrics

func (*NetworkIPAddressMetrics) ContextValidate

func (m *NetworkIPAddressMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network IP address metrics based on context it is used

func (*NetworkIPAddressMetrics) MarshalBinary

func (m *NetworkIPAddressMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkIPAddressMetrics) UnmarshalBinary

func (m *NetworkIPAddressMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkIPAddressMetrics) Validate

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

Validate validates this network IP address metrics

type NetworkPort

type NetworkPort struct {

	// Description of the port (not unique or indexable)
	// Required: true
	Description *string `json:"description"`

	// The external ip address (for pub-vlan networks)
	ExternalIP string `json:"externalIP,omitempty"`

	// Link to port resource
	Href string `json:"href,omitempty"`

	// The ip address of this port
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// The mac address of the network interface
	// Required: true
	MacAddress *string `json:"macAddress"`

	// The unique Port ID
	// Required: true
	PortID *string `json:"portID"`

	// pvm instance
	PvmInstance *NetworkPortPvmInstance `json:"pvmInstance,omitempty"`

	// Te
	// Required: true
	Status *string `json:"status"`
}

NetworkPort network port

swagger:model NetworkPort

func (*NetworkPort) ContextValidate

func (m *NetworkPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network port based on the context it is used

func (*NetworkPort) MarshalBinary

func (m *NetworkPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPort) UnmarshalBinary

func (m *NetworkPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPort) Validate

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

Validate validates this network port

type NetworkPortCreate

type NetworkPortCreate struct {

	// Description of the port (not unique or indexable)
	Description string `json:"description,omitempty"`

	// The requested ip address of this port
	IPAddress string `json:"ipAddress,omitempty"`
}

NetworkPortCreate network port create

swagger:model NetworkPortCreate

func (*NetworkPortCreate) ContextValidate

func (m *NetworkPortCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network port create based on context it is used

func (*NetworkPortCreate) MarshalBinary

func (m *NetworkPortCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPortCreate) UnmarshalBinary

func (m *NetworkPortCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPortCreate) Validate

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

Validate validates this network port create

type NetworkPortPvmInstance

type NetworkPortPvmInstance struct {

	// Link to pvm-instance resource
	Href string `json:"href,omitempty"`

	// The attahed pvm-instance ID
	PvmInstanceID string `json:"pvmInstanceID,omitempty"`
}

NetworkPortPvmInstance The attached pvm-instance to this port

swagger:model NetworkPortPvmInstance

func (*NetworkPortPvmInstance) ContextValidate

func (m *NetworkPortPvmInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network port pvm instance based on context it is used

func (*NetworkPortPvmInstance) MarshalBinary

func (m *NetworkPortPvmInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPortPvmInstance) UnmarshalBinary

func (m *NetworkPortPvmInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPortPvmInstance) Validate

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

Validate validates this network port pvm instance

type NetworkPortUpdate

type NetworkPortUpdate struct {

	// Description of the port (not unique or indexable)
	Description *string `json:"description,omitempty"`

	// If supplied populated it attaches to the PVMInstanceID, if empty detaches from PVMInstanceID
	PvmInstanceID *string `json:"pvmInstanceID,omitempty"`
}

NetworkPortUpdate network port update

swagger:model NetworkPortUpdate

func (*NetworkPortUpdate) ContextValidate

func (m *NetworkPortUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network port update based on context it is used

func (*NetworkPortUpdate) MarshalBinary

func (m *NetworkPortUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPortUpdate) UnmarshalBinary

func (m *NetworkPortUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPortUpdate) Validate

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

Validate validates this network port update

type NetworkPorts

type NetworkPorts struct {

	// Network Ports
	// Required: true
	Ports []*NetworkPort `json:"ports"`
}

NetworkPorts network ports

swagger:model NetworkPorts

func (*NetworkPorts) ContextValidate

func (m *NetworkPorts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network ports based on the context it is used

func (*NetworkPorts) MarshalBinary

func (m *NetworkPorts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPorts) UnmarshalBinary

func (m *NetworkPorts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPorts) Validate

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

Validate validates this network ports

type NetworkReference

type NetworkReference struct {

	// Network communication configuration
	//   * `internal-only` - network is only used for internal host communication
	//   * `outbound-only` - network will be capable of egress traffic
	//   * `bidirectional-static-route` - network will be capable of ingress and egress traffic via static routes
	//   * `bidirectional-bgp` - network will be capable of ingress and egress traffic via bgp configuration
	//   * `bidirectional-l2out` - network will be capable of ingress and egress traffic via l2out ACI configuration
	//
	// Enum: [internal-only outbound-only bidirectional-static-route bidirectional-bgp bidirectional-l2out]
	AccessConfig string `json:"accessConfig,omitempty"`

	// DHCP Managed Network
	DhcpManaged bool `json:"dhcpManaged,omitempty"`

	// Link to Network resource
	// Required: true
	Href *string `json:"href"`

	// Maximum transmission unit
	// Required: true
	Mtu *int64 `json:"mtu"`

	// Network Name
	// Required: true
	Name *string `json:"name"`

	// Unique Network ID
	// Required: true
	NetworkID *string `json:"networkID"`

	// Type of Network {vlan, pub-vlan}
	// Required: true
	// Enum: [vlan pub-vlan]
	Type *string `json:"type"`

	// VLAN ID
	// Required: true
	VlanID *float64 `json:"vlanID"`
}

NetworkReference network reference

swagger:model NetworkReference

func (*NetworkReference) ContextValidate

func (m *NetworkReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network reference based on context it is used

func (*NetworkReference) MarshalBinary

func (m *NetworkReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkReference) UnmarshalBinary

func (m *NetworkReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkReference) Validate

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

Validate validates this network reference

type NetworkUpdate

type NetworkUpdate struct {

	// Replaces the current DNS Servers
	DNSServers []string `json:"dnsServers"`

	// Replaces the current Gateway IP Address
	Gateway *string `json:"gateway,omitempty"`

	// Replaces the current IP Address Ranges
	IPAddressRanges []*IPAddressRange `json:"ipAddressRanges"`

	// Replaces the current Network Name
	Name *string `json:"name,omitempty"`
}

NetworkUpdate network update

swagger:model NetworkUpdate

func (*NetworkUpdate) ContextValidate

func (m *NetworkUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network update based on the context it is used

func (*NetworkUpdate) MarshalBinary

func (m *NetworkUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkUpdate) UnmarshalBinary

func (m *NetworkUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkUpdate) Validate

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

Validate validates this network update

type Networks

type Networks struct {

	// Network References
	// Required: true
	Networks []*NetworkReference `json:"networks"`
}

Networks networks

swagger:model Networks

func (*Networks) ContextValidate

func (m *Networks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this networks based on the context it is used

func (*Networks) MarshalBinary

func (m *Networks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Networks) UnmarshalBinary

func (m *Networks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Networks) Validate

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

Validate validates this networks

type Object

type Object interface{}

Object object

swagger:model Object

type OpenStack

type OpenStack struct {

	// Unique identifier for the OpenStack instance
	// Required: true
	ID *string `json:"id"`

	// Internal IP address of the OpenStack instance
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// Shortname of the OpenStack instance
	// Required: true
	Name *string `json:"name"`

	// Next available VLAN ID to be used for a network creation
	// Required: true
	NextVLANID *float64 `json:"nextVLANID"`

	// The region where the open stack lives
	// Required: true
	Region *string `json:"region"`
}

OpenStack open stack

swagger:model OpenStack

func (*OpenStack) ContextValidate

func (m *OpenStack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this open stack based on context it is used

func (*OpenStack) MarshalBinary

func (m *OpenStack) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStack) UnmarshalBinary

func (m *OpenStack) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStack) Validate

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

Validate validates this open stack

type OpenStackCreate

type OpenStackCreate struct {

	// Internal IP address of the OpenStack instance
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// Shortname of the OpenStack instance
	// Required: true
	Name *string `json:"name"`

	// The region where the open stack lives
	// Required: true
	Region *string `json:"region"`
}

OpenStackCreate open stack create

swagger:model OpenStackCreate

func (*OpenStackCreate) ContextValidate

func (m *OpenStackCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this open stack create based on context it is used

func (*OpenStackCreate) MarshalBinary

func (m *OpenStackCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStackCreate) UnmarshalBinary

func (m *OpenStackCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStackCreate) Validate

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

Validate validates this open stack create

type OpenStackInfo

type OpenStackInfo struct {

	// Hosts on OpenStack
	// Required: true
	Hosts []*HostInfo `json:"hosts"`

	// Requested region
	// Required: true
	Region *string `json:"region"`
}

OpenStackInfo open stack info

swagger:model OpenStackInfo

func (*OpenStackInfo) ContextValidate

func (m *OpenStackInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this open stack info based on the context it is used

func (*OpenStackInfo) MarshalBinary

func (m *OpenStackInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStackInfo) UnmarshalBinary

func (m *OpenStackInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStackInfo) Validate

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

Validate validates this open stack info

type OpenStacks

type OpenStacks struct {

	// OpenStacks managed by Power Private Cloud
	// Required: true
	OpenStacks []*OpenStack `json:"openStacks"`
}

OpenStacks open stacks

swagger:model OpenStacks

func (*OpenStacks) ContextValidate

func (m *OpenStacks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this open stacks based on the context it is used

func (*OpenStacks) MarshalBinary

func (m *OpenStacks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStacks) UnmarshalBinary

func (m *OpenStacks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStacks) Validate

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

Validate validates this open stacks

type Operation

type Operation struct {

	// current action of the operation
	// Required: true
	Action *string `json:"action"`

	// ID of an operation
	// Required: true
	ID *string `json:"id"`

	// target resource of the operation
	// Required: true
	Target *string `json:"target"`
}

Operation operation

swagger:model Operation

func (*Operation) ContextValidate

func (m *Operation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operation based on context it is used

func (*Operation) MarshalBinary

func (m *Operation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Operation) UnmarshalBinary

func (m *Operation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Operation) Validate

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

Validate validates this operation

type Operations

type Operations struct {

	// Name of the server boot mode a(Boot from disk using copy A), b(Boot from disk using copy B), c(Reserved for IBM lab use only), d(Boot from media/drives)
	// Enum: [a b c d]
	BootMode string `json:"bootMode,omitempty"`

	// Name of the server operating mode
	// Enum: [normal manual]
	OperatingMode string `json:"operatingMode,omitempty"`

	// Name of the job task to execute
	// Enum: [dston retrydump consoleservice iopreset remotedstoff remotedston iopdump dumprestart]
	Task string `json:"task,omitempty"`
}

Operations operations

swagger:model Operations

func (*Operations) ContextValidate

func (m *Operations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operations based on context it is used

func (*Operations) MarshalBinary

func (m *Operations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Operations) UnmarshalBinary

func (m *Operations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Operations) Validate

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

Validate validates this operations

type OwnerInfo

type OwnerInfo struct {

	// Country code of user
	// Required: true
	CountryCode *string `json:"countryCode"`

	// Currency code of user
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// Email address of user
	// Required: true
	Email *string `json:"email"`

	// IAM id of user
	// Required: true
	IamID *string `json:"iamID"`

	// Indicates if user is an IBMer
	// Required: true
	IsIBMer *bool `json:"isIBMer"`

	// Name of user
	// Required: true
	Name *string `json:"name"`

	// (deprecated - replaced by softlayerSubscriptions) Array of Soft Layer IDs
	SoftlayerIDs []string `json:"softlayerIDs"`

	// Array of softlayer subscriptions
	// Required: true
	SoftlayerSubscriptions []*SoftlayerSubscription `json:"softlayerSubscriptions"`

	// User id of user
	// Required: true
	UserID *string `json:"userID"`
}

OwnerInfo owner info

swagger:model OwnerInfo

func (*OwnerInfo) ContextValidate

func (m *OwnerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this owner info based on the context it is used

func (*OwnerInfo) MarshalBinary

func (m *OwnerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OwnerInfo) UnmarshalBinary

func (m *OwnerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OwnerInfo) Validate

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

Validate validates this owner info

type PVMInstance

type PVMInstance struct {

	// (deprecated - replaced by networks) The list of addresses and their network information
	Addresses []*PVMInstanceNetwork `json:"addresses"`

	// Console language and code
	ConsoleLanguage *ConsoleLanguage `json:"consoleLanguage,omitempty"`

	// Date/Time of PVM creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// The custom deployment type
	DeploymentType string `json:"deploymentType,omitempty"`

	// Size of allocated disk (in GB)
	// Required: true
	DiskSize *float64 `json:"diskSize"`

	// fault
	Fault *PVMInstanceFault `json:"fault,omitempty"`

	// health
	Health *PVMInstanceHealth `json:"health,omitempty"`

	// The PVM Instance Host ID (Internal Use Only)
	HostID int64 `json:"hostID,omitempty"`

	// The ImageID used by the server
	// Required: true
	ImageID *string `json:"imageID"`

	// The VTL license repository capacity TB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Maximum amount of memory that can be allocated (in GB, for resize)
	Maxmem float64 `json:"maxmem,omitempty"`

	// Maximum number of processors that can be allocated (for resize)
	Maxproc float64 `json:"maxproc,omitempty"`

	// Amount of memory allocated (in GB)
	// Required: true
	Memory *float64 `json:"memory"`

	// whether the instance can be migrated
	Migratable *bool `json:"migratable,omitempty"`

	// Minimum amount of memory that can be allocated (in GB, for resize)
	Minmem float64 `json:"minmem,omitempty"`

	// Minimum number of processors that can be allocated (for resize)
	Minproc float64 `json:"minproc,omitempty"`

	// (deprecated - replaced by networks) List of Network IDs
	// Required: true
	NetworkIDs []string `json:"networkIDs"`

	// The pvm instance networks information
	Networks []*PVMInstanceNetwork `json:"networks"`

	// OS system information (usually version and build)
	OperatingSystem string `json:"operatingSystem,omitempty"`

	// Type of the OS [aix, ibmi, rhel, sles, vtl, rhcos]
	// Required: true
	OsType *string `json:"osType"`

	// VM pinning policy to use [none, soft, hard]
	PinPolicy string `json:"pinPolicy,omitempty"`

	// The placement group of the server
	PlacementGroup *string `json:"placementGroup,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Required: true
	// Enum: [dedicated shared capped ]
	ProcType *string `json:"procType"`

	// Number of processors allocated
	// Required: true
	Processors *float64 `json:"processors"`

	// The progress of an operation
	Progress float64 `json:"progress,omitempty"`

	// PCloud PVM Instance ID
	// Required: true
	PvmInstanceID *string `json:"pvmInstanceID"`

	// If this is an SAP pvm-instance the profile reference will link to the SAP profile
	SapProfile *SAPProfileReference `json:"sapProfile,omitempty"`

	// Name of the server
	// Required: true
	ServerName *string `json:"serverName"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// The pvm instance SRC lists
	Srcs [][]*SRC `json:"srcs"`

	// The status of the instance
	// Required: true
	Status *string `json:"status"`

	// Storage Pool where server is deployed
	StoragePool string `json:"storagePool,omitempty"`

	// Indicates if all volumes attached to the server must reside in the same storage pool; Defaults to true when initially deploying a PVMInstance
	StoragePoolAffinity *bool `json:"storagePoolAffinity,omitempty"`

	// Storage type where server is deployed
	// Required: true
	StorageType *string `json:"storageType"`

	// System type used to host the instance
	SysType string `json:"sysType,omitempty"`

	// Date/Time of PVM last update
	// Format: date-time
	UpdatedDate strfmt.DateTime `json:"updatedDate,omitempty"`

	// The pvm instance virtual CPU information
	VirtualCores *VirtualCores `json:"virtualCores,omitempty"`

	// List of volume IDs
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

PVMInstance p VM instance

swagger:model PVMInstance

func (*PVMInstance) ContextValidate

func (m *PVMInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance based on the context it is used

func (*PVMInstance) MarshalBinary

func (m *PVMInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstance) UnmarshalBinary

func (m *PVMInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstance) Validate

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

Validate validates this p VM instance

type PVMInstanceAction

type PVMInstanceAction struct {

	// Name of the action to take; can be start, stop, hard-reboot, soft-reboot, immediate-shutdown, reset-state
	// Required: true
	// Enum: [start stop immediate-shutdown hard-reboot soft-reboot reset-state]
	Action *string `json:"action"`
}

PVMInstanceAction p VM instance action

swagger:model PVMInstanceAction

func (*PVMInstanceAction) ContextValidate

func (m *PVMInstanceAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance action based on context it is used

func (*PVMInstanceAction) MarshalBinary

func (m *PVMInstanceAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceAction) UnmarshalBinary

func (m *PVMInstanceAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceAction) Validate

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

Validate validates this p VM instance action

type PVMInstanceAddNetwork

type PVMInstanceAddNetwork struct {

	// The requested ip address of this network interface
	IPAddress string `json:"ipAddress,omitempty"`

	// ID of the network
	// Required: true
	NetworkID *string `json:"networkID"`
}

PVMInstanceAddNetwork p VM instance add network

swagger:model PVMInstanceAddNetwork

func (*PVMInstanceAddNetwork) ContextValidate

func (m *PVMInstanceAddNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance add network based on context it is used

func (*PVMInstanceAddNetwork) MarshalBinary

func (m *PVMInstanceAddNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceAddNetwork) UnmarshalBinary

func (m *PVMInstanceAddNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceAddNetwork) Validate

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

Validate validates this p VM instance add network

type PVMInstanceAddress

type PVMInstanceAddress struct {
	PVMInstanceNetwork
}

PVMInstanceAddress deprecated - replaced by PVMInstanceNetwork

swagger:model PVMInstanceAddress

func (*PVMInstanceAddress) ContextValidate

func (m *PVMInstanceAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance address based on the context it is used

func (PVMInstanceAddress) MarshalJSON

func (m PVMInstanceAddress) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*PVMInstanceAddress) UnmarshalJSON

func (m *PVMInstanceAddress) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*PVMInstanceAddress) Validate

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

Validate validates this p VM instance address

type PVMInstanceCapture

type PVMInstanceCapture struct {

	// Destination for the deployable image
	// Required: true
	// Enum: [image-catalog cloud-storage both]
	CaptureDestination *string `json:"captureDestination"`

	// Name of the deployable image created for the captured PVMInstance
	// Required: true
	CaptureName *string `json:"captureName"`

	// List of Data volume IDs to include in the captured PVMInstance
	CaptureVolumeIDs []string `json:"captureVolumeIDs"`

	// Cloud Storage Access key
	CloudStorageAccessKey string `json:"cloudStorageAccessKey,omitempty"`

	// Cloud Storage Image Path (bucket-name [/folder/../..])
	CloudStorageImagePath string `json:"cloudStorageImagePath,omitempty"`

	// Cloud Storage Region
	CloudStorageRegion string `json:"cloudStorageRegion,omitempty"`

	// Cloud Storage Secret key
	CloudStorageSecretKey string `json:"cloudStorageSecretKey,omitempty"`
}

PVMInstanceCapture p VM instance capture

swagger:model PVMInstanceCapture

func (*PVMInstanceCapture) ContextValidate

func (m *PVMInstanceCapture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance capture based on context it is used

func (*PVMInstanceCapture) MarshalBinary

func (m *PVMInstanceCapture) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceCapture) UnmarshalBinary

func (m *PVMInstanceCapture) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceCapture) Validate

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

Validate validates this p VM instance capture

type PVMInstanceClone

type PVMInstanceClone struct {

	// The name of the SSH key pair provided to the server for authenticating users (looked up in the tenant's list of keys)
	KeyPairName string `json:"keyPairName,omitempty"`

	// Amount of memory allocated (in GB)
	Memory *float64 `json:"memory,omitempty"`

	// Name of the server to create
	// Required: true
	Name *string `json:"name"`

	// The pvm instance networks information
	// Required: true
	Networks []*PVMInstanceAddNetwork `json:"networks"`

	// Processor type (dedicated, shared, capped)
	// Enum: [dedicated shared capped]
	ProcType *string `json:"procType,omitempty"`

	// Number of processors allocated
	Processors *float64 `json:"processors,omitempty"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// List of volume IDs
	VolumeIDs []string `json:"volumeIDs"`
}

PVMInstanceClone p VM instance clone

swagger:model PVMInstanceClone

func (*PVMInstanceClone) ContextValidate

func (m *PVMInstanceClone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance clone based on the context it is used

func (*PVMInstanceClone) MarshalBinary

func (m *PVMInstanceClone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceClone) UnmarshalBinary

func (m *PVMInstanceClone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceClone) Validate

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

Validate validates this p VM instance clone

type PVMInstanceConfiguration

type PVMInstanceConfiguration struct {

	// Console language and code
	ConsoleLanguage *ConsoleLanguage `json:"consoleLanguage,omitempty"`

	// The VTL license repository capacity TB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// If this is an SAP pvm-instance the profile reference will link to the SAP profile
	SapProfile *SAPProfileReference `json:"sapProfile,omitempty"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// The pvm instance system reference code lists
	SystemReferenceCodes [][]*SRC `json:"systemReferenceCodes"`
}

PVMInstanceConfiguration p VM instance configuration

swagger:model PVMInstanceConfiguration

func (*PVMInstanceConfiguration) ContextValidate

func (m *PVMInstanceConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance configuration based on the context it is used

func (*PVMInstanceConfiguration) MarshalBinary

func (m *PVMInstanceConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceConfiguration) UnmarshalBinary

func (m *PVMInstanceConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceConfiguration) Validate

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

Validate validates this p VM instance configuration

type PVMInstanceConsole

type PVMInstanceConsole struct {

	// The URL to the noVNC console for the PVM Instance
	// Required: true
	ConsoleURL *string `json:"consoleURL"`
}

PVMInstanceConsole p VM instance console

swagger:model PVMInstanceConsole

func (*PVMInstanceConsole) ContextValidate

func (m *PVMInstanceConsole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance console based on context it is used

func (*PVMInstanceConsole) MarshalBinary

func (m *PVMInstanceConsole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceConsole) UnmarshalBinary

func (m *PVMInstanceConsole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceConsole) Validate

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

Validate validates this p VM instance console

type PVMInstanceCores

type PVMInstanceCores struct {

	// The active processor information
	// Required: true
	Assigned *float64 `json:"assigned"`

	// The maximum number of processors that can be allocated (for resize)
	Maximum float64 `json:"maximum,omitempty"`

	// The minimum number of processors that can be allocated (for resize)
	Minimum float64 `json:"minimum,omitempty"`
}

PVMInstanceCores p VM instance cores

swagger:model PVMInstanceCores

func (*PVMInstanceCores) ContextValidate

func (m *PVMInstanceCores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance cores based on context it is used

func (*PVMInstanceCores) MarshalBinary

func (m *PVMInstanceCores) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceCores) UnmarshalBinary

func (m *PVMInstanceCores) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceCores) Validate

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

Validate validates this p VM instance cores

type PVMInstanceCreate

type PVMInstanceCreate struct {

	// The custom deployment type
	DeploymentType string `json:"deploymentType,omitempty"`

	// Image ID of the image to use for the server
	// Required: true
	ImageID *string `json:"imageID"`

	// The name of the SSH key pair provided to the server for authenticating users (looked up in the tenant's list of keys)
	KeyPairName string `json:"keyPairName,omitempty"`

	// The VTL license repository capacity TB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Amount of memory allocated (in GB)
	// Required: true
	Memory *float64 `json:"memory"`

	// (deprecated - replaced by pinPolicy) Indicates if the server is allowed to migrate between hosts
	Migratable *bool `json:"migratable,omitempty"`

	// (deprecated - replaced by networks) List of Network IDs
	NetworkIDs []string `json:"networkIDs"`

	// The pvm instance networks information
	Networks []*PVMInstanceAddNetwork `json:"networks"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// The placement group for the server
	PlacementGroup string `json:"placementGroup,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Required: true
	// Enum: [dedicated shared capped]
	ProcType *string `json:"procType"`

	// Number of processors allocated
	// Required: true
	Processors *float64 `json:"processors"`

	// Affinity policy for replicants being created; affinity for the same host, anti-affinity for different hosts, none for no preference
	// Enum: [affinity anti-affinity none]
	ReplicantAffinityPolicy *string `json:"replicantAffinityPolicy,omitempty"`

	// How to name the created vms
	// Enum: [prefix suffix]
	ReplicantNamingScheme *string `json:"replicantNamingScheme,omitempty"`

	// Number of duplicate instances to create in this request
	Replicants float64 `json:"replicants,omitempty"`

	// Name of the server to create
	// Required: true
	ServerName *string `json:"serverName"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// The storage affinity data; ignored if storagePool is provided; Only valid when you deploy one of the IBM supplied stock images. Storage type and pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage type and pool the image was created in
	StorageAffinity *StorageAffinity `json:"storageAffinity,omitempty"`

	// The storage connection type
	// Enum: [vSCSI]
	StorageConnection string `json:"storageConnection,omitempty"`

	// Storage Pool for server deployment; if provided then storageAffinity and storageType will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage type and pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage type and pool the image was created in
	StoragePool string `json:"storagePool,omitempty"`

	// Storage type for server deployment; will be ignored if storagePool or storageAffinity is provided; Only valid when you deploy one of the IBM supplied stock images. Storage type and pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage type and pool the image was created in
	StorageType string `json:"storageType,omitempty"`

	// System type used to host the instance
	SysType string `json:"sysType,omitempty"`

	// Cloud init user defined data
	UserData string `json:"userData,omitempty"`

	// The pvm instance virtual CPU information
	VirtualCores *VirtualCores `json:"virtualCores,omitempty"`

	// List of volume IDs
	VolumeIDs []string `json:"volumeIDs"`
}

PVMInstanceCreate p VM instance create

swagger:model PVMInstanceCreate

func (*PVMInstanceCreate) ContextValidate

func (m *PVMInstanceCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance create based on the context it is used

func (*PVMInstanceCreate) MarshalBinary

func (m *PVMInstanceCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceCreate) UnmarshalBinary

func (m *PVMInstanceCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceCreate) Validate

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

Validate validates this p VM instance create

type PVMInstanceFault

type PVMInstanceFault struct {

	// The fault status of the server, if any
	Code float64 `json:"code,omitempty"`

	// The date and time the fault occurred
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// The fault details of the server, if any
	Details string `json:"details,omitempty"`

	// The fault message of the server, if any
	Message string `json:"message,omitempty"`
}

PVMInstanceFault Fault information (if occurred)

swagger:model PVMInstanceFault

func (*PVMInstanceFault) ContextValidate

func (m *PVMInstanceFault) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance fault based on context it is used

func (*PVMInstanceFault) MarshalBinary

func (m *PVMInstanceFault) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceFault) UnmarshalBinary

func (m *PVMInstanceFault) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceFault) Validate

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

Validate validates this p VM instance fault

type PVMInstanceHealth

type PVMInstanceHealth struct {

	// Date/Time of PVM last health status change
	LastUpdate string `json:"lastUpdate,omitempty"`

	// The health status reason, if any
	Reason string `json:"reason,omitempty"`

	// The PVM's health status value
	Status string `json:"status,omitempty"`
}

PVMInstanceHealth PVM's health status details

swagger:model PVMInstanceHealth

func (*PVMInstanceHealth) ContextValidate

func (m *PVMInstanceHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance health based on context it is used

func (*PVMInstanceHealth) MarshalBinary

func (m *PVMInstanceHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceHealth) UnmarshalBinary

func (m *PVMInstanceHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceHealth) Validate

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

Validate validates this p VM instance health

type PVMInstanceList

type PVMInstanceList []*PVMInstance

PVMInstanceList A list of PVMInstances

swagger:model PVMInstanceList

func (PVMInstanceList) ContextValidate

func (m PVMInstanceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance list based on the context it is used

func (PVMInstanceList) Validate

func (m PVMInstanceList) Validate(formats strfmt.Registry) error

Validate validates this p VM instance list

type PVMInstanceMemory

type PVMInstanceMemory struct {

	// The active memory information
	// Required: true
	Assigned *float64 `json:"assigned"`

	// The maximum amount of memory that can be allocated (in GB, for resize)
	Maximum float64 `json:"maximum,omitempty"`

	// The minimum amount of memory that can be allocated (in GB, for resize)
	Minimum float64 `json:"minimum,omitempty"`
}

PVMInstanceMemory p VM instance memory

swagger:model PVMInstanceMemory

func (*PVMInstanceMemory) ContextValidate

func (m *PVMInstanceMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance memory based on context it is used

func (*PVMInstanceMemory) MarshalBinary

func (m *PVMInstanceMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceMemory) UnmarshalBinary

func (m *PVMInstanceMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceMemory) Validate

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

Validate validates this p VM instance memory

type PVMInstanceMultiCreate

type PVMInstanceMultiCreate struct {

	// Affinity policy for pvm-instances being created; affinity for the same host, anti-affinity for different hosts, none for no preference
	// Enum: [affinity anti-affinity none]
	AffinityPolicy *string `json:"affinityPolicy,omitempty"`

	// Number of pvm-instances to create
	Count int64 `json:"count,omitempty"`

	// Where to place the numerical number of the multi-created instance
	// Enum: [prefix suffix]
	Numerical *string `json:"numerical,omitempty"`
}

PVMInstanceMultiCreate p VM instance multi create

swagger:model PVMInstanceMultiCreate

func (*PVMInstanceMultiCreate) ContextValidate

func (m *PVMInstanceMultiCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance multi create based on context it is used

func (*PVMInstanceMultiCreate) MarshalBinary

func (m *PVMInstanceMultiCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceMultiCreate) UnmarshalBinary

func (m *PVMInstanceMultiCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceMultiCreate) Validate

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

Validate validates this p VM instance multi create

type PVMInstanceNetwork

type PVMInstanceNetwork struct {

	// The external ip address (for pub-vlan networks)
	ExternalIP string `json:"externalIP,omitempty"`

	// Link to PVM Instance Network
	Href string `json:"href,omitempty"`

	// (deprecated - replaced by ipAddress)
	IP string `json:"ip,omitempty"`

	// The ip address of this network interface
	IPAddress string `json:"ipAddress,omitempty"`

	// The mac address of the network interface
	MacAddress string `json:"macAddress,omitempty"`

	// ID of the network
	NetworkID string `json:"networkID,omitempty"`

	// The name of the network the address is on
	NetworkName string `json:"networkName,omitempty"`

	// The address type (fixed or dynamic)
	Type string `json:"type,omitempty"`

	// The version of the information provided
	Version float64 `json:"version,omitempty"`
}

PVMInstanceNetwork A map containing information about a network address

swagger:model PVMInstanceNetwork

func (*PVMInstanceNetwork) ContextValidate

func (m *PVMInstanceNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance network based on context it is used

func (*PVMInstanceNetwork) MarshalBinary

func (m *PVMInstanceNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceNetwork) UnmarshalBinary

func (m *PVMInstanceNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceNetwork) Validate

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

Validate validates this p VM instance network

type PVMInstanceNetworks

type PVMInstanceNetworks struct {

	// PVM Instance Networks
	// Required: true
	Networks []*PVMInstanceNetwork `json:"networks"`
}

PVMInstanceNetworks p VM instance networks

swagger:model PVMInstanceNetworks

func (*PVMInstanceNetworks) ContextValidate

func (m *PVMInstanceNetworks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance networks based on the context it is used

func (*PVMInstanceNetworks) MarshalBinary

func (m *PVMInstanceNetworks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceNetworks) UnmarshalBinary

func (m *PVMInstanceNetworks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceNetworks) Validate

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

Validate validates this p VM instance networks

type PVMInstanceOperatingSystem

type PVMInstanceOperatingSystem struct {

	// Type of the OS [aix, ibmi, rhel, sles, vtl, rhcos]
	// Required: true
	Type *string `json:"type"`

	// OS system information (usually version and build)
	Version string `json:"version,omitempty"`
}

PVMInstanceOperatingSystem p VM instance operating system

swagger:model PVMInstanceOperatingSystem

func (*PVMInstanceOperatingSystem) ContextValidate

func (m *PVMInstanceOperatingSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance operating system based on context it is used

func (*PVMInstanceOperatingSystem) MarshalBinary

func (m *PVMInstanceOperatingSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceOperatingSystem) UnmarshalBinary

func (m *PVMInstanceOperatingSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceOperatingSystem) Validate

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

Validate validates this p VM instance operating system

type PVMInstanceOperation

type PVMInstanceOperation struct {

	// operation
	// Required: true
	Operation *Operations `json:"operation"`

	// Name of the operation to execute; can be job or boot
	// Required: true
	// Enum: [job boot]
	OperationType *string `json:"operationType"`
}

PVMInstanceOperation p VM instance operation

swagger:model PVMInstanceOperation

func (*PVMInstanceOperation) ContextValidate

func (m *PVMInstanceOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance operation based on the context it is used

func (*PVMInstanceOperation) MarshalBinary

func (m *PVMInstanceOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceOperation) UnmarshalBinary

func (m *PVMInstanceOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceOperation) Validate

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

Validate validates this p VM instance operation

type PVMInstanceReference

type PVMInstanceReference struct {

	// (deprecated - replaced by networks) The list of addresses and their network information
	Addresses []*PVMInstanceNetwork `json:"addresses"`

	// Console language and code
	ConsoleLanguage *ConsoleLanguage `json:"consoleLanguage,omitempty"`

	// Date/Time of PVM creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// Size of allocated disk (in GB)
	// Required: true
	DiskSize *float64 `json:"diskSize"`

	// fault
	Fault *PVMInstanceFault `json:"fault,omitempty"`

	// health
	Health *PVMInstanceHealth `json:"health,omitempty"`

	// The PVM Instance Host ID (Internal Use Only)
	HostID int64 `json:"hostID,omitempty"`

	// Link to Cloud Instance resource
	// Required: true
	Href *string `json:"href"`

	// The ImageID used by the server
	// Required: true
	ImageID *string `json:"imageID"`

	// The VTL license repository capacity TB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Maximum amount of memory that can be allocated (in GB, for resize)
	Maxmem float64 `json:"maxmem,omitempty"`

	// Maximum number of processors that can be allocated (for resize)
	Maxproc float64 `json:"maxproc,omitempty"`

	// Amount of memory allocated (in GB)
	// Required: true
	Memory *float64 `json:"memory"`

	// Minimum amount of memory that can be allocated (in GB, for resize)
	Minmem float64 `json:"minmem,omitempty"`

	// Minimum number of processors that can be allocated (for resize)
	Minproc float64 `json:"minproc,omitempty"`

	// The list of addresses and their network information
	Networks []*PVMInstanceNetwork `json:"networks"`

	// OS system information (usually version and build)
	OperatingSystem string `json:"operatingSystem,omitempty"`

	// Type of the OS [aix, ibmi, rhel, sles, vtl, rhcos]
	// Required: true
	OsType *string `json:"osType"`

	// VM pinning policy to use [none, soft, hard]
	PinPolicy string `json:"pinPolicy,omitempty"`

	// The placement group of the server
	PlacementGroup *string `json:"placementGroup,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Required: true
	// Enum: [dedicated shared capped]
	ProcType *string `json:"procType"`

	// Number of processors allocated
	// Required: true
	Processors *float64 `json:"processors"`

	// The progress of an operation
	Progress float64 `json:"progress,omitempty"`

	// PCloud PVM Instance ID
	// Required: true
	PvmInstanceID *string `json:"pvmInstanceID"`

	// If this is an SAP pvm-instance the profile reference will link to the SAP profile
	SapProfile *SAPProfileReference `json:"sapProfile,omitempty"`

	// Name of the server
	// Required: true
	ServerName *string `json:"serverName"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// The pvm instance SRC lists
	Srcs [][]*SRC `json:"srcs"`

	// The status of the instance
	// Required: true
	Status *string `json:"status"`

	// Storage Pool where server is deployed
	StoragePool string `json:"storagePool,omitempty"`

	// Indicates if all volumes attached to the server must reside in the same storage pool
	StoragePoolAffinity *bool `json:"storagePoolAffinity,omitempty"`

	// Storage type of the deployment storage pool
	StorageType string `json:"storageType,omitempty"`

	// System type used to host the instance
	SysType string `json:"sysType,omitempty"`

	// Date/Time of PVM last update
	// Format: date-time
	UpdatedDate strfmt.DateTime `json:"updatedDate,omitempty"`

	// The pvm instance virtual CPU information
	VirtualCores *VirtualCores `json:"virtualCores,omitempty"`
}

PVMInstanceReference p VM instance reference

swagger:model PVMInstanceReference

func (*PVMInstanceReference) ContextValidate

func (m *PVMInstanceReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance reference based on the context it is used

func (*PVMInstanceReference) MarshalBinary

func (m *PVMInstanceReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceReference) UnmarshalBinary

func (m *PVMInstanceReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceReference) Validate

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

Validate validates this p VM instance reference

type PVMInstanceReferenceV2

type PVMInstanceReferenceV2 struct {

	// The pvm instance server configuration
	Configuration *PVMInstanceConfiguration `json:"configuration,omitempty"`

	// The pvm instance cores information
	// Required: true
	Cores *PVMInstanceCores `json:"cores"`

	// Date/Time of PVM creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// The pvm instance deployment information
	// Required: true
	Deployment *PvmInstanceDeployment `json:"deployment"`

	// The pvm instance host information
	Host *PvmInstanceHost `json:"host,omitempty"`

	// Link to Cloud Instance resource
	// Required: true
	Href *string `json:"href"`

	// PCloud PVM Instance ID
	// Required: true
	ID *string `json:"id"`

	// The pvm instance memory information
	// Required: true
	Memory *PVMInstanceMemory `json:"memory"`

	// Name of the server
	// Required: true
	Name *string `json:"name"`

	// The pvm instance OS system information
	// Required: true
	OperatingSystem *PVMInstanceOperatingSystem `json:"operatingSystem"`

	// The pvm instance placement group information
	PlacementGroup *PvmInstancePlacementGroup `json:"placementGroup,omitempty"`

	// The status of the instance
	// Required: true
	Status *string `json:"status"`

	// The pvm instance virtual CPU information
	VirtualCores *PVMInstanceVirtualCores `json:"virtualCores,omitempty"`
}

PVMInstanceReferenceV2 p VM instance reference v2

swagger:model PVMInstanceReferenceV2

func (*PVMInstanceReferenceV2) ContextValidate

func (m *PVMInstanceReferenceV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance reference v2 based on the context it is used

func (*PVMInstanceReferenceV2) MarshalBinary

func (m *PVMInstanceReferenceV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceReferenceV2) UnmarshalBinary

func (m *PVMInstanceReferenceV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceReferenceV2) Validate

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

Validate validates this p VM instance reference v2

type PVMInstanceRemoveNetwork

type PVMInstanceRemoveNetwork struct {

	// The mac address of the network interface to be removed
	MacAddress string `json:"macAddress,omitempty"`
}

PVMInstanceRemoveNetwork p VM instance remove network

swagger:model PVMInstanceRemoveNetwork

func (*PVMInstanceRemoveNetwork) ContextValidate

func (m *PVMInstanceRemoveNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance remove network based on context it is used

func (*PVMInstanceRemoveNetwork) MarshalBinary

func (m *PVMInstanceRemoveNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceRemoveNetwork) UnmarshalBinary

func (m *PVMInstanceRemoveNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceRemoveNetwork) Validate

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

Validate validates this p VM instance remove network

type PVMInstanceUpdate

type PVMInstanceUpdate struct {

	// The VTL license repository capacity TB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Amount of memory allocated (in GB)
	Memory float64 `json:"memory,omitempty"`

	// (deprecated - replaced by pinPolicy) Indicates if the server is allowed to migrate between hosts
	Migratable *bool `json:"migratable,omitempty"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Enum: [dedicated shared capped]
	ProcType string `json:"procType,omitempty"`

	// Number of processors allocated
	Processors float64 `json:"processors,omitempty"`

	// If an SAP pvm-instance, the SAP profile ID to switch to (only while shutdown)
	SapProfileID string `json:"sapProfileID,omitempty"`

	// Name of the server to create
	ServerName string `json:"serverName,omitempty"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// Indicates if all volumes attached to the server must reside in the same storage pool; If set to false then volumes from any storage type and pool can be attached to the PVMInstance; Impacts PVMInstance snapshot, capture, and clone, for capture and clone - only data volumes that are of the same storage type and in the same storage pool of the PVMInstance's boot volume can be included; for snapshot - all data volumes to be included in the snapshot must reside in the same storage type and pool. Once set to false, cannot be set back to true unless all volumes attached reside in the same storage type and pool.
	StoragePoolAffinity *bool `json:"storagePoolAffinity,omitempty"`

	// The pvm instance virtual CPU information
	VirtualCores *VirtualCores `json:"virtualCores,omitempty"`
}

PVMInstanceUpdate p VM instance update

swagger:model PVMInstanceUpdate

func (*PVMInstanceUpdate) ContextValidate

func (m *PVMInstanceUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance update based on the context it is used

func (*PVMInstanceUpdate) MarshalBinary

func (m *PVMInstanceUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceUpdate) UnmarshalBinary

func (m *PVMInstanceUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceUpdate) Validate

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

Validate validates this p VM instance update

type PVMInstanceUpdateResponse

type PVMInstanceUpdateResponse struct {

	// The VTL license repository capacity TB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Amount of memory allocated (in GB)
	Memory float64 `json:"memory,omitempty"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Enum: [dedicated shared capped]
	ProcType string `json:"procType,omitempty"`

	// Number of processors allocated
	Processors float64 `json:"processors,omitempty"`

	// Name of the server to create
	ServerName string `json:"serverName,omitempty"`

	// URL to check for status of the operation (for now, just the URL for the GET on the server, which has status information from powervc)
	StatusURL string `json:"statusUrl,omitempty"`
}

PVMInstanceUpdateResponse p VM instance update response

swagger:model PVMInstanceUpdateResponse

func (*PVMInstanceUpdateResponse) ContextValidate

func (m *PVMInstanceUpdateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance update response based on the context it is used

func (*PVMInstanceUpdateResponse) MarshalBinary

func (m *PVMInstanceUpdateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceUpdateResponse) UnmarshalBinary

func (m *PVMInstanceUpdateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceUpdateResponse) Validate

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

Validate validates this p VM instance update response

type PVMInstanceVirtualCores

type PVMInstanceVirtualCores struct {

	// The active virtual Cores
	// Required: true
	// Minimum: 1
	Assigned *int64 `json:"assigned"`

	// The maximum DLPAR range for virtual Cores (Display only support)
	Maximum int64 `json:"maximum,omitempty"`

	// The minimum DLPAR range for virtual Cores (Display only support)
	Minimum int64 `json:"minimum,omitempty"`
}

PVMInstanceVirtualCores p VM instance virtual cores

swagger:model PVMInstanceVirtualCores

func (*PVMInstanceVirtualCores) ContextValidate

func (m *PVMInstanceVirtualCores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance virtual cores based on context it is used

func (*PVMInstanceVirtualCores) MarshalBinary

func (m *PVMInstanceVirtualCores) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceVirtualCores) UnmarshalBinary

func (m *PVMInstanceVirtualCores) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceVirtualCores) Validate

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

Validate validates this p VM instance virtual cores

type PVMInstanceVolumeUpdate

type PVMInstanceVolumeUpdate struct {

	// Indicates if the volume should be deleted when the PVMInstance is terminated
	// Required: true
	DeleteOnTermination *bool `json:"deleteOnTermination"`
}

PVMInstanceVolumeUpdate p VM instance volume update

swagger:model PVMInstanceVolumeUpdate

func (*PVMInstanceVolumeUpdate) ContextValidate

func (m *PVMInstanceVolumeUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance volume update based on context it is used

func (*PVMInstanceVolumeUpdate) MarshalBinary

func (m *PVMInstanceVolumeUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceVolumeUpdate) UnmarshalBinary

func (m *PVMInstanceVolumeUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceVolumeUpdate) Validate

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

Validate validates this p VM instance volume update

type PVMInstances

type PVMInstances struct {

	// PVM Instance References
	// Required: true
	PvmInstances []*PVMInstanceReference `json:"pvmInstances"`
}

PVMInstances p VM instances

swagger:model PVMInstances

func (*PVMInstances) ContextValidate

func (m *PVMInstances) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instances based on the context it is used

func (*PVMInstances) MarshalBinary

func (m *PVMInstances) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstances) UnmarshalBinary

func (m *PVMInstances) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstances) Validate

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

Validate validates this p VM instances

type PVMInstancesV2

type PVMInstancesV2 struct {

	// PVM Instance References
	// Required: true
	PvmInstances []*PVMInstanceReferenceV2 `json:"pvmInstances"`
}

PVMInstancesV2 p VM instances v2

swagger:model PVMInstancesV2

func (*PVMInstancesV2) ContextValidate

func (m *PVMInstancesV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instances v2 based on the context it is used

func (*PVMInstancesV2) MarshalBinary

func (m *PVMInstancesV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstancesV2) UnmarshalBinary

func (m *PVMInstancesV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstancesV2) Validate

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

Validate validates this p VM instances v2

type PeerSubnetUpdate

type PeerSubnetUpdate struct {

	// cidr
	// Example: 128.170.1.0/32
	// Required: true
	Cidr *string `json:"cidr"`
}

PeerSubnetUpdate CIDR of peer subnet to attach/detach

swagger:model PeerSubnetUpdate

func (*PeerSubnetUpdate) ContextValidate

func (m *PeerSubnetUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer subnet update based on context it is used

func (*PeerSubnetUpdate) MarshalBinary

func (m *PeerSubnetUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeerSubnetUpdate) UnmarshalBinary

func (m *PeerSubnetUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeerSubnetUpdate) Validate

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

Validate validates this peer subnet update

type PeerSubnets

type PeerSubnets struct {

	// an array of strings containing CIDR of peer subnets
	// Example: ["128.170.1.0/20","128.169.1.0/24","128.168.1.0/27","128.170.1.0/32"]
	PeerSubnets []string `json:"peerSubnets"`
}

PeerSubnets peer subnets

swagger:model PeerSubnets

func (*PeerSubnets) ContextValidate

func (m *PeerSubnets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer subnets based on context it is used

func (*PeerSubnets) MarshalBinary

func (m *PeerSubnets) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeerSubnets) UnmarshalBinary

func (m *PeerSubnets) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeerSubnets) Validate

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

Validate validates this peer subnets

type PeeringNetwork

type PeeringNetwork struct {

	// Network in CIDR notation (192.168.0.0/24)
	// Required: true
	Cidr *string `json:"cidr" datastore:"cidr"`

	// DNS Servers
	DNSServers []string `json:"dnsServers,omitempty" datastore:"dnsServers"`

	// Name of project to be peered
	// Required: true
	ProjectName *string `json:"projectName" datastore:"projectName"`
}

PeeringNetwork peering network

swagger:model PeeringNetwork

func (*PeeringNetwork) ContextValidate

func (m *PeeringNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peering network based on context it is used

func (*PeeringNetwork) MarshalBinary

func (m *PeeringNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeeringNetwork) UnmarshalBinary

func (m *PeeringNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeeringNetwork) Validate

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

Validate validates this peering network

type Permissions

type Permissions struct {

	// Determines if role has manage (ex. delete) level access
	// Required: true
	Manage *bool `json:"manage"`

	// Determines if role has read level access
	// Required: true
	Read *bool `json:"read"`

	// Determines if role has write level access
	// Required: true
	Write *bool `json:"write"`
}

Permissions permissions

swagger:model Permissions

func (*Permissions) ContextValidate

func (m *Permissions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this permissions based on context it is used

func (*Permissions) MarshalBinary

func (m *Permissions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Permissions) UnmarshalBinary

func (m *Permissions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Permissions) Validate

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

Validate validates this permissions

type PinPolicy

type PinPolicy string

PinPolicy Specify PVM pin policy

swagger:model PinPolicy

const (

	// PinPolicyNone captures enum value "none"
	PinPolicyNone PinPolicy = "none"

	// PinPolicySoft captures enum value "soft"
	PinPolicySoft PinPolicy = "soft"

	// PinPolicyHard captures enum value "hard"
	PinPolicyHard PinPolicy = "hard"
)

func NewPinPolicy

func NewPinPolicy(value PinPolicy) *PinPolicy

func (PinPolicy) ContextValidate

func (m PinPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pin policy based on context it is used

func (PinPolicy) Pointer

func (m PinPolicy) Pointer() *PinPolicy

Pointer returns a pointer to a freshly-allocated PinPolicy.

func (PinPolicy) Validate

func (m PinPolicy) Validate(formats strfmt.Registry) error

Validate validates this pin policy

type PlacementGroup

type PlacementGroup struct {

	// The id of the Placement Group
	// Required: true
	ID *string `json:"id"`

	// The List of PVM Instance IDs associated with the Placement Group
	// Required: true
	Members []string `json:"members"`

	// The name of the Placement Group
	// Required: true
	Name *string `json:"name"`

	// The Placement Group Policy
	// Required: true
	// Enum: [affinity anti-affinity]
	Policy *string `json:"policy"`
}

PlacementGroup placement group

swagger:model PlacementGroup

func (*PlacementGroup) ContextValidate

func (m *PlacementGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this placement group based on context it is used

func (*PlacementGroup) MarshalBinary

func (m *PlacementGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlacementGroup) UnmarshalBinary

func (m *PlacementGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlacementGroup) Validate

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

Validate validates this placement group

type PlacementGroupCreate

type PlacementGroupCreate struct {

	// The name of the Placement Group
	// Required: true
	Name *string `json:"name"`

	// The Placement Group Policy
	// Required: true
	// Enum: [affinity anti-affinity]
	Policy *string `json:"policy"`
}

PlacementGroupCreate placement group create

swagger:model PlacementGroupCreate

func (*PlacementGroupCreate) ContextValidate

func (m *PlacementGroupCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this placement group create based on context it is used

func (*PlacementGroupCreate) MarshalBinary

func (m *PlacementGroupCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlacementGroupCreate) UnmarshalBinary

func (m *PlacementGroupCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlacementGroupCreate) Validate

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

Validate validates this placement group create

type PlacementGroupServer

type PlacementGroupServer struct {

	// The ID of the Server
	// Required: true
	ID *string `json:"id"`
}

PlacementGroupServer placement group server

swagger:model PlacementGroupServer

func (*PlacementGroupServer) ContextValidate

func (m *PlacementGroupServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this placement group server based on context it is used

func (*PlacementGroupServer) MarshalBinary

func (m *PlacementGroupServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlacementGroupServer) UnmarshalBinary

func (m *PlacementGroupServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlacementGroupServer) Validate

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

Validate validates this placement group server

type PlacementGroups

type PlacementGroups struct {

	// List of Server Placement Groups
	// Required: true
	PlacementGroups []*PlacementGroup `json:"placementGroups"`
}

PlacementGroups placement groups

swagger:model PlacementGroups

func (*PlacementGroups) ContextValidate

func (m *PlacementGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this placement groups based on the context it is used

func (*PlacementGroups) MarshalBinary

func (m *PlacementGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlacementGroups) UnmarshalBinary

func (m *PlacementGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlacementGroups) Validate

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

Validate validates this placement groups

type Plan

type Plan struct {

	// bindable
	Bindable bool `json:"bindable,omitempty"`

	// description
	// Required: true
	Description *string `json:"description"`

	// free
	Free *bool `json:"free,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// schemas
	Schemas *SchemasObject `json:"schemas,omitempty"`
}

Plan plan

swagger:model Plan

func (*Plan) ContextValidate

func (m *Plan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this plan based on the context it is used

func (*Plan) MarshalBinary

func (m *Plan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Plan) UnmarshalBinary

func (m *Plan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Plan) Validate

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

Validate validates this plan

type PodCapacity

type PodCapacity struct {

	// pod data
	PodData *PodData `json:"PodData,omitempty"`

	// storage controllers
	StorageControllers StorageControllers `json:"StorageControllers,omitempty"`

	// system pools
	SystemPools SystemPoolsCapacity `json:"SystemPools,omitempty"`
}

PodCapacity List of available resources within a Pod

swagger:model PodCapacity

func (*PodCapacity) ContextValidate

func (m *PodCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pod capacity based on the context it is used

func (*PodCapacity) MarshalBinary

func (m *PodCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodCapacity) UnmarshalBinary

func (m *PodCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodCapacity) Validate

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

Validate validates this pod capacity

type PodData

type PodData struct {

	// Number of available cores in the Pod
	// Required: true
	Cores *float64 `json:"cores"`

	// Amount of available memory in the Pod (GB)
	// Required: true
	Memory *int64 `json:"memory"`

	// ID of the Satellite Location
	// Required: true
	SatLocationID *string `json:"satLocationID"`

	// Amount of available storage in the Pod (GB)
	// Required: true
	Storage *int64 `json:"storage"`

	// Total number of cores in the Pod
	// Required: true
	TotalCores *float64 `json:"totalCores"`

	// Total amount of memory in the Pod (GB)
	// Required: true
	TotalMemory *int64 `json:"totalMemory"`

	// Total amount of storage in the Pod (GB)
	// Required: true
	TotalStorage *int64 `json:"totalStorage"`
}

PodData Description of a PPCaaS Pod

swagger:model PodData

func (*PodData) ContextValidate

func (m *PodData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod data based on context it is used

func (*PodData) MarshalBinary

func (m *PodData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodData) UnmarshalBinary

func (m *PodData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodData) Validate

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

Validate validates this pod data

type PolicyVersions

type PolicyVersions []float64

PolicyVersions policy versions Example: [1,2]

swagger:model PolicyVersions

func (PolicyVersions) ContextValidate

func (m PolicyVersions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy versions based on context it is used

func (PolicyVersions) Validate

func (m PolicyVersions) Validate(formats strfmt.Registry) error

Validate validates this policy versions

type PowerVSInstance

type PowerVSInstance struct {

	// capabilities
	// Required: true
	Capabilities InstanceCapabilities `json:"capabilities"`

	// The timestamp in which the Power Private Cloud service instance was created
	// Example: 2022-04-04T16:20:15.581636275Z
	// Required: true
	CreationDate *string `json:"creationDate"`

	// The Power Private Cloud Service Instance CRN
	// Example: crn:v1:bluemix:public:ppc-aas:dal12:a/2bc3df23c0d14ebe921397bd8aa2573a:3a5798f1-4d2b-4e0a-9311-9b0fd6b94698::
	// Required: true
	Crn *string `json:"crn"`

	// The Power Private Cloud IBM Cloud URL path for UI (Tentative, still need verification that this is possible)
	// Example: https://cloud.ibm.com/services/ppc-aas/crn%3Av1%3Abluemix%3Apublic%3Appc-aas%3Adal12%3Aa%2F2bc3df23c0d14ebe921397bd8aa2573a%3A5de8348d-bc6a-466e-854f-661d1e86b230%3A%3A
	// Required: true
	Href *string `json:"href"`

	// The Power Private Cloud Service Instance ID
	// Example: 3a5798f1-4d2b-4e0a-9311-9b0fd6b94698
	// Required: true
	ID *string `json:"id"`

	// Location of the Power Private Cloud Instance
	// Example: dal12
	// Required: true
	Location *string `json:"location"`

	// The Power Private Cloud URL path to access specific service instance information
	// Example: https://us-south.ppc-aas.cloud.ibm.com
	// Required: true
	LocationURL *string `json:"locationUrl"`

	// The name of the service instance (This field will be empty for old accounts as Power Private Cloud did not previously saved the names)
	// Example: Test Name
	// Required: true
	Name *string `json:"name"`

	// Defines if the user has administrator privileges
	// Example: true
	// Required: true
	PrivilegedUser *bool `json:"privilegedUser"`

	// IBM Resource Group ID associated with the Power Private Cloud Service Instance (This field will be empty for old accounts as Power Private Cloud did not previously saved the Resource Group ID)
	// Example: 2bf1887bf5c947b1966de2bd88220489
	ResourceGroupID string `json:"resourceGroupId,omitempty"`

	// The status of the service instance (Power Private Cloud behavior, if Service Instance exists then then status is active)
	// Example: Active
	// Required: true
	Status *string `json:"status"`
}

PowerVSInstance Power Private Cloud Instance for a specific IBM Cloud Account

swagger:model PowerVSInstance

func (*PowerVSInstance) ContextValidate

func (m *PowerVSInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this power v s instance based on the context it is used

func (*PowerVSInstance) MarshalBinary

func (m *PowerVSInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PowerVSInstance) UnmarshalBinary

func (m *PowerVSInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PowerVSInstance) Validate

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

Validate validates this power v s instance

type PowerVSInstances

type PowerVSInstances struct {

	// power vs instances
	// Required: true
	PowerVsInstances []*PowerVSInstance `json:"powerVsInstances"`
}

PowerVSInstances The List of Power Private Cloud Instances for a specific IBM Cloud Account

swagger:model PowerVSInstances

func (*PowerVSInstances) ContextValidate

func (m *PowerVSInstances) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this power v s instances based on the context it is used

func (*PowerVSInstances) MarshalBinary

func (m *PowerVSInstances) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PowerVSInstances) UnmarshalBinary

func (m *PowerVSInstances) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PowerVSInstances) Validate

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

Validate validates this power v s instances

type PvmInstanceDeployment

type PvmInstanceDeployment struct {

	// Machine type used to host the instance
	MachineType string `json:"machineType,omitempty"`

	// VM pin policy to use [none, soft, hard]
	PinPolicy string `json:"pinPolicy,omitempty"`

	// Processor mode (dedicated, shared, capped)
	// Required: true
	// Enum: [dedicated shared capped]
	ProcessorMode *string `json:"processorMode"`

	// Type of Deployment [SAP-RISE, EPIC]
	Type string `json:"type,omitempty"`
}

PvmInstanceDeployment pvm instance deployment

swagger:model PvmInstanceDeployment

func (*PvmInstanceDeployment) ContextValidate

func (m *PvmInstanceDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pvm instance deployment based on context it is used

func (*PvmInstanceDeployment) MarshalBinary

func (m *PvmInstanceDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PvmInstanceDeployment) UnmarshalBinary

func (m *PvmInstanceDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PvmInstanceDeployment) Validate

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

Validate validates this pvm instance deployment

type PvmInstanceHost

type PvmInstanceHost struct {

	// The PVM Instance Host ID (Internal Use Only)
	ID int64 `json:"id,omitempty"`
}

PvmInstanceHost pvm instance host

swagger:model PvmInstanceHost

func (*PvmInstanceHost) ContextValidate

func (m *PvmInstanceHost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pvm instance host based on context it is used

func (*PvmInstanceHost) MarshalBinary

func (m *PvmInstanceHost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PvmInstanceHost) UnmarshalBinary

func (m *PvmInstanceHost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PvmInstanceHost) Validate

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

Validate validates this pvm instance host

type PvmInstancePlacementGroup

type PvmInstancePlacementGroup struct {

	// The placement group id of the server
	// Required: true
	ID *string `json:"id"`
}

PvmInstancePlacementGroup pvm instance placement group

swagger:model PvmInstancePlacementGroup

func (*PvmInstancePlacementGroup) ContextValidate

func (m *PvmInstancePlacementGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pvm instance placement group based on context it is used

func (*PvmInstancePlacementGroup) MarshalBinary

func (m *PvmInstancePlacementGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PvmInstancePlacementGroup) UnmarshalBinary

func (m *PvmInstancePlacementGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PvmInstancePlacementGroup) Validate

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

Validate validates this pvm instance placement group

type RegionStorageTypes

type RegionStorageTypes []*StorageType

RegionStorageTypes An array of of storage types supported in a region

swagger:model RegionStorageTypes

func (RegionStorageTypes) ContextValidate

func (m RegionStorageTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this region storage types based on the context it is used

func (RegionStorageTypes) Validate

func (m RegionStorageTypes) Validate(formats strfmt.Registry) error

Validate validates this region storage types

type RemoteCopyRelationship

type RemoteCopyRelationship struct {

	// Name of the volume that is acting as the auxiliary change volume for the relationship
	AuxChangedVolumeName string `json:"auxChangedVolumeName,omitempty"`

	// Auxiliary volume name at storage host level
	AuxVolumeName string `json:"auxVolumeName,omitempty"`

	// Consistency Group Name if volume is a part of volume group
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// Indicates the copy type.
	CopyType string `json:"copyType,omitempty"`

	// Indicates the type of cycling mode used.
	CyclingMode string `json:"cyclingMode,omitempty"`

	// Freeze time of remote copy relationship
	// Format: date-time
	FreezeTime strfmt.DateTime `json:"freezeTime,omitempty"`

	// Name of the volume that is acting as the master change volume for the relationship
	MasterChangedVolumeName string `json:"masterChangedVolumeName,omitempty"`

	// Master volume name at storage host level
	MasterVolumeName string `json:"masterVolumeName,omitempty"`

	// Remote copy relationship name
	// Required: true
	Name *string `json:"name"`

	// Indicates whether master/aux volume is playing the primary role
	PrimaryRole string `json:"primaryRole,omitempty"`

	// Indicates the relationship progress
	Progress int64 `json:"progress,omitempty"`

	// Remote copy relationship ID
	// Required: true
	RemoteCopyID *string `json:"remoteCopyID"`

	// Indicates the relationship state
	State string `json:"state,omitempty"`

	// Indicates whether the relationship is synchronized
	Sync string `json:"sync,omitempty"`
}

RemoteCopyRelationship remote copy relationship

swagger:model RemoteCopyRelationship

func (*RemoteCopyRelationship) ContextValidate

func (m *RemoteCopyRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote copy relationship based on context it is used

func (*RemoteCopyRelationship) MarshalBinary

func (m *RemoteCopyRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteCopyRelationship) UnmarshalBinary

func (m *RemoteCopyRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteCopyRelationship) Validate

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

Validate validates this remote copy relationship

type ReplicationSites

type ReplicationSites []*Site

ReplicationSites list of Replication Sites

swagger:model ReplicationSites

func (ReplicationSites) ContextValidate

func (m ReplicationSites) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this replication sites based on the context it is used

func (ReplicationSites) Validate

func (m ReplicationSites) Validate(formats strfmt.Registry) error

Validate validates this replication sites

type ResourceAccess

type ResourceAccess map[string]AccessRole

ResourceAccess resource access

swagger:model ResourceAccess

func (ResourceAccess) ContextValidate

func (m ResourceAccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource access based on the context it is used

func (ResourceAccess) Validate

func (m ResourceAccess) Validate(formats strfmt.Registry) error

Validate validates this resource access

type ResourceTargetInfo

type ResourceTargetInfo struct {

	// Workaround for API's not having region in their context
	Region string `json:"region,omitempty"`

	// Workaround for AT event tracker
	ResourceGroupCRN string `json:"resourceGroupCRN,omitempty"`

	// CRN of the target resource
	TargetCRN string `json:"targetCRN,omitempty"`
}

ResourceTargetInfo resource target info

swagger:model ResourceTargetInfo

func (*ResourceTargetInfo) ContextValidate

func (m *ResourceTargetInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource target info based on context it is used

func (*ResourceTargetInfo) MarshalBinary

func (m *ResourceTargetInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceTargetInfo) UnmarshalBinary

func (m *ResourceTargetInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceTargetInfo) Validate

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

Validate validates this resource target info

type SAPCreate

type SAPCreate struct {

	// Custom SAP Deployment Type Information (For Internal Use Only)
	DeploymentType string `json:"deploymentType,omitempty"`

	// Image ID of the sap image to use for the server
	// Required: true
	ImageID *string `json:"imageID"`

	// instances
	Instances *PVMInstanceMultiCreate `json:"instances,omitempty"`

	// Name of the sap pvm-instance
	// Required: true
	Name *string `json:"name"`

	// The pvm instance networks information
	// Required: true
	Networks []*PVMInstanceAddNetwork `json:"networks"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// The placement group for the server
	PlacementGroup string `json:"placementGroup,omitempty"`

	// SAP Profile ID for the amount of cores and memory
	// Required: true
	ProfileID *string `json:"profileID"`

	// The name of the SSH Key to provide to the server for authenticating
	SSHKeyName string `json:"sshKeyName,omitempty"`

	// The storage affinity data; ignored if storagePool is provided; Only valid when you deploy one of the IBM supplied stock images. Storage type and pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage type and pool the image was created in
	StorageAffinity *StorageAffinity `json:"storageAffinity,omitempty"`

	// Storage Pool for server deployment; if provided then storageAffinity and storageType will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage type and pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage type and pool the image was created in
	StoragePool string `json:"storagePool,omitempty"`

	// Storage type for server deployment; will be ignored if storagePool or storageAffinity is provided; Only valid when you deploy one of the IBM supplied stock images. Storage type and pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage type and pool the image was created in
	StorageType string `json:"storageType,omitempty"`

	// System type used to host the instance. Only e880, e980, e1080 are supported
	SysType string `json:"sysType,omitempty"`

	// Cloud init user defined data
	UserData string `json:"userData,omitempty"`

	// List of Volume IDs to attach to the pvm-instance on creation
	VolumeIDs []string `json:"volumeIDs"`
}

SAPCreate s a p create

swagger:model SAPCreate

func (*SAPCreate) ContextValidate

func (m *SAPCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s a p create based on the context it is used

func (*SAPCreate) MarshalBinary

func (m *SAPCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAPCreate) UnmarshalBinary

func (m *SAPCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAPCreate) Validate

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

Validate validates this s a p create

type SAPProfile

type SAPProfile struct {

	// Has certification been performed on profile
	// Required: true
	Certified *bool `json:"certified"`

	// Amount of cores
	// Required: true
	Cores *int64 `json:"cores"`

	// Amount of memory (in GB)
	// Required: true
	Memory *int64 `json:"memory"`

	// SAP Profile ID
	// Required: true
	ProfileID *string `json:"profileID"`

	// Type of profile
	// Required: true
	// Enum: [balanced compute memory non-production ultra-memory]
	Type *string `json:"type"`
}

SAPProfile s a p profile

swagger:model SAPProfile

func (*SAPProfile) ContextValidate

func (m *SAPProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a p profile based on context it is used

func (*SAPProfile) MarshalBinary

func (m *SAPProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAPProfile) UnmarshalBinary

func (m *SAPProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAPProfile) Validate

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

Validate validates this s a p profile

type SAPProfileReference

type SAPProfileReference struct {

	// Link to SAP profile resource
	// Required: true
	Href *string `json:"href"`

	// SAP Profile ID
	// Required: true
	ProfileID *string `json:"profileID"`
}

SAPProfileReference s a p profile reference

swagger:model SAPProfileReference

func (*SAPProfileReference) ContextValidate

func (m *SAPProfileReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a p profile reference based on context it is used

func (*SAPProfileReference) MarshalBinary

func (m *SAPProfileReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAPProfileReference) UnmarshalBinary

func (m *SAPProfileReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAPProfileReference) Validate

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

Validate validates this s a p profile reference

type SAPProfiles

type SAPProfiles struct {

	// SAP Profiles
	// Required: true
	Profiles []*SAPProfile `json:"profiles"`
}

SAPProfiles s a p profiles

swagger:model SAPProfiles

func (*SAPProfiles) ContextValidate

func (m *SAPProfiles) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s a p profiles based on the context it is used

func (*SAPProfiles) MarshalBinary

func (m *SAPProfiles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAPProfiles) UnmarshalBinary

func (m *SAPProfiles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAPProfiles) Validate

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

Validate validates this s a p profiles

type SRC

type SRC struct {

	// The SRC reference code
	Src string `json:"src,omitempty"`

	// The date stamp of the SRC
	Timestamp string `json:"timestamp,omitempty"`
}

SRC s r c

swagger:model SRC

func (*SRC) ContextValidate

func (m *SRC) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s r c based on context it is used

func (*SRC) MarshalBinary

func (m *SRC) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SRC) UnmarshalBinary

func (m *SRC) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SRC) Validate

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

Validate validates this s r c

type SSHKey

type SSHKey struct {

	// Date of sshkey creation
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate,omitempty" datastore:"creationDate"`

	// User defined name for the SSH key
	// Required: true
	Name *string `json:"name" datastore:"name"`

	// SSH RSA key
	// Required: true
	SSHKey *string `json:"sshKey" datastore:"sshKey"`
}

SSHKey SSH key

swagger:model SSHKey

func (*SSHKey) ContextValidate

func (m *SSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this SSH key based on context it is used

func (*SSHKey) MarshalBinary

func (m *SSHKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SSHKey) UnmarshalBinary

func (m *SSHKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SSHKey) Validate

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

Validate validates this SSH key

type SSHKeys

type SSHKeys struct {

	// SSH Keys
	// Required: true
	SSHKeys []*SSHKey `json:"sshKeys"`
}

SSHKeys SSH keys

swagger:model SSHKeys

func (*SSHKeys) ContextValidate

func (m *SSHKeys) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this SSH keys based on the context it is used

func (*SSHKeys) MarshalBinary

func (m *SSHKeys) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SSHKeys) UnmarshalBinary

func (m *SSHKeys) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SSHKeys) Validate

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

Validate validates this SSH keys

type SchemaParameters

type SchemaParameters struct {

	// parameters
	Parameters JSONSchemaObject `json:"parameters,omitempty"`
}

SchemaParameters schema parameters

swagger:model SchemaParameters

func (*SchemaParameters) ContextValidate

func (m *SchemaParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schema parameters based on context it is used

func (*SchemaParameters) MarshalBinary

func (m *SchemaParameters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchemaParameters) UnmarshalBinary

func (m *SchemaParameters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchemaParameters) Validate

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

Validate validates this schema parameters

type SchemasObject

type SchemasObject struct {

	// service binding
	ServiceBinding *ServiceBindingSchemaObject `json:"service_binding,omitempty"`

	// service instance
	ServiceInstance *ServiceInstanceSchemaObject `json:"service_instance,omitempty"`
}

SchemasObject schemas object

swagger:model SchemasObject

func (*SchemasObject) ContextValidate

func (m *SchemasObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schemas object based on the context it is used

func (*SchemasObject) MarshalBinary

func (m *SchemasObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchemasObject) UnmarshalBinary

func (m *SchemasObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchemasObject) Validate

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

Validate validates this schemas object

type Service

type Service struct {

	// bindable
	// Required: true
	Bindable *bool `json:"bindable"`

	// dashboard client
	DashboardClient *DashboardClient `json:"dashboard_client,omitempty"`

	// description
	// Required: true
	Description *string `json:"description"`

	// iam compatible
	IamCompatible bool `json:"iam_compatible,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// plan updateable
	PlanUpdateable bool `json:"plan_updateable,omitempty"`

	// plans
	// Required: true
	Plans []*Plan `json:"plans"`

	// provisionable
	Provisionable bool `json:"provisionable,omitempty"`

	// rc compatible
	RcCompatible bool `json:"rc_compatible,omitempty"`

	// requires
	Requires []string `json:"requires"`

	// tags
	Tags []string `json:"tags"`

	// unique api key
	UniqueAPIKey bool `json:"unique_api_key,omitempty"`
}

Service service

swagger:model Service

func (*Service) ContextValidate

func (m *Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service based on the context it is used

func (*Service) MarshalBinary

func (m *Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

func (m *Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type ServiceAuthenticationInfo

type ServiceAuthenticationInfo struct {

	// Map of internal capabilities the user has access to and their level of access
	Capabilities ResourceAccess `json:"capabilities,omitempty"`

	// Service ID
	// Required: true
	ID *string `json:"id"`

	// Service Name
	// Required: true
	Name *string `json:"name"`

	// OAuth2 Token
	// Required: true
	Token *Token `json:"token"`
}

ServiceAuthenticationInfo service authentication info

swagger:model ServiceAuthenticationInfo

func (*ServiceAuthenticationInfo) ContextValidate

func (m *ServiceAuthenticationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service authentication info based on the context it is used

func (*ServiceAuthenticationInfo) MarshalBinary

func (m *ServiceAuthenticationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceAuthenticationInfo) UnmarshalBinary

func (m *ServiceAuthenticationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceAuthenticationInfo) Validate

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

Validate validates this service authentication info

type ServiceBinding

type ServiceBinding struct {

	// credentials
	Credentials Object `json:"credentials,omitempty"`

	// route service url
	RouteServiceURL string `json:"route_service_url,omitempty"`

	// syslog drain url
	SyslogDrainURL string `json:"syslog_drain_url,omitempty"`

	// volume mounts
	VolumeMounts []*ServiceBindingVolumeMount `json:"volume_mounts"`
}

ServiceBinding service binding

swagger:model ServiceBinding

func (*ServiceBinding) ContextValidate

func (m *ServiceBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding based on the context it is used

func (*ServiceBinding) MarshalBinary

func (m *ServiceBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBinding) UnmarshalBinary

func (m *ServiceBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBinding) Validate

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

Validate validates this service binding

type ServiceBindingRequest

type ServiceBindingRequest struct {

	// app guid
	AppGUID string `json:"app_guid,omitempty"`

	// bind resource
	BindResource *ServiceBindingResourceObject `json:"bind_resource,omitempty"`

	// context
	Context Context `json:"context,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`
}

ServiceBindingRequest service binding request

swagger:model ServiceBindingRequest

func (*ServiceBindingRequest) ContextValidate

func (m *ServiceBindingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding request based on the context it is used

func (*ServiceBindingRequest) MarshalBinary

func (m *ServiceBindingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingRequest) UnmarshalBinary

func (m *ServiceBindingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingRequest) Validate

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

Validate validates this service binding request

type ServiceBindingResource

type ServiceBindingResource struct {

	// credentials
	Credentials Object `json:"credentials,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// route service url
	RouteServiceURL string `json:"route_service_url,omitempty"`

	// syslog drain url
	SyslogDrainURL string `json:"syslog_drain_url,omitempty"`

	// volume mounts
	VolumeMounts []*ServiceBindingVolumeMount `json:"volume_mounts"`
}

ServiceBindingResource service binding resource

swagger:model ServiceBindingResource

func (*ServiceBindingResource) ContextValidate

func (m *ServiceBindingResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding resource based on the context it is used

func (*ServiceBindingResource) MarshalBinary

func (m *ServiceBindingResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingResource) UnmarshalBinary

func (m *ServiceBindingResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingResource) Validate

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

Validate validates this service binding resource

type ServiceBindingResourceObject

type ServiceBindingResourceObject struct {

	// app guid
	AppGUID string `json:"app_guid,omitempty"`

	// route
	Route string `json:"route,omitempty"`
}

ServiceBindingResourceObject service binding resource object

swagger:model ServiceBindingResourceObject

func (*ServiceBindingResourceObject) ContextValidate

func (m *ServiceBindingResourceObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service binding resource object based on context it is used

func (*ServiceBindingResourceObject) MarshalBinary

func (m *ServiceBindingResourceObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingResourceObject) UnmarshalBinary

func (m *ServiceBindingResourceObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingResourceObject) Validate

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

Validate validates this service binding resource object

type ServiceBindingSchemaObject

type ServiceBindingSchemaObject struct {

	// create
	Create *SchemaParameters `json:"create,omitempty"`
}

ServiceBindingSchemaObject service binding schema object

swagger:model ServiceBindingSchemaObject

func (*ServiceBindingSchemaObject) ContextValidate

func (m *ServiceBindingSchemaObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding schema object based on the context it is used

func (*ServiceBindingSchemaObject) MarshalBinary

func (m *ServiceBindingSchemaObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingSchemaObject) UnmarshalBinary

func (m *ServiceBindingSchemaObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingSchemaObject) Validate

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

Validate validates this service binding schema object

type ServiceBindingVolumeMount

type ServiceBindingVolumeMount struct {

	// container dir
	// Required: true
	ContainerDir *string `json:"container_dir"`

	// device
	// Required: true
	Device *ServiceBindingVolumeMountDevice `json:"device"`

	// device type
	// Required: true
	// Enum: [shared]
	DeviceType *string `json:"device_type"`

	// driver
	// Required: true
	Driver *string `json:"driver"`

	// mode
	// Required: true
	// Enum: [r rw]
	Mode *string `json:"mode"`
}

ServiceBindingVolumeMount service binding volume mount

swagger:model ServiceBindingVolumeMount

func (*ServiceBindingVolumeMount) ContextValidate

func (m *ServiceBindingVolumeMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding volume mount based on the context it is used

func (*ServiceBindingVolumeMount) MarshalBinary

func (m *ServiceBindingVolumeMount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingVolumeMount) UnmarshalBinary

func (m *ServiceBindingVolumeMount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingVolumeMount) Validate

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

Validate validates this service binding volume mount

type ServiceBindingVolumeMountDevice

type ServiceBindingVolumeMountDevice struct {

	// mount config
	MountConfig Object `json:"mount_config,omitempty"`

	// volume id
	// Required: true
	VolumeID *string `json:"volume_id"`
}

ServiceBindingVolumeMountDevice service binding volume mount device

swagger:model ServiceBindingVolumeMountDevice

func (*ServiceBindingVolumeMountDevice) ContextValidate

func (m *ServiceBindingVolumeMountDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service binding volume mount device based on context it is used

func (*ServiceBindingVolumeMountDevice) MarshalBinary

func (m *ServiceBindingVolumeMountDevice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingVolumeMountDevice) UnmarshalBinary

func (m *ServiceBindingVolumeMountDevice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingVolumeMountDevice) Validate

Validate validates this service binding volume mount device

type ServiceInstance

type ServiceInstance struct {

	// Indicates (from the viewpoint of the provider) whether the service instance is (perceived) active or not and is meaningful if enabled is true. The default value is true if not specified.
	// Required: true
	Active *bool `json:"active"`

	// Indicates the current state of the service instance.
	// Required: true
	Enable *bool `json:"enable"`

	// Indicates when the service instance was last accessed or modified, and is meaningful if enabled is true AND active is false. Represented as milliseconds since the epoch, but does not need to be accurate to the second/hour.
	// Required: true
	LastActive *float64 `json:"last_active"`
}

ServiceInstance service instance

swagger:model ServiceInstance

func (*ServiceInstance) ContextValidate

func (m *ServiceInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance based on context it is used

func (*ServiceInstance) MarshalBinary

func (m *ServiceInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstance) UnmarshalBinary

func (m *ServiceInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstance) Validate

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

Validate validates this service instance

type ServiceInstanceAsyncOperation

type ServiceInstanceAsyncOperation struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`
}

ServiceInstanceAsyncOperation service instance async operation

swagger:model ServiceInstanceAsyncOperation

func (*ServiceInstanceAsyncOperation) ContextValidate

func (m *ServiceInstanceAsyncOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance async operation based on context it is used

func (*ServiceInstanceAsyncOperation) MarshalBinary

func (m *ServiceInstanceAsyncOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceAsyncOperation) UnmarshalBinary

func (m *ServiceInstanceAsyncOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceAsyncOperation) Validate

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

Validate validates this service instance async operation

type ServiceInstancePreviousValues

type ServiceInstancePreviousValues struct {

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`

	// space id
	SpaceID string `json:"space_id,omitempty"`
}

ServiceInstancePreviousValues service instance previous values

swagger:model ServiceInstancePreviousValues

func (*ServiceInstancePreviousValues) ContextValidate

func (m *ServiceInstancePreviousValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance previous values based on context it is used

func (*ServiceInstancePreviousValues) MarshalBinary

func (m *ServiceInstancePreviousValues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstancePreviousValues) UnmarshalBinary

func (m *ServiceInstancePreviousValues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstancePreviousValues) Validate

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

Validate validates this service instance previous values

type ServiceInstanceProvision

type ServiceInstanceProvision struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`
}

ServiceInstanceProvision service instance provision

swagger:model ServiceInstanceProvision

func (*ServiceInstanceProvision) ContextValidate

func (m *ServiceInstanceProvision) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance provision based on context it is used

func (*ServiceInstanceProvision) MarshalBinary

func (m *ServiceInstanceProvision) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceProvision) UnmarshalBinary

func (m *ServiceInstanceProvision) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceProvision) Validate

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

Validate validates this service instance provision

type ServiceInstanceProvisionRequest

type ServiceInstanceProvisionRequest struct {

	// context
	Context Context `json:"context,omitempty"`

	// organization guid
	OrganizationGUID string `json:"organization_guid,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`

	// space guid
	SpaceGUID string `json:"space_guid,omitempty"`
}

ServiceInstanceProvisionRequest service instance provision request

swagger:model ServiceInstanceProvisionRequest

func (*ServiceInstanceProvisionRequest) ContextValidate

func (m *ServiceInstanceProvisionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance provision request based on context it is used

func (*ServiceInstanceProvisionRequest) MarshalBinary

func (m *ServiceInstanceProvisionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceProvisionRequest) UnmarshalBinary

func (m *ServiceInstanceProvisionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceProvisionRequest) Validate

Validate validates this service instance provision request

type ServiceInstanceRequest

type ServiceInstanceRequest struct {

	// Indicates the current state of the service instance.
	// Required: true
	Enabled *bool `json:"enabled"`

	// Optional string stating the reason code for the service instance state change. Valid values are BMX_ACCT_ACTIVATE, BMX_SERVICE_INSTANCE_BELOW_CAP for enable calls, and BMX_ACCT_SUSPEND, BMX_SERVICE_INSTANCE_ABOVE_CAP for disable calls.
	InitiatorID string `json:"initiator_id,omitempty"`

	// Optional string showing the user id initiating the call
	ReasonCode string `json:"reason_code,omitempty"`
}

ServiceInstanceRequest service instance request

swagger:model ServiceInstanceRequest

func (*ServiceInstanceRequest) ContextValidate

func (m *ServiceInstanceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance request based on context it is used

func (*ServiceInstanceRequest) MarshalBinary

func (m *ServiceInstanceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceRequest) UnmarshalBinary

func (m *ServiceInstanceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceRequest) Validate

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

Validate validates this service instance request

type ServiceInstanceResource

type ServiceInstanceResource struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`
}

ServiceInstanceResource service instance resource

swagger:model ServiceInstanceResource

func (*ServiceInstanceResource) ContextValidate

func (m *ServiceInstanceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance resource based on context it is used

func (*ServiceInstanceResource) MarshalBinary

func (m *ServiceInstanceResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceResource) UnmarshalBinary

func (m *ServiceInstanceResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceResource) Validate

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

Validate validates this service instance resource

type ServiceInstanceSchemaObject

type ServiceInstanceSchemaObject struct {

	// create
	Create *SchemaParameters `json:"create,omitempty"`

	// update
	Update *SchemaParameters `json:"update,omitempty"`
}

ServiceInstanceSchemaObject service instance schema object

swagger:model ServiceInstanceSchemaObject

func (*ServiceInstanceSchemaObject) ContextValidate

func (m *ServiceInstanceSchemaObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance schema object based on the context it is used

func (*ServiceInstanceSchemaObject) MarshalBinary

func (m *ServiceInstanceSchemaObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceSchemaObject) UnmarshalBinary

func (m *ServiceInstanceSchemaObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceSchemaObject) Validate

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

Validate validates this service instance schema object

type ServiceInstanceUpdateRequest

type ServiceInstanceUpdateRequest struct {

	// context
	Context Context `json:"context,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// previous values
	PreviousValues *ServiceInstancePreviousValues `json:"previous_values,omitempty"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`
}

ServiceInstanceUpdateRequest service instance update request

swagger:model ServiceInstanceUpdateRequest

func (*ServiceInstanceUpdateRequest) ContextValidate

func (m *ServiceInstanceUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance update request based on the context it is used

func (*ServiceInstanceUpdateRequest) MarshalBinary

func (m *ServiceInstanceUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceUpdateRequest) UnmarshalBinary

func (m *ServiceInstanceUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceUpdateRequest) Validate

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

Validate validates this service instance update request

type Site

type Site struct {

	// true if location is active , otherwise it is false
	IsActive bool `json:"isActive,omitempty"`

	// regionZone of the location
	Location string `json:"location,omitempty"`
}

Site site

swagger:model Site

func (*Site) ContextValidate

func (m *Site) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this site based on context it is used

func (*Site) MarshalBinary

func (m *Site) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Site) UnmarshalBinary

func (m *Site) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Site) Validate

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

Validate validates this site

type Snapshot

type Snapshot struct {

	// Action performed on the instance snapshot
	Action string `json:"action,omitempty"`

	// Creation Date
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// Description of the PVM instance snapshot
	Description string `json:"description,omitempty"`

	// Last Update Date
	// Format: date-time
	LastUpdateDate strfmt.DateTime `json:"lastUpdateDate,omitempty"`

	// Name of the PVM instance snapshot
	// Required: true
	Name *string `json:"name"`

	// Snapshot completion percentage
	PercentComplete int64 `json:"percentComplete,omitempty"`

	// PCloud PVM Instance ID
	// Required: true
	PvmInstanceID *string `json:"pvmInstanceID"`

	// ID of the PVM instance snapshot
	// Required: true
	SnapshotID *string `json:"snapshotID"`

	// Status of the PVM instancesnapshot
	Status string `json:"status,omitempty"`

	// A map of volume snapshots included in the PVM instance snapshot
	// Required: true
	VolumeSnapshots map[string]string `json:"volumeSnapshots"`
}

Snapshot snapshot

swagger:model Snapshot

func (*Snapshot) ContextValidate

func (m *Snapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot based on context it is used

func (*Snapshot) MarshalBinary

func (m *Snapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snapshot) UnmarshalBinary

func (m *Snapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snapshot) Validate

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

Validate validates this snapshot

type SnapshotCreate

type SnapshotCreate struct {

	// Description of the PVM instance snapshot
	Description string `json:"description,omitempty"`

	// Name of the PVM instance snapshot to create
	// Required: true
	Name *string `json:"name"`

	// List of volumes to include in the PVM instance snapshot
	VolumeIDs []string `json:"volumeIDs"`
}

SnapshotCreate snapshot create

swagger:model SnapshotCreate

func (*SnapshotCreate) ContextValidate

func (m *SnapshotCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot create based on context it is used

func (*SnapshotCreate) MarshalBinary

func (m *SnapshotCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotCreate) UnmarshalBinary

func (m *SnapshotCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotCreate) Validate

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

Validate validates this snapshot create

type SnapshotCreateResponse

type SnapshotCreateResponse struct {

	// ID of the PVM instance snapshot
	// Required: true
	SnapshotID *string `json:"snapshotID"`
}

SnapshotCreateResponse snapshot create response

swagger:model SnapshotCreateResponse

func (*SnapshotCreateResponse) ContextValidate

func (m *SnapshotCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot create response based on context it is used

func (*SnapshotCreateResponse) MarshalBinary

func (m *SnapshotCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotCreateResponse) UnmarshalBinary

func (m *SnapshotCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotCreateResponse) Validate

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

Validate validates this snapshot create response

type SnapshotRestore

type SnapshotRestore struct {

	// By default the VM must be shutoff during a snapshot restore, force set to true will relax the VM shutoff pre-condition.
	Force *bool `json:"force,omitempty"`
}

SnapshotRestore snapshot restore

swagger:model SnapshotRestore

func (*SnapshotRestore) ContextValidate

func (m *SnapshotRestore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot restore based on context it is used

func (*SnapshotRestore) MarshalBinary

func (m *SnapshotRestore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotRestore) UnmarshalBinary

func (m *SnapshotRestore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotRestore) Validate

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

Validate validates this snapshot restore

type SnapshotUpdate

type SnapshotUpdate struct {

	// Description of the PVM instance snapshot
	Description string `json:"description,omitempty"`

	// Name of the PVM instance snapshot
	Name string `json:"name,omitempty"`
}

SnapshotUpdate snapshot update

swagger:model SnapshotUpdate

func (*SnapshotUpdate) ContextValidate

func (m *SnapshotUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot update based on context it is used

func (*SnapshotUpdate) MarshalBinary

func (m *SnapshotUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotUpdate) UnmarshalBinary

func (m *SnapshotUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotUpdate) Validate

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

Validate validates this snapshot update

type Snapshots

type Snapshots struct {

	// List of PVM instance snapshots
	// Required: true
	Snapshots []*Snapshot `json:"snapshots"`
}

Snapshots snapshots

swagger:model Snapshots

func (*Snapshots) ContextValidate

func (m *Snapshots) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshots based on the context it is used

func (*Snapshots) MarshalBinary

func (m *Snapshots) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snapshots) UnmarshalBinary

func (m *Snapshots) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snapshots) Validate

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

Validate validates this snapshots

type SoftlayerSubscription

type SoftlayerSubscription struct {

	// Softlayer ID
	// Required: true
	ID *string `json:"id"`

	// State of softlayer subscription
	// Required: true
	State *string `json:"state"`
}

SoftlayerSubscription Softlayer subscription object

swagger:model SoftlayerSubscription

func (*SoftlayerSubscription) ContextValidate

func (m *SoftlayerSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this softlayer subscription based on context it is used

func (*SoftlayerSubscription) MarshalBinary

func (m *SoftlayerSubscription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SoftlayerSubscription) UnmarshalBinary

func (m *SoftlayerSubscription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SoftlayerSubscription) Validate

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

Validate validates this softlayer subscription

type SoftwareLicenses

type SoftwareLicenses struct {

	// IBMi Cloud Storage Solution
	IbmiCSS *bool `json:"ibmiCSS,omitempty"`

	// IBMi Cloud Storage Solution
	IbmiDBQ *bool `json:"ibmiDBQ,omitempty"`

	// IBMi Power High Availability
	IbmiPHA *bool `json:"ibmiPHA,omitempty"`

	// IBMi Rational Dev Studio
	IbmiRDS *bool `json:"ibmiRDS,omitempty"`

	// IBMi Rational Dev Studio Number of User Licenses
	IbmiRDSUsers int64 `json:"ibmiRDSUsers,omitempty"`
}

SoftwareLicenses software licenses

swagger:model SoftwareLicenses

func (*SoftwareLicenses) ContextValidate

func (m *SoftwareLicenses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this software licenses based on context it is used

func (*SoftwareLicenses) MarshalBinary

func (m *SoftwareLicenses) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SoftwareLicenses) UnmarshalBinary

func (m *SoftwareLicenses) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SoftwareLicenses) Validate

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

Validate validates this software licenses

type Status

type Status struct {

	// message detailing current state
	Message string `json:"message,omitempty"`

	// progress of a job
	// Required: true
	Progress *string `json:"progress"`

	// state of a job
	// Required: true
	State *string `json:"state"`
}

Status status

swagger:model Status

func (*Status) ContextValidate

func (m *Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status based on context it is used

func (*Status) MarshalBinary

func (m *Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Status) UnmarshalBinary

func (m *Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Status) Validate

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

Validate validates this status

type StatusDescription

type StatusDescription struct {

	// List of descriptive error messages.
	Errors []*StatusDescriptionError `json:"errors"`
}

StatusDescription Status details of the volume group

swagger:model StatusDescription

func (*StatusDescription) ContextValidate

func (m *StatusDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this status description based on the context it is used

func (*StatusDescription) MarshalBinary

func (m *StatusDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatusDescription) UnmarshalBinary

func (m *StatusDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatusDescription) Validate

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

Validate validates this status description

type StatusDescriptionError

type StatusDescriptionError struct {

	// Indicates the volume group error key
	Key string `json:"key,omitempty"`

	// Failure message providing more details about the error key
	Message string `json:"message,omitempty"`

	// List of volume IDs, which failed to be added/removed to/from the volume-group, with the given error.
	VolIDs []string `json:"volIDs"`
}

StatusDescriptionError Error status details of a volume group

swagger:model StatusDescriptionError

func (*StatusDescriptionError) ContextValidate

func (m *StatusDescriptionError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status description error based on context it is used

func (*StatusDescriptionError) MarshalBinary

func (m *StatusDescriptionError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatusDescriptionError) UnmarshalBinary

func (m *StatusDescriptionError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatusDescriptionError) Validate

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

Validate validates this status description error

type StockImage

type StockImage struct {

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

	// Storage pool for a stock image
	StoragePool string `json:"storagePool,omitempty"`

	// Storage type for a stock image
	StorageType string `json:"storageType,omitempty"`
}

StockImage Stock image detail

swagger:model StockImage

func (*StockImage) ContextValidate

func (m *StockImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stock image based on context it is used

func (*StockImage) MarshalBinary

func (m *StockImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StockImage) UnmarshalBinary

func (m *StockImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StockImage) Validate

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

Validate validates this stock image

type StockImages

type StockImages []*StockImage

StockImages List of stock images

swagger:model StockImages

func (StockImages) ContextValidate

func (m StockImages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stock images based on the context it is used

func (StockImages) Validate

func (m StockImages) Validate(formats strfmt.Registry) error

Validate validates this stock images

type StorageAffinity

type StorageAffinity struct {

	// PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and affinityVolume is not provided
	AffinityPVMInstance *string `json:"affinityPVMInstance,omitempty"`

	// Affinity policy for storage pool selection; ignored if storagePool provided; for policy 'affinity' requires one of affinityPVMInstance or affinityVolume to be specified; for policy 'anti-affinity' requires one of antiAffinityPVMInstances or antiAffinityVolumes to be specified
	// Enum: [affinity anti-affinity]
	AffinityPolicy *string `json:"affinityPolicy,omitempty"`

	// Volume (ID or Name) to base storage affinity policy against; required if requesting storage affinity and affinityPVMInstance is not provided
	AffinityVolume *string `json:"affinityVolume,omitempty"`

	// List of pvmInstances to base storage anti-affinity policy against; required if requesting storage anti-affinity and antiAffinityVolumes is not provided
	AntiAffinityPVMInstances []string `json:"antiAffinityPVMInstances"`

	// List of volumes to base storage anti-affinity policy against; required if requesting storage anti-affinity and antiAffinityPVMInstances is not provided
	AntiAffinityVolumes []string `json:"antiAffinityVolumes"`
}

StorageAffinity storage affinity

swagger:model StorageAffinity

func (*StorageAffinity) ContextValidate

func (m *StorageAffinity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage affinity based on context it is used

func (*StorageAffinity) MarshalBinary

func (m *StorageAffinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageAffinity) UnmarshalBinary

func (m *StorageAffinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageAffinity) Validate

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

Validate validates this storage affinity

type StorageController

type StorageController struct {

	// Display Name of the Storage Controller
	// Required: true
	DisplayName *string `json:"displayName"`

	// Health status of this storage controller
	// Required: true
	Health *string `json:"health"`

	// Free storage in user pools on this storage controller (GB)
	// Required: true
	PoolStorage *float64 `json:"poolStorage"`

	// Total storage capacity of user pools in this storage controller (GB)
	// Required: true
	PoolTotalStorage *float64 `json:"poolTotalStorage"`

	// List of storage pools within this storage controller
	// Required: true
	Pools map[string]StoragePoolCombined `json:"pools"`
}

StorageController Description of a Storage Controller

swagger:model StorageController

func (*StorageController) ContextValidate

func (m *StorageController) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage controller based on the context it is used

func (*StorageController) MarshalBinary

func (m *StorageController) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageController) UnmarshalBinary

func (m *StorageController) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageController) Validate

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

Validate validates this storage controller

type StorageControllers

type StorageControllers map[string]StorageController

StorageControllers List of available storage controllers within a particular DataCenter

swagger:model StorageControllers

func (StorageControllers) ContextValidate

func (m StorageControllers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage controllers based on the context it is used

func (StorageControllers) Validate

func (m StorageControllers) Validate(formats strfmt.Registry) error

Validate validates this storage controllers

type StorageEntities

type StorageEntities struct {

	// threshold value to apply to an existing storage entity
	ExistingEntity int64 `json:"existingEntity,omitempty"`

	// threshold value to apply to a new storage entity
	NewEntity int64 `json:"newEntity,omitempty"`
}

StorageEntities storage entities

swagger:model StorageEntities

func (*StorageEntities) ContextValidate

func (m *StorageEntities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage entities based on context it is used

func (*StorageEntities) MarshalBinary

func (m *StorageEntities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageEntities) UnmarshalBinary

func (m *StorageEntities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageEntities) Validate

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

Validate validates this storage entities

type StoragePool

type StoragePool struct {

	// display name of storage pool
	// Required: true
	DisplayName *string `json:"displayName"`

	// name of storage pool
	// Required: true
	Name *string `json:"name"`

	// threshold override settings of a pool
	OverrideThresholds *Thresholds `json:"overrideThresholds,omitempty"`

	// state of storage pool
	// Required: true
	// Enum: [closed opened]
	State *string `json:"state"`

	// type of storage pool
	// Required: true
	Type *string `json:"type"`
}

StoragePool storage pool

swagger:model StoragePool

func (*StoragePool) ContextValidate

func (m *StoragePool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage pool based on the context it is used

func (*StoragePool) MarshalBinary

func (m *StoragePool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoragePool) UnmarshalBinary

func (m *StoragePool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoragePool) Validate

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

Validate validates this storage pool

type StoragePoolCapacity

type StoragePoolCapacity struct {

	// Available/Unused pool capacity (GB)
	AvailableCapacity int64 `json:"availableCapacity,omitempty"`

	// Maximum allocation storage size (GB)
	// Required: true
	MaxAllocationSize *int64 `json:"maxAllocationSize"`

	// Pool name
	PoolName string `json:"poolName,omitempty"`

	// Storage host/controller for this storage pool
	StorageHost string `json:"storageHost,omitempty"`

	// Storage type of the storage pool
	StorageType string `json:"storageType,omitempty"`

	// Total pool capacity (GB)
	TotalCapacity int64 `json:"totalCapacity,omitempty"`
}

StoragePoolCapacity Storage pool capacity

swagger:model StoragePoolCapacity

func (*StoragePoolCapacity) ContextValidate

func (m *StoragePoolCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage pool capacity based on context it is used

func (*StoragePoolCapacity) MarshalBinary

func (m *StoragePoolCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoragePoolCapacity) UnmarshalBinary

func (m *StoragePoolCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoragePoolCapacity) Validate

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

Validate validates this storage pool capacity

type StoragePoolCombined

type StoragePoolCombined struct {

	// Pool name
	// Required: true
	PoolName *string `json:"poolName"`

	// Available/Unused pool capacity (GB)
	// Required: true
	Storage *int64 `json:"storage"`

	// Total pool capacity (GB)
	// Required: true
	TotalStorage *int64 `json:"totalStorage"`
}

StoragePoolCombined Combined Storage Pool Capacity

swagger:model StoragePoolCombined

func (*StoragePoolCombined) ContextValidate

func (m *StoragePoolCombined) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage pool combined based on context it is used

func (*StoragePoolCombined) MarshalBinary

func (m *StoragePoolCombined) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoragePoolCombined) UnmarshalBinary

func (m *StoragePoolCombined) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoragePoolCombined) Validate

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

Validate validates this storage pool combined

type StoragePools

type StoragePools []*StoragePool

StoragePools list of storage pools for a region-zone

swagger:model StoragePools

func (StoragePools) ContextValidate

func (m StoragePools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage pools based on the context it is used

func (StoragePools) Validate

func (m StoragePools) Validate(formats strfmt.Registry) error

Validate validates this storage pools

type StoragePoolsCapacity

type StoragePoolsCapacity struct {

	// maximum storage allocation
	MaximumStorageAllocation *MaximumStorageAllocation `json:"maximumStorageAllocation,omitempty"`

	// storage pools capacity
	StoragePoolsCapacity []*StoragePoolCapacity `json:"storagePoolsCapacity"`
}

StoragePoolsCapacity Storage capacity for all storage pools

swagger:model StoragePoolsCapacity

func (*StoragePoolsCapacity) ContextValidate

func (m *StoragePoolsCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage pools capacity based on the context it is used

func (*StoragePoolsCapacity) MarshalBinary

func (m *StoragePoolsCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoragePoolsCapacity) UnmarshalBinary

func (m *StoragePoolsCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoragePoolsCapacity) Validate

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

Validate validates this storage pools capacity

type StorageType

type StorageType struct {

	// Identifies if the storage type is the default for a region
	Default bool `json:"default,omitempty"`

	// Description, storage type label
	Description string `json:"description,omitempty"`

	// State of the storage type (active or inactive)
	// Enum: [active inactive]
	State *string `json:"state,omitempty"`

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

StorageType Storage type detail

swagger:model StorageType

func (*StorageType) ContextValidate

func (m *StorageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage type based on context it is used

func (*StorageType) MarshalBinary

func (m *StorageType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageType) UnmarshalBinary

func (m *StorageType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageType) Validate

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

Validate validates this storage type

type StorageTypeCapacity

type StorageTypeCapacity struct {

	// maximum storage allocation
	MaximumStorageAllocation *MaximumStorageAllocation `json:"maximumStorageAllocation,omitempty"`

	// List of storage pool capacity for storage type
	StoragePoolsCapacity []*StoragePoolCapacity `json:"storagePoolsCapacity"`

	// Storage type
	StorageType string `json:"storageType,omitempty"`
}

StorageTypeCapacity Storage type capacity

swagger:model StorageTypeCapacity

func (*StorageTypeCapacity) ContextValidate

func (m *StorageTypeCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage type capacity based on the context it is used

func (*StorageTypeCapacity) MarshalBinary

func (m *StorageTypeCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageTypeCapacity) UnmarshalBinary

func (m *StorageTypeCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageTypeCapacity) Validate

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

Validate validates this storage type capacity

type StorageTypes

type StorageTypes map[string]RegionStorageTypes

StorageTypes A map of an array of storage types supported in a region

swagger:model StorageTypes

func (StorageTypes) ContextValidate

func (m StorageTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage types based on the context it is used

func (StorageTypes) Validate

func (m StorageTypes) Validate(formats strfmt.Registry) error

Validate validates this storage types

type StorageTypesCapacity

type StorageTypesCapacity struct {

	// maximum storage allocation
	MaximumStorageAllocation *MaximumStorageAllocation `json:"maximumStorageAllocation,omitempty"`

	// storage types capacity
	StorageTypesCapacity []*StorageTypeCapacity `json:"storageTypesCapacity"`
}

StorageTypesCapacity Storage types capacity

swagger:model StorageTypesCapacity

func (*StorageTypesCapacity) ContextValidate

func (m *StorageTypesCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage types capacity based on the context it is used

func (*StorageTypesCapacity) MarshalBinary

func (m *StorageTypesCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageTypesCapacity) UnmarshalBinary

func (m *StorageTypesCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageTypesCapacity) Validate

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

Validate validates this storage types capacity

type System

type System struct {

	// The host available Processor units
	AvailableCores float64 `json:"availableCores,omitempty"`

	// The host available RAM memory in GiB
	AvailableMemory int64 `json:"availableMemory,omitempty"`

	// The host available Processor units
	// Required: true
	Cores *float64 `json:"cores"`

	// The host identifier
	ID int64 `json:"id,omitempty"`

	// The host total RAM memory in GiB
	// Required: true
	Memory *int64 `json:"memory"`

	// The host total Processor units
	// Required: true
	TotalCores *float64 `json:"totalCores"`

	// The host total RAM memory in GiB
	// Required: true
	TotalMemory *int64 `json:"totalMemory"`
}

System system

swagger:model System

func (*System) ContextValidate

func (m *System) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this system based on context it is used

func (*System) MarshalBinary

func (m *System) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*System) UnmarshalBinary

func (m *System) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*System) Validate

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

Validate validates this system

type SystemPool

type SystemPool struct {

	// Advertised capacity cores and memory (GB)
	Capacity *System `json:"capacity,omitempty"`

	// Processor to Memory (GB) Ratio
	CoreMemoryRatio float64 `json:"coreMemoryRatio,omitempty"`

	// Maximum configurable cores and memory (GB) (aggregated from all hosts)
	MaxAvailable *System `json:"maxAvailable,omitempty"`

	// Maximum configurable cores available combined with available memory of that host
	MaxCoresAvailable *System `json:"maxCoresAvailable,omitempty"`

	// Maximum configurable memory available combined with available cores of that host
	MaxMemoryAvailable *System `json:"maxMemoryAvailable,omitempty"`

	// min-max-default allocation percentage of shared core per vCPU
	SharedCoreRatio *MinMaxDefault `json:"sharedCoreRatio,omitempty"`

	// The DataCenter list of servers and their available resources
	Systems []*System `json:"systems"`

	// Type of system hardware
	Type string `json:"type,omitempty"`
}

SystemPool Hardware platform detailing its limits and statistics

swagger:model SystemPool

func (*SystemPool) ContextValidate

func (m *SystemPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pool based on the context it is used

func (*SystemPool) MarshalBinary

func (m *SystemPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemPool) UnmarshalBinary

func (m *SystemPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemPool) Validate

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

Validate validates this system pool

type SystemPoolCapacity

type SystemPoolCapacity struct {

	// Number of available cores in the System Pool
	// Required: true
	Cores *float64 `json:"cores"`

	// Amount of available memory in the System Pool (GB)
	// Required: true
	Memory *int64 `json:"memory"`

	// The DataCenter list of servers and their available resources
	Systems []*System `json:"systems"`

	// Total number of cores in the System Pool
	// Required: true
	TotalCores *float64 `json:"totalCores"`

	// Total amount of memory in the System Pool (GB)
	// Required: true
	TotalMemory *int64 `json:"totalMemory"`
}

SystemPoolCapacity Description of a System Pool's Capacity

swagger:model SystemPoolCapacity

func (*SystemPoolCapacity) ContextValidate

func (m *SystemPoolCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pool capacity based on the context it is used

func (*SystemPoolCapacity) MarshalBinary

func (m *SystemPoolCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemPoolCapacity) UnmarshalBinary

func (m *SystemPoolCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemPoolCapacity) Validate

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

Validate validates this system pool capacity

type SystemPools

type SystemPools map[string]SystemPool

SystemPools List of available system pools within a particular DataCenter

swagger:model SystemPools

func (SystemPools) ContextValidate

func (m SystemPools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pools based on the context it is used

func (SystemPools) Validate

func (m SystemPools) Validate(formats strfmt.Registry) error

Validate validates this system pools

type SystemPoolsCapacity

type SystemPoolsCapacity map[string]SystemPoolCapacity

SystemPoolsCapacity List of available system pools within a Pod

swagger:model SystemPoolsCapacity

func (SystemPoolsCapacity) ContextValidate

func (m SystemPoolsCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pools capacity based on the context it is used

func (SystemPoolsCapacity) Validate

func (m SystemPoolsCapacity) Validate(formats strfmt.Registry) error

Validate validates this system pools capacity

type TargetObject

type TargetObject struct {

	// The name of the target
	// Required: true
	Name *string `json:"name"`

	// The type of the target
	// Required: true
	Type *string `json:"type"`
}

TargetObject List of available capabilities for a specific service

swagger:model TargetObject

func (*TargetObject) ContextValidate

func (m *TargetObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this target object based on context it is used

func (*TargetObject) MarshalBinary

func (m *TargetObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TargetObject) UnmarshalBinary

func (m *TargetObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TargetObject) Validate

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

Validate validates this target object

type Task

type Task struct {

	// Cloud Instance ID of task owner
	// Required: true
	CloudInstanceID *string `json:"cloudInstanceID"`

	// the component id of the task
	// Required: true
	ComponentID *string `json:"componentID"`

	// the component type of the task
	// Required: true
	ComponentType *string `json:"componentType"`

	// Creation Date
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Task Operation
	// Required: true
	Operation *string `json:"operation"`

	// status code of the task
	// Required: true
	Status *string `json:"status"`

	// status detail of the task
	// Required: true
	StatusDetail *string `json:"statusDetail"`

	// Pcloud Task ID
	// Required: true
	TaskID *string `json:"taskID"`
}

Task task

swagger:model Task

func (*Task) ContextValidate

func (m *Task) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task based on context it is used

func (*Task) MarshalBinary

func (m *Task) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Task) UnmarshalBinary

func (m *Task) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Task) Validate

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

Validate validates this task

type TaskReference

type TaskReference struct {

	// Link to Task resource
	// Required: true
	Href *string `json:"href"`

	// ID of Task used to get status of long running operation
	// Required: true
	TaskID *string `json:"taskID"`
}

TaskReference task reference

swagger:model TaskReference

func (*TaskReference) ContextValidate

func (m *TaskReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task reference based on context it is used

func (*TaskReference) MarshalBinary

func (m *TaskReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskReference) UnmarshalBinary

func (m *TaskReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskReference) Validate

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

Validate validates this task reference

type Tenant

type Tenant struct {

	// Cloud Instances owned by the Tenant
	// Required: true
	CloudInstances []*CloudInstanceReference `json:"cloudInstances"`

	// Date of Tenant creation
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Indicates if the tenant is enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// IBM Customer Number
	Icn string `json:"icn,omitempty"`

	// Peering Network Information (optional)
	PeeringNetworks []*PeeringNetwork `json:"peeringNetworks,omitempty"`

	// Tenant SSH Keys
	SSHKeys []*SSHKey `json:"sshKeys"`

	// Tenant ID
	// Required: true
	TenantID *string `json:"tenantID"`
}

Tenant tenant

swagger:model Tenant

func (*Tenant) ContextValidate

func (m *Tenant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenant based on the context it is used

func (*Tenant) MarshalBinary

func (m *Tenant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary

func (m *Tenant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tenant) Validate

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

Validate validates this tenant

type TenantUpdate

type TenantUpdate struct {

	// IBM Customer Number
	Icn *string `json:"icn,omitempty"`

	// Peering Network Information (optional)
	PeeringNetworks []*PeeringNetwork `json:"peeringNetworks"`
}

TenantUpdate tenant update

swagger:model TenantUpdate

func (*TenantUpdate) ContextValidate

func (m *TenantUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenant update based on the context it is used

func (*TenantUpdate) MarshalBinary

func (m *TenantUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TenantUpdate) UnmarshalBinary

func (m *TenantUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TenantUpdate) Validate

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

Validate validates this tenant update

type Thresholds

type Thresholds struct {

	// capacity threshold
	Capacity *StorageEntities `json:"capacity,omitempty"`

	// overcommt threshold
	Overcommit *StorageEntities `json:"overcommit,omitempty"`

	// physical capacity threshold
	PhysicalCapacity *StorageEntities `json:"physicalCapacity,omitempty"`

	// vdisk capacity threshold
	VdiskCapacity *StorageEntities `json:"vdiskCapacity,omitempty"`

	// vdisk limit threshold
	VdiskLimit *StorageEntities `json:"vdiskLimit,omitempty"`
}

Thresholds storage threshold settings

swagger:model Thresholds

func (*Thresholds) ContextValidate

func (m *Thresholds) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this thresholds based on the context it is used

func (*Thresholds) MarshalBinary

func (m *Thresholds) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Thresholds) UnmarshalBinary

func (m *Thresholds) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Thresholds) Validate

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

Validate validates this thresholds

type Token

type Token struct {

	// AccessToken
	// Required: true
	AccessToken *string `json:"accessToken"`

	// Token Expires
	// Required: true
	// Format: date-time
	Expires *strfmt.DateTime `json:"expires"`

	// Refresh Token
	// Required: true
	RefreshToken *string `json:"refreshToken"`

	// Token Type
	// Required: true
	Type *string `json:"type"`
}

Token token

swagger:model Token

func (*Token) ContextValidate

func (m *Token) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token based on context it is used

func (*Token) MarshalBinary

func (m *Token) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Token) UnmarshalBinary

func (m *Token) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Token) Validate

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

Validate validates this token

type TokenExtra

type TokenExtra struct {

	// Number of seconds token will expire
	// Required: true
	ExpiresIn *float64 `json:"expiresIn"`

	// Time on the service broker
	// Required: true
	// Format: date-time
	ServerTime *strfmt.DateTime `json:"serverTime"`

	// OAuth Token
	// Required: true
	Token *Token `json:"token"`

	// Is this token valid
	// Required: true
	Valid *bool `json:"valid"`
}

TokenExtra token extra

swagger:model TokenExtra

func (*TokenExtra) ContextValidate

func (m *TokenExtra) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this token extra based on the context it is used

func (*TokenExtra) MarshalBinary

func (m *TokenExtra) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenExtra) UnmarshalBinary

func (m *TokenExtra) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenExtra) Validate

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

Validate validates this token extra

type TokenRequest

type TokenRequest struct {

	// The refresh token to request the new Access Token
	// Required: true
	RefreshToken *string `json:"refreshToken"`

	// Source type of the token request (web or cli)
	// Required: true
	// Enum: [web cli]
	Source *string `json:"source"`
}

TokenRequest token request

swagger:model TokenRequest

func (*TokenRequest) ContextValidate

func (m *TokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token request based on context it is used

func (*TokenRequest) MarshalBinary

func (m *TokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenRequest) UnmarshalBinary

func (m *TokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenRequest) Validate

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

Validate validates this token request

type TransitConnectionErrorItem

type TransitConnectionErrorItem struct {

	// The status code of the transit connection
	// Required: true
	Code *string `json:"code"`

	// The trace id for debugging purposes
	// Required: true
	Message *string `json:"message"`

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

TransitConnectionErrorItem transit connection error item

swagger:model TransitConnectionErrorItem

func (*TransitConnectionErrorItem) ContextValidate

func (m *TransitConnectionErrorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transit connection error item based on the context it is used

func (*TransitConnectionErrorItem) MarshalBinary

func (m *TransitConnectionErrorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitConnectionErrorItem) UnmarshalBinary

func (m *TransitConnectionErrorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitConnectionErrorItem) Validate

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

Validate validates this transit connection error item

type TransitGatewayInstance

type TransitGatewayInstance struct {

	// errors
	Errors []*TransitConnectionErrorItem `json:"errors,omitempty"`

	// IBM Resource Group ID associated with the Power Private Cloud Service Instance
	// Example: 2bf1887bf5c947b1966de2bd88220489
	ResourceGroupID string `json:"resourceGroupId,omitempty"`

	// The route distinguisher for a network
	// Example: 47902:3255120092
	RouteDistinguisher string `json:"routeDistinguisher,omitempty"`

	// The route target for a network
	// Example: 47902:3255120092
	RouteTarget string `json:"routeTarget,omitempty"`

	// The Power Private Cloud Service Instance CRN
	// Example: crn:v1:bluemix:public:ppc-aas:dal12:a/2bc3df23c0d14ebe921397bd8aa2573a:3a5798f1-4d2b-4e0a-9311-9b0fd6b94698::
	ServiceCrn string `json:"serviceCrn,omitempty"`

	// The Power Private Cloud Service Instance ID
	// Example: 3a5798f1-4d2b-4e0a-9311-9b0fd6b94698
	ServiceID string `json:"serviceId,omitempty"`

	// The trace id for debugging purposes
	Trace string `json:"trace,omitempty"`
}

TransitGatewayInstance transit gateway instance

swagger:model TransitGatewayInstance

func (*TransitGatewayInstance) ContextValidate

func (m *TransitGatewayInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transit gateway instance based on the context it is used

func (*TransitGatewayInstance) MarshalBinary

func (m *TransitGatewayInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitGatewayInstance) UnmarshalBinary

func (m *TransitGatewayInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitGatewayInstance) Validate

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

Validate validates this transit gateway instance

type TransitGatewayLocation

type TransitGatewayLocation struct {

	// The Location of the Power Private Cloud Service
	// Example: dal12
	// Required: true
	Location *string `json:"location"`

	// Location Type of the Power Private Cloud Service
	// Example: data-center
	// Required: true
	// Enum: [region data-center zone]
	LocationType *string `json:"locationType"`

	// The Power Private Cloud Location URL path to access specific service instance information
	// Example: https://us-south.ppc-aas.cloud.ibm.com
	// Required: true
	LocationURL *string `json:"locationUrl"`
}

TransitGatewayLocation The PER enabled Power Private Cloud Service Location

swagger:model TransitGatewayLocation

func (*TransitGatewayLocation) ContextValidate

func (m *TransitGatewayLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this transit gateway location based on context it is used

func (*TransitGatewayLocation) MarshalBinary

func (m *TransitGatewayLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitGatewayLocation) UnmarshalBinary

func (m *TransitGatewayLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitGatewayLocation) Validate

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

Validate validates this transit gateway location

type TransitGatewayLocations

type TransitGatewayLocations struct {

	// The List of PER enabled Power Private Cloud Service Locations
	// Required: true
	TransitGatewayLocations []*TransitGatewayLocation `json:"transitGatewayLocations"`
}

TransitGatewayLocations transit gateway locations

swagger:model TransitGatewayLocations

func (*TransitGatewayLocations) ContextValidate

func (m *TransitGatewayLocations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transit gateway locations based on the context it is used

func (*TransitGatewayLocations) MarshalBinary

func (m *TransitGatewayLocations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitGatewayLocations) UnmarshalBinary

func (m *TransitGatewayLocations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitGatewayLocations) Validate

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

Validate validates this transit gateway locations

type UpdateStoragePool

type UpdateStoragePool struct {

	// display name of storage pool
	DisplayName *string `json:"displayName,omitempty"`

	// threshold override settings of a pool
	OverrideThresholds *Thresholds `json:"overrideThresholds,omitempty"`

	// state of storage pool
	// Enum: [closed opened]
	State *string `json:"state,omitempty"`
}

UpdateStoragePool update storage pool

swagger:model UpdateStoragePool

func (*UpdateStoragePool) ContextValidate

func (m *UpdateStoragePool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update storage pool based on the context it is used

func (*UpdateStoragePool) MarshalBinary

func (m *UpdateStoragePool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateStoragePool) UnmarshalBinary

func (m *UpdateStoragePool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateStoragePool) Validate

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

Validate validates this update storage pool

type UpdateVolume

type UpdateVolume struct {

	// Indicates if the volume is boot capable
	Bootable *bool `json:"bootable,omitempty"`

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

	// Indicates if the volume is shareable between VMs
	Shareable *bool `json:"shareable,omitempty"`

	// New Volume size
	Size float64 `json:"size,omitempty"`
}

UpdateVolume update volume

swagger:model UpdateVolume

func (*UpdateVolume) ContextValidate

func (m *UpdateVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update volume based on context it is used

func (*UpdateVolume) MarshalBinary

func (m *UpdateVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVolume) UnmarshalBinary

func (m *UpdateVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVolume) Validate

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

Validate validates this update volume

type UserAuthenticationInfo

type UserAuthenticationInfo struct {

	// User Account ID
	// Required: true
	AccountID *string `json:"accountID"`

	// Map of internal capabilities the user has access to and their level of access
	Capabilities ResourceAccess `json:"capabilities,omitempty"`

	// Workaround for AT event tracker
	CredentialType string `json:"credentialType,omitempty"`

	// Map of the user's CRNs to their level of access
	CrnAccess ResourceAccess `json:"crnAccess,omitempty"`

	// User Email
	// Required: true
	Email *string `json:"email"`

	// User ID
	// Required: true
	ID *string `json:"id"`

	// Member of the following tenants
	MemberOf []string `json:"memberOf"`

	// User Name
	// Required: true
	Name *string `json:"name"`

	// OAuth2 Token
	// Required: true
	Token *Token `json:"token"`
}

UserAuthenticationInfo user authentication info

swagger:model UserAuthenticationInfo

func (*UserAuthenticationInfo) ContextValidate

func (m *UserAuthenticationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user authentication info based on the context it is used

func (*UserAuthenticationInfo) MarshalBinary

func (m *UserAuthenticationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAuthenticationInfo) UnmarshalBinary

func (m *UserAuthenticationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAuthenticationInfo) Validate

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

Validate validates this user authentication info

type UserInfo

type UserInfo struct {

	// User Email
	// Required: true
	Email *string `json:"email"`

	// User ID
	// Required: true
	ID *string `json:"id"`

	// User Image URL
	ImageURL string `json:"imageURL,omitempty"`

	// Member of the following tenants
	MemberOf []string `json:"memberOf"`

	// User Name
	// Required: true
	Name *string `json:"name"`
}

UserInfo user info

swagger:model UserInfo

func (*UserInfo) ContextValidate

func (m *UserInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user info based on context it is used

func (*UserInfo) MarshalBinary

func (m *UserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserInfo) UnmarshalBinary

func (m *UserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserInfo) Validate

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

Validate validates this user info

type Version

type Version struct {

	// Returns the build time
	BuildDate string `json:"buildDate,omitempty"`

	// Returns the current go runtime version
	GoVersion string `json:"goVersion,omitempty"`

	// Hostname of the responding system
	Hostname string `json:"hostname,omitempty"`

	// Returns the git versioning information
	Version string `json:"version,omitempty"`
}

Version version

swagger:model Version

func (*Version) ContextValidate

func (m *Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this version based on context it is used

func (*Version) MarshalBinary

func (m *Version) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Version) UnmarshalBinary

func (m *Version) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Version) Validate

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

Validate validates this version

type VirtualCores

type VirtualCores struct {

	// The active virtual Cores
	// Required: true
	// Minimum: 1
	Assigned *int64 `json:"assigned"`

	// The maximum DLPAR range for virtual Cores (Display only support)
	Max int64 `json:"max,omitempty"`

	// The minimum DLPAR range for virtual Cores (Display only support)
	Min int64 `json:"min,omitempty"`
}

VirtualCores virtual cores

swagger:model VirtualCores

func (*VirtualCores) ContextValidate

func (m *VirtualCores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this virtual cores based on context it is used

func (*VirtualCores) MarshalBinary

func (m *VirtualCores) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualCores) UnmarshalBinary

func (m *VirtualCores) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualCores) Validate

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

Validate validates this virtual cores

type Volume

type Volume struct {

	// Auxiliary volume name at storage host level
	AuxVolumeName string `json:"auxVolumeName,omitempty"`

	// true if volume is auxiliary otherwise false
	Auxiliary *bool `json:"auxiliary,omitempty"`

	// Indicates if the volume is the server's boot volume
	BootVolume *bool `json:"bootVolume,omitempty"`

	// Indicates if the volume is boot capable
	Bootable *bool `json:"bootable,omitempty"`

	// Consistency Group Name if volume is a part of volume group
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// Creation Date
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Indicates if the volume should be deleted when the server terminates
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`

	// Type of Disk
	DiskType string `json:"diskType,omitempty"`

	// Volume Group ID
	GroupID string `json:"groupID,omitempty"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Master volume name at storage host level
	MasterVolumeName string `json:"masterVolumeName,omitempty"`

	// Mirroring state for replication enabled volume
	MirroringState string `json:"mirroringState,omitempty"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// true if volume does not exist on storage controller, as volume has been deleted by deleting its paired volume from the mapped replication site.
	OutOfBandDeleted bool `json:"outOfBandDeleted,omitempty"`

	// indicates whether master/aux volume is playing the primary role
	// Enum: [master aux]
	PrimaryRole string `json:"primaryRole,omitempty"`

	// List of PCloud PVM Instance attached to the volume
	PvmInstanceIDs []string `json:"pvmInstanceIDs"`

	// True if volume is replication enabled otherwise false
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// Replication status of a volume
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// type of replication(metro,global)
	ReplicationType string `json:"replicationType,omitempty"`

	// Indicates if the volume is shareable between VMs
	Shareable *bool `json:"shareable,omitempty"`

	// Volume Size
	// Required: true
	Size *float64 `json:"size"`

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

	// Volume ID
	// Required: true
	VolumeID *string `json:"volumeID"`

	// Volume pool, name of storage pool where the volume is located
	VolumePool string `json:"volumePool,omitempty"`

	// Volume type, name of storage template used to create the volume
	VolumeType string `json:"volumeType,omitempty"`

	// Volume world wide name
	Wwn string `json:"wwn,omitempty"`
}

Volume volume

swagger:model Volume

func (*Volume) ContextValidate

func (m *Volume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume based on context it is used

func (*Volume) MarshalBinary

func (m *Volume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Volume) UnmarshalBinary

func (m *Volume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Volume) Validate

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

Validate validates this volume

type VolumeAction

type VolumeAction struct {

	// Indicates if the volume should be replication enabled or not
	// Required: true
	ReplicationEnabled *bool `json:"replicationEnabled"`
}

VolumeAction volume action

swagger:model VolumeAction

func (*VolumeAction) ContextValidate

func (m *VolumeAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume action based on context it is used

func (*VolumeAction) MarshalBinary

func (m *VolumeAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeAction) UnmarshalBinary

func (m *VolumeAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeAction) Validate

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

Validate validates this volume action

type VolumeGroup

type VolumeGroup struct {

	// The name of consistencyGroup at storage host level
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// The ID of the volume group
	// Required: true
	ID *string `json:"id"`

	// The name of the volume group
	// Required: true
	Name *string `json:"name"`

	// Replication status of volume group
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// Status of the volume group
	Status string `json:"status,omitempty"`

	// Status details of the volume group
	StatusDescription *StatusDescription `json:"statusDescription,omitempty"`
}

VolumeGroup volume group

swagger:model VolumeGroup

func (*VolumeGroup) ContextValidate

func (m *VolumeGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group based on the context it is used

func (*VolumeGroup) MarshalBinary

func (m *VolumeGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroup) UnmarshalBinary

func (m *VolumeGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroup) Validate

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

Validate validates this volume group

type VolumeGroupAction

type VolumeGroupAction struct {

	// reset
	Reset *VolumeGroupActionReset `json:"reset,omitempty"`

	// start
	Start *VolumeGroupActionStart `json:"start,omitempty"`

	// stop
	Stop *VolumeGroupActionStop `json:"stop,omitempty"`

	// volume group action additional properties
	VolumeGroupActionAdditionalProperties map[string]interface{} `json:"-"`
}

VolumeGroupAction Performs an action (start stop reset ) on a volume group(one at a time).

Min Properties: 1 Max Properties: 1

swagger:model VolumeGroupAction

func (*VolumeGroupAction) ContextValidate

func (m *VolumeGroupAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group action based on the context it is used

func (*VolumeGroupAction) MarshalBinary

func (m *VolumeGroupAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (VolumeGroupAction) MarshalJSON

func (m VolumeGroupAction) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*VolumeGroupAction) UnmarshalBinary

func (m *VolumeGroupAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupAction) UnmarshalJSON

func (m *VolumeGroupAction) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*VolumeGroupAction) Validate

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

Validate validates this volume group action

type VolumeGroupActionReset

type VolumeGroupActionReset struct {

	// New status to be set for a volume group
	// Required: true
	// Enum: [available]
	Status *string `json:"status"`
}

VolumeGroupActionReset Performs reset action on the volume group to update its status value

swagger:model VolumeGroupActionReset

func (*VolumeGroupActionReset) ContextValidate

func (m *VolumeGroupActionReset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group action reset based on context it is used

func (*VolumeGroupActionReset) MarshalBinary

func (m *VolumeGroupActionReset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupActionReset) UnmarshalBinary

func (m *VolumeGroupActionReset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupActionReset) Validate

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

Validate validates this volume group action reset

type VolumeGroupActionStart

type VolumeGroupActionStart struct {

	// Indicates the source of the action
	// Required: true
	// Enum: [master aux]
	Source *string `json:"source"`
}

VolumeGroupActionStart Performs start action on a volume group

swagger:model VolumeGroupActionStart

func (*VolumeGroupActionStart) ContextValidate

func (m *VolumeGroupActionStart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group action start based on context it is used

func (*VolumeGroupActionStart) MarshalBinary

func (m *VolumeGroupActionStart) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupActionStart) UnmarshalBinary

func (m *VolumeGroupActionStart) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupActionStart) Validate

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

Validate validates this volume group action start

type VolumeGroupActionStop

type VolumeGroupActionStop struct {

	// Indicates the access mode of aux volumes
	// Required: true
	Access *bool `json:"access"`
}

VolumeGroupActionStop Performs stop action on a volume group

swagger:model VolumeGroupActionStop

func (*VolumeGroupActionStop) ContextValidate

func (m *VolumeGroupActionStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group action stop based on context it is used

func (*VolumeGroupActionStop) MarshalBinary

func (m *VolumeGroupActionStop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupActionStop) UnmarshalBinary

func (m *VolumeGroupActionStop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupActionStop) Validate

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

Validate validates this volume group action stop

type VolumeGroupCreate

type VolumeGroupCreate struct {

	// The name of consistencyGroup at storage controller level. This is required to onboard existing volume group on the target site for DR set up; name and consistencyGroupName are mutually exclusive.
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// The name of the volume group. This field is required for creation of new volume group; name and consistencyGroupName are mutually exclusive.
	Name string `json:"name,omitempty"`

	// List of volume IDs,members of VolumeGroup
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumeGroupCreate volume group create

swagger:model VolumeGroupCreate

func (*VolumeGroupCreate) ContextValidate

func (m *VolumeGroupCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group create based on context it is used

func (*VolumeGroupCreate) MarshalBinary

func (m *VolumeGroupCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupCreate) UnmarshalBinary

func (m *VolumeGroupCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupCreate) Validate

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

Validate validates this volume group create

type VolumeGroupCreateResponse

type VolumeGroupCreateResponse struct {

	// The ID of the volume group
	// Required: true
	ID *string `json:"id"`

	// The name of the volume group
	// Required: true
	Name *string `json:"name"`

	// Status of the volume group
	// Required: true
	Status *string `json:"status"`

	// Status details of the volume group
	StatusDetail string `json:"statusDetail,omitempty"`
}

VolumeGroupCreateResponse volume group create response

swagger:model VolumeGroupCreateResponse

func (*VolumeGroupCreateResponse) ContextValidate

func (m *VolumeGroupCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group create response based on context it is used

func (*VolumeGroupCreateResponse) MarshalBinary

func (m *VolumeGroupCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupCreateResponse) UnmarshalBinary

func (m *VolumeGroupCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupCreateResponse) Validate

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

Validate validates this volume group create response

type VolumeGroupDetails

type VolumeGroupDetails struct {

	// The name of volume group at storage host level
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// The ID of the volume group
	// Required: true
	ID *string `json:"id"`

	// The name of the volume group
	// Required: true
	Name *string `json:"name"`

	// Replication status of volume group
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// Status of the volume group
	Status string `json:"status,omitempty"`

	// Status details of the volume group
	StatusDescription *StatusDescription `json:"statusDescription,omitempty"`

	// List of volume IDs,member of VolumeGroup
	VolumeIDs []string `json:"volumeIDs"`
}

VolumeGroupDetails volume group details

swagger:model VolumeGroupDetails

func (*VolumeGroupDetails) ContextValidate

func (m *VolumeGroupDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group details based on the context it is used

func (*VolumeGroupDetails) MarshalBinary

func (m *VolumeGroupDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupDetails) UnmarshalBinary

func (m *VolumeGroupDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupDetails) Validate

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

Validate validates this volume group details

type VolumeGroupRemoteCopyRelationships

type VolumeGroupRemoteCopyRelationships struct {

	// The ID of the volume group
	ID string `json:"id,omitempty"`

	// List of remote copy relationships
	RemoteCopyRelationships []*RemoteCopyRelationship `json:"remoteCopyRelationships"`
}

VolumeGroupRemoteCopyRelationships volume group remote copy relationships

swagger:model VolumeGroupRemoteCopyRelationships

func (*VolumeGroupRemoteCopyRelationships) ContextValidate

func (m *VolumeGroupRemoteCopyRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group remote copy relationships based on the context it is used

func (*VolumeGroupRemoteCopyRelationships) MarshalBinary

func (m *VolumeGroupRemoteCopyRelationships) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupRemoteCopyRelationships) UnmarshalBinary

func (m *VolumeGroupRemoteCopyRelationships) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupRemoteCopyRelationships) Validate

Validate validates this volume group remote copy relationships

type VolumeGroupStorageDetails

type VolumeGroupStorageDetails struct {

	// The name of consistency group at storage controller level
	// Required: true
	ConsistencyGroupName *string `json:"consistencyGroupName"`

	// Indicates the minimum period in seconds between multiple cycles
	CyclePeriodSeconds int64 `json:"cyclePeriodSeconds,omitempty"`

	// Indicates the type of cycling mode used
	CyclingMode string `json:"cyclingMode,omitempty"`

	// Number of volumes in volume group
	NumOfvols int64 `json:"numOfvols,omitempty"`

	// Indicates whether master/aux volume is playing the primary role
	PrimaryRole string `json:"primaryRole,omitempty"`

	// List of remote-copy relationship names in a volume group
	RemoteCopyRelationshipNames []string `json:"remoteCopyRelationshipNames"`

	// Type of replication(metro,global)
	ReplicationType string `json:"replicationType,omitempty"`

	// Indicates the relationship state
	State string `json:"state,omitempty"`

	// Indicates whether the relationship is synchronized
	Sync string `json:"sync,omitempty"`
}

VolumeGroupStorageDetails volume group storage details

swagger:model VolumeGroupStorageDetails

func (*VolumeGroupStorageDetails) ContextValidate

func (m *VolumeGroupStorageDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group storage details based on context it is used

func (*VolumeGroupStorageDetails) MarshalBinary

func (m *VolumeGroupStorageDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupStorageDetails) UnmarshalBinary

func (m *VolumeGroupStorageDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupStorageDetails) Validate

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

Validate validates this volume group storage details

type VolumeGroupUpdate

type VolumeGroupUpdate struct {

	// List of volume IDs to add to the volume-group
	AddVolumes []string `json:"addVolumes"`

	// List of volume IDs to remove from the volume-group
	RemoveVolumes []string `json:"removeVolumes"`
}

VolumeGroupUpdate volume group update

swagger:model VolumeGroupUpdate

func (*VolumeGroupUpdate) ContextValidate

func (m *VolumeGroupUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group update based on context it is used

func (*VolumeGroupUpdate) MarshalBinary

func (m *VolumeGroupUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupUpdate) UnmarshalBinary

func (m *VolumeGroupUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupUpdate) Validate

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

Validate validates this volume group update

type VolumeGroups

type VolumeGroups struct {

	// The list of volume groups
	// Required: true
	VolumeGroups []*VolumeGroup `json:"volumeGroups"`
}

VolumeGroups volume groups

swagger:model VolumeGroups

func (*VolumeGroups) ContextValidate

func (m *VolumeGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume groups based on the context it is used

func (*VolumeGroups) MarshalBinary

func (m *VolumeGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroups) UnmarshalBinary

func (m *VolumeGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroups) Validate

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

Validate validates this volume groups

type VolumeGroupsDetails

type VolumeGroupsDetails struct {

	// The list of volume groups with details
	// Required: true
	VolumeGroups []*VolumeGroupDetails `json:"volumeGroups"`
}

VolumeGroupsDetails volume groups details

swagger:model VolumeGroupsDetails

func (*VolumeGroupsDetails) ContextValidate

func (m *VolumeGroupsDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume groups details based on the context it is used

func (*VolumeGroupsDetails) MarshalBinary

func (m *VolumeGroupsDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupsDetails) UnmarshalBinary

func (m *VolumeGroupsDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupsDetails) Validate

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

Validate validates this volume groups details

type VolumeInfo

type VolumeInfo struct {

	// Name of the volume
	Name string `json:"name,omitempty"`

	// ID of the volume
	VolumeID string `json:"volumeID,omitempty"`
}

VolumeInfo volume info

swagger:model VolumeInfo

func (*VolumeInfo) ContextValidate

func (m *VolumeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume info based on context it is used

func (*VolumeInfo) MarshalBinary

func (m *VolumeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeInfo) UnmarshalBinary

func (m *VolumeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeInfo) Validate

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

Validate validates this volume info

type VolumeReference

type VolumeReference struct {

	// Auxiliary volume name at storage host level
	AuxVolumeName string `json:"auxVolumeName,omitempty"`

	// true if volume is auxiliary otherwise false
	Auxiliary *bool `json:"auxiliary,omitempty"`

	// Indicates if the volume is the server's boot volume
	BootVolume *bool `json:"bootVolume,omitempty"`

	// Indicates if the volume is boot capable
	// Required: true
	Bootable *bool `json:"bootable"`

	// Consistency Group Name if volume is a part of volume group
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// Creation Date
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Indicates if the volume should be deleted when the server terminates
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`

	// Type of Disk
	// Required: true
	DiskType *string `json:"diskType"`

	// Volume Group ID
	GroupID string `json:"groupID,omitempty"`

	// Link to Volume resource
	// Required: true
	Href *string `json:"href"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Master volume name at storage host level
	MasterVolumeName string `json:"masterVolumeName,omitempty"`

	// mirroring state for replication enabled volume
	MirroringState string `json:"mirroringState,omitempty"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// true if volume does not exist on storage controller, as volume has been deleted by deleting its paired volume from the mapped replication site.
	OutOfBandDeleted bool `json:"outOfBandDeleted,omitempty"`

	// indicates whether master/aux volume is playing the primary role
	// Enum: [master aux]
	PrimaryRole string `json:"primaryRole,omitempty"`

	// List of PCloud PVM Instance attached to the volume
	PvmInstanceIDs []string `json:"pvmInstanceIDs"`

	// True if volume is replication enabled otherwise false
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// shows the replication status of a volume
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// type of replication(metro, global)s
	ReplicationType string `json:"replicationType,omitempty"`

	// Indicates if the volume is shareable between VMs
	// Required: true
	Shareable *bool `json:"shareable"`

	// Volume Size
	// Required: true
	Size *float64 `json:"size"`

	// Volume State
	// Required: true
	State *string `json:"state"`

	// Volume ID
	// Required: true
	VolumeID *string `json:"volumeID"`

	// Volume pool, name of storage pool where the volume is located
	VolumePool string `json:"volumePool,omitempty"`

	// Volume type, name of storage template used to create the volume
	VolumeType string `json:"volumeType,omitempty"`

	// Volume world wide name
	// Required: true
	Wwn *string `json:"wwn"`
}

VolumeReference volume reference

swagger:model VolumeReference

func (*VolumeReference) ContextValidate

func (m *VolumeReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume reference based on context it is used

func (*VolumeReference) MarshalBinary

func (m *VolumeReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeReference) UnmarshalBinary

func (m *VolumeReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeReference) Validate

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

Validate validates this volume reference

type VolumeRemoteCopyRelationship

type VolumeRemoteCopyRelationship struct {
	RemoteCopyRelationship

	// Indicates the minimum period in seconds between multiple cycles
	CyclePeriodSeconds int64 `json:"cyclePeriodSeconds,omitempty"`

	// Volume ID
	ID string `json:"id,omitempty"`
}

VolumeRemoteCopyRelationship volume remote copy relationship

swagger:model VolumeRemoteCopyRelationship

func (*VolumeRemoteCopyRelationship) ContextValidate

func (m *VolumeRemoteCopyRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume remote copy relationship based on the context it is used

func (*VolumeRemoteCopyRelationship) MarshalBinary

func (m *VolumeRemoteCopyRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (VolumeRemoteCopyRelationship) MarshalJSON

func (m VolumeRemoteCopyRelationship) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VolumeRemoteCopyRelationship) UnmarshalBinary

func (m *VolumeRemoteCopyRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeRemoteCopyRelationship) UnmarshalJSON

func (m *VolumeRemoteCopyRelationship) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VolumeRemoteCopyRelationship) Validate

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

Validate validates this volume remote copy relationship

type Volumes

type Volumes struct {

	// Volumes
	// Required: true
	Volumes []*VolumeReference `json:"volumes"`
}

Volumes volumes

swagger:model Volumes

func (*Volumes) ContextValidate

func (m *Volumes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes based on the context it is used

func (*Volumes) MarshalBinary

func (m *Volumes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Volumes) UnmarshalBinary

func (m *Volumes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Volumes) Validate

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

Validate validates this volumes

type VolumesAttach

type VolumesAttach struct {

	// Enables performance path for volume attach
	PerformancePath *bool `json:"performancePath,omitempty"`

	// List of volumes to be attached to a PVM instance
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesAttach volumes attach

swagger:model volumesAttach

func (*VolumesAttach) ContextValidate

func (m *VolumesAttach) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes attach based on context it is used

func (*VolumesAttach) MarshalBinary

func (m *VolumesAttach) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesAttach) UnmarshalBinary

func (m *VolumesAttach) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesAttach) Validate

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

Validate validates this volumes attach

type VolumesAttachmentResponse

type VolumesAttachmentResponse struct {

	// status summary for volume attachment to a PVM Instance
	// Required: true
	Summary *string `json:"summary"`
}

VolumesAttachmentResponse volumes attachment response

swagger:model VolumesAttachmentResponse

func (*VolumesAttachmentResponse) ContextValidate

func (m *VolumesAttachmentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes attachment response based on context it is used

func (*VolumesAttachmentResponse) MarshalBinary

func (m *VolumesAttachmentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesAttachmentResponse) UnmarshalBinary

func (m *VolumesAttachmentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesAttachmentResponse) Validate

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

Validate validates this volumes attachment response

type VolumesClone

type VolumesClone struct {

	// Current action performed for the volumes-clone request
	Action string `json:"action,omitempty"`

	// Creation Date
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// Failure reason for a failed volumes-clone request
	FailureMessage string `json:"failureMessage,omitempty"`

	// Last Update Date
	// Format: date-time
	LastUpdateDate strfmt.DateTime `json:"lastUpdateDate,omitempty"`

	// Name assigned to a volumes-clone request
	Name string `json:"name,omitempty"`

	// The percent completion for the current action
	// Required: true
	PercentComplete *int64 `json:"percentComplete"`

	// Current status of the volumes-clone request
	Status string `json:"status,omitempty"`

	// ID assigned to a volumes-clone request
	VolumesCloneID string `json:"volumesCloneID,omitempty"`
}

VolumesClone volumes clone

swagger:model VolumesClone

func (*VolumesClone) ContextValidate

func (m *VolumesClone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone based on context it is used

func (*VolumesClone) MarshalBinary

func (m *VolumesClone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesClone) UnmarshalBinary

func (m *VolumesClone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesClone) Validate

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

Validate validates this volumes clone

type VolumesCloneAsyncRequest

type VolumesCloneAsyncRequest struct {

	// Base name of the new cloned volume(s).
	// Cloned Volume names will be prefixed with 'clone-'
	//     and suffixed with '-#####' (where ##### is a 5 digit random number)
	// If multiple volumes cloned they will be further suffixed with an incremental number starting with 1.
	//   Example volume names using name="volume-abcdef"
	//     single volume clone will be named "clone-volume-abcdef-83081"
	//     multi volume clone will be named "clone-volume-abcdef-73721-1", "clone-volume-abcdef-73721-2", ...
	//
	// Required: true
	Name *string `json:"name"`

	// List of volumes to be cloned
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesCloneAsyncRequest volumes clone async request

swagger:model VolumesCloneAsyncRequest

func (*VolumesCloneAsyncRequest) ContextValidate

func (m *VolumesCloneAsyncRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone async request based on context it is used

func (*VolumesCloneAsyncRequest) MarshalBinary

func (m *VolumesCloneAsyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneAsyncRequest) UnmarshalBinary

func (m *VolumesCloneAsyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneAsyncRequest) Validate

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

Validate validates this volumes clone async request

type VolumesCloneCancel

type VolumesCloneCancel struct {

	// default False, Cancel will only be allowed if the status is 'prepared', or 'available'
	// True, Cancel will be allowed when the status is NOT completed, cancelling, cancelled, or failed
	//
	Force bool `json:"force,omitempty"`
}

VolumesCloneCancel volumes clone cancel

swagger:model VolumesCloneCancel

func (*VolumesCloneCancel) ContextValidate

func (m *VolumesCloneCancel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone cancel based on context it is used

func (*VolumesCloneCancel) MarshalBinary

func (m *VolumesCloneCancel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneCancel) UnmarshalBinary

func (m *VolumesCloneCancel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneCancel) Validate

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

Validate validates this volumes clone cancel

type VolumesCloneCreate

type VolumesCloneCreate struct {

	// Unique name within a cloud instance used to identify a volumes-clone request
	// name can be used in replace of a volumesCloneID when used as a URL path parameter
	//
	// Required: true
	Name *string `json:"name"`

	// List of volumes to be cloned
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesCloneCreate volumes clone create

swagger:model VolumesCloneCreate

func (*VolumesCloneCreate) ContextValidate

func (m *VolumesCloneCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone create based on context it is used

func (*VolumesCloneCreate) MarshalBinary

func (m *VolumesCloneCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneCreate) UnmarshalBinary

func (m *VolumesCloneCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneCreate) Validate

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

Validate validates this volumes clone create

type VolumesCloneDetail

type VolumesCloneDetail struct {

	// Current action performed for the volumes-clone request
	Action string `json:"action,omitempty"`

	// List of cloned volumes created from the volumes-clone request
	ClonedVolumes []*ClonedVolumeDetail `json:"clonedVolumes"`

	// Creation Date
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// Failure reason for a failed volumes-clone request
	FailureMessage string `json:"failureMessage,omitempty"`

	// Last Update Date
	// Format: date-time
	LastUpdateDate strfmt.DateTime `json:"lastUpdateDate,omitempty"`

	// Name assigned to a volumes-clone request
	Name string `json:"name,omitempty"`

	// The percent completion for the current action
	// Required: true
	PercentComplete *int64 `json:"percentComplete"`

	// Current status of the volumes-clone request
	Status string `json:"status,omitempty"`

	// ID assigned to a volumes-clone request
	VolumesCloneID string `json:"volumesCloneID,omitempty"`
}

VolumesCloneDetail volumes clone detail

swagger:model VolumesCloneDetail

func (*VolumesCloneDetail) ContextValidate

func (m *VolumesCloneDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes clone detail based on the context it is used

func (*VolumesCloneDetail) MarshalBinary

func (m *VolumesCloneDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneDetail) UnmarshalBinary

func (m *VolumesCloneDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneDetail) Validate

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

Validate validates this volumes clone detail

type VolumesCloneExecute

type VolumesCloneExecute struct {

	// Base name of the new cloned volume(s).
	// Cloned Volume names will be prefixed with 'clone-'
	//     and suffixed with '-#####' (where ##### is a 5 digit random number)
	// If multiple volumes cloned they will be further suffixed with an incremental number starting with 1.
	//   Example volume names using name="volume-abcdef"
	//     single volume clone will be named "clone-volume-abcdef-83081"
	//     multi volume clone will be named "clone-volume-abcdef-73721-1", "clone-volume-abcdef-73721-2", ...
	//
	// Required: true
	Name *string `json:"name"`

	// default False, Execute failure rolls back clone activity but leaves prepared snapshot
	// True, Execute failure rolls back clone activity and removes the prepared snapshot
	//
	RollbackPrepare bool `json:"rollbackPrepare,omitempty"`
}

VolumesCloneExecute volumes clone execute

swagger:model VolumesCloneExecute

func (*VolumesCloneExecute) ContextValidate

func (m *VolumesCloneExecute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone execute based on context it is used

func (*VolumesCloneExecute) MarshalBinary

func (m *VolumesCloneExecute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneExecute) UnmarshalBinary

func (m *VolumesCloneExecute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneExecute) Validate

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

Validate validates this volumes clone execute

type VolumesCloneRequest

type VolumesCloneRequest struct {

	// Display name for the new cloned volumes.
	// Cloned Volume names will be prefixed with 'clone-'.
	// If multiple volumes cloned they will be suffix with a '-' and an incremental number starting with 1.
	//   Example volume names using displayName="volume-abcdef"
	//     single volume clone will be named "clone-volume-abcdef"
	//     multi volume clone will be named "clone-volume-abcdef-1", "clone-volume-abcdef-2", ...
	//
	// Required: true
	DisplayName *string `json:"displayName"`

	// List of volumes to be cloned
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesCloneRequest volumes clone request

swagger:model VolumesCloneRequest

func (*VolumesCloneRequest) ContextValidate

func (m *VolumesCloneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone request based on context it is used

func (*VolumesCloneRequest) MarshalBinary

func (m *VolumesCloneRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneRequest) UnmarshalBinary

func (m *VolumesCloneRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneRequest) Validate

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

Validate validates this volumes clone request

type VolumesCloneResponse

type VolumesCloneResponse struct {

	// ID of the new cloned volume
	AdditionalProperties string `json:"additionalProperties,omitempty"`

	// A map of volume IDs to cloned volume IDs
	ClonedVolumes interface{} `json:"clonedVolumes,omitempty"`
}

VolumesCloneResponse volumes clone response

swagger:model VolumesCloneResponse

func (*VolumesCloneResponse) ContextValidate

func (m *VolumesCloneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone response based on context it is used

func (*VolumesCloneResponse) MarshalBinary

func (m *VolumesCloneResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesCloneResponse) UnmarshalBinary

func (m *VolumesCloneResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesCloneResponse) Validate

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

Validate validates this volumes clone response

type VolumesClones

type VolumesClones struct {

	// list of volumes-clone requests
	VolumesClone []*VolumesClone `json:"volumesClone"`
}

VolumesClones volumes clones

swagger:model VolumesClones

func (*VolumesClones) ContextValidate

func (m *VolumesClones) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes clones based on the context it is used

func (*VolumesClones) MarshalBinary

func (m *VolumesClones) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesClones) UnmarshalBinary

func (m *VolumesClones) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesClones) Validate

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

Validate validates this volumes clones

Source Files

Jump to

Keyboard shortcuts

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