Documentation ¶
Index ¶
- Constants
- type AccessToken
- type AsyncOperation
- type AvailableStockImages
- type Catalog
- type CloneTaskReference
- type CloneTaskStatus
- type ClonedVolume
- type ClonedVolumeDetail
- type CloudConnection
- type CloudConnectionCreate
- type CloudConnectionCreateResponse
- func (m *CloudConnectionCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionCreateResponse) MarshalBinary() ([]byte, error)
- func (m CloudConnectionCreateResponse) MarshalJSON() ([]byte, error)
- func (m *CloudConnectionCreateResponse) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionCreateResponse) UnmarshalJSON(raw []byte) error
- func (m *CloudConnectionCreateResponse) Validate(formats strfmt.Registry) error
- type CloudConnectionEndpointClassic
- func (m *CloudConnectionEndpointClassic) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionEndpointClassic) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionEndpointClassic) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionEndpointClassic) Validate(formats strfmt.Registry) error
- type CloudConnectionEndpointClassicUpdate
- func (m *CloudConnectionEndpointClassicUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionEndpointClassicUpdate) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionEndpointClassicUpdate) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionEndpointClassicUpdate) Validate(formats strfmt.Registry) error
- type CloudConnectionEndpointVPC
- func (m *CloudConnectionEndpointVPC) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionEndpointVPC) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionEndpointVPC) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionEndpointVPC) Validate(formats strfmt.Registry) error
- type CloudConnectionGRETunnel
- func (m *CloudConnectionGRETunnel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionGRETunnel) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionGRETunnel) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionGRETunnel) Validate(formats strfmt.Registry) error
- type CloudConnectionGRETunnelCreate
- func (m *CloudConnectionGRETunnelCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionGRETunnelCreate) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionGRETunnelCreate) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionGRETunnelCreate) Validate(formats strfmt.Registry) error
- type CloudConnectionUpdate
- type CloudConnectionVPC
- type CloudConnectionVirtualPrivateCloud
- func (m *CloudConnectionVirtualPrivateCloud) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionVirtualPrivateCloud) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionVirtualPrivateCloud) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionVirtualPrivateCloud) Validate(formats strfmt.Registry) error
- type CloudConnectionVirtualPrivateClouds
- func (m *CloudConnectionVirtualPrivateClouds) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudConnectionVirtualPrivateClouds) MarshalBinary() ([]byte, error)
- func (m *CloudConnectionVirtualPrivateClouds) UnmarshalBinary(b []byte) error
- func (m *CloudConnectionVirtualPrivateClouds) Validate(formats strfmt.Registry) error
- type CloudConnections
- type CloudInstance
- type CloudInstanceCreate
- type CloudInstanceReference
- func (m *CloudInstanceReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudInstanceReference) MarshalBinary() ([]byte, error)
- func (m *CloudInstanceReference) UnmarshalBinary(b []byte) error
- func (m *CloudInstanceReference) Validate(formats strfmt.Registry) error
- type CloudInstanceUpdate
- type CloudInstanceUsageLimits
- func (m *CloudInstanceUsageLimits) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudInstanceUsageLimits) MarshalBinary() ([]byte, error)
- func (m *CloudInstanceUsageLimits) UnmarshalBinary(b []byte) error
- func (m *CloudInstanceUsageLimits) Validate(formats strfmt.Registry) error
- type ConsoleLanguage
- type ConsoleLanguages
- type Context
- type CreateCosImageImportJob
- func (m *CreateCosImageImportJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCosImageImportJob) MarshalBinary() ([]byte, error)
- func (m *CreateCosImageImportJob) UnmarshalBinary(b []byte) error
- func (m *CreateCosImageImportJob) Validate(formats strfmt.Registry) error
- type CreateDataVolume
- type CreateImage
- type DHCPServer
- type DHCPServerCreate
- type DHCPServerDetail
- type DHCPServerLeases
- type DHCPServerNetwork
- type DHCPServers
- type DashboardClient
- type DeadPeerDetection
- type DeviceCode
- type Error
- type Event
- type EventUser
- type Events
- type ExportImage
- type HardwarePlatform
- type HardwarePlatforms
- type Health
- type HostInfo
- type HostPVMInstance
- type HostResource
- type HostResources
- type IKEPolicies
- type IKEPolicy
- type IKEPolicyAuthentication
- type IKEPolicyAuthentications
- type IKEPolicyCreate
- type IKEPolicyDhGroups
- type IKEPolicyEncryptions
- type IKEPolicyOptions
- type IKEPolicyRef
- type IKEPolicyTemplate
- type IKEPolicyUpdate
- func (m *IKEPolicyUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IKEPolicyUpdate) MarshalBinary() ([]byte, error)
- func (m IKEPolicyUpdate) MarshalJSON() ([]byte, error)
- func (m *IKEPolicyUpdate) UnmarshalBinary(b []byte) error
- func (m *IKEPolicyUpdate) UnmarshalJSON(data []byte) error
- func (m *IKEPolicyUpdate) Validate(formats strfmt.Registry) error
- type IPAddressRange
- type IPSECPolicyAuthentication
- type IPSECPolicyAuthentications
- type IPSECPolicyDhGroups
- type IPSECPolicyEncryptions
- type IPSecPolicies
- type IPSecPolicy
- type IPSecPolicyCreate
- type IPSecPolicyOptions
- type IPSecPolicyRef
- type IPSecPolicyTemplate
- type IPSecPolicyUpdate
- func (m *IPSecPolicyUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IPSecPolicyUpdate) MarshalBinary() ([]byte, error)
- func (m IPSecPolicyUpdate) MarshalJSON() ([]byte, error)
- func (m *IPSecPolicyUpdate) UnmarshalBinary(b []byte) error
- func (m *IPSecPolicyUpdate) UnmarshalJSON(data []byte) error
- func (m *IPSecPolicyUpdate) Validate(formats strfmt.Registry) error
- type Image
- type ImageReference
- type ImageSpecifications
- type ImageVolume
- type Images
- type JSONSchemaObject
- type Job
- type JobReference
- type Jobs
- type KeyLifetime
- type LastOperationResource
- type MaximumStorageAllocation
- func (m *MaximumStorageAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MaximumStorageAllocation) MarshalBinary() ([]byte, error)
- func (m *MaximumStorageAllocation) UnmarshalBinary(b []byte) error
- func (m *MaximumStorageAllocation) Validate(formats strfmt.Registry) error
- type Metadata
- type MinMaxDefault
- type MultiVolumesCreate
- type Network
- type NetworkCloudConnectionsItems0
- func (m *NetworkCloudConnectionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCloudConnectionsItems0) MarshalBinary() ([]byte, error)
- func (m *NetworkCloudConnectionsItems0) UnmarshalBinary(b []byte) error
- func (m *NetworkCloudConnectionsItems0) Validate(formats strfmt.Registry) error
- type NetworkCreate
- type NetworkID
- type NetworkIDs
- type NetworkIPAddressMetrics
- func (m *NetworkIPAddressMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkIPAddressMetrics) MarshalBinary() ([]byte, error)
- func (m *NetworkIPAddressMetrics) UnmarshalBinary(b []byte) error
- func (m *NetworkIPAddressMetrics) Validate(formats strfmt.Registry) error
- type NetworkPort
- type NetworkPortCreate
- type NetworkPortPvmInstance
- func (m *NetworkPortPvmInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkPortPvmInstance) MarshalBinary() ([]byte, error)
- func (m *NetworkPortPvmInstance) UnmarshalBinary(b []byte) error
- func (m *NetworkPortPvmInstance) Validate(formats strfmt.Registry) error
- type NetworkPortUpdate
- type NetworkPorts
- type NetworkReference
- type NetworkUpdate
- type Networks
- type Object
- type OpenStack
- type OpenStackCreate
- type OpenStackInfo
- type OpenStacks
- type Operation
- type Operations
- type Options
- type OwnerInfo
- type PVMInstance
- type PVMInstanceAction
- type PVMInstanceAddNetwork
- type PVMInstanceAddress
- type PVMInstanceCapture
- type PVMInstanceClone
- type PVMInstanceConsole
- type PVMInstanceCreate
- type PVMInstanceFault
- type PVMInstanceHealth
- type PVMInstanceList
- type PVMInstanceMultiCreate
- func (m *PVMInstanceMultiCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PVMInstanceMultiCreate) MarshalBinary() ([]byte, error)
- func (m *PVMInstanceMultiCreate) UnmarshalBinary(b []byte) error
- func (m *PVMInstanceMultiCreate) Validate(formats strfmt.Registry) error
- type PVMInstanceNetwork
- type PVMInstanceNetworks
- type PVMInstanceOperation
- type PVMInstanceReference
- type PVMInstanceRemoveNetwork
- func (m *PVMInstanceRemoveNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PVMInstanceRemoveNetwork) MarshalBinary() ([]byte, error)
- func (m *PVMInstanceRemoveNetwork) UnmarshalBinary(b []byte) error
- func (m *PVMInstanceRemoveNetwork) Validate(formats strfmt.Registry) error
- type PVMInstanceUpdate
- type PVMInstanceUpdateResponse
- func (m *PVMInstanceUpdateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PVMInstanceUpdateResponse) MarshalBinary() ([]byte, error)
- func (m *PVMInstanceUpdateResponse) UnmarshalBinary(b []byte) error
- func (m *PVMInstanceUpdateResponse) Validate(formats strfmt.Registry) error
- type PVMInstanceVolumeUpdate
- func (m *PVMInstanceVolumeUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PVMInstanceVolumeUpdate) MarshalBinary() ([]byte, error)
- func (m *PVMInstanceVolumeUpdate) UnmarshalBinary(b []byte) error
- func (m *PVMInstanceVolumeUpdate) Validate(formats strfmt.Registry) error
- type PVMInstances
- type PeerGatewayAddress
- type PeerSubnetUpdate
- type PeerSubnets
- type PeeringNetwork
- type PinPolicy
- type PlacementGroup
- type PlacementGroupCreate
- type PlacementGroupServer
- type PlacementGroups
- type Plan
- type PolicyVersions
- type RegionStorageTypes
- type SAPCreate
- type SAPProfile
- type SAPProfileReference
- type SAPProfiles
- type SRC
- type SSHKey
- type SSHKeys
- type SchemaParameters
- type SchemasObject
- type Service
- type ServiceBinding
- type ServiceBindingRequest
- type ServiceBindingResource
- func (m *ServiceBindingResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceBindingResource) MarshalBinary() ([]byte, error)
- func (m *ServiceBindingResource) UnmarshalBinary(b []byte) error
- func (m *ServiceBindingResource) Validate(formats strfmt.Registry) error
- type ServiceBindingResourceObject
- func (m *ServiceBindingResourceObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceBindingResourceObject) MarshalBinary() ([]byte, error)
- func (m *ServiceBindingResourceObject) UnmarshalBinary(b []byte) error
- func (m *ServiceBindingResourceObject) Validate(formats strfmt.Registry) error
- type ServiceBindingSchemaObject
- func (m *ServiceBindingSchemaObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceBindingSchemaObject) MarshalBinary() ([]byte, error)
- func (m *ServiceBindingSchemaObject) UnmarshalBinary(b []byte) error
- func (m *ServiceBindingSchemaObject) Validate(formats strfmt.Registry) error
- type ServiceBindingVolumeMount
- func (m *ServiceBindingVolumeMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceBindingVolumeMount) MarshalBinary() ([]byte, error)
- func (m *ServiceBindingVolumeMount) UnmarshalBinary(b []byte) error
- func (m *ServiceBindingVolumeMount) Validate(formats strfmt.Registry) error
- type ServiceBindingVolumeMountDevice
- func (m *ServiceBindingVolumeMountDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceBindingVolumeMountDevice) MarshalBinary() ([]byte, error)
- func (m *ServiceBindingVolumeMountDevice) UnmarshalBinary(b []byte) error
- func (m *ServiceBindingVolumeMountDevice) Validate(formats strfmt.Registry) error
- type ServiceInstance
- type ServiceInstanceAsyncOperation
- func (m *ServiceInstanceAsyncOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceAsyncOperation) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceAsyncOperation) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceAsyncOperation) Validate(formats strfmt.Registry) error
- type ServiceInstancePreviousValues
- func (m *ServiceInstancePreviousValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstancePreviousValues) MarshalBinary() ([]byte, error)
- func (m *ServiceInstancePreviousValues) UnmarshalBinary(b []byte) error
- func (m *ServiceInstancePreviousValues) Validate(formats strfmt.Registry) error
- type ServiceInstanceProvision
- func (m *ServiceInstanceProvision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceProvision) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceProvision) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceProvision) Validate(formats strfmt.Registry) error
- type ServiceInstanceProvisionRequest
- func (m *ServiceInstanceProvisionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceProvisionRequest) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceProvisionRequest) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceProvisionRequest) Validate(formats strfmt.Registry) error
- type ServiceInstanceRequest
- func (m *ServiceInstanceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceRequest) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceRequest) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceRequest) Validate(formats strfmt.Registry) error
- type ServiceInstanceResource
- func (m *ServiceInstanceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceResource) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceResource) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceResource) Validate(formats strfmt.Registry) error
- type ServiceInstanceSchemaObject
- func (m *ServiceInstanceSchemaObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceSchemaObject) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceSchemaObject) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceSchemaObject) Validate(formats strfmt.Registry) error
- type ServiceInstanceUpdateRequest
- func (m *ServiceInstanceUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceInstanceUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *ServiceInstanceUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *ServiceInstanceUpdateRequest) Validate(formats strfmt.Registry) error
- type Snapshot
- type SnapshotCreate
- type SnapshotCreateResponse
- func (m *SnapshotCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SnapshotCreateResponse) MarshalBinary() ([]byte, error)
- func (m *SnapshotCreateResponse) UnmarshalBinary(b []byte) error
- func (m *SnapshotCreateResponse) Validate(formats strfmt.Registry) error
- type SnapshotRestore
- type SnapshotUpdate
- type Snapshots
- type SoftlayerSubscription
- type SoftwareLicenses
- type Status
- type StockImage
- type StockImages
- type StorageAffinity
- type StorageEntities
- type StoragePool
- type StoragePoolCapacity
- type StoragePools
- type StoragePoolsCapacity
- type StorageType
- type StorageTypeCapacity
- type StorageTypes
- type StorageTypesCapacity
- type System
- type SystemPool
- type SystemPools
- type Task
- type TaskReference
- type Tenant
- type TenantUpdate
- type Thresholds
- type Token
- type TokenExtra
- type TokenRequest
- type UpdateStoragePool
- type UpdateVolume
- type UserInfo
- type VPNConnection
- type VPNConnectionCreate
- type VPNConnectionCreateResponse
- func (m *VPNConnectionCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VPNConnectionCreateResponse) MarshalBinary() ([]byte, error)
- func (m VPNConnectionCreateResponse) MarshalJSON() ([]byte, error)
- func (m *VPNConnectionCreateResponse) UnmarshalBinary(b []byte) error
- func (m *VPNConnectionCreateResponse) UnmarshalJSON(raw []byte) error
- func (m *VPNConnectionCreateResponse) Validate(formats strfmt.Registry) error
- type VPNConnectionUpdate
- func (m *VPNConnectionUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VPNConnectionUpdate) MarshalBinary() ([]byte, error)
- func (m VPNConnectionUpdate) MarshalJSON() ([]byte, error)
- func (m *VPNConnectionUpdate) UnmarshalBinary(b []byte) error
- func (m *VPNConnectionUpdate) UnmarshalJSON(data []byte) error
- func (m *VPNConnectionUpdate) Validate(formats strfmt.Registry) error
- type VPNConnections
- type VPNaaSOptions
- type Version
- type VirtualCores
- type Volume
- type VolumeAction
- type VolumeInfo
- type VolumeReference
- type Volumes
- type VolumesAttach
- type VolumesAttachmentResponse
- func (m *VolumesAttachmentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VolumesAttachmentResponse) MarshalBinary() ([]byte, error)
- func (m *VolumesAttachmentResponse) UnmarshalBinary(b []byte) error
- func (m *VolumesAttachmentResponse) Validate(formats strfmt.Registry) error
- type VolumesClone
- type VolumesCloneAsyncRequest
- func (m *VolumesCloneAsyncRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VolumesCloneAsyncRequest) MarshalBinary() ([]byte, error)
- func (m *VolumesCloneAsyncRequest) UnmarshalBinary(b []byte) error
- func (m *VolumesCloneAsyncRequest) Validate(formats strfmt.Registry) error
- type VolumesCloneCancel
- type VolumesCloneCreate
- type VolumesCloneDetail
- type VolumesCloneExecute
- type VolumesCloneRequest
- type VolumesCloneResponse
- type VolumesClones
Constants ¶
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" )
const ( // CreateCosImageImportJobBucketAccessPublic captures enum value "public" CreateCosImageImportJobBucketAccessPublic string = "public" // CreateCosImageImportJobBucketAccessPrivate captures enum value "private" CreateCosImageImportJobBucketAccessPrivate string = "private" )
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" )
const ( // CreateDataVolumeAffinityPolicyAffinity captures enum value "affinity" CreateDataVolumeAffinityPolicyAffinity string = "affinity" // CreateDataVolumeAffinityPolicyAntiDashAffinity captures enum value "anti-affinity" CreateDataVolumeAffinityPolicyAntiDashAffinity string = "anti-affinity" )
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" )
const ( // CreateImageSourceRootDashProject captures enum value "root-project" CreateImageSourceRootDashProject string = "root-project" // CreateImageSourceURL captures enum value "url" CreateImageSourceURL string = "url" )
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" )
const ( // IKEPolicyEncryptionAesDash256DashCbc captures enum value "aes-256-cbc" IKEPolicyEncryptionAesDash256DashCbc string = "aes-256-cbc" // IKEPolicyEncryptionAesDash192DashCbc captures enum value "aes-192-cbc" IKEPolicyEncryptionAesDash192DashCbc string = "aes-192-cbc" // IKEPolicyEncryptionAesDash128DashCbc captures enum value "aes-128-cbc" IKEPolicyEncryptionAesDash128DashCbc string = "aes-128-cbc" // IKEPolicyEncryptionAesDash256DashGcm captures enum value "aes-256-gcm" IKEPolicyEncryptionAesDash256DashGcm string = "aes-256-gcm" // IKEPolicyEncryptionAesDash128DashGcm captures enum value "aes-128-gcm" IKEPolicyEncryptionAesDash128DashGcm string = "aes-128-gcm" // IKEPolicyEncryptionNr3desDashCbc captures enum value "3des-cbc" IKEPolicyEncryptionNr3desDashCbc string = "3des-cbc" )
const ( // IKEPolicyCreateEncryptionAesDash256DashCbc captures enum value "aes-256-cbc" IKEPolicyCreateEncryptionAesDash256DashCbc string = "aes-256-cbc" // IKEPolicyCreateEncryptionAesDash192DashCbc captures enum value "aes-192-cbc" IKEPolicyCreateEncryptionAesDash192DashCbc string = "aes-192-cbc" // IKEPolicyCreateEncryptionAesDash128DashCbc captures enum value "aes-128-cbc" IKEPolicyCreateEncryptionAesDash128DashCbc string = "aes-128-cbc" // IKEPolicyCreateEncryptionAesDash256DashGcm captures enum value "aes-256-gcm" IKEPolicyCreateEncryptionAesDash256DashGcm string = "aes-256-gcm" // IKEPolicyCreateEncryptionAesDash128DashGcm captures enum value "aes-128-gcm" IKEPolicyCreateEncryptionAesDash128DashGcm string = "aes-128-gcm" // IKEPolicyCreateEncryptionNr3desDashCbc captures enum value "3des-cbc" IKEPolicyCreateEncryptionNr3desDashCbc string = "3des-cbc" )
const ( // IKEPolicyUpdateEncryptionAesDash256DashCbc captures enum value "aes-256-cbc" IKEPolicyUpdateEncryptionAesDash256DashCbc string = "aes-256-cbc" // IKEPolicyUpdateEncryptionAesDash192DashCbc captures enum value "aes-192-cbc" IKEPolicyUpdateEncryptionAesDash192DashCbc string = "aes-192-cbc" // IKEPolicyUpdateEncryptionAesDash128DashCbc captures enum value "aes-128-cbc" IKEPolicyUpdateEncryptionAesDash128DashCbc string = "aes-128-cbc" // IKEPolicyUpdateEncryptionAesDash256DashGcm captures enum value "aes-256-gcm" IKEPolicyUpdateEncryptionAesDash256DashGcm string = "aes-256-gcm" // IKEPolicyUpdateEncryptionAesDash128DashGcm captures enum value "aes-128-gcm" IKEPolicyUpdateEncryptionAesDash128DashGcm string = "aes-128-gcm" // IKEPolicyUpdateEncryptionNr3desDashCbc captures enum value "3des-cbc" IKEPolicyUpdateEncryptionNr3desDashCbc string = "3des-cbc" )
const ( // IPSecPolicyEncryptionAesDash256DashCbc captures enum value "aes-256-cbc" IPSecPolicyEncryptionAesDash256DashCbc string = "aes-256-cbc" // IPSecPolicyEncryptionAesDash192DashCbc captures enum value "aes-192-cbc" IPSecPolicyEncryptionAesDash192DashCbc string = "aes-192-cbc" // IPSecPolicyEncryptionAesDash128DashCbc captures enum value "aes-128-cbc" IPSecPolicyEncryptionAesDash128DashCbc string = "aes-128-cbc" // IPSecPolicyEncryptionAesDash256DashGcm captures enum value "aes-256-gcm" IPSecPolicyEncryptionAesDash256DashGcm string = "aes-256-gcm" // IPSecPolicyEncryptionAesDash192DashGcm captures enum value "aes-192-gcm" IPSecPolicyEncryptionAesDash192DashGcm string = "aes-192-gcm" // IPSecPolicyEncryptionAesDash128DashGcm captures enum value "aes-128-gcm" IPSecPolicyEncryptionAesDash128DashGcm string = "aes-128-gcm" // IPSecPolicyEncryptionNr3desDashCbc captures enum value "3des-cbc" IPSecPolicyEncryptionNr3desDashCbc string = "3des-cbc" )
const ( // IPSecPolicyCreateEncryptionAesDash256DashCbc captures enum value "aes-256-cbc" IPSecPolicyCreateEncryptionAesDash256DashCbc string = "aes-256-cbc" // IPSecPolicyCreateEncryptionAesDash192DashCbc captures enum value "aes-192-cbc" IPSecPolicyCreateEncryptionAesDash192DashCbc string = "aes-192-cbc" // IPSecPolicyCreateEncryptionAesDash128DashCbc captures enum value "aes-128-cbc" IPSecPolicyCreateEncryptionAesDash128DashCbc string = "aes-128-cbc" // IPSecPolicyCreateEncryptionAesDash256DashGcm captures enum value "aes-256-gcm" IPSecPolicyCreateEncryptionAesDash256DashGcm string = "aes-256-gcm" // IPSecPolicyCreateEncryptionAesDash192DashGcm captures enum value "aes-192-gcm" IPSecPolicyCreateEncryptionAesDash192DashGcm string = "aes-192-gcm" // IPSecPolicyCreateEncryptionAesDash128DashGcm captures enum value "aes-128-gcm" IPSecPolicyCreateEncryptionAesDash128DashGcm string = "aes-128-gcm" // IPSecPolicyCreateEncryptionNr3desDashCbc captures enum value "3des-cbc" IPSecPolicyCreateEncryptionNr3desDashCbc string = "3des-cbc" )
const ( // IPSecPolicyUpdateEncryptionAesDash256DashCbc captures enum value "aes-256-cbc" IPSecPolicyUpdateEncryptionAesDash256DashCbc string = "aes-256-cbc" // IPSecPolicyUpdateEncryptionAesDash192DashCbc captures enum value "aes-192-cbc" IPSecPolicyUpdateEncryptionAesDash192DashCbc string = "aes-192-cbc" // IPSecPolicyUpdateEncryptionAesDash128DashCbc captures enum value "aes-128-cbc" IPSecPolicyUpdateEncryptionAesDash128DashCbc string = "aes-128-cbc" // IPSecPolicyUpdateEncryptionAesDash256DashGcm captures enum value "aes-256-gcm" IPSecPolicyUpdateEncryptionAesDash256DashGcm string = "aes-256-gcm" // IPSecPolicyUpdateEncryptionAesDash192DashGcm captures enum value "aes-192-gcm" IPSecPolicyUpdateEncryptionAesDash192DashGcm string = "aes-192-gcm" // IPSecPolicyUpdateEncryptionAesDash128DashGcm captures enum value "aes-128-gcm" IPSecPolicyUpdateEncryptionAesDash128DashGcm string = "aes-128-gcm" // IPSecPolicyUpdateEncryptionNr3desDashCbc captures enum value "3des-cbc" IPSecPolicyUpdateEncryptionNr3desDashCbc string = "3des-cbc" )
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" )
const ( // MultiVolumesCreateAffinityPolicyAffinity captures enum value "affinity" MultiVolumesCreateAffinityPolicyAffinity string = "affinity" // MultiVolumesCreateAffinityPolicyAntiDashAffinity captures enum value "anti-affinity" MultiVolumesCreateAffinityPolicyAntiDashAffinity string = "anti-affinity" )
const ( // NetworkTypeVlan captures enum value "vlan" NetworkTypeVlan string = "vlan" // NetworkTypePubDashVlan captures enum value "pub-vlan" NetworkTypePubDashVlan string = "pub-vlan" )
const ( // NetworkCreateTypeVlan captures enum value "vlan" NetworkCreateTypeVlan string = "vlan" // NetworkCreateTypePubDashVlan captures enum value "pub-vlan" NetworkCreateTypePubDashVlan string = "pub-vlan" )
const ( // NetworkReferenceTypeVlan captures enum value "vlan" NetworkReferenceTypeVlan string = "vlan" // NetworkReferenceTypePubDashVlan captures enum value "pub-vlan" NetworkReferenceTypePubDashVlan string = "pub-vlan" )
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" )
const ( // OperationsOperatingModeNormal captures enum value "normal" OperationsOperatingModeNormal string = "normal" // OperationsOperatingModeManual captures enum value "manual" OperationsOperatingModeManual string = "manual" )
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" )
const ( // PVMInstanceProcTypeDedicated captures enum value "dedicated" PVMInstanceProcTypeDedicated string = "dedicated" PVMInstanceProcTypeShared string = "shared" // PVMInstanceProcTypeCapped captures enum value "capped" PVMInstanceProcTypeCapped string = "capped" // PVMInstanceProcTypeEmpty captures enum value "" PVMInstanceProcTypeEmpty string = "" )
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" )
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" )
const ( // PVMInstanceCloneProcTypeDedicated captures enum value "dedicated" PVMInstanceCloneProcTypeDedicated string = "dedicated" PVMInstanceCloneProcTypeShared string = "shared" // PVMInstanceCloneProcTypeCapped captures enum value "capped" PVMInstanceCloneProcTypeCapped string = "capped" )
const ( // PVMInstanceCreateProcTypeDedicated captures enum value "dedicated" PVMInstanceCreateProcTypeDedicated string = "dedicated" PVMInstanceCreateProcTypeShared string = "shared" // PVMInstanceCreateProcTypeCapped captures enum value "capped" PVMInstanceCreateProcTypeCapped string = "capped" )
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" )
const ( // PVMInstanceCreateReplicantNamingSchemePrefix captures enum value "prefix" PVMInstanceCreateReplicantNamingSchemePrefix string = "prefix" // PVMInstanceCreateReplicantNamingSchemeSuffix captures enum value "suffix" PVMInstanceCreateReplicantNamingSchemeSuffix string = "suffix" )
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" )
const ( // PVMInstanceMultiCreateNumericalPrefix captures enum value "prefix" PVMInstanceMultiCreateNumericalPrefix string = "prefix" // PVMInstanceMultiCreateNumericalSuffix captures enum value "suffix" PVMInstanceMultiCreateNumericalSuffix string = "suffix" )
const ( // PVMInstanceOperationOperationTypeJob captures enum value "job" PVMInstanceOperationOperationTypeJob string = "job" // PVMInstanceOperationOperationTypeBoot captures enum value "boot" PVMInstanceOperationOperationTypeBoot string = "boot" )
const ( // PVMInstanceReferenceProcTypeDedicated captures enum value "dedicated" PVMInstanceReferenceProcTypeDedicated string = "dedicated" PVMInstanceReferenceProcTypeShared string = "shared" // PVMInstanceReferenceProcTypeCapped captures enum value "capped" PVMInstanceReferenceProcTypeCapped string = "capped" )
const ( // PVMInstanceUpdateProcTypeDedicated captures enum value "dedicated" PVMInstanceUpdateProcTypeDedicated string = "dedicated" PVMInstanceUpdateProcTypeShared string = "shared" // PVMInstanceUpdateProcTypeCapped captures enum value "capped" PVMInstanceUpdateProcTypeCapped string = "capped" )
const ( // PVMInstanceUpdateResponseProcTypeDedicated captures enum value "dedicated" PVMInstanceUpdateResponseProcTypeDedicated string = "dedicated" PVMInstanceUpdateResponseProcTypeShared string = "shared" // PVMInstanceUpdateResponseProcTypeCapped captures enum value "capped" PVMInstanceUpdateResponseProcTypeCapped string = "capped" )
const ( // PlacementGroupPolicyAffinity captures enum value "affinity" PlacementGroupPolicyAffinity string = "affinity" // PlacementGroupPolicyAntiDashAffinity captures enum value "anti-affinity" PlacementGroupPolicyAntiDashAffinity string = "anti-affinity" )
const ( // PlacementGroupCreatePolicyAffinity captures enum value "affinity" PlacementGroupCreatePolicyAffinity string = "affinity" // PlacementGroupCreatePolicyAntiDashAffinity captures enum value "anti-affinity" PlacementGroupCreatePolicyAntiDashAffinity string = "anti-affinity" )
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" )
const ( // ServiceBindingVolumeMountModeR captures enum value "r" ServiceBindingVolumeMountModeR string = "r" // ServiceBindingVolumeMountModeRw captures enum value "rw" ServiceBindingVolumeMountModeRw string = "rw" )
const ( // StorageAffinityAffinityPolicyAffinity captures enum value "affinity" StorageAffinityAffinityPolicyAffinity string = "affinity" // StorageAffinityAffinityPolicyAntiDashAffinity captures enum value "anti-affinity" StorageAffinityAffinityPolicyAntiDashAffinity string = "anti-affinity" )
const ( // StoragePoolStateClosed captures enum value "closed" StoragePoolStateClosed string = "closed" // StoragePoolStateOpened captures enum value "opened" StoragePoolStateOpened string = "opened" )
const ( // StorageTypeStateActive captures enum value "active" StorageTypeStateActive string = "active" // StorageTypeStateInactive captures enum value "inactive" StorageTypeStateInactive string = "inactive" )
const ( // TokenRequestSourceWeb captures enum value "web" TokenRequestSourceWeb string = "web" // TokenRequestSourceCli captures enum value "cli" TokenRequestSourceCli string = "cli" )
const ( // UpdateStoragePoolStateClosed captures enum value "closed" UpdateStoragePoolStateClosed string = "closed" // UpdateStoragePoolStateOpened captures enum value "opened" UpdateStoragePoolStateOpened string = "opened" )
const ( // VPNConnectionModePolicy captures enum value "policy" VPNConnectionModePolicy string = "policy" // VPNConnectionModeRoute captures enum value "route" VPNConnectionModeRoute string = "route" )
const ( // VPNConnectionStatusActive captures enum value "active" VPNConnectionStatusActive string = "active" // VPNConnectionStatusWarning captures enum value "warning" VPNConnectionStatusWarning string = "warning" // VPNConnectionStatusDisabled captures enum value "disabled" VPNConnectionStatusDisabled string = "disabled" )
const ( // VPNConnectionCreateModePolicy captures enum value "policy" VPNConnectionCreateModePolicy string = "policy" // VPNConnectionCreateModeRoute captures enum value "route" VPNConnectionCreateModeRoute string = "route" )
const ( // DeadPeerDetectionActionRestart captures enum value "restart" DeadPeerDetectionActionRestart string = "restart" )
const ( // PVMInstanceCreateStorageConnectionVSCSI captures enum value "vSCSI" PVMInstanceCreateStorageConnectionVSCSI string = "vSCSI" )
const ( string = "shared" )ServiceBindingVolumeMountDeviceTypeShared
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { // Access Token // Required: true AccessToken *string `json:"accessToken"` }
AccessToken access token
swagger:model AccessToken
func (*AccessToken) ContextValidate ¶ added in v1.1.0
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
type AsyncOperation ¶
type AsyncOperation struct { // operation Operation string `json:"operation,omitempty"` }
AsyncOperation async operation
swagger:model AsyncOperation
func (*AsyncOperation) ContextValidate ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
ContextValidate validate this available stock images based on the context it is used
type Catalog ¶
type Catalog struct { // services Services []*Service `json:"services"` }
Catalog catalog
swagger:model Catalog
func (*Catalog) ContextValidate ¶ added in v1.1.0
ContextValidate validate this catalog based on the context it is used
func (*Catalog) MarshalBinary ¶
MarshalBinary interface implementation
func (*Catalog) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CloneTaskReference ¶ added in v1.0.46
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 ¶ added in v1.1.0
ContextValidate validates this clone task reference based on context it is used
func (*CloneTaskReference) MarshalBinary ¶ added in v1.0.46
func (m *CloneTaskReference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloneTaskReference) UnmarshalBinary ¶ added in v1.0.46
func (m *CloneTaskReference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloneTaskStatus ¶ added in v1.0.46
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 ¶ added in v1.1.0
ContextValidate validate this clone task status based on the context it is used
func (*CloneTaskStatus) MarshalBinary ¶ added in v1.0.46
func (m *CloneTaskStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloneTaskStatus) UnmarshalBinary ¶ added in v1.0.46
func (m *CloneTaskStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClonedVolume ¶ added in v1.0.46
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 ¶ added in v1.1.0
ContextValidate validates this cloned volume based on context it is used
func (*ClonedVolume) MarshalBinary ¶ added in v1.0.46
func (m *ClonedVolume) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClonedVolume) UnmarshalBinary ¶ added in v1.0.46
func (m *ClonedVolume) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClonedVolumeDetail ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validate this cloned volume detail based on the context it is used
func (*ClonedVolumeDetail) MarshalBinary ¶ added in v1.0.48
func (m *ClonedVolumeDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClonedVolumeDetail) UnmarshalBinary ¶ added in v1.0.48
func (m *ClonedVolumeDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnection ¶ added in v1.0.51
type CloudConnection struct { // classic Classic *CloudConnectionEndpointClassic `json:"classic,omitempty"` // cloud connection ID // Required: true CloudConnectionID *string `json:"cloudConnectionID"` // creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // enable global routing for this cloud connection (default=false) // Required: true GlobalRouting *bool `json:"globalRouting"` // IBM IP address // Required: true IbmIPAddress *string `json:"ibmIPAddress"` // link status // Required: true LinkStatus *string `json:"linkStatus"` // metered // Required: true Metered *bool `json:"metered"` // name of the cloud connection // Required: true Name *string `json:"name"` // Network References Networks []*NetworkReference `json:"networks,omitempty"` // port // Required: true Port *string `json:"port"` // speed of the cloud connection (speed in megabits per second) // Required: true Speed *int64 `json:"speed"` // user IP address // Required: true UserIPAddress *string `json:"userIPAddress"` // vpc Vpc *CloudConnectionEndpointVPC `json:"vpc,omitempty"` }
CloudConnection cloud connection
swagger:model CloudConnection
func (*CloudConnection) ContextValidate ¶ added in v1.1.0
ContextValidate validate this cloud connection based on the context it is used
func (*CloudConnection) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnection) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionCreate ¶ added in v1.0.51
type CloudConnectionCreate struct { // classic Classic *CloudConnectionEndpointClassicUpdate `json:"classic,omitempty"` // enable global routing for this cloud connection (default=false) GlobalRouting bool `json:"globalRouting,omitempty"` // enable metered for this cloud connection (default=false) Metered bool `json:"metered,omitempty"` // name of the cloud connection // Required: true Name *string `json:"name"` // speed of the cloud connection (speed in megabits per second) // Required: true // Enum: [50 100 200 500 1000 2000 5000 10000] Speed *int64 `json:"speed"` // list of subnets to attach to cloud connection Subnets []string `json:"subnets"` // vpc Vpc *CloudConnectionEndpointVPC `json:"vpc,omitempty"` }
CloudConnectionCreate cloud connection create
swagger:model CloudConnectionCreate
func (*CloudConnectionCreate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this cloud connection create based on the context it is used
func (*CloudConnectionCreate) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionCreate) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionCreateResponse ¶ added in v1.0.75
type CloudConnectionCreateResponse struct { CloudConnection // job ref JobRef *JobReference `json:"jobRef,omitempty"` }
CloudConnectionCreateResponse cloud connection create response
swagger:model CloudConnectionCreateResponse
func (*CloudConnectionCreateResponse) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cloud connection create response based on the context it is used
func (*CloudConnectionCreateResponse) MarshalBinary ¶ added in v1.0.75
func (m *CloudConnectionCreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (CloudConnectionCreateResponse) MarshalJSON ¶ added in v1.0.75
func (m CloudConnectionCreateResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*CloudConnectionCreateResponse) UnmarshalBinary ¶ added in v1.0.75
func (m *CloudConnectionCreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CloudConnectionCreateResponse) UnmarshalJSON ¶ added in v1.0.75
func (m *CloudConnectionCreateResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type CloudConnectionEndpointClassic ¶ added in v1.0.51
type CloudConnectionEndpointClassic struct { // enable classic endpoint destination (default=false) Enabled bool `json:"enabled"` // gre Gre *CloudConnectionGRETunnel `json:"gre,omitempty"` }
CloudConnectionEndpointClassic cloud connection endpoint classic
swagger:model CloudConnectionEndpointClassic
func (*CloudConnectionEndpointClassic) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionEndpointClassic) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cloud connection endpoint classic based on the context it is used
func (*CloudConnectionEndpointClassic) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionEndpointClassic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionEndpointClassic) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionEndpointClassic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionEndpointClassicUpdate ¶ added in v1.0.56
type CloudConnectionEndpointClassicUpdate struct { // enable classic endpoint destination (default=false) Enabled bool `json:"enabled"` // gre Gre *CloudConnectionGRETunnelCreate `json:"gre,omitempty"` }
CloudConnectionEndpointClassicUpdate cloud connection endpoint classic update
swagger:model CloudConnectionEndpointClassicUpdate
func (*CloudConnectionEndpointClassicUpdate) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionEndpointClassicUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cloud connection endpoint classic update based on the context it is used
func (*CloudConnectionEndpointClassicUpdate) MarshalBinary ¶ added in v1.0.56
func (m *CloudConnectionEndpointClassicUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionEndpointClassicUpdate) UnmarshalBinary ¶ added in v1.0.56
func (m *CloudConnectionEndpointClassicUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionEndpointVPC ¶ added in v1.0.51
type CloudConnectionEndpointVPC struct { // enable vpc for this cloud connection (default=false) Enabled bool `json:"enabled"` // vpc connections Vpcs []*CloudConnectionVPC `json:"vpcs,omitempty"` }
CloudConnectionEndpointVPC cloud connection endpoint v p c
swagger:model CloudConnectionEndpointVPC
func (*CloudConnectionEndpointVPC) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionEndpointVPC) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cloud connection endpoint v p c based on the context it is used
func (*CloudConnectionEndpointVPC) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionEndpointVPC) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionEndpointVPC) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionEndpointVPC) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionGRETunnel ¶ added in v1.0.54
type CloudConnectionGRETunnel struct { // gre destination IP address // Required: true DestIPAddress *string `json:"destIPAddress"` // gre auto-assigned source IP address // Required: true SourceIPAddress *string `json:"sourceIPAddress"` }
CloudConnectionGRETunnel cloud connection g r e tunnel
swagger:model CloudConnectionGRETunnel
func (*CloudConnectionGRETunnel) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionGRETunnel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloud connection g r e tunnel based on context it is used
func (*CloudConnectionGRETunnel) MarshalBinary ¶ added in v1.0.54
func (m *CloudConnectionGRETunnel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionGRETunnel) UnmarshalBinary ¶ added in v1.0.54
func (m *CloudConnectionGRETunnel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionGRETunnelCreate ¶ added in v1.0.56
type CloudConnectionGRETunnelCreate struct { // gre network in CIDR notation (192.168.0.0/24) // Required: true Cidr *string `json:"cidr"` // gre destination IP address // Required: true DestIPAddress *string `json:"destIPAddress"` }
CloudConnectionGRETunnelCreate cloud connection g r e tunnel create
swagger:model CloudConnectionGRETunnelCreate
func (*CloudConnectionGRETunnelCreate) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionGRETunnelCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloud connection g r e tunnel create based on context it is used
func (*CloudConnectionGRETunnelCreate) MarshalBinary ¶ added in v1.0.56
func (m *CloudConnectionGRETunnelCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionGRETunnelCreate) UnmarshalBinary ¶ added in v1.0.56
func (m *CloudConnectionGRETunnelCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionUpdate ¶ added in v1.0.51
type CloudConnectionUpdate struct { // classic Classic *CloudConnectionEndpointClassicUpdate `json:"classic,omitempty"` // enable global routing for this cloud connection (default=false) GlobalRouting *bool `json:"globalRouting,omitempty"` // enable metered for this cloud connection (default=false) Metered *bool `json:"metered,omitempty"` // name of the cloud connection Name *string `json:"name,omitempty"` // speed of the cloud connection (speed in megabits per second) // Enum: [50 100 200 500 1000 2000 5000 10000] Speed *int64 `json:"speed,omitempty"` // vpc Vpc *CloudConnectionEndpointVPC `json:"vpc,omitempty"` }
CloudConnectionUpdate cloud connection update
swagger:model CloudConnectionUpdate
func (*CloudConnectionUpdate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this cloud connection update based on the context it is used
func (*CloudConnectionUpdate) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionUpdate) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionVPC ¶ added in v1.0.51
type CloudConnectionVPC struct { // vpc name Name string `json:"name,omitempty"` // vpc id // Required: true VpcID *string `json:"vpcID"` }
CloudConnectionVPC cloud connection v p c
swagger:model CloudConnectionVPC
func (*CloudConnectionVPC) ContextValidate ¶ added in v1.1.0
ContextValidate validates this cloud connection v p c based on context it is used
func (*CloudConnectionVPC) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionVPC) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionVPC) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionVPC) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionVirtualPrivateCloud ¶ added in v1.0.51
type CloudConnectionVirtualPrivateCloud struct { // indicates if vpc uses classic architecture // Required: true ClassicAccess *bool `json:"classicAccess"` // name for the vpc // Required: true Name *string `json:"name"` // status of this vpc // Required: true Status *string `json:"status"` // virtual private cloud id // Required: true VpcID *string `json:"vpcID"` }
CloudConnectionVirtualPrivateCloud cloud connection virtual private cloud
swagger:model CloudConnectionVirtualPrivateCloud
func (*CloudConnectionVirtualPrivateCloud) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionVirtualPrivateCloud) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloud connection virtual private cloud based on context it is used
func (*CloudConnectionVirtualPrivateCloud) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionVirtualPrivateCloud) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionVirtualPrivateCloud) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionVirtualPrivateCloud) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnectionVirtualPrivateClouds ¶ added in v1.0.51
type CloudConnectionVirtualPrivateClouds struct { // list of available virtual private clouds // Required: true VirtualPrivateClouds []*CloudConnectionVirtualPrivateCloud `json:"virtualPrivateClouds"` }
CloudConnectionVirtualPrivateClouds cloud connection virtual private clouds
swagger:model CloudConnectionVirtualPrivateClouds
func (*CloudConnectionVirtualPrivateClouds) ContextValidate ¶ added in v1.1.0
func (m *CloudConnectionVirtualPrivateClouds) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cloud connection virtual private clouds based on the context it is used
func (*CloudConnectionVirtualPrivateClouds) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionVirtualPrivateClouds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnectionVirtualPrivateClouds) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnectionVirtualPrivateClouds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudConnections ¶ added in v1.0.51
type CloudConnections struct { // Cloud Connections // Required: true CloudConnections []*CloudConnection `json:"cloudConnections"` }
CloudConnections cloud connections
swagger:model CloudConnections
func (*CloudConnections) ContextValidate ¶ added in v1.1.0
ContextValidate validate this cloud connections based on the context it is used
func (*CloudConnections) MarshalBinary ¶ added in v1.0.51
func (m *CloudConnections) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudConnections) UnmarshalBinary ¶ added in v1.0.51
func (m *CloudConnections) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type ConsoleLanguage ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this console language based on context it is used
func (*ConsoleLanguage) MarshalBinary ¶ added in v1.0.75
func (m *ConsoleLanguage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConsoleLanguage) UnmarshalBinary ¶ added in v1.0.75
func (m *ConsoleLanguage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConsoleLanguages ¶ added in v1.0.75
type ConsoleLanguages struct { // console languages // Required: true ConsoleLanguages []*ConsoleLanguage `json:"consoleLanguages"` }
ConsoleLanguages console languages
swagger:model ConsoleLanguages
func (*ConsoleLanguages) ContextValidate ¶ added in v1.1.0
ContextValidate validate this console languages based on the context it is used
func (*ConsoleLanguages) MarshalBinary ¶ added in v1.0.75
func (m *ConsoleLanguages) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConsoleLanguages) UnmarshalBinary ¶ added in v1.0.75
func (m *ConsoleLanguages) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.0.75
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 ¶ added in v1.1.0
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 ¶ added in v1.0.75
func (m *CreateCosImageImportJob) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCosImageImportJob) UnmarshalBinary ¶ added in v1.0.75
func (m *CreateCosImageImportJob) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` 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 ¶ added in v1.1.0
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
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 // 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 ¶ added in v1.1.0
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
type DHCPServer ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validate this d h c p server based on the context it is used
func (*DHCPServer) MarshalBinary ¶ added in v1.0.75
func (m *DHCPServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DHCPServer) UnmarshalBinary ¶ added in v1.0.75
func (m *DHCPServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DHCPServerCreate ¶ added in v1.1.2
type DHCPServerCreate struct { // Optional cloud connection uuid to connect with DHCP private network CloudConnectionID string `json:"cloudConnectionID,omitempty"` }
DHCPServerCreate d h c p server create
swagger:model DHCPServerCreate
func (*DHCPServerCreate) ContextValidate ¶ added in v1.1.2
ContextValidate validates this d h c p server create based on context it is used
func (*DHCPServerCreate) MarshalBinary ¶ added in v1.1.2
func (m *DHCPServerCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DHCPServerCreate) UnmarshalBinary ¶ added in v1.1.2
func (m *DHCPServerCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DHCPServerDetail ¶ added in v1.0.76
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 ¶ added in v1.1.0
ContextValidate validate this d h c p server detail based on the context it is used
func (*DHCPServerDetail) MarshalBinary ¶ added in v1.0.76
func (m *DHCPServerDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DHCPServerDetail) UnmarshalBinary ¶ added in v1.0.76
func (m *DHCPServerDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DHCPServerLeases ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this d h c p server leases based on context it is used
func (*DHCPServerLeases) MarshalBinary ¶ added in v1.0.75
func (m *DHCPServerLeases) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DHCPServerLeases) UnmarshalBinary ¶ added in v1.0.75
func (m *DHCPServerLeases) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DHCPServerNetwork ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this d h c p server network based on context it is used
func (*DHCPServerNetwork) MarshalBinary ¶ added in v1.0.75
func (m *DHCPServerNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DHCPServerNetwork) UnmarshalBinary ¶ added in v1.0.75
func (m *DHCPServerNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DHCPServers ¶ added in v1.0.75
type DHCPServers []*DHCPServer
DHCPServers The list of DHCP Servers
swagger:model DHCPServers
func (DHCPServers) ContextValidate ¶ added in v1.1.0
ContextValidate validate this d h c p servers based on the context it is used
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 ¶ added in v1.1.0
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
type DeadPeerDetection ¶ added in v1.0.75
type DeadPeerDetection struct { // Action to take when a Peer Gateway stops responding // Required: true // Enum: [restart] Action *string `json:"action"` // How often to test that the Peer Gateway is responsive // Example: 10 // Required: true // Maximum: 60 // Minimum: 2 Interval *int64 `json:"interval"` // The number of attempts to connect before tearing down the connection // Example: 5 // Required: true // Maximum: 5 // Minimum: 1 Threshold *int64 `json:"threshold"` }
DeadPeerDetection Dead Peer Detection of the VPN Connection
swagger:model DeadPeerDetection
func (*DeadPeerDetection) ContextValidate ¶ added in v1.1.0
ContextValidate validates this dead peer detection based on context it is used
func (*DeadPeerDetection) MarshalBinary ¶ added in v1.0.75
func (m *DeadPeerDetection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeadPeerDetection) UnmarshalBinary ¶ added in v1.0.75
func (m *DeadPeerDetection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validate this event based on the context it is used
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validates this event user based on context it is used
func (*EventUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*EventUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Events ¶
type Events struct { // Events // Required: true Events []*Event `json:"events"` }
Events events
swagger:model Events
func (*Events) ContextValidate ¶ added in v1.1.0
ContextValidate validate this events based on the context it is used
func (*Events) MarshalBinary ¶
MarshalBinary interface implementation
func (*Events) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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"` 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 ¶ added in v1.1.0
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
type HardwarePlatforms ¶
type HardwarePlatforms map[string]HardwarePlatform
HardwarePlatforms A map of hardware platforms detailing their limits and statistics
swagger:model HardwarePlatforms
func (HardwarePlatforms) ContextValidate ¶ added in v1.1.0
ContextValidate validate this hardware platforms based on the context it is used
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 ¶ added in v1.1.0
ContextValidate validates this health based on context it is used
func (*Health) MarshalBinary ¶
MarshalBinary interface implementation
func (*Health) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validate this host info based on the context it is used
func (*HostInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*HostInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type IKEPolicies ¶ added in v1.0.75
type IKEPolicies struct { // IKE Policies array // Required: true IkePolicies []*IKEPolicy `json:"ikePolicies"` }
IKEPolicies i k e policies
swagger:model IKEPolicies
func (*IKEPolicies) ContextValidate ¶ added in v1.1.0
ContextValidate validate this i k e policies based on the context it is used
func (*IKEPolicies) MarshalBinary ¶ added in v1.0.75
func (m *IKEPolicies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IKEPolicies) UnmarshalBinary ¶ added in v1.0.75
func (m *IKEPolicies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IKEPolicy ¶ added in v1.0.75
type IKEPolicy struct { // authentication // Required: true Authentication *IKEPolicyAuthentication `json:"authentication"` // DH group of the IKE Policy // Example: 2 // Required: true // Enum: [1 2 5 14 19 20 24] DhGroup *int64 `json:"dhGroup"` // encryption of the IKE Policy // Example: aes-256-cbc // Required: true // Enum: [aes-256-cbc aes-192-cbc aes-128-cbc aes-256-gcm aes-128-gcm 3des-cbc] Encryption *string `json:"encryption"` // unique identifier of the IKE Policy object // Example: 7edc8988-eb18-4b5c-a594-0d73d8254463 // Required: true ID *string `json:"id"` // key lifetime // Required: true KeyLifetime *KeyLifetime `json:"keyLifetime"` // name of the IKE Policy // Example: ikePolicy1 // Required: true Name *string `json:"name"` // version of the IKE Policy // Example: 2 // Required: true // Enum: [1 2] Version *int64 `json:"version"` }
IKEPolicy IKE Policy object
swagger:model IKEPolicy
func (*IKEPolicy) ContextValidate ¶ added in v1.1.0
ContextValidate validate this i k e policy based on the context it is used
func (*IKEPolicy) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*IKEPolicy) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
type IKEPolicyAuthentication ¶ added in v1.0.75
type IKEPolicyAuthentication string
IKEPolicyAuthentication authentication of the IKE policy Example: sha-256
swagger:model IKEPolicyAuthentication
const ( // IKEPolicyAuthenticationShaDash256 captures enum value "sha-256" IKEPolicyAuthenticationShaDash256 IKEPolicyAuthentication = "sha-256" // IKEPolicyAuthenticationShaDash384 captures enum value "sha-384" IKEPolicyAuthenticationShaDash384 IKEPolicyAuthentication = "sha-384" // IKEPolicyAuthenticationSha1 captures enum value "sha1" IKEPolicyAuthenticationSha1 IKEPolicyAuthentication = "sha1" // IKEPolicyAuthenticationNone captures enum value "none" IKEPolicyAuthenticationNone IKEPolicyAuthentication = "none" )
func NewIKEPolicyAuthentication ¶ added in v1.1.0
func NewIKEPolicyAuthentication(value IKEPolicyAuthentication) *IKEPolicyAuthentication
func (IKEPolicyAuthentication) ContextValidate ¶ added in v1.1.0
func (m IKEPolicyAuthentication) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this i k e policy authentication based on context it is used
func (IKEPolicyAuthentication) Pointer ¶ added in v1.1.1
func (m IKEPolicyAuthentication) Pointer() *IKEPolicyAuthentication
Pointer returns a pointer to a freshly-allocated IKEPolicyAuthentication.
type IKEPolicyAuthentications ¶ added in v1.0.75
type IKEPolicyAuthentications []string
IKEPolicyAuthentications i k e policy authentications Example: ["sha-256","sha-384","sha1","none"]
swagger:model IKEPolicyAuthentications
func (IKEPolicyAuthentications) ContextValidate ¶ added in v1.1.0
func (m IKEPolicyAuthentications) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this i k e policy authentications based on context it is used
type IKEPolicyCreate ¶ added in v1.0.75
type IKEPolicyCreate struct { // authentication Authentication IKEPolicyAuthentication `json:"authentication,omitempty"` // DH group of the IKE Policy // Example: 2 // Required: true // Enum: [1 2 5 14 19 20 24] DhGroup *int64 `json:"dhGroup"` // encryption of the IKE Policy // Example: aes-256-cbc // Required: true // Enum: [aes-256-cbc aes-192-cbc aes-128-cbc aes-256-gcm aes-128-gcm 3des-cbc] Encryption *string `json:"encryption"` // key lifetime // Required: true KeyLifetime *KeyLifetime `json:"keyLifetime"` // name of the IKE Policy // Example: ikePolicy1 // Required: true // Max Length: 47 // Min Length: 1 Name *string `json:"name"` // Required: true PresharedKey *string `json:"presharedKey"` // version of the IKE Policy // Example: 2 // Required: true // Enum: [1 2] Version *int64 `json:"version"` }
IKEPolicyCreate IKE Policy object used for creation
swagger:model IKEPolicyCreate
func (*IKEPolicyCreate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this i k e policy create based on the context it is used
func (*IKEPolicyCreate) MarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IKEPolicyCreate) UnmarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IKEPolicyDhGroups ¶ added in v1.0.75
type IKEPolicyDhGroups []float64
IKEPolicyDhGroups i k e policy dh groups Example: [1,2,5,14,19,20,24]
swagger:model IKEPolicyDhGroups
func (IKEPolicyDhGroups) ContextValidate ¶ added in v1.1.0
ContextValidate validates this i k e policy dh groups based on context it is used
type IKEPolicyEncryptions ¶ added in v1.0.75
type IKEPolicyEncryptions []string
IKEPolicyEncryptions i k e policy encryptions Example: ["aes-256-cbc","aes-192-cbc","aes-128-cbc","aes-256-gcm","aes-128-gcm","3des-cbc"]
swagger:model IKEPolicyEncryptions
func (IKEPolicyEncryptions) ContextValidate ¶ added in v1.1.0
ContextValidate validates this i k e policy encryptions based on context it is used
type IKEPolicyOptions ¶ added in v1.0.75
type IKEPolicyOptions struct { // authentications // Required: true Authentications IKEPolicyAuthentications `json:"authentications"` // dh groups // Required: true DhGroups IKEPolicyDhGroups `json:"dhGroups"` // encryptions // Required: true Encryptions IKEPolicyEncryptions `json:"encryptions"` // versions // Required: true Versions PolicyVersions `json:"versions"` }
IKEPolicyOptions i k e policy options
swagger:model IKEPolicyOptions
func (*IKEPolicyOptions) ContextValidate ¶ added in v1.1.0
ContextValidate validate this i k e policy options based on the context it is used
func (*IKEPolicyOptions) MarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IKEPolicyOptions) UnmarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IKEPolicyRef ¶ added in v1.0.75
type IKEPolicyRef struct { // unique identifier of IKE Policy // Example: 6edc8988-ab18-4b5c-b123-0d73e8254463 // Required: true ID *string `json:"id"` // name of IKE Policy // Example: IKE Policy 1 // Required: true Name *string `json:"name"` }
IKEPolicyRef IKE Policy reference object
swagger:model IKEPolicyRef
func (*IKEPolicyRef) ContextValidate ¶ added in v1.1.0
ContextValidate validates this i k e policy ref based on context it is used
func (*IKEPolicyRef) MarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IKEPolicyRef) UnmarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IKEPolicyTemplate ¶ added in v1.0.75
type IKEPolicyTemplate struct { // ikePolicy Authentication default value // Example: sha256 // Required: true Authentication *string `json:"authentication"` // ikePolicy DHGroup default value // Example: 2 // Required: true DhGroup *int64 `json:"dhGroup"` // ikePolicy Encryption default value // Example: aes-256-cbc // Required: true Encryption *string `json:"encryption"` // key lifetime // Required: true KeyLifetime *KeyLifetime `json:"keyLifetime"` // ikePolicy Version default value // Example: 2 // Required: true Version *float64 `json:"version"` }
IKEPolicyTemplate i k e policy template
swagger:model IKEPolicyTemplate
func (*IKEPolicyTemplate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this i k e policy template based on the context it is used
func (*IKEPolicyTemplate) MarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IKEPolicyTemplate) UnmarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IKEPolicyUpdate ¶ added in v1.0.75
type IKEPolicyUpdate struct { // authentication Authentication IKEPolicyAuthentication `json:"authentication,omitempty"` // DH group of the IKE Policy // Example: 2 // Enum: [1 2 5 14 19 20 24] DhGroup int64 `json:"dhGroup,omitempty"` // encryption of the IKE Policy // Example: aes-256-cbc // Enum: [aes-256-cbc aes-192-cbc aes-128-cbc aes-256-gcm aes-128-gcm 3des-cbc] Encryption string `json:"encryption,omitempty"` // key lifetime KeyLifetime KeyLifetime `json:"keyLifetime,omitempty"` // name of the IKE Policy // Example: ikePolicy1 // Max Length: 47 // Min Length: 1 Name string `json:"name,omitempty"` PresharedKey string `json:"presharedKey,omitempty"` // version of the IKE Policy // Example: 2 // Enum: [1 2] Version int64 `json:"version,omitempty"` // i k e policy update additional properties IKEPolicyUpdateAdditionalProperties map[string]interface{} `json:"-"` }
IKEPolicyUpdate IKE Policy object used for update
Min Properties: 1
swagger:model IKEPolicyUpdate
func (*IKEPolicyUpdate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this i k e policy update based on the context it is used
func (*IKEPolicyUpdate) MarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (IKEPolicyUpdate) MarshalJSON ¶ added in v1.0.75
func (m IKEPolicyUpdate) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*IKEPolicyUpdate) UnmarshalBinary ¶ added in v1.0.75
func (m *IKEPolicyUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*IKEPolicyUpdate) UnmarshalJSON ¶ added in v1.0.75
func (m *IKEPolicyUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
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 ¶ added in v1.1.0
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
type IPSECPolicyAuthentication ¶ added in v1.0.75
type IPSECPolicyAuthentication string
IPSECPolicyAuthentication authentication for IPSec policy Example: hmac-sha-256-128
swagger:model IPSECPolicyAuthentication
const ( // IPSECPolicyAuthenticationHmacDashShaDash256Dash128 captures enum value "hmac-sha-256-128" IPSECPolicyAuthenticationHmacDashShaDash256Dash128 IPSECPolicyAuthentication = "hmac-sha-256-128" // IPSECPolicyAuthenticationHmacDashSha1Dash96 captures enum value "hmac-sha1-96" IPSECPolicyAuthenticationHmacDashSha1Dash96 IPSECPolicyAuthentication = "hmac-sha1-96" // IPSECPolicyAuthenticationNone captures enum value "none" IPSECPolicyAuthenticationNone IPSECPolicyAuthentication = "none" )
func NewIPSECPolicyAuthentication ¶ added in v1.1.0
func NewIPSECPolicyAuthentication(value IPSECPolicyAuthentication) *IPSECPolicyAuthentication
func (IPSECPolicyAuthentication) ContextValidate ¶ added in v1.1.0
func (m IPSECPolicyAuthentication) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this IP s e c policy authentication based on context it is used
func (IPSECPolicyAuthentication) Pointer ¶ added in v1.1.1
func (m IPSECPolicyAuthentication) Pointer() *IPSECPolicyAuthentication
Pointer returns a pointer to a freshly-allocated IPSECPolicyAuthentication.
type IPSECPolicyAuthentications ¶ added in v1.0.75
type IPSECPolicyAuthentications []string
IPSECPolicyAuthentications IP s e c policy authentications Example: ["hmac-sha-256-128","hmac-sha1-96","none"]
swagger:model IPSECPolicyAuthentications
func (IPSECPolicyAuthentications) ContextValidate ¶ added in v1.1.0
func (m IPSECPolicyAuthentications) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this IP s e c policy authentications based on context it is used
type IPSECPolicyDhGroups ¶ added in v1.0.75
type IPSECPolicyDhGroups []float64
IPSECPolicyDhGroups IP s e c policy dh groups Example: [1,2,5,14,19,20]
swagger:model IPSECPolicyDhGroups
func (IPSECPolicyDhGroups) ContextValidate ¶ added in v1.1.0
ContextValidate validates this IP s e c policy dh groups based on context it is used
type IPSECPolicyEncryptions ¶ added in v1.0.75
type IPSECPolicyEncryptions []string
IPSECPolicyEncryptions IP s e c policy encryptions Example: ["aes-256-cbc","aes-192-cbc","aes-128-cbc","aes-256-gcm","aes-128-gcm","3des-cbc"]
swagger:model IPSECPolicyEncryptions
func (IPSECPolicyEncryptions) ContextValidate ¶ added in v1.1.0
ContextValidate validates this IP s e c policy encryptions based on context it is used
type IPSecPolicies ¶ added in v1.0.75
type IPSecPolicies struct { // IPSec Policies array // Required: true IPSecPolicies []*IPSecPolicy `json:"ipSecPolicies"` }
IPSecPolicies IP sec policies
swagger:model IPSecPolicies
func (*IPSecPolicies) ContextValidate ¶ added in v1.1.0
ContextValidate validate this IP sec policies based on the context it is used
func (*IPSecPolicies) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPSecPolicies) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSecPolicy ¶ added in v1.0.75
type IPSecPolicy struct { // authentication // Required: true Authentication *IPSECPolicyAuthentication `json:"authentication"` // Diffie-Hellman group // Example: 2 // Required: true // Enum: [1 2 5 14 19 20 24] DhGroup *int64 `json:"dhGroup"` // connection encryption policy // Example: aes-256-cbc // Required: true // Enum: [aes-256-cbc aes-192-cbc aes-128-cbc aes-256-gcm aes-192-gcm aes-128-gcm 3des-cbc] Encryption *string `json:"encryption"` // unique identifier of the IPSec Policy // Example: 6edc8988-eb18-4b5c-a594-0d73d8254463 // Required: true ID *string `json:"id"` // key lifetime // Required: true KeyLifetime *KeyLifetime `json:"keyLifetime"` // IPSec Policy name // Example: ipSecPolicy2 // Required: true Name *string `json:"name"` // Perfect Forward Secrecy // Example: true // Required: true Pfs *bool `json:"pfs"` }
IPSecPolicy IPSec Policy object
swagger:model IPSecPolicy
func (*IPSecPolicy) ContextValidate ¶ added in v1.1.0
ContextValidate validate this IP sec policy based on the context it is used
func (*IPSecPolicy) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPSecPolicy) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSecPolicyCreate ¶ added in v1.0.75
type IPSecPolicyCreate struct { // authentication Authentication IPSECPolicyAuthentication `json:"authentication,omitempty"` // Diffie-Hellman group // Example: 2 // Required: true // Enum: [1 2 5 14 19 20 24] DhGroup *int64 `json:"dhGroup"` // connection encryption policy // Example: aes-256-cbc // Required: true // Enum: [aes-256-cbc aes-192-cbc aes-128-cbc aes-256-gcm aes-192-gcm aes-128-gcm 3des-cbc] Encryption *string `json:"encryption"` // key lifetime // Required: true KeyLifetime *KeyLifetime `json:"keyLifetime"` // IPSec Policy name // Example: ipSecPolicy2 // Required: true // Max Length: 47 // Min Length: 1 Name *string `json:"name"` // Perfect Forward Secrecy // Example: true // Required: true Pfs *bool `json:"pfs"` }
IPSecPolicyCreate IPSec Policy object used for creation
swagger:model IPSecPolicyCreate
func (*IPSecPolicyCreate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this IP sec policy create based on the context it is used
func (*IPSecPolicyCreate) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPSecPolicyCreate) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSecPolicyOptions ¶ added in v1.0.75
type IPSecPolicyOptions struct { // authentications // Required: true Authentications IPSECPolicyAuthentications `json:"authentications"` // dh groups // Required: true DhGroups IPSECPolicyDhGroups `json:"dhGroups"` // encryptions // Required: true Encryptions IPSECPolicyEncryptions `json:"encryptions"` }
IPSecPolicyOptions IP sec policy options
swagger:model IPSecPolicyOptions
func (*IPSecPolicyOptions) ContextValidate ¶ added in v1.1.0
ContextValidate validate this IP sec policy options based on the context it is used
func (*IPSecPolicyOptions) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPSecPolicyOptions) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSecPolicyRef ¶ added in v1.0.75
type IPSecPolicyRef struct { // unique identifier of IPSec Policy // Example: 7abc1234-ab18-4b5c-b123-0d73e8254463 // Required: true ID *string `json:"id"` // name of IPSec Policy // Example: IPSec Policy 1 // Required: true Name *string `json:"name"` }
IPSecPolicyRef IPSec Policy reference object
swagger:model IPSecPolicyRef
func (*IPSecPolicyRef) ContextValidate ¶ added in v1.1.0
ContextValidate validates this IP sec policy ref based on context it is used
func (*IPSecPolicyRef) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPSecPolicyRef) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSecPolicyTemplate ¶ added in v1.0.75
type IPSecPolicyTemplate struct { // ipSecPolicy Authentication default value // Example: sha256 // Required: true Authentication *string `json:"authentication"` // ipSecPolicy DHGroup default value // Example: 2 // Required: true DhGroup *int64 `json:"dhGroup"` // ipSecPolicy Encryption default value // Example: aes-256-cbc // Required: true Encryption *string `json:"encryption"` // key lifetime // Required: true KeyLifetime *KeyLifetime `json:"keyLifetime"` }
IPSecPolicyTemplate IP sec policy template
swagger:model IPSecPolicyTemplate
func (*IPSecPolicyTemplate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this IP sec policy template based on the context it is used
func (*IPSecPolicyTemplate) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPSecPolicyTemplate) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPSecPolicyUpdate ¶ added in v1.0.75
type IPSecPolicyUpdate struct { // authentication Authentication IPSECPolicyAuthentication `json:"authentication,omitempty"` // Diffie-Hellman group // Example: 2 // Enum: [1 2 5 14 19 20 24] DhGroup int64 `json:"dhGroup,omitempty"` // connection encryption policy // Example: aes-256-cbc // Enum: [aes-256-cbc aes-192-cbc aes-128-cbc aes-256-gcm aes-192-gcm aes-128-gcm 3des-cbc] Encryption string `json:"encryption,omitempty"` // key lifetime KeyLifetime KeyLifetime `json:"keyLifetime,omitempty"` // IPSec Policy name // Example: ipSecPolicy2 // Max Length: 47 // Min Length: 1 Name string `json:"name,omitempty"` // Perfect Forward Secrecy // Example: true Pfs *bool `json:"pfs,omitempty"` // IP sec policy update additional properties IPSecPolicyUpdateAdditionalProperties map[string]interface{} `json:"-"` }
IPSecPolicyUpdate IPSEc Policy object used for update
Min Properties: 1
swagger:model IPSecPolicyUpdate
func (*IPSecPolicyUpdate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this IP sec policy update based on the context it is used
func (*IPSecPolicyUpdate) MarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (IPSecPolicyUpdate) MarshalJSON ¶ added in v1.0.75
func (m IPSecPolicyUpdate) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*IPSecPolicyUpdate) UnmarshalBinary ¶ added in v1.0.75
func (m *IPSecPolicyUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*IPSecPolicyUpdate) UnmarshalJSON ¶ added in v1.0.75
func (m *IPSecPolicyUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
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 ¶ added in v1.1.0
ContextValidate validate this image based on the context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type Images ¶
type Images struct { // Images // Required: true Images []*ImageReference `json:"images"` }
Images images
swagger:model Images
func (*Images) ContextValidate ¶ added in v1.1.0
ContextValidate validate this images based on the context it is used
func (*Images) MarshalBinary ¶
MarshalBinary interface implementation
func (*Images) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JSONSchemaObject ¶
type JSONSchemaObject interface{}
JSONSchemaObject JSON schema object
swagger:model JSONSchemaObject
type Job ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validate this job based on the context it is used
func (*Job) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*Job) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
type JobReference ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this job reference based on context it is used
func (*JobReference) MarshalBinary ¶ added in v1.0.75
func (m *JobReference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobReference) UnmarshalBinary ¶ added in v1.0.75
func (m *JobReference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Jobs ¶ added in v1.0.75
type Jobs struct { // Jobs // Required: true Jobs []*Job `json:"jobs"` }
Jobs jobs
swagger:model Jobs
func (*Jobs) ContextValidate ¶ added in v1.1.0
ContextValidate validate this jobs based on the context it is used
func (*Jobs) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*Jobs) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
type KeyLifetime ¶ added in v1.0.75
type KeyLifetime int64
KeyLifetime Policy key lifetime Example: 28800
swagger:model KeyLifetime
func (KeyLifetime) ContextValidate ¶ added in v1.1.0
ContextValidate validates this key lifetime based on context it is used
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 ¶ added in v1.1.0
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
type MaximumStorageAllocation ¶ added in v1.0.54
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 ¶ added in v1.1.0
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 ¶ added in v1.0.54
func (m *MaximumStorageAllocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MaximumStorageAllocation) UnmarshalBinary ¶ added in v1.0.54
func (m *MaximumStorageAllocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type MultiVolumesCreate ¶ added in v1.0.38
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"` 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 ¶ added in v1.1.0
ContextValidate validates this multi volumes create based on context it is used
func (*MultiVolumesCreate) MarshalBinary ¶ added in v1.0.38
func (m *MultiVolumesCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MultiVolumesCreate) UnmarshalBinary ¶ added in v1.0.38
func (m *MultiVolumesCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Network ¶
type Network struct { // Network in CIDR notation (192.168.0.0/24) // Required: true Cidr *string `json:"cidr"` // (currently not available) cloud connections this network is attached CloudConnections []*NetworkCloudConnectionsItems0 `json:"cloudConnections,omitempty"` // 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"` // MTU Jumbo Network enabled // Required: true Jumbo *bool `json:"jumbo"` // 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 ¶ added in v1.1.0
ContextValidate validate this network based on the context it is used
func (*Network) MarshalBinary ¶
MarshalBinary interface implementation
func (*Network) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NetworkCloudConnectionsItems0 ¶ added in v1.0.49
type NetworkCloudConnectionsItems0 struct { // the cloud connection id CloudConnectionID string `json:"cloudConnectionID,omitempty"` // link to the cloud connection resource Href string `json:"href,omitempty"` }
NetworkCloudConnectionsItems0 network cloud connections items0
swagger:model NetworkCloudConnectionsItems0
func (*NetworkCloudConnectionsItems0) ContextValidate ¶ added in v1.1.0
func (m *NetworkCloudConnectionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network cloud connections items0 based on context it is used
func (*NetworkCloudConnectionsItems0) MarshalBinary ¶ added in v1.0.49
func (m *NetworkCloudConnectionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCloudConnectionsItems0) UnmarshalBinary ¶ added in v1.0.49
func (m *NetworkCloudConnectionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreate ¶
type NetworkCreate struct { // Network in CIDR notation (192.168.0.0/24) Cidr string `json:"cidr,omitempty"` // DNS Servers DNSServers []string `json:"dnsServers"` // Gateway IP Address Gateway string `json:"gateway,omitempty"` // IP Address Ranges IPAddressRanges []*IPAddressRange `json:"ipAddressRanges"` // Enable MTU Jumbo Network Jumbo bool `json:"jumbo,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
swagger:model NetworkCreate
func (*NetworkCreate) ContextValidate ¶ added in v1.1.0
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
type NetworkID ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this network ID based on context it is used
func (*NetworkID) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*NetworkID) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
type NetworkIDs ¶ added in v1.1.0
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 ¶ added in v1.1.0
ContextValidate validates this network i ds based on context it is used
func (*NetworkIDs) MarshalBinary ¶ added in v1.1.0
func (m *NetworkIDs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkIDs) UnmarshalBinary ¶ added in v1.1.0
func (m *NetworkIDs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type NetworkPorts ¶
type NetworkPorts struct { // Network Ports // Required: true Ports []*NetworkPort `json:"ports"` }
NetworkPorts network ports
swagger:model NetworkPorts
func (*NetworkPorts) ContextValidate ¶ added in v1.1.0
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
type NetworkReference ¶
type NetworkReference struct { // DHCP Managed Network DhcpManaged bool `json:"dhcpManaged,omitempty"` // Link to Network resource // Required: true Href *string `json:"href"` // MTU Jumbo Network enabled // Required: true Jumbo *bool `json:"jumbo"` // 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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type Networks ¶
type Networks struct { // Network References // Required: true Networks []*NetworkReference `json:"networks"` }
Networks networks
swagger:model Networks
func (*Networks) ContextValidate ¶ added in v1.1.0
ContextValidate validate this networks based on the context it is used
func (*Networks) MarshalBinary ¶
MarshalBinary interface implementation
func (*Networks) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validates this open stack based on context it is used
func (*OpenStack) MarshalBinary ¶
MarshalBinary interface implementation
func (*OpenStack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type OpenStacks ¶
type OpenStacks struct { // OpenStacks managed by Power IAAS // Required: true OpenStacks []*OpenStack `json:"openStacks"` }
OpenStacks open stacks
swagger:model OpenStacks
func (*OpenStacks) ContextValidate ¶ added in v1.1.0
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
type Operation ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this operation based on context it is used
func (*Operation) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*Operation) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
type Operations ¶ added in v1.0.43
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 ¶ added in v1.1.0
ContextValidate validates this operations based on context it is used
func (*Operations) MarshalBinary ¶ added in v1.0.43
func (m *Operations) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Operations) UnmarshalBinary ¶ added in v1.0.43
func (m *Operations) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Options ¶ added in v1.0.75
type Options struct { // vpnaas options // Required: true VpnaasOptions *VPNaaSOptions `json:"vpnaasOptions"` }
Options options
swagger:model Options
func (*Options) ContextValidate ¶ added in v1.1.0
ContextValidate validate this options based on the context it is used
func (*Options) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*Options) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validate this owner info based on the context it is used
func (*OwnerInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*OwnerInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // 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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type PVMInstanceAddress ¶
type PVMInstanceAddress struct {
PVMInstanceNetwork
}
PVMInstanceAddress deprecated - replaced by PVMInstanceNetwork
swagger:model PVMInstanceAddress
func (*PVMInstanceAddress) ContextValidate ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type PVMInstanceClone ¶ added in v1.0.6
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 ¶ added in v1.1.0
ContextValidate validate this p VM instance clone based on the context it is used
func (*PVMInstanceClone) MarshalBinary ¶ added in v1.0.6
func (m *PVMInstanceClone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PVMInstanceClone) UnmarshalBinary ¶ added in v1.0.6
func (m *PVMInstanceClone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type PVMInstanceCreate ¶
type PVMInstanceCreate struct { // 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"` // 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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type PVMInstanceList ¶
type PVMInstanceList []*PVMInstance
PVMInstanceList A list of PVMInstances
swagger:model PVMInstanceList
func (PVMInstanceList) ContextValidate ¶ added in v1.1.0
ContextValidate validate this p VM instance list based on the context it is used
type PVMInstanceMultiCreate ¶ added in v1.0.10
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 ¶ added in v1.1.0
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 ¶ added in v1.0.10
func (m *PVMInstanceMultiCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PVMInstanceMultiCreate) UnmarshalBinary ¶ added in v1.0.10
func (m *PVMInstanceMultiCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type PVMInstanceOperation ¶ added in v1.0.43
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 ¶ added in v1.1.0
ContextValidate validate this p VM instance operation based on the context it is used
func (*PVMInstanceOperation) MarshalBinary ¶ added in v1.0.43
func (m *PVMInstanceOperation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PVMInstanceOperation) UnmarshalBinary ¶ added in v1.0.43
func (m *PVMInstanceOperation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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"` // 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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type PVMInstances ¶
type PVMInstances struct { // PVM Instance References // Required: true PvmInstances []*PVMInstanceReference `json:"pvmInstances"` }
PVMInstances p VM instances
swagger:model PVMInstances
func (*PVMInstances) ContextValidate ¶ added in v1.1.0
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
type PeerGatewayAddress ¶ added in v1.0.75
PeerGatewayAddress IP address of the Peer Gateway attached to this VPNConnection Example: 192.168.1.1
swagger:model PeerGatewayAddress
func (PeerGatewayAddress) ContextValidate ¶ added in v1.1.0
ContextValidate validates this peer gateway address based on context it is used
type PeerSubnetUpdate ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this peer subnet update based on context it is used
func (*PeerSubnetUpdate) MarshalBinary ¶ added in v1.0.75
func (m *PeerSubnetUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeerSubnetUpdate) UnmarshalBinary ¶ added in v1.0.75
func (m *PeerSubnetUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeerSubnets ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this peer subnets based on context it is used
func (*PeerSubnets) MarshalBinary ¶ added in v1.0.75
func (m *PeerSubnets) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeerSubnets) UnmarshalBinary ¶ added in v1.0.75
func (m *PeerSubnets) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type PinPolicy ¶ added in v1.0.1
type PinPolicy string
PinPolicy Specify PVM pin policy
swagger:model PinPolicy
func NewPinPolicy ¶ added in v1.1.0
func (PinPolicy) ContextValidate ¶ added in v1.1.0
ContextValidate validates this pin policy based on context it is used
type PlacementGroup ¶ added in v1.0.59
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 ¶ added in v1.1.0
ContextValidate validates this placement group based on context it is used
func (*PlacementGroup) MarshalBinary ¶ added in v1.0.59
func (m *PlacementGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlacementGroup) UnmarshalBinary ¶ added in v1.0.59
func (m *PlacementGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlacementGroupCreate ¶ added in v1.0.59
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 ¶ added in v1.1.0
ContextValidate validates this placement group create based on context it is used
func (*PlacementGroupCreate) MarshalBinary ¶ added in v1.0.59
func (m *PlacementGroupCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlacementGroupCreate) UnmarshalBinary ¶ added in v1.0.59
func (m *PlacementGroupCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlacementGroupServer ¶ added in v1.0.59
type PlacementGroupServer struct { // The ID of the Server // Required: true ID *string `json:"id"` }
PlacementGroupServer placement group server
swagger:model PlacementGroupServer
func (*PlacementGroupServer) ContextValidate ¶ added in v1.1.0
ContextValidate validates this placement group server based on context it is used
func (*PlacementGroupServer) MarshalBinary ¶ added in v1.0.59
func (m *PlacementGroupServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlacementGroupServer) UnmarshalBinary ¶ added in v1.0.59
func (m *PlacementGroupServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlacementGroups ¶ added in v1.0.59
type PlacementGroups struct { // List of Server Placement Groups // Required: true PlacementGroups []*PlacementGroup `json:"placementGroups"` }
PlacementGroups placement groups
swagger:model PlacementGroups
func (*PlacementGroups) ContextValidate ¶ added in v1.1.0
ContextValidate validate this placement groups based on the context it is used
func (*PlacementGroups) MarshalBinary ¶ added in v1.0.59
func (m *PlacementGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlacementGroups) UnmarshalBinary ¶ added in v1.0.59
func (m *PlacementGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validate this plan based on the context it is used
func (*Plan) MarshalBinary ¶
MarshalBinary interface implementation
func (*Plan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyVersions ¶ added in v1.0.75
type PolicyVersions []float64
PolicyVersions policy versions Example: [1,2]
swagger:model PolicyVersions
func (PolicyVersions) ContextValidate ¶ added in v1.1.0
ContextValidate validates this policy versions based on context it is used
type RegionStorageTypes ¶
type RegionStorageTypes []*StorageType
RegionStorageTypes An array of of storage types supported in a region
swagger:model RegionStorageTypes
func (RegionStorageTypes) ContextValidate ¶ added in v1.1.0
ContextValidate validate this region storage types based on the context it is used
type SAPCreate ¶ added in v1.0.10
type SAPCreate struct { // 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"` // 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 ¶ added in v1.1.0
ContextValidate validate this s a p create based on the context it is used
func (*SAPCreate) MarshalBinary ¶ added in v1.0.10
MarshalBinary interface implementation
func (*SAPCreate) UnmarshalBinary ¶ added in v1.0.10
UnmarshalBinary interface implementation
type SAPProfile ¶ added in v1.0.10
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 ¶ added in v1.1.0
ContextValidate validates this s a p profile based on context it is used
func (*SAPProfile) MarshalBinary ¶ added in v1.0.10
func (m *SAPProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SAPProfile) UnmarshalBinary ¶ added in v1.0.10
func (m *SAPProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SAPProfileReference ¶ added in v1.0.25
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 ¶ added in v1.1.0
ContextValidate validates this s a p profile reference based on context it is used
func (*SAPProfileReference) MarshalBinary ¶ added in v1.0.25
func (m *SAPProfileReference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SAPProfileReference) UnmarshalBinary ¶ added in v1.0.25
func (m *SAPProfileReference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SAPProfiles ¶ added in v1.0.10
type SAPProfiles struct { // SAP Profiles // Required: true Profiles []*SAPProfile `json:"profiles"` }
SAPProfiles s a p profiles
swagger:model SAPProfiles
func (*SAPProfiles) ContextValidate ¶ added in v1.1.0
ContextValidate validate this s a p profiles based on the context it is used
func (*SAPProfiles) MarshalBinary ¶ added in v1.0.10
func (m *SAPProfiles) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SAPProfiles) UnmarshalBinary ¶ added in v1.0.10
func (m *SAPProfiles) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SRC ¶ added in v1.0.38
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 ¶ added in v1.1.0
ContextValidate validates this s r c based on context it is used
func (*SRC) MarshalBinary ¶ added in v1.0.38
MarshalBinary interface implementation
func (*SRC) UnmarshalBinary ¶ added in v1.0.38
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validates this SSH key based on context it is used
func (*SSHKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*SSHKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SSHKeys ¶
type SSHKeys struct { // SSH Keys // Required: true SSHKeys []*SSHKey `json:"sshKeys"` }
SSHKeys SSH keys
swagger:model SSHKeys
func (*SSHKeys) ContextValidate ¶ added in v1.1.0
ContextValidate validate this SSH keys based on the context it is used
func (*SSHKeys) MarshalBinary ¶
MarshalBinary interface implementation
func (*SSHKeys) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SchemaParameters ¶
type SchemaParameters struct { // parameters Parameters JSONSchemaObject `json:"parameters,omitempty"` }
SchemaParameters schema parameters
swagger:model SchemaParameters
func (*SchemaParameters) ContextValidate ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
ContextValidate validate this service based on the context it is used
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type ServiceBindingSchemaObject ¶
type ServiceBindingSchemaObject struct { // create Create *SchemaParameters `json:"create,omitempty"` }
ServiceBindingSchemaObject service binding schema object
swagger:model ServiceBindingSchemaObject
func (*ServiceBindingSchemaObject) ContextValidate ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type ServiceInstanceProvision ¶
type ServiceInstanceProvision struct { // dashboard url DashboardURL string `json:"dashboard_url,omitempty"` }
ServiceInstanceProvision service instance provision
swagger:model ServiceInstanceProvision
func (*ServiceInstanceProvision) ContextValidate ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
ContextValidate validates this snapshot based on context it is used
func (*Snapshot) MarshalBinary ¶
MarshalBinary interface implementation
func (*Snapshot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type SnapshotRestore ¶ added in v1.0.1
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 ¶ added in v1.1.0
ContextValidate validates this snapshot restore based on context it is used
func (*SnapshotRestore) MarshalBinary ¶ added in v1.0.1
func (m *SnapshotRestore) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SnapshotRestore) UnmarshalBinary ¶ added in v1.0.1
func (m *SnapshotRestore) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type Snapshots ¶
type Snapshots struct { // List of PVM instance snapshots // Required: true Snapshots []*Snapshot `json:"snapshots"` }
Snapshots snapshots
swagger:model Snapshots
func (*Snapshots) ContextValidate ¶ added in v1.1.0
ContextValidate validate this snapshots based on the context it is used
func (*Snapshots) MarshalBinary ¶
MarshalBinary interface implementation
func (*Snapshots) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SoftlayerSubscription ¶ added in v1.0.58
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 ¶ added in v1.1.0
ContextValidate validates this softlayer subscription based on context it is used
func (*SoftlayerSubscription) MarshalBinary ¶ added in v1.0.58
func (m *SoftlayerSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SoftlayerSubscription) UnmarshalBinary ¶ added in v1.0.58
func (m *SoftlayerSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type Status ¶ added in v1.0.75
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 ¶ added in v1.1.0
ContextValidate validates this status based on context it is used
func (*Status) MarshalBinary ¶ added in v1.0.75
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶ added in v1.0.75
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type StockImages ¶
type StockImages []*StockImage
StockImages List of stock images
swagger:model StockImages
func (StockImages) ContextValidate ¶ added in v1.1.0
ContextValidate validate this stock images based on the context it is used
type StorageAffinity ¶ added in v1.0.70
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 ¶ added in v1.1.0
ContextValidate validates this storage affinity based on context it is used
func (*StorageAffinity) MarshalBinary ¶ added in v1.0.70
func (m *StorageAffinity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageAffinity) UnmarshalBinary ¶ added in v1.0.70
func (m *StorageAffinity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageEntities ¶ added in v1.0.77
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 ¶ added in v1.1.0
ContextValidate validates this storage entities based on context it is used
func (*StorageEntities) MarshalBinary ¶ added in v1.0.77
func (m *StorageEntities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageEntities) UnmarshalBinary ¶ added in v1.0.77
func (m *StorageEntities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StoragePool ¶ added in v1.0.77
type StoragePool struct { // display name of storage pool // Required: true DisplayName *string `json:"displayName"` // indicates if the storage pool is disaster recovery (dr) enabled // Required: true DrEnabled *bool `json:"drEnabled"` // 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 ¶ added in v1.1.0
ContextValidate validate this storage pool based on the context it is used
func (*StoragePool) MarshalBinary ¶ added in v1.0.77
func (m *StoragePool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StoragePool) UnmarshalBinary ¶ added in v1.0.77
func (m *StoragePool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StoragePoolCapacity ¶ added in v1.0.54
type StoragePoolCapacity struct { // Maximum allocation storage size (GB) // Required: true MaxAllocationSize *int64 `json:"maxAllocationSize"` // Pool name PoolName string `json:"poolName,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 ¶ added in v1.1.0
ContextValidate validates this storage pool capacity based on context it is used
func (*StoragePoolCapacity) MarshalBinary ¶ added in v1.0.54
func (m *StoragePoolCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StoragePoolCapacity) UnmarshalBinary ¶ added in v1.0.54
func (m *StoragePoolCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StoragePools ¶ added in v1.0.77
type StoragePools []*StoragePool
StoragePools list of storage pools for a region-zone
swagger:model StoragePools
func (StoragePools) ContextValidate ¶ added in v1.1.0
ContextValidate validate this storage pools based on the context it is used
type StoragePoolsCapacity ¶ added in v1.0.54
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 ¶ added in v1.1.0
ContextValidate validate this storage pools capacity based on the context it is used
func (*StoragePoolsCapacity) MarshalBinary ¶ added in v1.0.54
func (m *StoragePoolsCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StoragePoolsCapacity) UnmarshalBinary ¶ added in v1.0.54
func (m *StoragePoolsCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type StorageTypeCapacity ¶ added in v1.0.54
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 ¶ added in v1.1.0
ContextValidate validate this storage type capacity based on the context it is used
func (*StorageTypeCapacity) MarshalBinary ¶ added in v1.0.54
func (m *StorageTypeCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageTypeCapacity) UnmarshalBinary ¶ added in v1.0.54
func (m *StorageTypeCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validate this storage types based on the context it is used
type StorageTypesCapacity ¶ added in v1.0.54
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 ¶ added in v1.1.0
ContextValidate validate this storage types capacity based on the context it is used
func (*StorageTypesCapacity) MarshalBinary ¶ added in v1.0.54
func (m *StorageTypesCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageTypesCapacity) UnmarshalBinary ¶ added in v1.0.54
func (m *StorageTypesCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type System ¶
type System struct { // The host available Processor units // Required: true Cores *float64 `json:"cores"` // The host identifier ID int64 `json:"id,omitempty"` // The host available RAM memory in GiB // Required: true Memory *int64 `json:"memory"` }
System system
swagger:model System
func (*System) ContextValidate ¶ added in v1.1.0
ContextValidate validates this system based on context it is used
func (*System) MarshalBinary ¶
MarshalBinary interface implementation
func (*System) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` 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 ¶ added in v1.1.0
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
type SystemPools ¶
type SystemPools map[string]SystemPool
SystemPools List of available system pools within a particular DataCenter
swagger:model SystemPools
func (SystemPools) ContextValidate ¶ added in v1.1.0
ContextValidate validate this system pools based on the context it is used
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 ¶ added in v1.1.0
ContextValidate validates this task based on context it is used
func (*Task) MarshalBinary ¶
MarshalBinary interface implementation
func (*Task) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
ContextValidate validate this tenant based on the context it is used
func (*Tenant) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tenant) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
type Thresholds ¶ added in v1.0.77
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 ¶ added in v1.1.0
ContextValidate validate this thresholds based on the context it is used
func (*Thresholds) MarshalBinary ¶ added in v1.0.77
func (m *Thresholds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Thresholds) UnmarshalBinary ¶ added in v1.0.77
func (m *Thresholds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validates this token based on context it is used
func (*Token) MarshalBinary ¶
MarshalBinary interface implementation
func (*Token) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
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
type UpdateStoragePool ¶ added in v1.0.77
type UpdateStoragePool struct { // display name of storage pool DisplayName *string `json:"displayName,omitempty"` // indicates if the storage pool is disaster recovery (dr) enabled DrEnabled *bool `json:"drEnabled,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 ¶ added in v1.1.0
ContextValidate validate this update storage pool based on the context it is used
func (*UpdateStoragePool) MarshalBinary ¶ added in v1.0.77
func (m *UpdateStoragePool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateStoragePool) UnmarshalBinary ¶ added in v1.0.77
func (m *UpdateStoragePool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateVolume ¶
type UpdateVolume struct { // Indicates if the volume is boot capable Bootable *bool `json:"bootable,omitempty"` // Name Name *string `json:"name,omitempty"` Shareable *bool `json:"shareable,omitempty"` // New Volume size Size float64 `json:"size,omitempty"` }
UpdateVolume update volume
swagger:model UpdateVolume
func (*UpdateVolume) ContextValidate ¶ added in v1.1.0
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
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 ¶ added in v1.1.0
ContextValidate validates this user info based on context it is used
func (*UserInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VPNConnection ¶ added in v1.0.75
type VPNConnection struct { // dead peer detection // Required: true DeadPeerDetection *DeadPeerDetection `json:"deadPeerDetection"` // unique identifier for VPN Connection // Example: 123e4567-e89b-12d3-a456-42661475 // Required: true ID *string `json:"id"` // ike policy // Required: true IkePolicy *IKEPolicyRef `json:"ikePolicy"` // ip sec policy // Required: true IPSecPolicy *IPSecPolicyRef `json:"ipSecPolicy"` // local Gateway address, only in 'route' mode. // Example: 192.168.1.1 // Required: true LocalGatewayAddress *string `json:"localGatewayAddress"` // Mode used by this VPNConnection, either policy-based, or route-based, this attribute is set at the creation and cannot be updated later. // Example: policy // Required: true // Enum: [policy route] Mode *string `json:"mode"` // VPN Connection name // Example: VPN-Connection-1 // Required: true Name *string `json:"name"` // an array of network IDs // Required: true NetworkIDs []string `json:"networkIDs"` // peer gateway address // Required: true // Format: ipv4 PeerGatewayAddress *PeerGatewayAddress `json:"peerGatewayAddress"` // 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"] // Required: true PeerSubnets []string `json:"peerSubnets"` // status of the VPN connection // Required: true // Enum: [active warning disabled] Status *string `json:"status"` // public IP address of the VPN Gateway (vSRX) attached to this VPNConnection // Example: 192.168.204.1 // Required: true VpnGatewayAddress *string `json:"vpnGatewayAddress"` }
VPNConnection v p n connection
swagger:model VPNConnection
func (*VPNConnection) ContextValidate ¶ added in v1.1.0
ContextValidate validate this v p n connection based on the context it is used
func (*VPNConnection) MarshalBinary ¶ added in v1.0.75
func (m *VPNConnection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VPNConnection) UnmarshalBinary ¶ added in v1.0.75
func (m *VPNConnection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VPNConnectionCreate ¶ added in v1.0.75
type VPNConnectionCreate struct { // unique identifier of IKEPolicy selected for this VPNConnection // Example: c36723ec-8593-11eb-8dcd-0242ac133853 // Required: true IkePolicy *string `json:"ikePolicy"` // unique identifier of IPSecPolicy selected for this VPNConnection // Example: c12345d-8593-11eb-8dcd-0242ac134573 // Required: true IPSecPolicy *string `json:"ipSecPolicy"` // Mode used by this VPNConnection, either policy-based, or route-based, this attribute is set at the creation and cannot be updated later. // Example: policy // Required: true // Enum: [policy route] Mode *string `json:"mode"` // VPN Connection name // Example: VPN-Connection-1 // Required: true Name *string `json:"name"` // an array of network IDs to attach to this VPNConnection // Example: ["7f950c76-8582-11veb-8dcd-0242ac153","7f950c76-8582-11veb-8dcd-0242ac144","7f950c76-8582-11veb-8dcd-0242ac199"] // Required: true Networks []string `json:"networks"` // peer gateway address // Required: true // Format: ipv4 PeerGatewayAddress *PeerGatewayAddress `json:"peerGatewayAddress"` // 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"] // Required: true PeerSubnets []string `json:"peerSubnets"` }
VPNConnectionCreate v p n connection create
swagger:model VPNConnectionCreate
func (*VPNConnectionCreate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this v p n connection create based on the context it is used
func (*VPNConnectionCreate) MarshalBinary ¶ added in v1.0.75
func (m *VPNConnectionCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VPNConnectionCreate) UnmarshalBinary ¶ added in v1.0.75
func (m *VPNConnectionCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VPNConnectionCreateResponse ¶ added in v1.0.76
type VPNConnectionCreateResponse struct { VPNConnection // job ref JobRef *JobReference `json:"jobRef,omitempty"` }
VPNConnectionCreateResponse v p n connection create response
swagger:model VPNConnectionCreateResponse
func (*VPNConnectionCreateResponse) ContextValidate ¶ added in v1.1.0
func (m *VPNConnectionCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v p n connection create response based on the context it is used
func (*VPNConnectionCreateResponse) MarshalBinary ¶ added in v1.0.76
func (m *VPNConnectionCreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (VPNConnectionCreateResponse) MarshalJSON ¶ added in v1.0.76
func (m VPNConnectionCreateResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*VPNConnectionCreateResponse) UnmarshalBinary ¶ added in v1.0.76
func (m *VPNConnectionCreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*VPNConnectionCreateResponse) UnmarshalJSON ¶ added in v1.0.76
func (m *VPNConnectionCreateResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type VPNConnectionUpdate ¶ added in v1.0.75
type VPNConnectionUpdate struct { // unique identifier of IKEPolicy selected for this VPNConnection // Example: c36723ec-8593-11eb-8dcd-0242ac133853 IkePolicy string `json:"ikePolicy,omitempty"` // unique identifier of IPSecPolicy selected for this VPNConnection // Example: c12345d-8593-11eb-8dcd-0242ac134573 IPSecPolicy string `json:"ipSecPolicy,omitempty"` // VPN Connection name // Example: VPN-Connection-1 Name string `json:"name,omitempty"` // peer gateway address // Format: ipv4 PeerGatewayAddress PeerGatewayAddress `json:"peerGatewayAddress,omitempty"` // v p n connection update additional properties VPNConnectionUpdateAdditionalProperties map[string]interface{} `json:"-"` }
VPNConnectionUpdate VPN Connection object to send during the update
Min Properties: 1
swagger:model VPNConnectionUpdate
func (*VPNConnectionUpdate) ContextValidate ¶ added in v1.1.0
ContextValidate validate this v p n connection update based on the context it is used
func (*VPNConnectionUpdate) MarshalBinary ¶ added in v1.0.75
func (m *VPNConnectionUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (VPNConnectionUpdate) MarshalJSON ¶ added in v1.0.75
func (m VPNConnectionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*VPNConnectionUpdate) UnmarshalBinary ¶ added in v1.0.75
func (m *VPNConnectionUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*VPNConnectionUpdate) UnmarshalJSON ¶ added in v1.0.75
func (m *VPNConnectionUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type VPNConnections ¶ added in v1.0.75
type VPNConnections struct { // an array of VPN Connections // Example: [{"deadPeerDetection":{"action":"restart","interval":10,"threshold":5},"id":"123e4567-e89b-12d3-a456-42661475","ikePolicy":{"id":"7654e321-e89b-12d3-a456-4566447","name":"IKE Policy 3"},"ipSecPolicy":{"id":"456f7890-e89b-12d3-a456-4569934","name":"IPSec Policy 2"},"localGatewayAddress":"192.168.1.1","mode":"route","name":"VPN Connection 2","peerGatewayAddress":"192.168.44.1","peerSubnets":["128.169.1.0/24","128.168.1.0/27"],"status":"Active","vpnGatewayAddress":"192.168.24.1"}] VpnConnections []*VPNConnection `json:"vpnConnections"` }
VPNConnections v p n connections
swagger:model VPNConnections
func (*VPNConnections) ContextValidate ¶ added in v1.1.0
ContextValidate validate this v p n connections based on the context it is used
func (*VPNConnections) MarshalBinary ¶ added in v1.0.75
func (m *VPNConnections) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VPNConnections) UnmarshalBinary ¶ added in v1.0.75
func (m *VPNConnections) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VPNaaSOptions ¶ added in v1.0.75
type VPNaaSOptions struct { // dead peer detection // Required: true DeadPeerDetection *DeadPeerDetection `json:"deadPeerDetection"` // ike policy options // Required: true IkePolicyOptions *IKEPolicyOptions `json:"ikePolicyOptions"` // ike policy template // Required: true IkePolicyTemplate *IKEPolicyTemplate `json:"ikePolicyTemplate"` // ip sec policy options // Required: true IPSecPolicyOptions *IPSecPolicyOptions `json:"ipSecPolicyOptions"` // ip sec policy template // Required: true IPSecPolicyTemplate *IPSecPolicyTemplate `json:"ipSecPolicyTemplate"` }
VPNaaSOptions v p naa s options
swagger:model VPNaaSOptions
func (*VPNaaSOptions) ContextValidate ¶ added in v1.1.0
ContextValidate validate this v p naa s options based on the context it is used
func (*VPNaaSOptions) MarshalBinary ¶ added in v1.0.75
func (m *VPNaaSOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VPNaaSOptions) UnmarshalBinary ¶ added in v1.0.75
func (m *VPNaaSOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶ added in v1.1.0
ContextValidate validates this version based on context it is used
func (*Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VirtualCores ¶ added in v1.0.43
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 ¶ added in v1.1.0
ContextValidate validates this virtual cores based on context it is used
func (*VirtualCores) MarshalBinary ¶ added in v1.0.43
func (m *VirtualCores) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualCores) UnmarshalBinary ¶ added in v1.0.43
func (m *VirtualCores) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Volume ¶
type Volume struct { // 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"` // mirroring state for replication enabled volume MirroringState string `json:"mirroringState,omitempty"` // Volume Name // Required: true Name *string `json:"name"` // List of PCloud PVM Instance attached to the volume PvmInstanceIDs []string `json:"pvmInstanceIDs"` // shows the replication status of a volume ReplicationStatus string `json:"replicationStatus,omitempty"` 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 ¶ added in v1.1.0
ContextValidate validates this volume based on context it is used
func (*Volume) MarshalBinary ¶
MarshalBinary interface implementation
func (*Volume) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VolumeAction ¶ added in v1.0.76
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 ¶ added in v1.1.0
ContextValidate validates this volume action based on context it is used
func (*VolumeAction) MarshalBinary ¶ added in v1.0.76
func (m *VolumeAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeAction) UnmarshalBinary ¶ added in v1.0.76
func (m *VolumeAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInfo ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validates this volume info based on context it is used
func (*VolumeInfo) MarshalBinary ¶ added in v1.0.48
func (m *VolumeInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInfo) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumeInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeReference ¶
type VolumeReference struct { // 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"` // mirroring state for replication enabled volume MirroringState string `json:"mirroringState,omitempty"` // Volume Name // Required: true Name *string `json:"name"` // List of PCloud PVM Instance attached to the volume PvmInstanceIDs []string `json:"pvmInstanceIDs"` // shows the replication status of a volume ReplicationStatus string `json:"replicationStatus,omitempty"` // 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 ¶ added in v1.1.0
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
type Volumes ¶
type Volumes struct { // Volumes // Required: true Volumes []*VolumeReference `json:"volumes"` }
Volumes volumes
swagger:model Volumes
func (*Volumes) ContextValidate ¶ added in v1.1.0
ContextValidate validate this volumes based on the context it is used
func (*Volumes) MarshalBinary ¶
MarshalBinary interface implementation
func (*Volumes) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VolumesAttach ¶ added in v1.0.56
type VolumesAttach struct { // 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 ¶ added in v1.1.0
ContextValidate validates this volumes attach based on context it is used
func (*VolumesAttach) MarshalBinary ¶ added in v1.0.56
func (m *VolumesAttach) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesAttach) UnmarshalBinary ¶ added in v1.0.56
func (m *VolumesAttach) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesAttachmentResponse ¶ added in v1.0.56
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 ¶ added in v1.1.0
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 ¶ added in v1.0.56
func (m *VolumesAttachmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesAttachmentResponse) UnmarshalBinary ¶ added in v1.0.56
func (m *VolumesAttachmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesClone ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validates this volumes clone based on context it is used
func (*VolumesClone) MarshalBinary ¶ added in v1.0.48
func (m *VolumesClone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesClone) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumesClone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneAsyncRequest ¶ added in v1.0.46
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 ¶ added in v1.1.0
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 ¶ added in v1.0.46
func (m *VolumesCloneAsyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneAsyncRequest) UnmarshalBinary ¶ added in v1.0.46
func (m *VolumesCloneAsyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneCancel ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validates this volumes clone cancel based on context it is used
func (*VolumesCloneCancel) MarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneCancel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneCancel) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneCancel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneCreate ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validates this volumes clone create based on context it is used
func (*VolumesCloneCreate) MarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneCreate) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneDetail ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validate this volumes clone detail based on the context it is used
func (*VolumesCloneDetail) MarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneDetail) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneExecute ¶ added in v1.0.48
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 ¶ added in v1.1.0
ContextValidate validates this volumes clone execute based on context it is used
func (*VolumesCloneExecute) MarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneExecute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneExecute) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumesCloneExecute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneRequest ¶ added in v1.0.6
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 ¶ added in v1.1.0
ContextValidate validates this volumes clone request based on context it is used
func (*VolumesCloneRequest) MarshalBinary ¶ added in v1.0.6
func (m *VolumesCloneRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneRequest) UnmarshalBinary ¶ added in v1.0.6
func (m *VolumesCloneRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesCloneResponse ¶ added in v1.0.6
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 ¶ added in v1.1.0
ContextValidate validates this volumes clone response based on context it is used
func (*VolumesCloneResponse) MarshalBinary ¶ added in v1.0.6
func (m *VolumesCloneResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesCloneResponse) UnmarshalBinary ¶ added in v1.0.6
func (m *VolumesCloneResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumesClones ¶ added in v1.0.48
type VolumesClones struct { // list of volumes-clone requests VolumesClone []*VolumesClone `json:"volumesClone"` }
VolumesClones volumes clones
swagger:model VolumesClones
func (*VolumesClones) ContextValidate ¶ added in v1.1.0
ContextValidate validate this volumes clones based on the context it is used
func (*VolumesClones) MarshalBinary ¶ added in v1.0.48
func (m *VolumesClones) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumesClones) UnmarshalBinary ¶ added in v1.0.48
func (m *VolumesClones) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- access_token.go
- async_operation.go
- available_stock_images.go
- catalog.go
- clone_task_reference.go
- clone_task_status.go
- cloned_volume.go
- cloned_volume_detail.go
- cloud_connection.go
- cloud_connection_create.go
- cloud_connection_create_response.go
- cloud_connection_endpoint_classic.go
- cloud_connection_endpoint_classic_update.go
- cloud_connection_endpoint_v_p_c.go
- cloud_connection_g_r_e_tunnel.go
- cloud_connection_g_r_e_tunnel_create.go
- cloud_connection_update.go
- cloud_connection_v_p_c.go
- cloud_connection_virtual_private_clouds.go
- cloud_connections.go
- cloud_instance.go
- cloud_instance_create.go
- cloud_instance_reference.go
- cloud_instance_update.go
- cloud_instance_usage_limits.go
- console_language.go
- console_languages.go
- context.go
- create_cos_image_import_job.go
- create_data_volume.go
- create_image.go
- d_h_c_p_server.go
- d_h_c_p_server_create.go
- d_h_c_p_server_detail.go
- d_h_c_p_server_leases.go
- d_h_c_p_server_network.go
- d_h_c_p_servers.go
- dashboard_client.go
- dead_peer_detection.go
- device_code.go
- error.go
- event.go
- event_user.go
- events.go
- export_image.go
- hardware_platform.go
- hardware_platforms.go
- health.go
- host_info.go
- host_p_vm_instance.go
- host_resource.go
- host_resources.go
- i_k_e_policies.go
- i_k_e_policy.go
- i_k_e_policy_authentication.go
- i_k_e_policy_authentications.go
- i_k_e_policy_create.go
- i_k_e_policy_dh_groups.go
- i_k_e_policy_encryptions.go
- i_k_e_policy_options.go
- i_k_e_policy_ref.go
- i_k_e_policy_template.go
- i_k_e_policy_update.go
- image.go
- image_reference.go
- image_specifications.go
- image_volume.go
- images.go
- ip_address_range.go
- ip_s_e_c_policy_authentication.go
- ip_s_e_c_policy_authentications.go
- ip_s_e_c_policy_dh_groups.go
- ip_s_e_c_policy_encryptions.go
- ip_sec_policies.go
- ip_sec_policy.go
- ip_sec_policy_create.go
- ip_sec_policy_options.go
- ip_sec_policy_ref.go
- ip_sec_policy_template.go
- ip_sec_policy_update.go
- job.go
- job_reference.go
- jobs.go
- json_schema_object.go
- key_lifetime.go
- last_operation_resource.go
- maximum_storage_allocation.go
- metadata.go
- min_max_default.go
- multi_volumes_create.go
- network.go
- network_create.go
- network_i_ds.go
- network_id.go
- network_port.go
- network_port_create.go
- network_port_update.go
- network_ports.go
- network_reference.go
- network_update.go
- networks.go
- object.go
- open_stack.go
- open_stack_create.go
- open_stack_info.go
- open_stacks.go
- operation.go
- operations.go
- options.go
- owner_info.go
- p_vm_instance.go
- p_vm_instance_action.go
- p_vm_instance_add_network.go
- p_vm_instance_address.go
- p_vm_instance_capture.go
- p_vm_instance_clone.go
- p_vm_instance_console.go
- p_vm_instance_create.go
- p_vm_instance_fault.go
- p_vm_instance_health.go
- p_vm_instance_list.go
- p_vm_instance_multi_create.go
- p_vm_instance_network.go
- p_vm_instance_networks.go
- p_vm_instance_operation.go
- p_vm_instance_reference.go
- p_vm_instance_remove_network.go
- p_vm_instance_update.go
- p_vm_instance_update_response.go
- p_vm_instance_volume_update.go
- p_vm_instances.go
- peer_gateway_address.go
- peer_subnet_update.go
- peer_subnets.go
- peering_network.go
- pin_policy.go
- placement_group.go
- placement_group_create.go
- placement_group_server.go
- placement_groups.go
- plan.go
- policy_versions.go
- region_storage_types.go
- s_a_p_create.go
- s_a_p_profile.go
- s_a_p_profile_reference.go
- s_a_p_profiles.go
- s_r_c.go
- schema_parameters.go
- schemas_object.go
- service.go
- service_binding.go
- service_binding_request.go
- service_binding_resource.go
- service_binding_resource_object.go
- service_binding_schema_object.go
- service_binding_volume_mount.go
- service_binding_volume_mount_device.go
- service_instance.go
- service_instance_async_operation.go
- service_instance_previous_values.go
- service_instance_provision.go
- service_instance_provision_request.go
- service_instance_request.go
- service_instance_resource.go
- service_instance_schema_object.go
- service_instance_update_request.go
- snapshot.go
- snapshot_create.go
- snapshot_create_response.go
- snapshot_restore.go
- snapshot_update.go
- snapshots.go
- softlayer_subscription.go
- software_licenses.go
- ssh_key.go
- ssh_keys.go
- status.go
- stock_image.go
- stock_images.go
- storage_affinity.go
- storage_entities.go
- storage_pool.go
- storage_pool_capacity.go
- storage_pools.go
- storage_pools_capacity.go
- storage_type.go
- storage_type_capacity.go
- storage_types.go
- storage_types_capacity.go
- system.go
- system_pool.go
- system_pools.go
- task.go
- task_reference.go
- tenant.go
- tenant_update.go
- thresholds.go
- token.go
- token_extra.go
- token_request.go
- update_storage_pool.go
- update_volume.go
- user_info.go
- v_p_n_connection.go
- v_p_n_connection_create.go
- v_p_n_connection_create_response.go
- v_p_n_connection_update.go
- v_p_n_connections.go
- v_p_naa_s_options.go
- version.go
- virtual_cores.go
- volume.go
- volume_action.go
- volume_info.go
- volume_reference.go
- volumes.go
- volumes_attach.go
- volumes_attachment_response.go
- volumes_clone.go
- volumes_clone_async_request.go
- volumes_clone_cancel.go
- volumes_clone_create.go
- volumes_clone_detail.go
- volumes_clone_execute.go
- volumes_clone_request.go
- volumes_clone_response.go
- volumes_clones.go