models

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 8 Imported by: 63

Documentation

Index

Constants

View Source
const (

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

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

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

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

	// CloudInitializationVirtualOpticalDeviceAttach captures enum value "attach"
	CloudInitializationVirtualOpticalDeviceAttach string = "attach"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// CreateWorkspaceSSHKeyVisibilityAccount captures enum value "account"
	CreateWorkspaceSSHKeyVisibilityAccount string = "account"

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

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

	// DatacenterStatusMaintenance captures enum value "maintenance"
	DatacenterStatusMaintenance string = "maintenance"

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

	// DatacenterTypeOffDashPremises captures enum value "off-premises"
	DatacenterTypeOffDashPremises string = "off-premises"

	// DatacenterTypeOnDashPremises captures enum value "on-premises"
	DatacenterTypeOnDashPremises string = "on-premises"
)
View Source
const (

	// DeploymentTargetTypeHostGroup captures enum value "hostGroup"
	DeploymentTargetTypeHostGroup string = "hostGroup"

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

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

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

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

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

	// 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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// ImageImportDetailsProductHana captures enum value "Hana"
	ImageImportDetailsProductHana string = "Hana"

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

	// InternalCapacityManagementRequestOperationDisabled captures enum value "disabled"
	InternalCapacityManagementRequestOperationDisabled string = "disabled"

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

	// InternalNetworkResourceStatusFlagFlagWorkspace captures enum value "workspace"
	InternalNetworkResourceStatusFlagFlagWorkspace string = "workspace"

	// InternalNetworkResourceStatusFlagFlagNetworks captures enum value "networks"
	InternalNetworkResourceStatusFlagFlagNetworks string = "networks"

	// InternalNetworkResourceStatusFlagFlagNetworksDashSecurityDashGroups captures enum value "networks-security-groups"
	InternalNetworkResourceStatusFlagFlagNetworksDashSecurityDashGroups string = "networks-security-groups"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// JobActionStatusPending captures enum value "pending"
	JobActionStatusPending string = "pending"

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

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

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

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

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

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

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

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

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

	// NetworkAdvertiseEnable captures enum value "enable"
	NetworkAdvertiseEnable string = "enable"

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

	// NetworkArpBroadcastEnable captures enum value "enable"
	NetworkArpBroadcastEnable string = "enable"

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

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

	// NetworkTypePubDashVlan captures enum value "pub-vlan"
	NetworkTypePubDashVlan string = "pub-vlan"

	// NetworkTypeDhcpDashVlan captures enum value "dhcp-vlan"
	NetworkTypeDhcpDashVlan string = "dhcp-vlan"
)
View Source
const (

	// NetworkCreateAdvertiseEnable captures enum value "enable"
	NetworkCreateAdvertiseEnable string = "enable"

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

	// NetworkCreateArpBroadcastEnable captures enum value "enable"
	NetworkCreateArpBroadcastEnable string = "enable"

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

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

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

	// NetworkPeerDefaultExportRouteFilterAllow captures enum value "allow"
	NetworkPeerDefaultExportRouteFilterAllow string = "allow"

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

	// NetworkPeerDefaultImportRouteFilterAllow captures enum value "allow"
	NetworkPeerDefaultImportRouteFilterAllow string = "allow"

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

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

	// NetworkPeerStateConfiguring captures enum value "configuring"
	NetworkPeerStateConfiguring string = "configuring"

	// NetworkPeerStateRemoving captures enum value "removing"
	NetworkPeerStateRemoving string = "removing"

	// NetworkPeerStateError captures enum value "error"
	NetworkPeerStateError string = "error"

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

	// NetworkPeerCreateDefaultExportRouteFilterAllow captures enum value "allow"
	NetworkPeerCreateDefaultExportRouteFilterAllow string = "allow"

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

	// NetworkPeerCreateDefaultImportRouteFilterAllow captures enum value "allow"
	NetworkPeerCreateDefaultImportRouteFilterAllow string = "allow"

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

	// NetworkPeerUpdateDefaultExportRouteFilterAllow captures enum value "allow"
	NetworkPeerUpdateDefaultExportRouteFilterAllow string = "allow"

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

	// NetworkPeerUpdateDefaultImportRouteFilterAllow captures enum value "allow"
	NetworkPeerUpdateDefaultImportRouteFilterAllow string = "allow"

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

	// NetworkReferenceAdvertiseEnable captures enum value "enable"
	NetworkReferenceAdvertiseEnable string = "enable"

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

	// NetworkReferenceArpBroadcastEnable captures enum value "enable"
	NetworkReferenceArpBroadcastEnable string = "enable"

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

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

	// NetworkReferenceTypePubDashVlan captures enum value "pub-vlan"
	NetworkReferenceTypePubDashVlan string = "pub-vlan"

	// NetworkReferenceTypeDhcpDashVlan captures enum value "dhcp-vlan"
	NetworkReferenceTypeDhcpDashVlan string = "dhcp-vlan"
)
View Source
const (

	// NetworkSecurityGroupAddMemberTypeIPv4DashAddress captures enum value "ipv4-address"
	NetworkSecurityGroupAddMemberTypeIPv4DashAddress string = "ipv4-address"

	// NetworkSecurityGroupAddMemberTypeNetworkDashInterface captures enum value "network-interface"
	NetworkSecurityGroupAddMemberTypeNetworkDashInterface string = "network-interface"
)
View Source
const (

	// NetworkSecurityGroupAddRuleActionAllow captures enum value "allow"
	NetworkSecurityGroupAddRuleActionAllow string = "allow"

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

	// NetworkSecurityGroupMemberTypeIPv4DashAddress captures enum value "ipv4-address"
	NetworkSecurityGroupMemberTypeIPv4DashAddress string = "ipv4-address"

	// NetworkSecurityGroupMemberTypeNetworkDashInterface captures enum value "network-interface"
	NetworkSecurityGroupMemberTypeNetworkDashInterface string = "network-interface"
)
View Source
const (

	// NetworkSecurityGroupRuleActionAllow captures enum value "allow"
	NetworkSecurityGroupRuleActionAllow string = "allow"

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

	// NetworkSecurityGroupRuleProtocolIcmpTypeAll captures enum value "all"
	NetworkSecurityGroupRuleProtocolIcmpTypeAll string = "all"

	// NetworkSecurityGroupRuleProtocolIcmpTypeEcho captures enum value "echo"
	NetworkSecurityGroupRuleProtocolIcmpTypeEcho string = "echo"

	// NetworkSecurityGroupRuleProtocolIcmpTypeEchoDashReply captures enum value "echo-reply"
	NetworkSecurityGroupRuleProtocolIcmpTypeEchoDashReply string = "echo-reply"

	// NetworkSecurityGroupRuleProtocolIcmpTypeSourceDashQuench captures enum value "source-quench"
	NetworkSecurityGroupRuleProtocolIcmpTypeSourceDashQuench string = "source-quench"

	// NetworkSecurityGroupRuleProtocolIcmpTypeTimeDashExceeded captures enum value "time-exceeded"
	NetworkSecurityGroupRuleProtocolIcmpTypeTimeDashExceeded string = "time-exceeded"

	// NetworkSecurityGroupRuleProtocolIcmpTypeDestinationDashUnreach captures enum value "destination-unreach"
	NetworkSecurityGroupRuleProtocolIcmpTypeDestinationDashUnreach string = "destination-unreach"
)
View Source
const (

	// NetworkSecurityGroupRuleProtocolTypeIcmp captures enum value "icmp"
	NetworkSecurityGroupRuleProtocolTypeIcmp string = "icmp"

	// NetworkSecurityGroupRuleProtocolTypeTCP captures enum value "tcp"
	NetworkSecurityGroupRuleProtocolTypeTCP string = "tcp"

	// NetworkSecurityGroupRuleProtocolTypeUDP captures enum value "udp"
	NetworkSecurityGroupRuleProtocolTypeUDP string = "udp"

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

	// NetworkSecurityGroupRuleProtocolTCPFlagFlagSyn captures enum value "syn"
	NetworkSecurityGroupRuleProtocolTCPFlagFlagSyn string = "syn"

	// NetworkSecurityGroupRuleProtocolTCPFlagFlagAck captures enum value "ack"
	NetworkSecurityGroupRuleProtocolTCPFlagFlagAck string = "ack"

	// NetworkSecurityGroupRuleProtocolTCPFlagFlagFin captures enum value "fin"
	NetworkSecurityGroupRuleProtocolTCPFlagFlagFin string = "fin"

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

	// NetworkSecurityGroupRuleRemoteTypeNetworkDashSecurityDashGroup captures enum value "network-security-group"
	NetworkSecurityGroupRuleRemoteTypeNetworkDashSecurityDashGroup string = "network-security-group"

	// NetworkSecurityGroupRuleRemoteTypeNetworkDashAddressDashGroup captures enum value "network-address-group"
	NetworkSecurityGroupRuleRemoteTypeNetworkDashAddressDashGroup string = "network-address-group"

	// NetworkSecurityGroupRuleRemoteTypeDefaultDashNetworkDashAddressDashGroup captures enum value "default-network-address-group"
	NetworkSecurityGroupRuleRemoteTypeDefaultDashNetworkDashAddressDashGroup string = "default-network-address-group"
)
View Source
const (

	// NetworkSecurityGroupsActionActionEnable captures enum value "enable"
	NetworkSecurityGroupsActionActionEnable string = "enable"

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

	// NetworkUpdateAdvertiseEnable captures enum value "enable"
	NetworkUpdateAdvertiseEnable string = "enable"

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

	// NetworkUpdateArpBroadcastEnable captures enum value "enable"
	NetworkUpdateArpBroadcastEnable string = "enable"

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

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

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

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

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

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

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

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

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

	// OperationsTaskDumprestart captures enum value "dumprestart"
	OperationsTaskDumprestart string = "dumprestart"

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

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

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

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

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

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

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

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

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

	// PVMInstanceActionActionDhcpDashIPDashSync captures enum value "dhcp-ip-sync"
	PVMInstanceActionActionDhcpDashIPDashSync string = "dhcp-ip-sync"

	// PVMInstanceActionActionDumprestart captures enum value "dumprestart"
	PVMInstanceActionActionDumprestart string = "dumprestart"

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

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

	// PVMInstanceActionActionResetDashState captures enum value "reset-state"
	PVMInstanceActionActionResetDashState string = "reset-state"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// PVMInstanceCreateSapHANAAffinityActionFail captures enum value "fail"
	PVMInstanceCreateSapHANAAffinityActionFail string = "fail"

	// PVMInstanceCreateSapHANAAffinityActionWarn captures enum value "warn"
	PVMInstanceCreateSapHANAAffinityActionWarn string = "warn"

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

	// PVMInstanceCreateStorageConnectionVSCSI captures enum value "vSCSI"
	PVMInstanceCreateStorageConnectionVSCSI string = "vSCSI"

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

	// PVMInstanceCreateStorageConnectionV2VSCSI captures enum value "vSCSI"
	PVMInstanceCreateStorageConnectionV2VSCSI string = "vSCSI"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// PVMInstanceUpdateSapHANAAffinityActionFail captures enum value "fail"
	PVMInstanceUpdateSapHANAAffinityActionFail string = "fail"

	// PVMInstanceUpdateSapHANAAffinityActionWarn captures enum value "warn"
	PVMInstanceUpdateSapHANAAffinityActionWarn string = "warn"

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

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

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

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

	// PVMInstanceV2NetworkPortIPProtocolIPv4 captures enum value "IPv4"
	PVMInstanceV2NetworkPortIPProtocolIPv4 string = "IPv4"

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

	// PVMInstanceV2NetworkPortTypeDhcp captures enum value "dhcp"
	PVMInstanceV2NetworkPortTypeDhcp string = "dhcp"

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

	// PeerInterfacePeerTypeInterface captures enum value "interface"
	PeerInterfacePeerTypeInterface string = "interface"

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

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

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

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

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

	// PowerEdgeRouterActionActionMigrateDashStart captures enum value "migrate-start"
	PowerEdgeRouterActionActionMigrateDashStart string = "migrate-start"

	// PowerEdgeRouterActionActionMigrateDashValidate captures enum value "migrate-validate"
	PowerEdgeRouterActionActionMigrateDashValidate string = "migrate-validate"
)
View Source
const (

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

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

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

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

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

	// RouteAdvertiseEnable captures enum value "enable"
	RouteAdvertiseEnable string = "enable"

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

	// RouteStateDefined captures enum value "defined"
	RouteStateDefined string = "defined"

	// RouteStateDeployed captures enum value "deployed"
	RouteStateDeployed string = "deployed"

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

	// RouteCreateAdvertiseEnable captures enum value "enable"
	RouteCreateAdvertiseEnable string = "enable"

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

	// RouteFilterActionAllow captures enum value "allow"
	RouteFilterActionAllow string = "allow"

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

	// RouteFilterDirectionImport captures enum value "import"
	RouteFilterDirectionImport string = "import"

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

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

	// RouteFilterStateConfiguring captures enum value "configuring"
	RouteFilterStateConfiguring string = "configuring"

	// RouteFilterStateRemoving captures enum value "removing"
	RouteFilterStateRemoving string = "removing"

	// RouteFilterStateError captures enum value "error"
	RouteFilterStateError string = "error"

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

	// RouteFilterCreateActionAllow captures enum value "allow"
	RouteFilterCreateActionAllow string = "allow"

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

	// RouteFilterCreateDirectionImport captures enum value "import"
	RouteFilterCreateDirectionImport string = "import"

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

	// RouteUpdateAdvertiseEnable captures enum value "enable"
	RouteUpdateAdvertiseEnable string = "enable"

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

	// SAPCreateSapHANAAffinityActionFail captures enum value "fail"
	SAPCreateSapHANAAffinityActionFail string = "fail"

	// SAPCreateSapHANAAffinityActionWarn captures enum value "warn"
	SAPCreateSapHANAAffinityActionWarn string = "warn"

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

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

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

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

	// SAPProfileTypeUltraDashMemory captures enum value "ultra-memory"
	SAPProfileTypeUltraDashMemory string = "ultra-memory"

	// SAPProfileTypeSmall captures enum value "small"
	SAPProfileTypeSmall string = "small"

	// SAPProfileTypeSapDashRise captures enum value "sap-rise"
	SAPProfileTypeSapDashRise string = "sap-rise"

	// SAPProfileTypeSapDashRiseDashApp captures enum value "sap-rise-app"
	SAPProfileTypeSapDashRiseDashApp string = "sap-rise-app"
)
View Source
const (

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// UpdateWorkspaceSSHKeyVisibilityAccount captures enum value "account"
	UpdateWorkspaceSSHKeyVisibilityAccount string = "account"

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

	// VPNConnectionModePolicy captures enum value "policy"
	VPNConnectionModePolicy string = "policy"

	// VPNConnectionModeRoute captures enum value "route"
	VPNConnectionModeRoute string = "route"
)
View Source
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"
)
View Source
const (

	// VPNConnectionCreateModePolicy captures enum value "policy"
	VPNConnectionCreateModePolicy string = "policy"

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

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

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

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

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

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

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

	// WorkspaceTypeOffDashPremises captures enum value "off-premises"
	WorkspaceTypeOffDashPremises string = "off-premises"

	// WorkspaceTypeOnDashPremises captures enum value "on-premises"
	WorkspaceTypeOnDashPremises string = "on-premises"
)
View Source
const (

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

	// WorkspaceNetworkSecurityGroupsDetailsStateError captures enum value "error"
	WorkspaceNetworkSecurityGroupsDetailsStateError string = "error"

	// WorkspaceNetworkSecurityGroupsDetailsStateConfiguring captures enum value "configuring"
	WorkspaceNetworkSecurityGroupsDetailsStateConfiguring string = "configuring"

	// WorkspaceNetworkSecurityGroupsDetailsStateRemoving captures enum value "removing"
	WorkspaceNetworkSecurityGroupsDetailsStateRemoving string = "removing"

	// WorkspaceNetworkSecurityGroupsDetailsStateInactive captures enum value "inactive"
	WorkspaceNetworkSecurityGroupsDetailsStateInactive string = "inactive"

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

	// WorkspacePowerEdgeRouterDetailsMigrationStatusIntializing captures enum value "intializing"
	WorkspacePowerEdgeRouterDetailsMigrationStatusIntializing string = "intializing"

	// WorkspacePowerEdgeRouterDetailsMigrationStatusMigrating captures enum value "migrating"
	WorkspacePowerEdgeRouterDetailsMigrationStatusMigrating string = "migrating"

	// WorkspacePowerEdgeRouterDetailsMigrationStatusDeleted captures enum value "deleted"
	WorkspacePowerEdgeRouterDetailsMigrationStatusDeleted string = "deleted"

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

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

	// WorkspacePowerEdgeRouterDetailsStateError captures enum value "error"
	WorkspacePowerEdgeRouterDetailsStateError string = "error"

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

	// WorkspacePowerEdgeRouterDetailsStateConfiguring captures enum value "configuring"
	WorkspacePowerEdgeRouterDetailsStateConfiguring string = "configuring"

	// WorkspacePowerEdgeRouterDetailsStateRemoving captures enum value "removing"
	WorkspacePowerEdgeRouterDetailsStateRemoving string = "removing"

	// WorkspacePowerEdgeRouterDetailsStateInactive captures enum value "inactive"
	WorkspacePowerEdgeRouterDetailsStateInactive string = "inactive"

	// WorkspacePowerEdgeRouterDetailsStateUserDashValidation captures enum value "user-validation"
	WorkspacePowerEdgeRouterDetailsStateUserDashValidation string = "user-validation"

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

	// WorkspacePowerEdgeRouterDetailsTypeAutomated captures enum value "automated"
	WorkspacePowerEdgeRouterDetailsTypeAutomated string = "automated"

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

	// WorkspaceSSHKeyVisibilityAccount captures enum value "account"
	WorkspaceSSHKeyVisibilityAccount string = "account"

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

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

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

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

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

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

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

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

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

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

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

	// RouteCreateDestinationTypeIPv4DashAddress captures enum value "ipv4-address"
	RouteCreateDestinationTypeIPv4DashAddress string = "ipv4-address"
)
View Source
const (

	// RouteCreateNextHopTypeIPv4DashAddress captures enum value "ipv4-address"
	RouteCreateNextHopTypeIPv4DashAddress string = "ipv4-address"
)
View Source
const (

	// RouteDestinationTypeIPv4DashAddress captures enum value "ipv4-address"
	RouteDestinationTypeIPv4DashAddress string = "ipv4-address"
)
View Source
const (

	// RouteNextHopTypeIPv4DashAddress captures enum value "ipv4-address"
	RouteNextHopTypeIPv4DashAddress string = "ipv4-address"
)
View Source
const (

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

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

	// RouteUpdateDestinationTypeIPv4DashAddress captures enum value "ipv4-address"
	RouteUpdateDestinationTypeIPv4DashAddress string = "ipv4-address"
)
View Source
const (

	// RouteUpdateNextHopTypeIPv4DashAddress captures enum value "ipv4-address"
	RouteUpdateNextHopTypeIPv4DashAddress string = "ipv4-address"
)
View Source
const (

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessConfig added in v1.3.0

type AccessConfig string

AccessConfig [DEPRECATED] Network communication configuration (for satellite locations only)

  • `internal-only` - network is only used for internal host communication
  • `outbound-only` - network will be capable of egress traffic
  • `bidirectional-static-route` - network will be capable of ingress and egress traffic via static routes
  • `bidirectional-bgp` - network will be capable of ingress and egress traffic via bgp configuration
  • `bidirectional-l2out` - network will be capable of ingress and egress traffic via l2out ACI configuration

swagger:model AccessConfig

const (

	// AccessConfigInternalDashOnly captures enum value "internal-only"
	AccessConfigInternalDashOnly AccessConfig = "internal-only"

	// AccessConfigOutboundDashOnly captures enum value "outbound-only"
	AccessConfigOutboundDashOnly AccessConfig = "outbound-only"

	// AccessConfigBidirectionalDashStaticDashRoute captures enum value "bidirectional-static-route"
	AccessConfigBidirectionalDashStaticDashRoute AccessConfig = "bidirectional-static-route"

	// AccessConfigBidirectionalDashBgp captures enum value "bidirectional-bgp"
	AccessConfigBidirectionalDashBgp AccessConfig = "bidirectional-bgp"

	// AccessConfigBidirectionalDashL2out captures enum value "bidirectional-l2out"
	AccessConfigBidirectionalDashL2out AccessConfig = "bidirectional-l2out"
)

func NewAccessConfig added in v1.3.0

func NewAccessConfig(value AccessConfig) *AccessConfig

func (AccessConfig) ContextValidate added in v1.3.0

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

ContextValidate validates this access config based on context it is used

func (AccessConfig) Pointer added in v1.3.0

func (m AccessConfig) Pointer() *AccessConfig

Pointer returns a pointer to a freshly-allocated AccessConfig.

func (AccessConfig) Validate added in v1.3.0

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

Validate validates this access config

type AccessRole added in v1.1.10

type AccessRole struct {

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

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

AccessRole access role

swagger:model AccessRole

func (*AccessRole) ContextValidate added in v1.1.10

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

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

func (*AccessRole) MarshalBinary added in v1.1.10

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

MarshalBinary interface implementation

func (*AccessRole) UnmarshalBinary added in v1.1.10

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

UnmarshalBinary interface implementation

func (*AccessRole) Validate added in v1.1.10

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

Validate validates this access role

type AccessToken

type AccessToken struct {

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

AccessToken access token

swagger:model AccessToken

func (*AccessToken) ContextValidate added in v1.1.0

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

ContextValidate validates this access token based on context it is used

func (*AccessToken) MarshalBinary

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

MarshalBinary interface implementation

func (*AccessToken) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccessToken) Validate

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

Validate validates this access token

type AddHost added in v1.7.0

type AddHost struct {

	// Name of the host chosen by the user
	// Required: true
	// Max Length: 32
	// Min Length: 2
	// Pattern: ^[A-Za-z0-9](?:[A-Za-z0-9_-]{0,30}[A-Za-z0-9])?$
	DisplayName *string `json:"displayName"`

	// System type
	// Required: true
	SysType *string `json:"sysType"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

AddHost Host to add to a host group

swagger:model AddHost

func (*AddHost) ContextValidate added in v1.7.0

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

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

func (*AddHost) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*AddHost) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*AddHost) Validate added in v1.7.0

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

Validate validates this add host

type AddServerVirtualSerialNumber added in v1.9.0

type AddServerVirtualSerialNumber struct {

	// Description of the Virtual Serial Number
	Description string `json:"description,omitempty"`

	// Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
	// Required: true
	Serial *string `json:"serial"`
}

AddServerVirtualSerialNumber add server virtual serial number

swagger:model AddServerVirtualSerialNumber

func (*AddServerVirtualSerialNumber) ContextValidate added in v1.9.0

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

ContextValidate validates this add server virtual serial number based on context it is used

func (*AddServerVirtualSerialNumber) MarshalBinary added in v1.9.0

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

MarshalBinary interface implementation

func (*AddServerVirtualSerialNumber) UnmarshalBinary added in v1.9.0

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

UnmarshalBinary interface implementation

func (*AddServerVirtualSerialNumber) Validate added in v1.9.0

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

Validate validates this add server virtual serial number

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

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

ContextValidate validates this async operation based on context it is used

func (*AsyncOperation) MarshalBinary

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

MarshalBinary interface implementation

func (*AsyncOperation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AsyncOperation) Validate

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

Validate validates this async operation

type AuxiliaryVolumeForOnboarding added in v1.1.10

type AuxiliaryVolumeForOnboarding struct {

	// auxiliary volume name at storage host level
	// Required: true
	AuxVolumeName *string `json:"auxVolumeName"`

	// display name of auxVolumeName once onboarded,auxVolumeName will be set to display name if not provided.
	// Max Length: 120
	// Pattern: ^[\s]*[A-Za-z0-9:_.\-][A-Za-z0-9\s:_.\-]*$
	Name string `json:"name,omitempty"`
}

AuxiliaryVolumeForOnboarding auxiliary volume for onboarding

swagger:model AuxiliaryVolumeForOnboarding

func (*AuxiliaryVolumeForOnboarding) ContextValidate added in v1.1.10

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

ContextValidate validates this auxiliary volume for onboarding based on context it is used

func (*AuxiliaryVolumeForOnboarding) MarshalBinary added in v1.1.10

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

MarshalBinary interface implementation

func (*AuxiliaryVolumeForOnboarding) UnmarshalBinary added in v1.1.10

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

UnmarshalBinary interface implementation

func (*AuxiliaryVolumeForOnboarding) Validate added in v1.1.10

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

Validate validates this auxiliary volume for onboarding

type AuxiliaryVolumesForOnboarding added in v1.1.10

type AuxiliaryVolumesForOnboarding struct {

	// auxiliary volumes
	// Required: true
	AuxiliaryVolumes []*AuxiliaryVolumeForOnboarding `json:"auxiliaryVolumes"`

	// CRN of source ServiceBroker instance from where auxiliary volumes need to be onboarded
	// Required: true
	SourceCRN *string `json:"sourceCRN"`
}

AuxiliaryVolumesForOnboarding auxiliary volumes for onboarding

swagger:model AuxiliaryVolumesForOnboarding

func (*AuxiliaryVolumesForOnboarding) ContextValidate added in v1.1.10

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

ContextValidate validate this auxiliary volumes for onboarding based on the context it is used

func (*AuxiliaryVolumesForOnboarding) MarshalBinary added in v1.1.10

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

MarshalBinary interface implementation

func (*AuxiliaryVolumesForOnboarding) UnmarshalBinary added in v1.1.10

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

UnmarshalBinary interface implementation

func (*AuxiliaryVolumesForOnboarding) Validate added in v1.1.10

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

Validate validates this auxiliary volumes for onboarding

type AvailableHost added in v1.7.0

type AvailableHost struct {

	// Resource capacities for that system type and configuration
	Capacity *AvailableHostCapacity `json:"capacity,omitempty"`

	// How many hosts of such type/capacities are available
	Count int64 `json:"count,omitempty"`

	// System type
	SysType string `json:"sysType,omitempty"`
}

AvailableHost Reservable host description

swagger:model AvailableHost

func (*AvailableHost) ContextValidate added in v1.7.0

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

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

func (*AvailableHost) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*AvailableHost) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*AvailableHost) Validate added in v1.7.0

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

Validate validates this available host

type AvailableHostCapacity added in v1.7.0

type AvailableHostCapacity struct {

	// Core capacity of the host
	Cores *AvailableHostResourceCapacity `json:"cores,omitempty"`

	// Memory capacity of the host (in GiB)
	Memory *AvailableHostResourceCapacity `json:"memory,omitempty"`
}

AvailableHostCapacity available host capacity

swagger:model AvailableHostCapacity

func (*AvailableHostCapacity) ContextValidate added in v1.7.0

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

ContextValidate validate this available host capacity based on the context it is used

func (*AvailableHostCapacity) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*AvailableHostCapacity) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*AvailableHostCapacity) Validate added in v1.7.0

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

Validate validates this available host capacity

type AvailableHostList added in v1.7.0

type AvailableHostList map[string]AvailableHost

AvailableHostList available host list

swagger:model AvailableHostList

func (AvailableHostList) ContextValidate added in v1.7.0

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

ContextValidate validate this available host list based on the context it is used

func (AvailableHostList) Validate added in v1.7.0

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

Validate validates this available host list

type AvailableHostResourceCapacity added in v1.7.0

type AvailableHostResourceCapacity struct {

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

AvailableHostResourceCapacity available host resource capacity

swagger:model AvailableHostResourceCapacity

func (*AvailableHostResourceCapacity) ContextValidate added in v1.7.0

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

ContextValidate validates this available host resource capacity based on context it is used

func (*AvailableHostResourceCapacity) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*AvailableHostResourceCapacity) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*AvailableHostResourceCapacity) Validate added in v1.7.0

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

Validate validates this available host resource capacity

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

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

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

func (AvailableStockImages) Validate

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

Validate validates this available stock images

type CRN added in v1.8.1

type CRN string

CRN The CRN for this resource

swagger:model CRN

func (CRN) ContextValidate added in v1.8.1

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

ContextValidate validates this c r n based on context it is used

func (CRN) Validate added in v1.8.1

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

Validate validates this c r n

type CapabilitiesDetails added in v1.8.1

type CapabilitiesDetails struct {

	// Disaster Recovery Information
	// Required: true
	DisasterRecovery *DisasterRecovery `json:"disasterRecovery"`

	// Datacenter System Types Information
	// Required: true
	SupportedSystems *SupportedSystems `json:"supportedSystems"`
}

CapabilitiesDetails capabilities details

swagger:model CapabilitiesDetails

func (*CapabilitiesDetails) ContextValidate added in v1.8.1

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

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

func (*CapabilitiesDetails) MarshalBinary added in v1.8.1

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

MarshalBinary interface implementation

func (*CapabilitiesDetails) UnmarshalBinary added in v1.8.1

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

UnmarshalBinary interface implementation

func (*CapabilitiesDetails) Validate added in v1.8.1

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

Validate validates this capabilities details

type Catalog

type Catalog struct {

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

Catalog catalog

swagger:model Catalog

func (*Catalog) ContextValidate added in v1.1.0

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

ContextValidate validate this catalog based on the context it is used

func (*Catalog) MarshalBinary

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

MarshalBinary interface implementation

func (*Catalog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Catalog) Validate

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

Validate validates this catalog

type CloneTaskReference added in v1.0.46

type CloneTaskReference struct {

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

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

CloneTaskReference clone task reference

swagger:model CloneTaskReference

func (*CloneTaskReference) ContextValidate added in v1.1.0

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

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

func (*CloneTaskReference) MarshalBinary 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

func (*CloneTaskReference) Validate added in v1.0.46

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

Validate validates this clone task reference

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

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

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

func (*CloneTaskStatus) MarshalBinary 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

func (*CloneTaskStatus) Validate added in v1.0.46

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

Validate validates this clone task status

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

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

ContextValidate validates this cloned volume based on context it is used

func (*ClonedVolume) MarshalBinary 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

func (*ClonedVolume) Validate added in v1.0.46

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

Validate validates this cloned volume

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

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

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

func (*ClonedVolumeDetail) MarshalBinary 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

func (*ClonedVolumeDetail) Validate added in v1.0.48

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

Validate validates this cloned volume detail

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"`

	// type of service the gateway is attached to
	ConnectionMode string `json:"connectionMode,omitempty"`

	// 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

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

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

func (*CloudConnection) Validate added in v1.0.51

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

Validate validates this cloud connection

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"`

	// enable transit gateway for this cloud connection (default=false)
	TransitEnabled bool `json:"transitEnabled,omitempty"`

	// vpc
	Vpc *CloudConnectionEndpointVPC `json:"vpc,omitempty"`
}

CloudConnectionCreate cloud connection create

swagger:model CloudConnectionCreate

func (*CloudConnectionCreate) ContextValidate added in v1.1.0

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

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

func (*CloudConnectionCreate) Validate added in v1.0.51

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

Validate validates this cloud connection create

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

func (*CloudConnectionCreateResponse) Validate added in v1.0.75

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

Validate validates this cloud connection create response

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

func (*CloudConnectionEndpointClassic) Validate added in v1.0.51

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

Validate validates this cloud connection endpoint classic

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

func (*CloudConnectionEndpointClassicUpdate) Validate added in v1.0.56

Validate validates this cloud connection endpoint classic update

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

func (*CloudConnectionEndpointVPC) Validate added in v1.0.51

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

Validate validates this cloud connection endpoint v p c

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

func (*CloudConnectionGRETunnel) Validate added in v1.0.54

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

Validate validates this cloud connection g r e tunnel

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

func (*CloudConnectionGRETunnelCreate) Validate added in v1.0.56

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

Validate validates this cloud connection g r e tunnel create

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

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

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

func (*CloudConnectionUpdate) Validate added in v1.0.51

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

Validate validates this cloud connection update

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

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

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

func (*CloudConnectionVPC) Validate added in v1.0.51

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

Validate validates this cloud connection v p c

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

func (*CloudConnectionVirtualPrivateCloud) Validate added in v1.0.51

Validate validates this cloud connection virtual private cloud

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

func (*CloudConnectionVirtualPrivateClouds) Validate added in v1.0.51

Validate validates this cloud connection virtual private clouds

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

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

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

func (*CloudConnections) Validate added in v1.0.51

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

Validate validates this cloud connections

type CloudInitialization added in v1.5.3

type CloudInitialization struct {

	// Virtual Machine's Cloud Initialization Virtual Optical Device
	// Enum: ["attach","detach"]
	VirtualOpticalDevice string `json:"virtualOpticalDevice,omitempty"`
}

CloudInitialization cloud initialization

swagger:model CloudInitialization

func (*CloudInitialization) ContextValidate added in v1.5.3

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

ContextValidate validates this cloud initialization based on context it is used

func (*CloudInitialization) MarshalBinary added in v1.5.3

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

MarshalBinary interface implementation

func (*CloudInitialization) UnmarshalBinary added in v1.5.3

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

UnmarshalBinary interface implementation

func (*CloudInitialization) Validate added in v1.5.3

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

Validate validates this cloud initialization

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

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

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

func (*CloudInstance) MarshalBinary

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

MarshalBinary interface implementation

func (*CloudInstance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CloudInstance) Validate

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

Validate validates this cloud instance

type CloudInstanceCreate

type CloudInstanceCreate struct {

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

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

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

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

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

	// Amount of storage allowed (TiB)
	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

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

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

func (*CloudInstanceCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*CloudInstanceCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CloudInstanceCreate) Validate

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

Validate validates this cloud instance create

type CloudInstanceReference

type CloudInstanceReference struct {

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

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

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

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

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

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

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

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

CloudInstanceReference cloud instance reference

swagger:model CloudInstanceReference

func (*CloudInstanceReference) ContextValidate 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

func (*CloudInstanceReference) Validate

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

Validate validates this cloud instance reference

type CloudInstanceSharedImages added in v1.14.0

type CloudInstanceSharedImages struct {

	// Allow images from this Cloud Instance to be shared
	SharedImages bool `json:"sharedImages,omitempty"`
}

CloudInstanceSharedImages cloud instance shared images

swagger:model CloudInstanceSharedImages

func (*CloudInstanceSharedImages) ContextValidate added in v1.14.0

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

ContextValidate validates this cloud instance shared images based on context it is used

func (*CloudInstanceSharedImages) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*CloudInstanceSharedImages) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*CloudInstanceSharedImages) Validate added in v1.14.0

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

Validate validates this cloud instance shared images

type CloudInstanceSharedImagesResponse added in v1.15.0

type CloudInstanceSharedImagesResponse struct {

	// Allow images from this Cloud Instance to be shared
	// Required: true
	SharedImages *bool `json:"sharedImages"`
}

CloudInstanceSharedImagesResponse cloud instance shared images response

swagger:model CloudInstanceSharedImagesResponse

func (*CloudInstanceSharedImagesResponse) ContextValidate added in v1.15.0

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

ContextValidate validates this cloud instance shared images response based on context it is used

func (*CloudInstanceSharedImagesResponse) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*CloudInstanceSharedImagesResponse) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*CloudInstanceSharedImagesResponse) Validate added in v1.15.0

Validate validates this cloud instance shared images response

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 (TiB)
	Storage *float64 `json:"storage,omitempty"`
}

CloudInstanceUpdate cloud instance update

swagger:model CloudInstanceUpdate

func (*CloudInstanceUpdate) ContextValidate added in v1.1.0

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

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

func (*CloudInstanceUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*CloudInstanceUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CloudInstanceUpdate) Validate

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

Validate validates this cloud instance update

type CloudInstanceUsageLimits

type CloudInstanceUsageLimits struct {

	// Maximum memory (in GiB) 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 (TiB)
	// Required: true
	Storage *float64 `json:"storage"`

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

	// Amount of standard (HDD) storage allowed (TiB)
	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

func (*CloudInstanceUsageLimits) Validate

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

Validate validates this cloud instance usage limits

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

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

ContextValidate validates this console language based on context it is used

func (*ConsoleLanguage) MarshalBinary 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

func (*ConsoleLanguage) Validate added in v1.0.75

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

Validate validates this console language

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

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

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

func (*ConsoleLanguages) MarshalBinary 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

func (*ConsoleLanguages) Validate added in v1.0.75

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

Validate validates this console languages

type Context

type Context any

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"`

	// Import and Check checksum file
	Checksum bool `json:"checksum,omitempty"`

	// 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"`

	// Import details for SAP images
	ImportDetails *ImageImportDetails `json:"importDetails,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 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 storageAffinity will be ignored
	StoragePool string `json:"storagePool,omitempty"`

	// Type of storage; If only using storageType for storage selection then the storage pool with the most available space will be selected if storageType is not provided the storage type will default to 'tier3'.
	StorageType string `json:"storageType,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,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

func (*CreateCosImageImportJob) Validate added in v1.0.75

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

Validate validates this create cos image import job

type CreateDataVolume

type CreateDataVolume struct {

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

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

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

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

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

	// Type of Disk; if diskType is not provided the disk type will default to 'tier3'.
	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"`

	// List of replication site for volume replication
	ReplicationSites []string `json:"replicationSites,omitempty"`

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

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

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

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

CreateDataVolume create data volume

swagger:model CreateDataVolume

func (*CreateDataVolume) ContextValidate added in v1.1.0

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

ContextValidate validate this create data volume based on the context it is used

func (*CreateDataVolume) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateDataVolume) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateDataVolume) Validate

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

Validate validates this create data volume

type CreateImage

type CreateImage struct {

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

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

	// Type of Disk; if diskType is not provided the disk type will default to 'tier3'. Used only when importing an image from cloud storage.
	DiskType string `json:"diskType,omitempty"`

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

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

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

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

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

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

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

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

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

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

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

CreateImage create image

swagger:model CreateImage

func (*CreateImage) ContextValidate added in v1.1.0

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

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

func (*CreateImage) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateImage) Validate

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

Validate validates this create image

type CreateServerVirtualSerialNumber added in v1.9.0

type CreateServerVirtualSerialNumber struct {

	// Description of the Virtual Serial Number
	Description string `json:"description,omitempty"`

	// Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
	// Required: true
	Serial *string `json:"serial"`

	// software tier
	SoftwareTier SoftwareTier `json:"softwareTier,omitempty"`
}

CreateServerVirtualSerialNumber create server virtual serial number

swagger:model CreateServerVirtualSerialNumber

func (*CreateServerVirtualSerialNumber) ContextValidate added in v1.9.0

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

ContextValidate validate this create server virtual serial number based on the context it is used

func (*CreateServerVirtualSerialNumber) MarshalBinary added in v1.9.0

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

MarshalBinary interface implementation

func (*CreateServerVirtualSerialNumber) UnmarshalBinary added in v1.9.0

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

UnmarshalBinary interface implementation

func (*CreateServerVirtualSerialNumber) Validate added in v1.9.0

Validate validates this create server virtual serial number

type CreateWorkspaceSSHKey added in v1.12.0

type CreateWorkspaceSSHKey struct {

	// Description of the sshkey
	Description string `json:"description,omitempty" datastore:"description"`

	// User defined name for the SSH key
	// Required: true
	// Max Length: 128
	// Pattern: ^[A-Za-z0-9-_]+(?: +[A-Za-z0-9-_]+)*$
	Name *string `json:"name" datastore:"name"`

	// SSH RSA key
	// Required: true
	SSHKey *string `json:"sshKey" datastore:"sshKey"`

	// Visibility of the sshkey; workspace suggests ssh-key is only accessible in a workspace, account suggests ssh-key is accessible throughout an account
	// Enum: ["account","workspace"]
	Visibility *string `json:"visibility,omitempty" datastore:"visibility"`
}

CreateWorkspaceSSHKey create workspace SSH key

swagger:model CreateWorkspaceSSHKey

func (*CreateWorkspaceSSHKey) ContextValidate added in v1.12.0

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

ContextValidate validates this create workspace SSH key based on context it is used

func (*CreateWorkspaceSSHKey) MarshalBinary added in v1.12.0

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

MarshalBinary interface implementation

func (*CreateWorkspaceSSHKey) UnmarshalBinary added in v1.12.0

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

UnmarshalBinary interface implementation

func (*CreateWorkspaceSSHKey) Validate added in v1.12.0

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

Validate validates this create workspace SSH key

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

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

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

func (*DHCPServer) MarshalBinary 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

func (*DHCPServer) Validate added in v1.0.75

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

Validate validates this d h c p server

type DHCPServerCreate added in v1.1.2

type DHCPServerCreate struct {

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

	// Optional cloud connection uuid to connect with DHCP private network
	CloudConnectionID *string `json:"cloudConnectionID,omitempty"`

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

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

	// Optional network security groups that the DHCP server network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
	NetworkSecurityGroupIDs []string `json:"networkSecurityGroupIDs"`

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

DHCPServerCreate d h c p server create

swagger:model DHCPServerCreate

func (*DHCPServerCreate) ContextValidate added in v1.1.2

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

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

func (*DHCPServerCreate) MarshalBinary 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

func (*DHCPServerCreate) Validate added in v1.1.2

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

Validate validates this d h c p server create

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

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

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

func (*DHCPServerDetail) MarshalBinary 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

func (*DHCPServerDetail) Validate added in v1.0.76

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

Validate validates this d h c p server detail

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

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

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

func (*DHCPServerLeases) MarshalBinary 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

func (*DHCPServerLeases) Validate added in v1.0.75

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

Validate validates this d h c p server leases

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"`

	// The ID of the network interface
	NetworkInterfaceID string `json:"networkInterfaceID,omitempty"`

	// Links to the network security groups that the network interface is a member of
	NetworkSecurityGroupsHref []string `json:"networkSecurityGroupsHref,omitempty"`
}

DHCPServerNetwork d h c p server network

swagger:model DHCPServerNetwork

func (*DHCPServerNetwork) ContextValidate added in v1.1.0

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

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

func (*DHCPServerNetwork) MarshalBinary 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

func (*DHCPServerNetwork) Validate added in v1.0.75

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

Validate validates this d h c p server network

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

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

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

func (DHCPServers) Validate added in v1.0.75

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

Validate validates this d h c p servers

type DashboardClient

type DashboardClient struct {

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

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

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

DashboardClient dashboard client

swagger:model DashboardClient

func (*DashboardClient) ContextValidate added in v1.1.0

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

ContextValidate validates this dashboard client based on context it is used

func (*DashboardClient) MarshalBinary

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

MarshalBinary interface implementation

func (*DashboardClient) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DashboardClient) Validate

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

Validate validates this dashboard client

type Datacenter added in v1.5.0

type Datacenter struct {

	// Datacenter Capabilities
	// Required: true
	Capabilities map[string]bool `json:"capabilities"`

	// Additional Datacenter Capabilities Details
	CapabilitiesDetails *CapabilitiesDetails `json:"capabilitiesDetails,omitempty"`

	// Link to Datacenter Region
	Href string `json:"href,omitempty"`

	// The Datacenter location
	// Required: true
	Location *DatacenterLocation `json:"location"`

	// The Datacenter status
	// Required: true
	// Enum: ["active","maintenance","down"]
	Status *string `json:"status"`

	// The Datacenter type
	// Required: true
	// Enum: ["off-premises","on-premises"]
	Type *string `json:"type"`
}

Datacenter datacenter

swagger:model Datacenter

func (*Datacenter) ContextValidate added in v1.5.0

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

ContextValidate validate this datacenter based on the context it is used

func (*Datacenter) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*Datacenter) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*Datacenter) Validate added in v1.5.0

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

Validate validates this datacenter

type DatacenterLocation added in v1.5.0

type DatacenterLocation struct {

	// The IBM Cloud Region of the datacenter (e.g., dal, wdc, fra, tok, mon)
	// Example: dal
	CloudRegion string `json:"cloudRegion,omitempty"`

	// The Datacenter location region zone
	// Required: true
	Region *string `json:"region"`

	// The Datacenter location region display name
	// Required: true
	RegionDisplayName *string `json:"regionDisplayName"`

	// The Datacenter location region type
	// Required: true
	Type *string `json:"type"`

	// The Datacenter location region url
	// Required: true
	URL *string `json:"url"`
}

DatacenterLocation datacenter location

swagger:model DatacenterLocation

func (*DatacenterLocation) ContextValidate added in v1.5.0

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

ContextValidate validates this datacenter location based on context it is used

func (*DatacenterLocation) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*DatacenterLocation) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*DatacenterLocation) Validate added in v1.5.0

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

Validate validates this datacenter location

type Datacenters added in v1.5.0

type Datacenters struct {

	// Power Systems Virtual Server available Datacenters
	// Required: true
	Datacenters []*Datacenter `json:"datacenters"`
}

Datacenters datacenters

swagger:model Datacenters

func (*Datacenters) ContextValidate added in v1.5.0

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

ContextValidate validate this datacenters based on the context it is used

func (*Datacenters) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*Datacenters) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*Datacenters) Validate added in v1.5.0

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

Validate validates this datacenters

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

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

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

func (*DeadPeerDetection) Validate added in v1.0.75

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

Validate validates this dead peer detection

type DeleteServerVirtualSerialNumber added in v1.9.0

type DeleteServerVirtualSerialNumber struct {

	// Indicates if the Virtual Serial Number attached to a PVM Instance is retained or not
	RetainVSN bool `json:"retainVSN,omitempty"`
}

DeleteServerVirtualSerialNumber delete server virtual serial number

swagger:model DeleteServerVirtualSerialNumber

func (*DeleteServerVirtualSerialNumber) ContextValidate added in v1.9.0

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

ContextValidate validates this delete server virtual serial number based on context it is used

func (*DeleteServerVirtualSerialNumber) MarshalBinary added in v1.9.0

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

MarshalBinary interface implementation

func (*DeleteServerVirtualSerialNumber) UnmarshalBinary added in v1.9.0

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

UnmarshalBinary interface implementation

func (*DeleteServerVirtualSerialNumber) Validate added in v1.9.0

Validate validates this delete server virtual serial number

type DeploymentTarget added in v1.7.0

type DeploymentTarget struct {

	// The uuid of the host group or host
	// Required: true
	ID *string `json:"id"`

	// specify if deploying to a host group or a host
	// Required: true
	// Enum: ["hostGroup","host"]
	Type *string `json:"type"`
}

DeploymentTarget deployment target

swagger:model DeploymentTarget

func (*DeploymentTarget) ContextValidate added in v1.7.0

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

ContextValidate validates this deployment target based on context it is used

func (*DeploymentTarget) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*DeploymentTarget) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*DeploymentTarget) Validate added in v1.7.0

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

Validate validates this deployment target

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

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

ContextValidate validates this device code based on context it is used

func (*DeviceCode) MarshalBinary

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

MarshalBinary interface implementation

func (*DeviceCode) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeviceCode) Validate

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

Validate validates this device code

type DisasterRecovery added in v1.8.1

type DisasterRecovery struct {

	// Asynchronous Replication Target Information
	// Required: true
	AsynchronousReplication *ReplicationService `json:"asynchronousReplication"`

	// Synchronous Replication Target Information
	SynchronousReplication *ReplicationService `json:"synchronousReplication,omitempty"`
}

DisasterRecovery disaster recovery

swagger:model DisasterRecovery

func (*DisasterRecovery) ContextValidate added in v1.8.1

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

ContextValidate validate this disaster recovery based on the context it is used

func (*DisasterRecovery) MarshalBinary added in v1.8.1

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

MarshalBinary interface implementation

func (*DisasterRecovery) UnmarshalBinary added in v1.8.1

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

UnmarshalBinary interface implementation

func (*DisasterRecovery) Validate added in v1.8.1

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

Validate validates this disaster recovery

type DisasterRecoveryLocation added in v1.1.10

type DisasterRecoveryLocation struct {

	// regionZone of a site
	Location string `json:"location,omitempty"`

	// The list of replication sites has mapped for the given location
	ReplicationSites ReplicationSites `json:"replicationSites,omitempty"`
}

DisasterRecoveryLocation disaster recovery location

swagger:model DisasterRecoveryLocation

func (*DisasterRecoveryLocation) ContextValidate added in v1.1.10

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

ContextValidate validate this disaster recovery location based on the context it is used

func (*DisasterRecoveryLocation) MarshalBinary added in v1.1.10

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

MarshalBinary interface implementation

func (*DisasterRecoveryLocation) UnmarshalBinary added in v1.1.10

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

UnmarshalBinary interface implementation

func (*DisasterRecoveryLocation) Validate added in v1.1.10

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

Validate validates this disaster recovery location

type DisasterRecoveryLocations added in v1.1.10

type DisasterRecoveryLocations struct {

	// The list of Disaster Recovery Locations
	// Required: true
	DisasterRecoveryLocations []*DisasterRecoveryLocation `json:"disasterRecoveryLocations"`
}

DisasterRecoveryLocations disaster recovery locations

swagger:model DisasterRecoveryLocations

func (*DisasterRecoveryLocations) ContextValidate added in v1.1.10

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

ContextValidate validate this disaster recovery locations based on the context it is used

func (*DisasterRecoveryLocations) MarshalBinary added in v1.1.10

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

MarshalBinary interface implementation

func (*DisasterRecoveryLocations) UnmarshalBinary added in v1.1.10

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

UnmarshalBinary interface implementation

func (*DisasterRecoveryLocations) Validate added in v1.1.10

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

Validate validates this disaster recovery locations

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

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Event

type Event struct {

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

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

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

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

	// Any metadata associated with the event
	Metadata any `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

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

ContextValidate validate this event based on the context it is used

func (*Event) MarshalBinary

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type EventUser

type EventUser struct {

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

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

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

EventUser event user

swagger:model EventUser

func (*EventUser) ContextValidate added in v1.1.0

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

ContextValidate validates this event user based on context it is used

func (*EventUser) MarshalBinary

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

MarshalBinary interface implementation

func (*EventUser) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EventUser) Validate

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

Validate validates this event user

type Events

type Events struct {

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

Events events

swagger:model Events

func (*Events) ContextValidate added in v1.1.0

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

ContextValidate validate this events based on the context it is used

func (*Events) MarshalBinary

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

MarshalBinary interface implementation

func (*Events) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Events) Validate

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

Validate validates this events

type ExportImage

type ExportImage struct {

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

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

	// Create a checksum filename
	Checksum bool `json:"checksum,omitempty"`

	// 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

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

ContextValidate validates this export image based on context it is used

func (*ExportImage) MarshalBinary

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

MarshalBinary interface implementation

func (*ExportImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExportImage) Validate

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

Validate validates this export image

type FlashCopyMapping added in v1.1.8

type FlashCopyMapping struct {

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

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

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

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

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

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

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

FlashCopyMapping flash copy mapping

swagger:model FlashCopyMapping

func (*FlashCopyMapping) ContextValidate added in v1.1.8

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

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

func (*FlashCopyMapping) MarshalBinary added in v1.1.8

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

MarshalBinary interface implementation

func (*FlashCopyMapping) UnmarshalBinary added in v1.1.8

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

UnmarshalBinary interface implementation

func (*FlashCopyMapping) Validate added in v1.1.8

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

Validate validates this flash copy mapping

type FlashCopyMappings added in v1.1.8

type FlashCopyMappings []*FlashCopyMapping

FlashCopyMappings flash copy mappings

swagger:model FlashCopyMappings

func (FlashCopyMappings) ContextValidate added in v1.1.8

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

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

func (FlashCopyMappings) Validate added in v1.1.8

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

Validate validates this flash copy mappings

type GetBulkVolume added in v1.8.1

type GetBulkVolume struct {

	// List of volumes to be fetched
	// Required: true
	VolumeList []string `json:"volumeList"`
}

GetBulkVolume get bulk volume

swagger:model GetBulkVolume

func (*GetBulkVolume) ContextValidate added in v1.8.1

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

ContextValidate validates this get bulk volume based on context it is used

func (*GetBulkVolume) MarshalBinary added in v1.8.1

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

MarshalBinary interface implementation

func (*GetBulkVolume) UnmarshalBinary added in v1.8.1

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

UnmarshalBinary interface implementation

func (*GetBulkVolume) Validate added in v1.8.1

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

Validate validates this get bulk volume

type GetServerVirtualSerialNumber added in v1.9.0

type GetServerVirtualSerialNumber struct {

	// Description of the Virtual Serial Number
	// Required: true
	Description *string `json:"description"`

	// Virtual Serial Number
	// Required: true
	Serial *string `json:"serial"`

	// software tier
	SoftwareTier SoftwareTier `json:"softwareTier,omitempty"`
}

GetServerVirtualSerialNumber get server virtual serial number

swagger:model GetServerVirtualSerialNumber

func (*GetServerVirtualSerialNumber) ContextValidate added in v1.9.0

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

ContextValidate validate this get server virtual serial number based on the context it is used

func (*GetServerVirtualSerialNumber) MarshalBinary added in v1.9.0

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

MarshalBinary interface implementation

func (*GetServerVirtualSerialNumber) UnmarshalBinary added in v1.9.0

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

UnmarshalBinary interface implementation

func (*GetServerVirtualSerialNumber) Validate added in v1.9.0

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

Validate validates this get server virtual serial number

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 GiB
	Memory float64 `json:"memory,omitempty"`

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

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

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

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

HardwarePlatform Hardware platform detailing its limits and statistics

swagger:model HardwarePlatform

func (*HardwarePlatform) ContextValidate added in v1.1.0

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

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

func (*HardwarePlatform) MarshalBinary

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

MarshalBinary interface implementation

func (*HardwarePlatform) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HardwarePlatform) Validate

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

Validate validates this hardware platform

type HardwarePlatforms

type HardwarePlatforms map[string]HardwarePlatform

HardwarePlatforms A map of hardware platforms detailing their limits and statistics

swagger:model HardwarePlatforms

func (HardwarePlatforms) ContextValidate added in v1.1.0

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

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

func (HardwarePlatforms) Validate

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

Validate validates this hardware platforms

type Health

type Health struct {

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

Health health

swagger:model Health

func (*Health) ContextValidate added in v1.1.0

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

ContextValidate validates this health based on context it is used

func (*Health) MarshalBinary

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

MarshalBinary interface implementation

func (*Health) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Health) Validate

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

Validate validates this health

type Host added in v1.7.0

type Host struct {

	// Capacities of the host
	Capacity *HostCapacity `json:"capacity,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// Name of the host (chosen by the user)
	DisplayName string `json:"displayName,omitempty"`

	// Information about the owning host group
	HostGroup *HostGroupSummary `json:"hostGroup,omitempty"`

	// current physical ID of the host. Keep internal
	HostReference int64 `json:"hostReference,omitempty"`

	// ID of the host
	ID string `json:"id,omitempty"`

	// State of the host (up/down)
	State string `json:"state,omitempty"`

	// Status of the host (enabled/disabled)
	Status string `json:"status,omitempty"`

	// System type
	SysType string `json:"sysType,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

Host Host description

swagger:model Host

func (*Host) ContextValidate added in v1.7.0

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

ContextValidate validate this host based on the context it is used

func (*Host) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*Host) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*Host) Validate added in v1.7.0

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

Validate validates this host

type HostCapacity added in v1.7.0

type HostCapacity struct {

	// Core capacity of the host
	Cores *HostResourceCapacity `json:"cores,omitempty"`

	// Memory capacity of the host (in GiB)
	Memory *HostResourceCapacity `json:"memory,omitempty"`
}

HostCapacity host capacity

swagger:model HostCapacity

func (*HostCapacity) ContextValidate added in v1.7.0

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

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

func (*HostCapacity) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostCapacity) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostCapacity) Validate added in v1.7.0

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

Validate validates this host capacity

type HostCreate added in v1.7.0

type HostCreate struct {

	// ID of the host group to which the host should be added
	// Required: true
	HostGroupID *string `json:"hostGroupID"`

	// Hosts to be added
	// Required: true
	Hosts []*AddHost `json:"hosts"`
}

HostCreate Parameters to add a host to an existing host group

swagger:model HostCreate

func (*HostCreate) ContextValidate added in v1.7.0

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

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

func (*HostCreate) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostCreate) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostCreate) Validate added in v1.7.0

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

Validate validates this host create

type HostGroup added in v1.7.0

type HostGroup struct {

	// Date/Time of host group creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// List of hosts
	Hosts []HostHref `json:"hosts"`

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

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

	// ID of the workspace owning the host group
	Primary string `json:"primary,omitempty"`

	// IDs of workspaces the host group has been shared with
	Secondaries []string `json:"secondaries"`
}

HostGroup Description of a host group

swagger:model HostGroup

func (*HostGroup) ContextValidate added in v1.7.0

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

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

func (*HostGroup) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostGroup) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostGroup) Validate added in v1.7.0

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

Validate validates this host group

type HostGroupCreate added in v1.7.0

type HostGroupCreate struct {

	// List of hosts to add to the host group
	// Required: true
	Hosts []*AddHost `json:"hosts"`

	// Name of the host group to create
	// Required: true
	Name *string `json:"name"`

	// List of workspaces to share the host group with (optional)
	Secondaries []*Secondary `json:"secondaries"`
}

HostGroupCreate Parameters for the creation of a new host group

swagger:model HostGroupCreate

func (*HostGroupCreate) ContextValidate added in v1.7.0

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

ContextValidate validate this host group create based on the context it is used

func (*HostGroupCreate) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostGroupCreate) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostGroupCreate) Validate added in v1.7.0

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

Validate validates this host group create

type HostGroupList added in v1.7.0

type HostGroupList []*HostGroup

HostGroupList host group list

swagger:model HostGroupList

func (HostGroupList) ContextValidate added in v1.7.0

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

ContextValidate validate this host group list based on the context it is used

func (HostGroupList) Validate added in v1.7.0

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

Validate validates this host group list

type HostGroupShareOp added in v1.7.0

type HostGroupShareOp struct {

	// List of workspaces to share the host group with
	Add []*Secondary `json:"add"`

	// A workspace ID to stop sharing the host group with
	Remove string `json:"remove,omitempty"`
}

HostGroupShareOp Operation updating the sharing status (mutually exclusive)

swagger:model HostGroupShareOp

func (*HostGroupShareOp) ContextValidate added in v1.7.0

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

ContextValidate validate this host group share op based on the context it is used

func (*HostGroupShareOp) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostGroupShareOp) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostGroupShareOp) Validate added in v1.7.0

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

Validate validates this host group share op

type HostGroupSummary added in v1.7.0

type HostGroupSummary struct {

	// Whether the host group is a primary or secondary host group
	Access string `json:"access,omitempty"`

	// Link to the host group resource
	Href string `json:"href,omitempty"`

	// Name of the host group
	Name string `json:"name,omitempty"`
}

HostGroupSummary host group summary

swagger:model HostGroupSummary

func (*HostGroupSummary) ContextValidate added in v1.7.0

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

ContextValidate validates this host group summary based on context it is used

func (*HostGroupSummary) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostGroupSummary) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostGroupSummary) Validate added in v1.7.0

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

Validate validates this host group summary

type HostHref added in v1.7.0

type HostHref string

HostHref Link to host resource

swagger:model HostHref

func (HostHref) ContextValidate added in v1.7.0

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

ContextValidate validates this host href based on context it is used

func (HostHref) Validate added in v1.7.0

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

Validate validates this host href

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

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

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

func (*HostInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*HostInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostInfo) Validate

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

Validate validates this host info

type HostList added in v1.7.0

type HostList []*Host

HostList host list

swagger:model HostList

func (HostList) ContextValidate added in v1.7.0

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

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

func (HostList) Validate added in v1.7.0

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

Validate validates this host list

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

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

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

func (*HostPVMInstance) MarshalBinary

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

MarshalBinary interface implementation

func (*HostPVMInstance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostPVMInstance) Validate

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

Validate validates this host p VM instance

type HostPut added in v1.7.0

type HostPut struct {

	// Name of the host chosen by the user
	// Required: true
	// Max Length: 32
	// Min Length: 2
	// Pattern: ^[A-Za-z0-9](?:[A-Za-z0-9_-]{0,30}[A-Za-z0-9])?$
	DisplayName *string `json:"displayName"`
}

HostPut Parameters to modify a host

swagger:model HostPut

func (*HostPut) ContextValidate added in v1.7.0

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

ContextValidate validates this host put based on context it is used

func (*HostPut) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostPut) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostPut) Validate added in v1.7.0

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

Validate validates this host put

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

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

ContextValidate validates this host resource based on context it is used

func (*HostResource) MarshalBinary

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

MarshalBinary interface implementation

func (*HostResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostResource) Validate

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

Validate validates this host resource

type HostResourceCapacity added in v1.7.0

type HostResourceCapacity struct {

	// available
	// Required: true
	Available *float64 `json:"available"`

	// reserved
	// Required: true
	Reserved *float64 `json:"reserved"`

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

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

HostResourceCapacity host resource capacity

swagger:model HostResourceCapacity

func (*HostResourceCapacity) ContextValidate added in v1.7.0

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

ContextValidate validates this host resource capacity based on context it is used

func (*HostResourceCapacity) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*HostResourceCapacity) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*HostResourceCapacity) Validate added in v1.7.0

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

Validate validates this host resource capacity

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

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

ContextValidate validates this host resources based on context it is used

func (*HostResources) MarshalBinary

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

MarshalBinary interface implementation

func (*HostResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostResources) Validate

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

Validate validates this host resources

type 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

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

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

func (*IKEPolicies) Validate added in v1.0.75

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

Validate validates this i k e policies

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

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

ContextValidate validate this i k e policy based on the context it is used

func (*IKEPolicy) MarshalBinary added in v1.0.75

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

MarshalBinary interface implementation

func (*IKEPolicy) UnmarshalBinary added in v1.0.75

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

UnmarshalBinary interface implementation

func (*IKEPolicy) Validate added in v1.0.75

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

Validate validates this i k e policy

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

Pointer returns a pointer to a freshly-allocated IKEPolicyAuthentication.

func (IKEPolicyAuthentication) Validate added in v1.0.75

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

Validate validates this i k e policy authentication

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"`

	// Preshared key used in this IKE Policy (length of preshared key must be even)
	// 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

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

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

func (*IKEPolicyCreate) Validate added in v1.0.75

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

Validate validates this i k e policy create

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

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

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

func (*IKEPolicyRef) Validate added in v1.0.75

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

Validate validates this i k e policy ref

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"`

	// Preshared key used in this IKE Policy (length of preshared key must be even)
	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]any `json:"-"`
}

IKEPolicyUpdate IKE Policy object used for update

MinProperties: 1

swagger:model IKEPolicyUpdate

func (*IKEPolicyUpdate) ContextValidate added in v1.1.0

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

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

func (*IKEPolicyUpdate) Validate added in v1.0.75

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

Validate validates this i k e policy update

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

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

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

func (*IPAddressRange) MarshalBinary

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

MarshalBinary interface implementation

func (*IPAddressRange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IPAddressRange) Validate

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

Validate validates this IP address range

type 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

Pointer returns a pointer to a freshly-allocated IPSECPolicyAuthentication.

func (IPSECPolicyAuthentication) Validate added in v1.0.75

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

Validate validates this IP s e c policy authentication

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

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

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

func (*IPSecPolicies) Validate added in v1.0.75

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

Validate validates this IP sec policies

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

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

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

func (*IPSecPolicy) Validate added in v1.0.75

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

Validate validates this IP sec policy

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

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

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

func (*IPSecPolicyCreate) Validate added in v1.0.75

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

Validate validates this IP sec policy create

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

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

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

func (*IPSecPolicyRef) Validate added in v1.0.75

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

Validate validates this IP sec policy ref

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]any `json:"-"`
}

IPSecPolicyUpdate IPSEc Policy object used for update

MinProperties: 1

swagger:model IPSecPolicyUpdate

func (*IPSecPolicyUpdate) ContextValidate added in v1.1.0

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

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

func (*IPSecPolicyUpdate) Validate added in v1.0.75

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

Validate validates this IP sec policy update

type Image

type Image struct {

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

	// crn
	Crn CRN `json:"crn,omitempty"`

	// 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"`

	// Maximum image volume size for multi-volume image
	// Required: true
	MaxImageVolumeSize *float64 `json:"maxImageVolumeSize"`

	// 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"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

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

Image image

swagger:model Image

func (*Image) ContextValidate added in v1.1.0

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

ContextValidate validate this image based on the context it is used

func (*Image) MarshalBinary

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

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Image) Validate

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

Validate validates this image

type ImageImportDetails added in v1.7.0

type ImageImportDetails struct {

	// Origin of the license of the product
	// Required: true
	// Enum: ["byol"]
	LicenseType *string `json:"licenseType"`

	// Product within the image
	// Required: true
	// Enum: ["Hana","Netweaver"]
	Product *string `json:"product"`

	// Vendor supporting the product
	// Required: true
	// Enum: ["SAP"]
	Vendor *string `json:"vendor"`
}

ImageImportDetails image import details

swagger:model ImageImportDetails

func (*ImageImportDetails) ContextValidate added in v1.7.0

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

ContextValidate validates this image import details based on context it is used

func (*ImageImportDetails) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*ImageImportDetails) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*ImageImportDetails) Validate added in v1.7.0

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

Validate validates this image import details

type ImageReference

type ImageReference struct {

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

	// crn
	Crn CRN `json:"crn,omitempty"`

	// 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

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

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

func (*ImageReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageReference) Validate

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

Validate validates this image reference

type ImageSpecifications

type ImageSpecifications struct {

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

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

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

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

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

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

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

	// Shared Image
	Shared *bool `json:"shared,omitempty"`

	// Checksum of the source file (imported images only)
	SourceChecksum string `json:"sourceChecksum,omitempty"`
}

ImageSpecifications image specifications

swagger:model ImageSpecifications

func (*ImageSpecifications) ContextValidate added in v1.1.0

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

ContextValidate validates this image specifications based on context it is used

func (*ImageSpecifications) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageSpecifications) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageSpecifications) Validate

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

Validate validates this image specifications

type ImageVolume

type ImageVolume struct {

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

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

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

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

ImageVolume image volume

swagger:model ImageVolume

func (*ImageVolume) ContextValidate added in v1.1.0

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

ContextValidate validates this image volume based on context it is used

func (*ImageVolume) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageVolume) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageVolume) Validate

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

Validate validates this image volume

type Images

type Images struct {

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

Images images

swagger:model Images

func (*Images) ContextValidate added in v1.1.0

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

ContextValidate validate this images based on the context it is used

func (*Images) MarshalBinary

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

MarshalBinary interface implementation

func (*Images) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Images) Validate

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

Validate validates this images

type InstanceCapabilities added in v1.1.10

type InstanceCapabilities map[string]InstanceCapability

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

swagger:model InstanceCapabilities

func (InstanceCapabilities) ContextValidate added in v1.1.10

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

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

func (InstanceCapabilities) Validate added in v1.1.10

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

Validate validates this instance capabilities

type InstanceCapability added in v1.1.10

type InstanceCapability bool

InstanceCapability Capability value

swagger:model InstanceCapability

func (InstanceCapability) ContextValidate added in v1.1.10

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

ContextValidate validates this instance capability based on context it is used

func (InstanceCapability) Validate added in v1.1.10

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

Validate validates this instance capability

type InternalCapacityManagementRequest added in v1.14.0

type InternalCapacityManagementRequest struct {

	// The target datacenter
	// Required: true
	Datacenter *string `json:"datacenter"`

	// Disabling or enabling system provisioning
	// Required: true
	// Enum: ["disabled","enabled"]
	Operation *string `json:"operation"`

	// The system type to be enabled or disabled
	// Required: true
	SystemType *string `json:"systemType"`
}

InternalCapacityManagementRequest internal capacity management request

swagger:model InternalCapacityManagementRequest

func (*InternalCapacityManagementRequest) ContextValidate added in v1.14.0

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

ContextValidate validates this internal capacity management request based on context it is used

func (*InternalCapacityManagementRequest) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*InternalCapacityManagementRequest) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*InternalCapacityManagementRequest) Validate added in v1.14.0

Validate validates this internal capacity management request

type InternalCapacityManagementResponse added in v1.14.0

type InternalCapacityManagementResponse struct {

	// The number of accounts in the whitelist
	Accounts int64 `json:"accounts,omitempty"`

	// List of supported systems
	// Required: true
	SupportedSystems []string `json:"supportedSystems"`
}

InternalCapacityManagementResponse internal capacity management response

swagger:model InternalCapacityManagementResponse

func (*InternalCapacityManagementResponse) ContextValidate added in v1.14.0

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

ContextValidate validates this internal capacity management response based on context it is used

func (*InternalCapacityManagementResponse) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*InternalCapacityManagementResponse) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*InternalCapacityManagementResponse) Validate added in v1.14.0

Validate validates this internal capacity management response

type InternalCloudantStatus added in v1.15.0

type InternalCloudantStatus struct {

	// cloud instance ID
	// Example: e582ffc9-cdd3-41b4-820f-c1a0fa39bd0f
	CloudInstnaceID string `json:"cloudInstnaceID,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// RT/RD of the workspace
	// Example: 4206000000:33568
	PowerEdgeRouter string `json:"powerEdgeRouter,omitempty"`

	// power edge router details
	PowerEdgeRouterDetails *InternalPowerEdgeRouterDetails `json:"powerEdgeRouterDetails,omitempty"`
}

InternalCloudantStatus internal cloudant status

swagger:model InternalCloudantStatus

func (*InternalCloudantStatus) ContextValidate added in v1.15.0

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

ContextValidate validate this internal cloudant status based on the context it is used

func (*InternalCloudantStatus) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalCloudantStatus) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalCloudantStatus) Validate added in v1.15.0

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

Validate validates this internal cloudant status

type InternalConfigurationStatus added in v1.15.0

type InternalConfigurationStatus struct {

	// status message of the powerns object operation
	Description string `json:"description,omitempty"`

	// status of the powerns object operation
	// Example: Active
	Status string `json:"status,omitempty"`
}

InternalConfigurationStatus internal configuration status

swagger:model InternalConfigurationStatus

func (*InternalConfigurationStatus) ContextValidate added in v1.15.0

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

ContextValidate validates this internal configuration status based on context it is used

func (*InternalConfigurationStatus) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalConfigurationStatus) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalConfigurationStatus) Validate added in v1.15.0

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

Validate validates this internal configuration status

type InternalNetworkResourceStatusArray added in v1.15.0

type InternalNetworkResourceStatusArray []*InternalNetworkResourceStatusFlag

InternalNetworkResourceStatusArray the resource types to retrieve status for

swagger:model InternalNetworkResourceStatusArray

func (InternalNetworkResourceStatusArray) ContextValidate added in v1.15.0

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

ContextValidate validate this internal network resource status array based on the context it is used

func (InternalNetworkResourceStatusArray) Validate added in v1.15.0

Validate validates this internal network resource status array

type InternalNetworkResourceStatusFlag added in v1.15.0

type InternalNetworkResourceStatusFlag struct {

	// network status flag
	// Enum: ["workspace","networks","networks-security-groups"]
	Flag string `json:"flag,omitempty"`
}

InternalNetworkResourceStatusFlag internal network resource status flag

swagger:model InternalNetworkResourceStatusFlag

func (*InternalNetworkResourceStatusFlag) ContextValidate added in v1.15.0

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

ContextValidate validates this internal network resource status flag based on context it is used

func (*InternalNetworkResourceStatusFlag) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalNetworkResourceStatusFlag) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalNetworkResourceStatusFlag) Validate added in v1.15.0

Validate validates this internal network resource status flag

type InternalNetworksActionRequest added in v1.15.0

type InternalNetworksActionRequest struct {

	// action to be performed on the resource
	// Required: true
	// Enum: ["per_automation_enable"]
	Action *string `json:"action"`

	// id of the resource
	// Required: true
	ResourceID *string `json:"resource_id"`

	// resource type on which the action is to be performed
	// Required: true
	// Enum: ["workspace"]
	ResourceType *string `json:"resource_type"`
}

InternalNetworksActionRequest internal networks action request

swagger:model InternalNetworksActionRequest

func (*InternalNetworksActionRequest) ContextValidate added in v1.15.0

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

ContextValidate validates this internal networks action request based on context it is used

func (*InternalNetworksActionRequest) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalNetworksActionRequest) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalNetworksActionRequest) Validate added in v1.15.0

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

Validate validates this internal networks action request

type InternalNetworksActionResponse added in v1.15.0

type InternalNetworksActionResponse any

InternalNetworksActionResponse internal networks action response

swagger:model InternalNetworksActionResponse

type InternalOperationsRequest added in v1.10.0

type InternalOperationsRequest struct {

	// The PowerVS resource ID
	// Required: true
	ResourceID *string `json:"resourceID"`

	// The PowerVS resource name
	// Required: true
	ResourceName *string `json:"resourceName"`

	// The PowerVS resource parent cloud instance ID
	// Example: 3a5798f1-4d2b-4e0a-9311-9b0fd6b94698
	// Required: true
	WorkspaceID *string `json:"workspaceID"`
}

InternalOperationsRequest internal operations request

swagger:model InternalOperationsRequest

func (*InternalOperationsRequest) ContextValidate added in v1.10.0

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

ContextValidate validates this internal operations request based on context it is used

func (*InternalOperationsRequest) MarshalBinary added in v1.10.0

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

MarshalBinary interface implementation

func (*InternalOperationsRequest) UnmarshalBinary added in v1.10.0

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

UnmarshalBinary interface implementation

func (*InternalOperationsRequest) Validate added in v1.10.0

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

Validate validates this internal operations request

type InternalOperationsResponse added in v1.10.0

type InternalOperationsResponse struct {

	// crn
	Crn CRN `json:"crn,omitempty"`
}

InternalOperationsResponse internal operations response

swagger:model InternalOperationsResponse

func (*InternalOperationsResponse) ContextValidate added in v1.10.0

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

ContextValidate validate this internal operations response based on the context it is used

func (*InternalOperationsResponse) MarshalBinary added in v1.10.0

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

MarshalBinary interface implementation

func (*InternalOperationsResponse) UnmarshalBinary added in v1.10.0

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

UnmarshalBinary interface implementation

func (*InternalOperationsResponse) Validate added in v1.10.0

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

Validate validates this internal operations response

type InternalPowerEdgeRouterDetails added in v1.15.0

type InternalPowerEdgeRouterDetails struct {

	// status
	Status *InternalPowerEdgeRouterDetailsStatus `json:"status,omitempty"`

	// type of the workspace manual or automated
	// Example: manual
	Type string `json:"type,omitempty"`
}

InternalPowerEdgeRouterDetails internal power edge router details

swagger:model InternalPowerEdgeRouterDetails

func (*InternalPowerEdgeRouterDetails) ContextValidate added in v1.15.0

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

ContextValidate validate this internal power edge router details based on the context it is used

func (*InternalPowerEdgeRouterDetails) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalPowerEdgeRouterDetails) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalPowerEdgeRouterDetails) Validate added in v1.15.0

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

Validate validates this internal power edge router details

type InternalPowerEdgeRouterDetailsStatus added in v1.15.0

type InternalPowerEdgeRouterDetailsStatus struct {

	// state of the workspace
	// Example: none
	State string `json:"state,omitempty"`

	// sub state of the workspace
	SubStatus string `json:"subStatus,omitempty"`
}

InternalPowerEdgeRouterDetailsStatus status of the workspace

swagger:model InternalPowerEdgeRouterDetailsStatus

func (*InternalPowerEdgeRouterDetailsStatus) ContextValidate added in v1.15.0

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

ContextValidate validates this internal power edge router details status based on context it is used

func (*InternalPowerEdgeRouterDetailsStatus) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalPowerEdgeRouterDetailsStatus) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalPowerEdgeRouterDetailsStatus) Validate added in v1.15.0

Validate validates this internal power edge router details status

type InternalPowerNSCapabilities added in v1.15.0

type InternalPowerNSCapabilities struct {

	// p e r
	PER *InternalPowerNSCapabilitiesPER `json:"PER,omitempty"`
}

InternalPowerNSCapabilities internal power n s capabilities

swagger:model InternalPowerNSCapabilities

func (*InternalPowerNSCapabilities) ContextValidate added in v1.15.0

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

ContextValidate validate this internal power n s capabilities based on the context it is used

func (*InternalPowerNSCapabilities) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalPowerNSCapabilities) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalPowerNSCapabilities) Validate added in v1.15.0

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

Validate validates this internal power n s capabilities

type InternalPowerNSCapabilitiesPER added in v1.15.0

type InternalPowerNSCapabilitiesPER struct {

	// indicates PER capability support
	// Example: true
	Enabled bool `json:"enabled,omitempty"`

	// operational status
	OperationalStatus *InternalPowerNSCapabilitiesPEROperationalStatus `json:"operationalStatus,omitempty"`
}

InternalPowerNSCapabilitiesPER internal power n s capabilities p e r

swagger:model InternalPowerNSCapabilitiesPER

func (*InternalPowerNSCapabilitiesPER) ContextValidate added in v1.15.0

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

ContextValidate validate this internal power n s capabilities p e r based on the context it is used

func (*InternalPowerNSCapabilitiesPER) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalPowerNSCapabilitiesPER) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalPowerNSCapabilitiesPER) Validate added in v1.15.0

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

Validate validates this internal power n s capabilities p e r

type InternalPowerNSCapabilitiesPEROperationalStatus added in v1.15.0

type InternalPowerNSCapabilitiesPEROperationalStatus struct {

	// configuration status
	ConfigurationStatus *InternalConfigurationStatus `json:"configurationStatus,omitempty"`
}

InternalPowerNSCapabilitiesPEROperationalStatus internal power n s capabilities p e r operational status

swagger:model InternalPowerNSCapabilitiesPEROperationalStatus

func (*InternalPowerNSCapabilitiesPEROperationalStatus) ContextValidate added in v1.15.0

ContextValidate validate this internal power n s capabilities p e r operational status based on the context it is used

func (*InternalPowerNSCapabilitiesPEROperationalStatus) MarshalBinary added in v1.15.0

MarshalBinary interface implementation

func (*InternalPowerNSCapabilitiesPEROperationalStatus) UnmarshalBinary added in v1.15.0

UnmarshalBinary interface implementation

func (*InternalPowerNSCapabilitiesPEROperationalStatus) Validate added in v1.15.0

Validate validates this internal power n s capabilities p e r operational status

type InternalPowerNSStatus added in v1.15.0

type InternalPowerNSStatus struct {

	// VRF assigned to the workspace
	// Example: PWR111_P122_VRF
	VRF string `json:"VRF,omitempty"`

	// capabilities
	Capabilities *InternalPowerNSCapabilities `json:"capabilities,omitempty"`

	// powerns configuration status of the workspace
	// Example: Active
	ConfigurationStatus string `json:"configurationStatus,omitempty"`

	// networks
	Networks InternalPrivateNetworks `json:"networks,omitempty"`

	// RD of the workspace
	// Example: 4206000000:33568
	RouteDistinguisher string `json:"routeDistinguisher,omitempty"`

	// RT of the workspace
	// Example: 4206000000:33568
	RouteTarget string `json:"routeTarget,omitempty"`
}

InternalPowerNSStatus internal power n s status

swagger:model InternalPowerNSStatus

func (*InternalPowerNSStatus) ContextValidate added in v1.15.0

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

ContextValidate validate this internal power n s status based on the context it is used

func (*InternalPowerNSStatus) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalPowerNSStatus) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalPowerNSStatus) Validate added in v1.15.0

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

Validate validates this internal power n s status

type InternalPrivateNetwork added in v1.15.0

type InternalPrivateNetwork struct {

	// cidr of the private network
	// Example: 10.10.10.10/24
	Cidr string `json:"cidr,omitempty"`

	// id of the private network
	// Example: e582ffc9-cdd3-41b4-820f-c1a0fa39bd0f
	CloudNetworkID string `json:"cloudNetworkID,omitempty"`

	// configuration status
	ConfigurationStatus *InternalConfigurationStatus `json:"configurationStatus,omitempty"`

	// vlan of the private network
	// Example: 1234
	Vlan int64 `json:"vlan,omitempty"`
}

InternalPrivateNetwork internal private network

swagger:model InternalPrivateNetwork

func (*InternalPrivateNetwork) ContextValidate added in v1.15.0

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

ContextValidate validate this internal private network based on the context it is used

func (*InternalPrivateNetwork) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalPrivateNetwork) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalPrivateNetwork) Validate added in v1.15.0

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

Validate validates this internal private network

type InternalPrivateNetworks added in v1.15.0

type InternalPrivateNetworks map[string]InternalPrivateNetwork

InternalPrivateNetworks collection of powerns network objects

swagger:model InternalPrivateNetworks

func (InternalPrivateNetworks) ContextValidate added in v1.15.0

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

ContextValidate validate this internal private networks based on the context it is used

func (InternalPrivateNetworks) Validate added in v1.15.0

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

Validate validates this internal private networks

type InternalWorkspaceStatusResponse added in v1.15.0

type InternalWorkspaceStatusResponse struct {

	// cloudant status
	CloudantStatus *InternalCloudantStatus `json:"cloudant_status,omitempty"`

	// operation status message
	Message string `json:"message,omitempty"`

	// powerns status
	PowernsStatus *InternalPowerNSStatus `json:"powerns_status,omitempty"`
}

InternalWorkspaceStatusResponse internal workspace status response

swagger:model InternalWorkspaceStatusResponse

func (*InternalWorkspaceStatusResponse) ContextValidate added in v1.15.0

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

ContextValidate validate this internal workspace status response based on the context it is used

func (*InternalWorkspaceStatusResponse) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*InternalWorkspaceStatusResponse) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*InternalWorkspaceStatusResponse) Validate added in v1.15.0

Validate validates this internal workspace status response

type JSONSchemaObject

type JSONSchemaObject any

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"`

	// resources involved in this job
	Resources *JobResources `json:"resources,omitempty"`

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

	// workflow
	Workflow *JobWorkflow `json:"workflow,omitempty"`
}

Job job

swagger:model Job

func (*Job) ContextValidate added in v1.1.0

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

ContextValidate validate this job based on the context it is used

func (*Job) MarshalBinary added in v1.0.75

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

MarshalBinary interface implementation

func (*Job) UnmarshalBinary added in v1.0.75

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

UnmarshalBinary interface implementation

func (*Job) Validate added in v1.0.75

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

Validate validates this job

type JobAction added in v1.16.0

type JobAction struct {

	// action ending timestamp
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

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

	// action starting timestamp
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// status of the action
	// Enum: ["pending","running","completed","failed","unknown"]
	Status string `json:"status,omitempty"`
}

JobAction job action

swagger:model JobAction

func (*JobAction) ContextValidate added in v1.16.0

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

ContextValidate validates this job action based on context it is used

func (*JobAction) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*JobAction) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*JobAction) Validate added in v1.16.0

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

Validate validates this job action

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

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

ContextValidate validates this job reference based on context it is used

func (*JobReference) MarshalBinary 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

func (*JobReference) Validate added in v1.0.75

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

Validate validates this job reference

type JobResourceDetails added in v1.16.0

type JobResourceDetails struct {

	// id of the resource
	ID string `json:"id,omitempty"`

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

	// type of the resource
	// Enum: ["instance","image","file"]
	Type any `json:"type,omitempty"`
}

JobResourceDetails job resource details

swagger:model JobResourceDetails

func (*JobResourceDetails) ContextValidate added in v1.16.0

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

ContextValidate validates this job resource details based on context it is used

func (*JobResourceDetails) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*JobResourceDetails) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*JobResourceDetails) Validate added in v1.16.0

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

Validate validates this job resource details

type JobResources added in v1.16.0

type JobResources struct {

	// input
	Input []*JobResourceDetails `json:"input"`

	// output
	Output []*JobResourceDetails `json:"output"`
}

JobResources job resources

swagger:model JobResources

func (*JobResources) ContextValidate added in v1.16.0

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

ContextValidate validate this job resources based on the context it is used

func (*JobResources) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*JobResources) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*JobResources) Validate added in v1.16.0

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

Validate validates this job resources

type JobWorkflow added in v1.16.0

type JobWorkflow struct {

	// list of actions for the job
	Actions []*JobAction `json:"actions"`

	// percentage of completed tasks for this job
	// Required: true
	PercentCompletion *int64 `json:"percentCompletion"`
}

JobWorkflow job workflow

swagger:model JobWorkflow

func (*JobWorkflow) ContextValidate added in v1.16.0

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

ContextValidate validate this job workflow based on the context it is used

func (*JobWorkflow) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*JobWorkflow) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*JobWorkflow) Validate added in v1.16.0

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

Validate validates this job workflow

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

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

ContextValidate validate this jobs based on the context it is used

func (*Jobs) MarshalBinary added in v1.0.75

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

MarshalBinary interface implementation

func (*Jobs) UnmarshalBinary added in v1.0.75

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

UnmarshalBinary interface implementation

func (*Jobs) Validate added in v1.0.75

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

Validate validates this jobs

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

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

ContextValidate validates this key lifetime based on context it is used

func (KeyLifetime) Validate added in v1.0.75

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

Validate validates this key lifetime

type LastOperationResource

type LastOperationResource struct {

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

	// extensions
	Extensions any `json:"extensions,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

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

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

func (*LastOperationResource) MarshalBinary

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

MarshalBinary interface implementation

func (*LastOperationResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LastOperationResource) Validate

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

Validate validates this last operation resource

type MaximumStorageAllocation added in v1.0.54

type MaximumStorageAllocation struct {

	// Maximum allocation storage size (GiB)
	// 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

func (*MaximumStorageAllocation) Validate added in v1.0.54

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

Validate validates this maximum storage allocation

type Metadata

type Metadata any

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

swagger:model Metadata

type MetadataService added in v1.15.0

type MetadataService struct {

	// Indicates whether the metadata service endpoint will be available to the virtual server
	// Required: true
	Enabled *bool `json:"enabled"`
}

MetadataService The metadata service configuration

swagger:model MetadataService

func (*MetadataService) ContextValidate added in v1.15.0

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

ContextValidate validates this metadata service based on context it is used

func (*MetadataService) MarshalBinary added in v1.15.0

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

MarshalBinary interface implementation

func (*MetadataService) UnmarshalBinary added in v1.15.0

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

UnmarshalBinary interface implementation

func (*MetadataService) Validate added in v1.15.0

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

Validate validates this metadata service

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

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

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

func (*MinMaxDefault) MarshalBinary

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

MarshalBinary interface implementation

func (*MinMaxDefault) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MinMaxDefault) Validate

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

Validate validates this min max default

type MultiVolumesCreate 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; if diskType is not provided the disk type will default to 'tier3'.
	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"`

	// List of replication site for volume replication
	ReplicationSites []string `json:"replicationSites,omitempty"`

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

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

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

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

MultiVolumesCreate multi volumes create

swagger:model MultiVolumesCreate

func (*MultiVolumesCreate) ContextValidate added in v1.1.0

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

ContextValidate validate this multi volumes create based on the 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

func (*MultiVolumesCreate) Validate added in v1.0.38

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

Validate validates this multi volumes create

type Network

type Network struct {

	// access config
	AccessConfig AccessConfig `json:"accessConfig,omitempty"`

	// Indicates if the network is advertised externally of the workspace to PER and\or peer networks.
	// Enum: ["enable","disable"]
	Advertise string `json:"advertise,omitempty"`

	// Indicates if the ARP broadcast is enabled
	// Enum: ["enable","disable"]
	ArpBroadcast string `json:"arpBroadcast,omitempty"`

	// 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"`

	// crn
	Crn CRN `json:"crn,omitempty"`

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

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

	// DHCP Enabled Network
	EnableDHCP bool `json:"enableDHCP"`

	// 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"`

	// (deprecated - replaced by mtu) Enable MTU Jumbo Network (for multi-zone locations only)
	Jumbo bool `json:"jumbo,omitempty"`

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

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

	// network address translation
	NetworkAddressTranslation *NetworkAddressTranslation `json:"networkAddressTranslation,omitempty"`

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

	// [DEPRECATED] Network Peer ID
	PeerID string `json:"peerID,omitempty"`

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

	// Type of Network - 'vlan' (private network) 'pub-vlan' (public network) 'dhcp-vlan' (for satellite locations only)
	// Required: true
	// Enum: ["vlan","pub-vlan","dhcp-vlan"]
	Type *string `json:"type"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

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

Network network

swagger:model Network

func (*Network) ContextValidate added in v1.1.0

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

ContextValidate validate this network based on the context it is used

func (*Network) MarshalBinary

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

MarshalBinary interface implementation

func (*Network) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Network) Validate

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

Validate validates this network

type NetworkAddressGroup added in v1.8.2

type NetworkAddressGroup struct {

	// The Network Address Group's crn
	// Required: true
	Crn *string `json:"crn"`

	// The id of the Network Address Group
	// Required: true
	ID *string `json:"id"`

	// The list of IP addresses in CIDR notation (for example 192.168.66.2/32) in the Network Address Group
	Members []*NetworkAddressGroupMember `json:"members"`

	// The name of the Network Address Group
	// Required: true
	Name *string `json:"name"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkAddressGroup network address group

swagger:model NetworkAddressGroup

func (*NetworkAddressGroup) ContextValidate added in v1.8.2

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

ContextValidate validate this network address group based on the context it is used

func (*NetworkAddressGroup) MarshalBinary added in v1.8.2

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

MarshalBinary interface implementation

func (*NetworkAddressGroup) UnmarshalBinary added in v1.8.2

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

UnmarshalBinary interface implementation

func (*NetworkAddressGroup) Validate added in v1.8.2

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

Validate validates this network address group

type NetworkAddressGroupAddMember added in v1.8.2

type NetworkAddressGroupAddMember struct {

	// The member to add in CIDR format
	// Required: true
	Cidr *string `json:"cidr"`
}

NetworkAddressGroupAddMember network address group add member

swagger:model NetworkAddressGroupAddMember

func (*NetworkAddressGroupAddMember) ContextValidate added in v1.8.2

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

ContextValidate validates this network address group add member based on context it is used

func (*NetworkAddressGroupAddMember) MarshalBinary added in v1.8.2

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

MarshalBinary interface implementation

func (*NetworkAddressGroupAddMember) UnmarshalBinary added in v1.8.2

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

UnmarshalBinary interface implementation

func (*NetworkAddressGroupAddMember) Validate added in v1.8.2

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

Validate validates this network address group add member

type NetworkAddressGroupCreate added in v1.8.2

type NetworkAddressGroupCreate struct {

	// The name of the Network Address Group
	// Required: true
	Name *string `json:"name"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkAddressGroupCreate network address group create

swagger:model NetworkAddressGroupCreate

func (*NetworkAddressGroupCreate) ContextValidate added in v1.8.2

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

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

func (*NetworkAddressGroupCreate) MarshalBinary added in v1.8.2

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

MarshalBinary interface implementation

func (*NetworkAddressGroupCreate) UnmarshalBinary added in v1.8.2

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

UnmarshalBinary interface implementation

func (*NetworkAddressGroupCreate) Validate added in v1.8.2

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

Validate validates this network address group create

type NetworkAddressGroupMember added in v1.8.2

type NetworkAddressGroupMember struct {

	// The IP addresses in CIDR notation for example 192.168.1.5/32
	// Required: true
	Cidr *string `json:"cidr"`

	// The id of the Network Address Group member IP addresses
	// Required: true
	ID *string `json:"id"`
}

NetworkAddressGroupMember network address group member

swagger:model NetworkAddressGroupMember

func (*NetworkAddressGroupMember) ContextValidate added in v1.8.2

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

ContextValidate validates this network address group member based on context it is used

func (*NetworkAddressGroupMember) MarshalBinary added in v1.8.2

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

MarshalBinary interface implementation

func (*NetworkAddressGroupMember) UnmarshalBinary added in v1.8.2

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

UnmarshalBinary interface implementation

func (*NetworkAddressGroupMember) Validate added in v1.8.2

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

Validate validates this network address group member

type NetworkAddressGroupUpdate added in v1.8.2

type NetworkAddressGroupUpdate struct {

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

NetworkAddressGroupUpdate network address group update

swagger:model NetworkAddressGroupUpdate

func (*NetworkAddressGroupUpdate) ContextValidate added in v1.8.2

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

ContextValidate validates this network address group update based on context it is used

func (*NetworkAddressGroupUpdate) MarshalBinary added in v1.8.2

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

MarshalBinary interface implementation

func (*NetworkAddressGroupUpdate) UnmarshalBinary added in v1.8.2

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

UnmarshalBinary interface implementation

func (*NetworkAddressGroupUpdate) Validate added in v1.8.2

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

Validate validates this network address group update

type NetworkAddressGroups added in v1.8.2

type NetworkAddressGroups struct {

	// list of Network Address Groups
	NetworkAddressGroups []*NetworkAddressGroup `json:"networkAddressGroups"`
}

NetworkAddressGroups network address groups

swagger:model NetworkAddressGroups

func (*NetworkAddressGroups) ContextValidate added in v1.8.2

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

ContextValidate validate this network address groups based on the context it is used

func (*NetworkAddressGroups) MarshalBinary added in v1.8.2

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

MarshalBinary interface implementation

func (*NetworkAddressGroups) UnmarshalBinary added in v1.8.2

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

UnmarshalBinary interface implementation

func (*NetworkAddressGroups) Validate added in v1.8.2

func (m *NetworkAddressGroups) Validate(formats strfmt.Registry) error

Validate validates this network address groups

type NetworkAddressTranslation added in v1.9.0

type NetworkAddressTranslation struct {

	// source IP address, required if network peer type is L3BGP
	// or L3STATIC and if Network Address Translation (NAT) is
	// enabled
	//
	SourceIP string `json:"sourceIP,omitempty"`
}

NetworkAddressTranslation [DEPRECATED] Contains the Network Address Translation Details

swagger:model NetworkAddressTranslation

func (*NetworkAddressTranslation) ContextValidate added in v1.9.0

func (m *NetworkAddressTranslation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network address translation based on context it is used

func (*NetworkAddressTranslation) MarshalBinary added in v1.9.0

func (m *NetworkAddressTranslation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkAddressTranslation) UnmarshalBinary added in v1.9.0

func (m *NetworkAddressTranslation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkAddressTranslation) Validate added in v1.9.0

func (m *NetworkAddressTranslation) Validate(formats strfmt.Registry) error

Validate validates this network address translation

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

func (*NetworkCloudConnectionsItems0) Validate added in v1.0.49

func (m *NetworkCloudConnectionsItems0) Validate(formats strfmt.Registry) error

Validate validates this network cloud connections items0

type NetworkCreate

type NetworkCreate struct {

	// access config
	AccessConfig AccessConfig `json:"accessConfig,omitempty"`

	// Indicates if the network is advertised externally of the workspace to PER and\or peer networks
	// Enum: ["enable","disable"]
	Advertise *string `json:"advertise,omitempty"`

	// Indicates if ARP broadcast is enabled
	// Enum: ["enable","disable"]
	ArpBroadcast *string `json:"arpBroadcast,omitempty"`

	// Network in CIDR notation (192.168.0.0/24)
	Cidr string `json:"cidr,omitempty"`

	// DNS Servers. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network)
	DNSServers []string `json:"dnsServers"`

	// network will support DHCP
	EnableDHCP *bool `json:"enableDHCP,omitempty"`

	// Gateway IP Address
	Gateway string `json:"gateway,omitempty"`

	// IP Address Ranges
	IPAddressRanges []*IPAddressRange `json:"ipAddressRanges"`

	// (deprecated - replaced by mtu) Enable MTU Jumbo Network (for multi-zone locations only)
	Jumbo bool `json:"jumbo,omitempty"`

	// Maximum transmission unit
	// Maximum: 9000
	// Minimum: 1450
	Mtu *int64 `json:"mtu,omitempty"`

	// Network Name
	// Max Length: 128
	// Pattern: ^[a-zA-Z0-9-_][a-zA-Z0-9-_]*$
	Name string `json:"name,omitempty"`

	// Network Peer information
	Peer *NetworkCreatePeer `json:"peer,omitempty"`

	// Type of Network - 'vlan' (private network), 'pub-vlan' (public network)
	// Required: true
	// Enum: ["vlan","pub-vlan"]
	Type *string `json:"type"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkCreate network create Example: {"cidr":"192.168.1.0/24","gateway":"192.168.1.1","ipAddressRanges":[{"endingIPAddress":"192.168.1.254","startingIPAddress":"192.168.1.2"}],"mtu":1450,"name":"sample-network","type":"vlan"}

swagger:model NetworkCreate

func (*NetworkCreate) ContextValidate added in v1.1.0

func (m *NetworkCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network create based on the context it is used

func (*NetworkCreate) MarshalBinary

func (m *NetworkCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkCreate) UnmarshalBinary

func (m *NetworkCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkCreate) Validate

func (m *NetworkCreate) Validate(formats strfmt.Registry) error

Validate validates this network create

type NetworkCreatePeer added in v1.9.0

type NetworkCreatePeer struct {

	// ID of the network peer
	ID string `json:"id,omitempty"`

	// network address translation
	NetworkAddressTranslation *NetworkAddressTranslation `json:"networkAddressTranslation,omitempty"`

	// type
	Type NetworkPeerType `json:"type,omitempty"`
}

NetworkCreatePeer [DEPRECATED]

swagger:model NetworkCreatePeer

func (*NetworkCreatePeer) ContextValidate added in v1.9.0

func (m *NetworkCreatePeer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network create peer based on the context it is used

func (*NetworkCreatePeer) MarshalBinary added in v1.9.0

func (m *NetworkCreatePeer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkCreatePeer) UnmarshalBinary added in v1.9.0

func (m *NetworkCreatePeer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkCreatePeer) Validate added in v1.9.0

func (m *NetworkCreatePeer) Validate(formats strfmt.Registry) error

Validate validates this network create peer

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

func (m *NetworkID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network ID based on context it is used

func (*NetworkID) MarshalBinary added in v1.0.75

func (m *NetworkID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkID) UnmarshalBinary added in v1.0.75

func (m *NetworkID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkID) Validate added in v1.0.75

func (m *NetworkID) Validate(formats strfmt.Registry) error

Validate validates this network ID

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 IDs

swagger:model NetworkIDs

func (*NetworkIDs) ContextValidate added in v1.1.0

func (m *NetworkIDs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network IDs 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

func (*NetworkIDs) Validate added in v1.1.0

func (m *NetworkIDs) Validate(formats strfmt.Registry) error

Validate validates this network IDs

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

func (*NetworkIPAddressMetrics) Validate

func (m *NetworkIPAddressMetrics) Validate(formats strfmt.Registry) error

Validate validates this network IP address metrics

type NetworkInterface added in v1.8.1

type NetworkInterface struct {

	// The Network Interface's crn
	// Required: true
	Crn *string `json:"crn"`

	// The external ip address (for pub-vlan networks)
	ExternalIP string `json:"externalIP,omitempty"`

	// The unique Network Interface ID
	// Required: true
	ID *string `json:"id"`

	// instance
	Instance *NetworkInterfaceInstance `json:"instance,omitempty"`

	// The ip address of this Network Interface
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// The mac address of the Network Interface
	// Required: true
	MacAddress *string `json:"macAddress"`

	// Name of the Network Interface (not unique or indexable)
	// Required: true
	Name *string `json:"name"`

	// (deprecated - replaced by networkSecurityGroupIDs) ID of the Network Security Group the network interface will be added to
	NetworkSecurityGroupID string `json:"networkSecurityGroupID,omitempty"`

	// Network security groups that the network interface is a member of.
	NetworkSecurityGroupIDs []string `json:"networkSecurityGroupIDs"`

	// The status of the network address group
	// Required: true
	Status *string `json:"status"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkInterface network interface

swagger:model NetworkInterface

func (*NetworkInterface) ContextValidate added in v1.8.1

func (m *NetworkInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network interface based on the context it is used

func (*NetworkInterface) MarshalBinary added in v1.8.1

func (m *NetworkInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterface) UnmarshalBinary added in v1.8.1

func (m *NetworkInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterface) Validate added in v1.8.1

func (m *NetworkInterface) Validate(formats strfmt.Registry) error

Validate validates this network interface

type NetworkInterfaceCreate added in v1.8.1

type NetworkInterfaceCreate struct {

	// The requested IP address of this Network Interface
	IPAddress string `json:"ipAddress,omitempty"`

	// Name of the Network Interface
	Name string `json:"name,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkInterfaceCreate network interface create

swagger:model NetworkInterfaceCreate

func (*NetworkInterfaceCreate) ContextValidate added in v1.8.1

func (m *NetworkInterfaceCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network interface create based on the context it is used

func (*NetworkInterfaceCreate) MarshalBinary added in v1.8.1

func (m *NetworkInterfaceCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterfaceCreate) UnmarshalBinary added in v1.8.1

func (m *NetworkInterfaceCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterfaceCreate) Validate added in v1.8.1

func (m *NetworkInterfaceCreate) Validate(formats strfmt.Registry) error

Validate validates this network interface create

type NetworkInterfaceInstance added in v1.8.1

type NetworkInterfaceInstance struct {

	// Link to instance resource
	Href string `json:"href,omitempty"`

	// The attached instance ID
	InstanceID string `json:"instanceID,omitempty"`
}

NetworkInterfaceInstance The attached instance to this Network Interface

swagger:model NetworkInterfaceInstance

func (*NetworkInterfaceInstance) ContextValidate added in v1.8.1

func (m *NetworkInterfaceInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network interface instance based on context it is used

func (*NetworkInterfaceInstance) MarshalBinary added in v1.8.1

func (m *NetworkInterfaceInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterfaceInstance) UnmarshalBinary added in v1.8.1

func (m *NetworkInterfaceInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterfaceInstance) Validate added in v1.8.1

func (m *NetworkInterfaceInstance) Validate(formats strfmt.Registry) error

Validate validates this network interface instance

type NetworkInterfaceUpdate added in v1.8.1

type NetworkInterfaceUpdate struct {

	// If supplied populated it attaches to the InstanceID, if empty detaches from InstanceID
	InstanceID *string `json:"instanceID,omitempty"`

	// Name of the Network Interface
	Name *string `json:"name,omitempty"`
}

NetworkInterfaceUpdate network interface update

swagger:model NetworkInterfaceUpdate

func (*NetworkInterfaceUpdate) ContextValidate added in v1.8.1

func (m *NetworkInterfaceUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network interface update based on context it is used

func (*NetworkInterfaceUpdate) MarshalBinary added in v1.8.1

func (m *NetworkInterfaceUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterfaceUpdate) UnmarshalBinary added in v1.8.1

func (m *NetworkInterfaceUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterfaceUpdate) Validate added in v1.8.1

func (m *NetworkInterfaceUpdate) Validate(formats strfmt.Registry) error

Validate validates this network interface update

type NetworkInterfaces added in v1.8.1

type NetworkInterfaces struct {

	// Network Interfaces
	// Required: true
	Interfaces []*NetworkInterface `json:"interfaces"`
}

NetworkInterfaces network interfaces

swagger:model NetworkInterfaces

func (*NetworkInterfaces) ContextValidate added in v1.8.1

func (m *NetworkInterfaces) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network interfaces based on the context it is used

func (*NetworkInterfaces) MarshalBinary added in v1.8.1

func (m *NetworkInterfaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterfaces) UnmarshalBinary added in v1.8.1

func (m *NetworkInterfaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterfaces) Validate added in v1.8.1

func (m *NetworkInterfaces) Validate(formats strfmt.Registry) error

Validate validates this network interfaces

type NetworkPeer added in v1.9.0

type NetworkPeer struct {

	// time stamp for create network peer
	// Required: true
	CreationDate *string `json:"creationDate"`

	// ASN number at customer network side
	// Example: 64512
	// Required: true
	CustomerASN *int64 `json:"customerASN"`

	// IP address used for configuring customer network interface with network subnet mask. customerCidr and ibmCidr must have matching network and subnet mask values.
	// Example: 192.168.91.2/30
	// Required: true
	CustomerCidr *string `json:"customerCidr"`

	// default action for export route filter
	// * allow: allow
	// * deny: deny
	//
	// Example: allow
	// Required: true
	// Enum: ["allow","deny"]
	DefaultExportRouteFilter *string `json:"defaultExportRouteFilter"`

	// default action for import route filter
	// * allow: allow
	// * deny: deny
	//
	// Example: allow
	// Required: true
	// Enum: ["allow","deny"]
	DefaultImportRouteFilter *string `json:"defaultImportRouteFilter"`

	// error description
	// Required: true
	Error *string `json:"error"`

	// List of export route filters
	// Required: true
	ExportRouteFilters []*RouteFilter `json:"exportRouteFilters"`

	// ASN number at IBM PowerVS side
	// Example: 64512
	// Required: true
	IbmASN *int64 `json:"ibmASN"`

	// IP address used for configuring IBM network interface with network subnet mask. customerCidr and ibmCidr must have matching network and subnet mask values.
	// Example: 192.168.91.1/30
	// Required: true
	IbmCidr *string `json:"ibmCidr"`

	// network peer id
	// Example: 031ab7da-bca6-493f-ac55-1a2a26f19160
	// Required: true
	ID *string `json:"id"`

	// List of import route filters
	// Required: true
	ImportRouteFilters []*RouteFilter `json:"importRouteFilters"`

	// user defined name
	// Example: newPeerNetwork
	// Required: true
	Name *string `json:"name"`

	// peer interface id. use API '/v1/network-peers/interfaces' to get a list of valid peer interface id
	// Example: 031ab7da-bca6-493f-ac55-1a2a26f19160
	// Required: true
	PeerInterfaceID *string `json:"peerInterfaceID"`

	// status of the network peer
	// Example: active
	// Required: true
	// Enum: ["active","configuring","removing","error","updating"]
	State *string `json:"state"`

	// type of the peer network
	// * dcnetwork_bgp: broader gateway protocol is used to share routes between two autonomous network
	//
	// Example: dcnetwork_bgp
	// Required: true
	// Enum: ["dcnetwork_bgp"]
	Type *string `json:"type"`

	// time stamp for update network peer
	// Required: true
	UpdatedDate *string `json:"updatedDate"`

	// A vlan configured at the customer network.
	// Example: 2000
	// Required: true
	Vlan *int64 `json:"vlan"`
}

NetworkPeer network peer

swagger:model NetworkPeer

func (*NetworkPeer) ContextValidate added in v1.9.0

func (m *NetworkPeer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network peer based on the context it is used

func (*NetworkPeer) MarshalBinary added in v1.9.0

func (m *NetworkPeer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPeer) UnmarshalBinary added in v1.9.0

func (m *NetworkPeer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPeer) Validate added in v1.9.0

func (m *NetworkPeer) Validate(formats strfmt.Registry) error

Validate validates this network peer

type NetworkPeerCreate added in v1.13.0

type NetworkPeerCreate struct {

	// ASN number at customer network side
	// Example: 64512
	// Required: true
	CustomerASN *int64 `json:"customerASN"`

	// IP address used for configuring customer network interface with network subnet mask. customerCidr and ibmCidr must have matching network and subnet mask values.
	// Example: 192.168.91.2/30
	// Required: true
	CustomerCidr *string `json:"customerCidr"`

	// default action for export route filter
	// * allow: allow
	// * deny: deny
	//
	// Example: allow
	// Enum: ["allow","deny"]
	DefaultExportRouteFilter *string `json:"defaultExportRouteFilter,omitempty"`

	// default action for import route filter
	// * allow: allow
	// * deny: deny
	//
	// Example: allow
	// Enum: ["allow","deny"]
	DefaultImportRouteFilter *string `json:"defaultImportRouteFilter,omitempty"`

	// ASN number at IBM PowerVS side
	// Example: 64512
	// Required: true
	IbmASN *int64 `json:"ibmASN"`

	// IP address used for configuring IBM network interface with network subnet mask. customerCidr and ibmCidr must have matching network and subnet mask values.
	// Example: 192.168.91.1/30
	// Required: true
	IbmCidr *string `json:"ibmCidr"`

	// user defined name
	// Example: newPeerNetwork
	// Required: true
	Name *string `json:"name"`

	// peer interface id. use API '/v1/network-peers/interfaces' to get a list of valid peer interface id
	// Example: 031ab7da-bca6-493f-ac55-1a2a26f19160
	// Required: true
	PeerInterfaceID *string `json:"peerInterfaceID"`

	// type of the peer network
	// * dcnetwork_bgp: broader gateway protocol is used to share routes between two autonomous network
	//
	// Example: dcnetwork_bgp
	// Enum: ["dcnetwork_bgp"]
	Type *string `json:"type,omitempty"`

	// A vlan configured at the customer network.
	// Example: 2000
	// Required: true
	Vlan *int64 `json:"vlan"`
}

NetworkPeerCreate network peer create parameters

swagger:model NetworkPeerCreate

func (*NetworkPeerCreate) ContextValidate added in v1.13.0

func (m *NetworkPeerCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network peer create based on context it is used

func (*NetworkPeerCreate) MarshalBinary added in v1.13.0

func (m *NetworkPeerCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPeerCreate) UnmarshalBinary added in v1.13.0

func (m *NetworkPeerCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPeerCreate) Validate added in v1.13.0

func (m *NetworkPeerCreate) Validate(formats strfmt.Registry) error

Validate validates this network peer create

type NetworkPeerType added in v1.9.0

type NetworkPeerType string

NetworkPeerType Type of the network peer

swagger:model NetworkPeerType

const (

	// NetworkPeerTypeL2 captures enum value "L2"
	NetworkPeerTypeL2 NetworkPeerType = "L2"

	// NetworkPeerTypeL3BGP captures enum value "L3BGP"
	NetworkPeerTypeL3BGP NetworkPeerType = "L3BGP"

	// NetworkPeerTypeL3Static captures enum value "L3Static"
	NetworkPeerTypeL3Static NetworkPeerType = "L3Static"
)

func NewNetworkPeerType added in v1.9.0

func NewNetworkPeerType(value NetworkPeerType) *NetworkPeerType

func (NetworkPeerType) ContextValidate added in v1.9.0

func (m NetworkPeerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network peer type based on context it is used

func (NetworkPeerType) Pointer added in v1.9.0

func (m NetworkPeerType) Pointer() *NetworkPeerType

Pointer returns a pointer to a freshly-allocated NetworkPeerType.

func (NetworkPeerType) Validate added in v1.9.0

func (m NetworkPeerType) Validate(formats strfmt.Registry) error

Validate validates this network peer type

type NetworkPeerUpdate added in v1.13.0

type NetworkPeerUpdate struct {

	// ASN number at customer network side
	// Example: 64512
	CustomerASN *int64 `json:"customerASN,omitempty"`

	// IP address used for configuring customer network interface with network subnet mask. customerCidr and ibmCidr must have matching network and subnet mask values.
	// Example: 192.168.91.2/30
	CustomerCidr *string `json:"customerCidr,omitempty"`

	// default action for export route filter
	// * allow: allow
	// * deny: deny
	//
	// Example: allow
	// Enum: ["allow","deny"]
	DefaultExportRouteFilter *string `json:"defaultExportRouteFilter,omitempty"`

	// default action for import route filter
	// * allow: allow
	// * deny: deny
	//
	// Example: allow
	// Enum: ["allow","deny"]
	DefaultImportRouteFilter *string `json:"defaultImportRouteFilter,omitempty"`

	// ASN number at IBM PowerVS side
	// Example: 64512
	IbmASN *int64 `json:"ibmASN,omitempty"`

	// IP address used for configuring IBM network interface with network subnet mask. customerCidr and ibmCidr must have matching network and subnet mask values.
	// Example: 192.168.91.1/30
	IbmCidr *string `json:"ibmCidr,omitempty"`

	// user defined name
	// Example: newPeerNetwork
	Name *string `json:"name,omitempty"`

	// peer interface id. use API '/v1/network-peers/interfaces' to get a list of valid peer interface id
	// Example: 031ab7da-bca6-493f-ac55-1a2a26f19160
	PeerInterfaceID *string `json:"peerInterfaceID,omitempty"`

	// type of the peer network
	// * dcnetwork_bgp: broader gateway protocol is used to share routes between two autonomous network
	//
	// Example: dcnetwork_bgp
	// Enum: ["dcnetwork_bgp"]
	Type *string `json:"type,omitempty"`

	// A vlan configured at the customer network.
	// Example: 2000
	Vlan *int64 `json:"vlan,omitempty"`
}

NetworkPeerUpdate network peer update parameters

swagger:model NetworkPeerUpdate

func (*NetworkPeerUpdate) ContextValidate added in v1.13.0

func (m *NetworkPeerUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network peer update based on context it is used

func (*NetworkPeerUpdate) MarshalBinary added in v1.13.0

func (m *NetworkPeerUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPeerUpdate) UnmarshalBinary added in v1.13.0

func (m *NetworkPeerUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPeerUpdate) Validate added in v1.13.0

func (m *NetworkPeerUpdate) Validate(formats strfmt.Registry) error

Validate validates this network peer update

type NetworkPeers added in v1.9.0

type NetworkPeers struct {

	// List of network peers
	// Required: true
	NetworkPeers []*NetworkPeer `json:"networkPeers"`
}

NetworkPeers network peers

swagger:model NetworkPeers

func (*NetworkPeers) ContextValidate added in v1.9.0

func (m *NetworkPeers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network peers based on the context it is used

func (*NetworkPeers) MarshalBinary added in v1.9.0

func (m *NetworkPeers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPeers) UnmarshalBinary added in v1.9.0

func (m *NetworkPeers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPeers) Validate added in v1.9.0

func (m *NetworkPeers) Validate(formats strfmt.Registry) error

Validate validates this network peers

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

func (m *NetworkPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network port based on the context it is used

func (*NetworkPort) MarshalBinary

func (m *NetworkPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPort) UnmarshalBinary

func (m *NetworkPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPort) Validate

func (m *NetworkPort) Validate(formats strfmt.Registry) error

Validate validates this network port

type NetworkPortCreate

type NetworkPortCreate struct {

	// Description of the port (not unique or indexable)
	Description string `json:"description,omitempty"`

	// The requested ip address of this port
	IPAddress string `json:"ipAddress,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkPortCreate network port create

swagger:model NetworkPortCreate

func (*NetworkPortCreate) ContextValidate added in v1.1.0

func (m *NetworkPortCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network port create based on the context it is used

func (*NetworkPortCreate) MarshalBinary

func (m *NetworkPortCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPortCreate) UnmarshalBinary

func (m *NetworkPortCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPortCreate) Validate

func (m *NetworkPortCreate) Validate(formats strfmt.Registry) error

Validate validates this network port create

type NetworkPortPvmInstance

type NetworkPortPvmInstance struct {

	// Link to pvm-instance resource
	Href string `json:"href,omitempty"`

	// The attached 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

func (*NetworkPortPvmInstance) Validate

func (m *NetworkPortPvmInstance) Validate(formats strfmt.Registry) error

Validate validates this network port pvm instance

type NetworkPortUpdate

type NetworkPortUpdate struct {

	// Description of the port (not unique or indexable)
	Description *string `json:"description,omitempty"`

	// If supplied populated it attaches to the PVMInstanceID, if empty detaches from PVMInstanceID
	PvmInstanceID *string `json:"pvmInstanceID,omitempty"`
}

NetworkPortUpdate network port update

swagger:model NetworkPortUpdate

func (*NetworkPortUpdate) ContextValidate added in v1.1.0

func (m *NetworkPortUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network port update based on context it is used

func (*NetworkPortUpdate) MarshalBinary

func (m *NetworkPortUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPortUpdate) UnmarshalBinary

func (m *NetworkPortUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPortUpdate) Validate

func (m *NetworkPortUpdate) Validate(formats strfmt.Registry) error

Validate validates this network port update

type NetworkPorts

type NetworkPorts struct {

	// Network Ports
	// Required: true
	Ports []*NetworkPort `json:"ports"`
}

NetworkPorts network ports

swagger:model NetworkPorts

func (*NetworkPorts) ContextValidate added in v1.1.0

func (m *NetworkPorts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network ports based on the context it is used

func (*NetworkPorts) MarshalBinary

func (m *NetworkPorts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPorts) UnmarshalBinary

func (m *NetworkPorts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPorts) Validate

func (m *NetworkPorts) Validate(formats strfmt.Registry) error

Validate validates this network ports

type NetworkReference

type NetworkReference struct {

	// access config
	AccessConfig AccessConfig `json:"accessConfig,omitempty"`

	// Indicates if the network is advertised externally of the workspace to PER and\or peer networks
	// Enum: ["enable","disable"]
	Advertise string `json:"advertise,omitempty"`

	// Indicates if the ARP broadcast is enabled
	// Enum: ["enable","disable"]
	ArpBroadcast string `json:"arpBroadcast,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// DHCP Enabled Network
	DhcpManaged bool `json:"dhcpManaged,omitempty"`

	// DHCP Enabled Network
	EnableDHCP bool `json:"enableDHCP"`

	// Link to Network resource
	// Required: true
	Href *string `json:"href"`

	// (deprecated - replaced by mtu) Enable MTU Jumbo Network (for multi-zone locations only)
	Jumbo bool `json:"jumbo,omitempty"`

	// Maximum transmission unit
	// Maximum: 9000
	// Minimum: 1450
	Mtu *int64 `json:"mtu,omitempty"`

	// Network Name
	// Required: true
	Name *string `json:"name"`

	// Unique Network ID
	// Required: true
	NetworkID *string `json:"networkID"`

	// [DEPRECATED] Network Peer ID
	PeerID string `json:"peerID,omitempty"`

	// Type of Network - 'vlan' (private network) 'pub-vlan' (public network) 'dhcp-vlan' (for satellite locations only)
	// Required: true
	// Enum: ["vlan","pub-vlan","dhcp-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

func (m *NetworkReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network reference based on the context it is used

func (*NetworkReference) MarshalBinary

func (m *NetworkReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkReference) UnmarshalBinary

func (m *NetworkReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkReference) Validate

func (m *NetworkReference) Validate(formats strfmt.Registry) error

Validate validates this network reference

type NetworkSecurityGroup added in v1.8.2

type NetworkSecurityGroup struct {

	// The Network Security Group's crn
	// Required: true
	Crn *string `json:"crn"`

	// Indicates if the Network Security Group is the default Network Security Group in the workspace
	Default bool `json:"default,omitempty"`

	// The ID of the Network Security Group
	// Required: true
	ID *string `json:"id"`

	// The list of IPv4 addresses and\or Network Interfaces in the Network Security Group
	Members []*NetworkSecurityGroupMember `json:"members"`

	// The name of the Network Security Group
	// Required: true
	Name *string `json:"name"`

	// The list of rules in the Network Security Group
	Rules []*NetworkSecurityGroupRule `json:"rules"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkSecurityGroup network security group

swagger:model NetworkSecurityGroup

func (*NetworkSecurityGroup) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network security group based on the context it is used

func (*NetworkSecurityGroup) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroup) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroup) Validate added in v1.8.2

func (m *NetworkSecurityGroup) Validate(formats strfmt.Registry) error

Validate validates this network security group

type NetworkSecurityGroupAddMember added in v1.8.2

type NetworkSecurityGroupAddMember struct {

	// The target member to add. An IP4 address if ipv4-address type or a network interface ID if network-interface type
	// Required: true
	Target *string `json:"target"`

	// The type of member
	// Required: true
	// Enum: ["ipv4-address","network-interface"]
	Type *string `json:"type"`
}

NetworkSecurityGroupAddMember network security group add member

swagger:model NetworkSecurityGroupAddMember

func (*NetworkSecurityGroupAddMember) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupAddMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group add member based on context it is used

func (*NetworkSecurityGroupAddMember) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupAddMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupAddMember) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupAddMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupAddMember) Validate added in v1.8.2

func (m *NetworkSecurityGroupAddMember) Validate(formats strfmt.Registry) error

Validate validates this network security group add member

type NetworkSecurityGroupAddRule added in v1.8.2

type NetworkSecurityGroupAddRule struct {

	// The action to take if the rule matches network traffic
	// Required: true
	// Enum: ["allow","deny"]
	Action *string `json:"action"`

	// The destination port for a network security group rule.
	DestinationPort *NetworkSecurityGroupRulePort `json:"destinationPort,omitempty"`

	// (deprecated - replaced by destinationPort) The destination port for a network security group rule.
	DestinationPorts *NetworkSecurityGroupRulePort `json:"destinationPorts,omitempty"`

	// protocol
	// Required: true
	Protocol *NetworkSecurityGroupRuleProtocol `json:"protocol"`

	// remote
	// Required: true
	Remote *NetworkSecurityGroupRuleRemote `json:"remote"`

	// The source port for a network security group rule.
	SourcePort *NetworkSecurityGroupRulePort `json:"sourcePort,omitempty"`

	// (deprecated - replaced by sourcePort) The source port for a network security group rule.
	SourcePorts *NetworkSecurityGroupRulePort `json:"sourcePorts,omitempty"`
}

NetworkSecurityGroupAddRule network security group add rule

swagger:model NetworkSecurityGroupAddRule

func (*NetworkSecurityGroupAddRule) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupAddRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network security group add rule based on the context it is used

func (*NetworkSecurityGroupAddRule) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupAddRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupAddRule) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupAddRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupAddRule) Validate added in v1.8.2

func (m *NetworkSecurityGroupAddRule) Validate(formats strfmt.Registry) error

Validate validates this network security group add rule

type NetworkSecurityGroupClone added in v1.10.0

type NetworkSecurityGroupClone struct {

	// The name of the cloned network security group
	// Required: true
	Name *string `json:"name"`
}

NetworkSecurityGroupClone network security group clone

swagger:model NetworkSecurityGroupClone

func (*NetworkSecurityGroupClone) ContextValidate added in v1.10.0

func (m *NetworkSecurityGroupClone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group clone based on context it is used

func (*NetworkSecurityGroupClone) MarshalBinary added in v1.10.0

func (m *NetworkSecurityGroupClone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupClone) UnmarshalBinary added in v1.10.0

func (m *NetworkSecurityGroupClone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupClone) Validate added in v1.10.0

func (m *NetworkSecurityGroupClone) Validate(formats strfmt.Registry) error

Validate validates this network security group clone

type NetworkSecurityGroupCreate added in v1.8.2

type NetworkSecurityGroupCreate struct {

	// The name of the Network Security Group
	// Required: true
	Name *string `json:"name"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

NetworkSecurityGroupCreate network security group create

swagger:model NetworkSecurityGroupCreate

func (*NetworkSecurityGroupCreate) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network security group create based on the context it is used

func (*NetworkSecurityGroupCreate) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupCreate) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupCreate) Validate added in v1.8.2

func (m *NetworkSecurityGroupCreate) Validate(formats strfmt.Registry) error

Validate validates this network security group create

type NetworkSecurityGroupMember added in v1.8.2

type NetworkSecurityGroupMember struct {

	// The ID of the member in a Network Security Group
	// Required: true
	ID *string `json:"id"`

	// The mac address of a Network Interface included if the type is network-interface
	MacAddress string `json:"macAddress,omitempty"`

	// The network ID of a Network Interface included if the type is network-interface
	NetworkInterfaceNetworkID string `json:"networkInterfaceNetworkID,omitempty"`

	// If ipv4-address type, then IPv4 address or if network-interface type, then network interface ID
	// Required: true
	Target *string `json:"target"`

	// The type of member
	// Required: true
	// Enum: ["ipv4-address","network-interface"]
	Type *string `json:"type"`
}

NetworkSecurityGroupMember network security group member

swagger:model NetworkSecurityGroupMember

func (*NetworkSecurityGroupMember) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group member based on context it is used

func (*NetworkSecurityGroupMember) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupMember) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupMember) Validate added in v1.8.2

func (m *NetworkSecurityGroupMember) Validate(formats strfmt.Registry) error

Validate validates this network security group member

type NetworkSecurityGroupMoveMember added in v1.10.0

type NetworkSecurityGroupMoveMember struct {

	// The member to move
	// Required: true
	MemberID *string `json:"MemberID"`

	// The ID of the Network Security Group the member will be moved to
	// Required: true
	NetworkSecurityGroupID *string `json:"NetworkSecurityGroupId"`
}

NetworkSecurityGroupMoveMember network security group move member

swagger:model NetworkSecurityGroupMoveMember

func (*NetworkSecurityGroupMoveMember) ContextValidate added in v1.10.0

func (m *NetworkSecurityGroupMoveMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group move member based on context it is used

func (*NetworkSecurityGroupMoveMember) MarshalBinary added in v1.10.0

func (m *NetworkSecurityGroupMoveMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupMoveMember) UnmarshalBinary added in v1.10.0

func (m *NetworkSecurityGroupMoveMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupMoveMember) Validate added in v1.10.0

func (m *NetworkSecurityGroupMoveMember) Validate(formats strfmt.Registry) error

Validate validates this network security group move member

type NetworkSecurityGroupRule added in v1.8.2

type NetworkSecurityGroupRule struct {

	// The action to take if the rule matches network traffic
	// Required: true
	// Enum: ["allow","deny"]
	Action *string `json:"action"`

	// destination port
	DestinationPort *NetworkSecurityGroupRulePort `json:"destinationPort,omitempty"`

	// The ID of the rule in a Network Security Group
	// Required: true
	ID *string `json:"id"`

	// protocol
	// Required: true
	Protocol *NetworkSecurityGroupRuleProtocol `json:"protocol"`

	// remote
	// Required: true
	Remote *NetworkSecurityGroupRuleRemote `json:"remote"`

	// source port
	SourcePort *NetworkSecurityGroupRulePort `json:"sourcePort,omitempty"`
}

NetworkSecurityGroupRule network security group rule

swagger:model NetworkSecurityGroupRule

func (*NetworkSecurityGroupRule) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network security group rule based on the context it is used

func (*NetworkSecurityGroupRule) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupRule) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupRule) Validate added in v1.8.2

func (m *NetworkSecurityGroupRule) Validate(formats strfmt.Registry) error

Validate validates this network security group rule

type NetworkSecurityGroupRulePort added in v1.8.2

type NetworkSecurityGroupRulePort struct {

	// The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
	// Maximum: 65535
	Maximum int64 `json:"maximum,omitempty"`

	// The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
	// Minimum: 1
	Minimum int64 `json:"minimum,omitempty"`
}

NetworkSecurityGroupRulePort network security group rule port

swagger:model NetworkSecurityGroupRulePort

func (*NetworkSecurityGroupRulePort) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupRulePort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group rule port based on context it is used

func (*NetworkSecurityGroupRulePort) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRulePort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupRulePort) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRulePort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupRulePort) Validate added in v1.8.2

func (m *NetworkSecurityGroupRulePort) Validate(formats strfmt.Registry) error

Validate validates this network security group rule port

type NetworkSecurityGroupRuleProtocol added in v1.8.2

type NetworkSecurityGroupRuleProtocol struct {

	// If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched
	// Enum: ["all","echo","echo-reply","source-quench","time-exceeded","destination-unreach"]
	IcmpType *string `json:"icmpType,omitempty"`

	// If tcp type, the list of TCP flags and if not present then all flags are matched
	TCPFlags []*NetworkSecurityGroupRuleProtocolTCPFlag `json:"tcpFlags"`

	// The protocol of the network traffic
	// Enum: ["icmp","tcp","udp","all"]
	Type string `json:"type,omitempty"`
}

NetworkSecurityGroupRuleProtocol network security group rule protocol

swagger:model NetworkSecurityGroupRuleProtocol

func (*NetworkSecurityGroupRuleProtocol) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupRuleProtocol) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network security group rule protocol based on the context it is used

func (*NetworkSecurityGroupRuleProtocol) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRuleProtocol) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupRuleProtocol) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRuleProtocol) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupRuleProtocol) Validate added in v1.8.2

Validate validates this network security group rule protocol

type NetworkSecurityGroupRuleProtocolTCPFlag added in v1.8.2

type NetworkSecurityGroupRuleProtocolTCPFlag struct {

	// TCP flag
	// Enum: ["syn","ack","fin","rst"]
	Flag string `json:"flag,omitempty"`
}

NetworkSecurityGroupRuleProtocolTCPFlag network security group rule protocol Tcp flag

swagger:model NetworkSecurityGroupRuleProtocolTcpFlag

func (*NetworkSecurityGroupRuleProtocolTCPFlag) ContextValidate added in v1.8.2

ContextValidate validates this network security group rule protocol Tcp flag based on context it is used

func (*NetworkSecurityGroupRuleProtocolTCPFlag) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRuleProtocolTCPFlag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupRuleProtocolTCPFlag) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRuleProtocolTCPFlag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupRuleProtocolTCPFlag) Validate added in v1.8.2

Validate validates this network security group rule protocol Tcp flag

type NetworkSecurityGroupRuleRemote added in v1.8.2

type NetworkSecurityGroupRuleRemote struct {

	// The ID of the remote Network Address Group or Network Security Group the rules apply to. Not required for default-network-address-group
	ID string `json:"id,omitempty"`

	// The type of remote group the rules apply to
	// Enum: ["network-security-group","network-address-group","default-network-address-group"]
	Type string `json:"type,omitempty"`
}

NetworkSecurityGroupRuleRemote network security group rule remote

swagger:model NetworkSecurityGroupRuleRemote

func (*NetworkSecurityGroupRuleRemote) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupRuleRemote) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group rule remote based on context it is used

func (*NetworkSecurityGroupRuleRemote) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRuleRemote) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupRuleRemote) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupRuleRemote) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupRuleRemote) Validate added in v1.8.2

func (m *NetworkSecurityGroupRuleRemote) Validate(formats strfmt.Registry) error

Validate validates this network security group rule remote

type NetworkSecurityGroupUpdate added in v1.8.2

type NetworkSecurityGroupUpdate struct {

	// Replaces the current Network Security Group Name
	Name string `json:"name,omitempty"`
}

NetworkSecurityGroupUpdate network security group update

swagger:model NetworkSecurityGroupUpdate

func (*NetworkSecurityGroupUpdate) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security group update based on context it is used

func (*NetworkSecurityGroupUpdate) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupUpdate) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupUpdate) Validate added in v1.8.2

func (m *NetworkSecurityGroupUpdate) Validate(formats strfmt.Registry) error

Validate validates this network security group update

type NetworkSecurityGroups added in v1.8.2

type NetworkSecurityGroups struct {

	// list of Network Security Groups
	NetworkSecurityGroups []*NetworkSecurityGroup `json:"networkSecurityGroups"`
}

NetworkSecurityGroups network security groups

swagger:model NetworkSecurityGroups

func (*NetworkSecurityGroups) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network security groups based on the context it is used

func (*NetworkSecurityGroups) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroups) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroups) Validate added in v1.8.2

func (m *NetworkSecurityGroups) Validate(formats strfmt.Registry) error

Validate validates this network security groups

type NetworkSecurityGroupsAction added in v1.8.2

type NetworkSecurityGroupsAction struct {

	// Name of the action to take; can be enable to enable NSGs in a workspace or disable to disable NSGs in a workspace
	// Required: true
	// Enum: ["enable","disable"]
	Action *string `json:"action"`
}

NetworkSecurityGroupsAction network security groups action

swagger:model NetworkSecurityGroupsAction

func (*NetworkSecurityGroupsAction) ContextValidate added in v1.8.2

func (m *NetworkSecurityGroupsAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network security groups action based on context it is used

func (*NetworkSecurityGroupsAction) MarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupsAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSecurityGroupsAction) UnmarshalBinary added in v1.8.2

func (m *NetworkSecurityGroupsAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSecurityGroupsAction) Validate added in v1.8.2

func (m *NetworkSecurityGroupsAction) Validate(formats strfmt.Registry) error

Validate validates this network security groups action

type NetworkUpdate

type NetworkUpdate struct {

	// Indicates if the network is advertised externally of the workspace to PER and\or peer networks
	// Enum: ["enable","disable"]
	Advertise string `json:"advertise,omitempty"`

	// Indicates if the ARP broadcast is enabled
	// Enum: ["enable","disable"]
	ArpBroadcast string `json:"arpBroadcast,omitempty"`

	// Replaces the current DNS Servers
	DNSServers []string `json:"dnsServers"`

	// network will support DHCP
	EnableDHCP *bool `json:"enableDHCP,omitempty"`

	// 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

func (m *NetworkUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network update based on the context it is used

func (*NetworkUpdate) MarshalBinary

func (m *NetworkUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkUpdate) UnmarshalBinary

func (m *NetworkUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkUpdate) Validate

func (m *NetworkUpdate) Validate(formats strfmt.Registry) error

Validate validates this network update

type Networks

type Networks struct {

	// Network References
	// Required: true
	Networks []*NetworkReference `json:"networks"`
}

Networks networks

swagger:model Networks

func (*Networks) ContextValidate added in v1.1.0

func (m *Networks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this networks based on the context it is used

func (*Networks) MarshalBinary

func (m *Networks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Networks) UnmarshalBinary

func (m *Networks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Networks) Validate

func (m *Networks) Validate(formats strfmt.Registry) error

Validate validates this networks

type Object

type Object any

Object object

swagger:model Object

type OpenStack

type OpenStack struct {

	// Unique identifier for the OpenStack instance
	// Required: true
	ID *string `json:"id"`

	// Internal IP address of the OpenStack instance
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// Shortname of the OpenStack instance
	// Required: true
	Name *string `json:"name"`

	// Next available VLAN ID to be used for a network creation
	// Required: true
	NextVLANID *float64 `json:"nextVLANID"`

	// The region where the open stack lives
	// Required: true
	Region *string `json:"region"`
}

OpenStack open stack

swagger:model OpenStack

func (*OpenStack) ContextValidate added in v1.1.0

func (m *OpenStack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this open stack based on context it is used

func (*OpenStack) MarshalBinary

func (m *OpenStack) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStack) UnmarshalBinary

func (m *OpenStack) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStack) Validate

func (m *OpenStack) Validate(formats strfmt.Registry) error

Validate validates this open stack

type OpenStackCreate

type OpenStackCreate struct {

	// Internal IP address of the OpenStack instance
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// Shortname of the OpenStack instance
	// Required: true
	Name *string `json:"name"`

	// The region where the open stack lives
	// Required: true
	Region *string `json:"region"`
}

OpenStackCreate open stack create

swagger:model OpenStackCreate

func (*OpenStackCreate) ContextValidate added in v1.1.0

func (m *OpenStackCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this open stack create based on context it is used

func (*OpenStackCreate) MarshalBinary

func (m *OpenStackCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStackCreate) UnmarshalBinary

func (m *OpenStackCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStackCreate) Validate

func (m *OpenStackCreate) Validate(formats strfmt.Registry) error

Validate validates this open stack create

type OpenStackInfo

type OpenStackInfo struct {

	// Hosts on OpenStack
	// Required: true
	Hosts []*HostInfo `json:"hosts"`

	// Requested region
	// Required: true
	Region *string `json:"region"`
}

OpenStackInfo open stack info

swagger:model OpenStackInfo

func (*OpenStackInfo) ContextValidate added in v1.1.0

func (m *OpenStackInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this open stack info based on the context it is used

func (*OpenStackInfo) MarshalBinary

func (m *OpenStackInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStackInfo) UnmarshalBinary

func (m *OpenStackInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStackInfo) Validate

func (m *OpenStackInfo) Validate(formats strfmt.Registry) error

Validate validates this open stack info

type OpenStacks

type OpenStacks struct {

	// OpenStacks managed by Power IAAS
	// Required: true
	OpenStacks []*OpenStack `json:"openStacks"`
}

OpenStacks open stacks

swagger:model OpenStacks

func (*OpenStacks) ContextValidate added in v1.1.0

func (m *OpenStacks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this open stacks based on the context it is used

func (*OpenStacks) MarshalBinary

func (m *OpenStacks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenStacks) UnmarshalBinary

func (m *OpenStacks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenStacks) Validate

func (m *OpenStacks) Validate(formats strfmt.Registry) error

Validate validates this open stacks

type Operation 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

func (m *Operation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operation based on context it is used

func (*Operation) MarshalBinary added in v1.0.75

func (m *Operation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Operation) UnmarshalBinary added in v1.0.75

func (m *Operation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Operation) Validate added in v1.0.75

func (m *Operation) Validate(formats strfmt.Registry) error

Validate validates this operation

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: ["consoleservice","dston","dumprestart","iopdump","iopreset","remotedstoff","remotedston","retrydump"]
	Task string `json:"task,omitempty"`
}

Operations operations

swagger:model Operations

func (*Operations) ContextValidate added in v1.1.0

func (m *Operations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Operations) Validate added in v1.0.43

func (m *Operations) Validate(formats strfmt.Registry) error

Validate validates this operations

type OwnerInfo

type OwnerInfo struct {

	// Country code of user
	// Required: true
	CountryCode *string `json:"countryCode"`

	// Currency code of user
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// Email address of user
	// Required: true
	Email *string `json:"email"`

	// IAM id of user
	// Required: true
	IamID *string `json:"iamID"`

	// Indicates if user is an IBMer
	// Required: true
	IsIBMer *bool `json:"isIBMer"`

	// Name of user
	// Required: true
	Name *string `json:"name"`

	// (deprecated - replaced by softlayerSubscriptions) Array of Soft Layer IDs
	SoftlayerIDs []string `json:"softlayerIDs"`

	// Array of softlayer subscriptions
	// Required: true
	SoftlayerSubscriptions []*SoftlayerSubscription `json:"softlayerSubscriptions"`

	// User id of user
	// Required: true
	UserID *string `json:"userID"`
}

OwnerInfo owner info

swagger:model OwnerInfo

func (*OwnerInfo) ContextValidate added in v1.1.0

func (m *OwnerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this owner info based on the context it is used

func (*OwnerInfo) MarshalBinary

func (m *OwnerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OwnerInfo) UnmarshalBinary

func (m *OwnerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OwnerInfo) Validate

func (m *OwnerInfo) Validate(formats strfmt.Registry) error

Validate validates this owner info

type PVMInstance

type PVMInstance struct {

	// (deprecated - replaced by networks) The list of addresses and their network information
	Addresses []*PVMInstanceNetwork `json:"addresses"`

	// if set to false, automated remote restart is disabled for the VM
	AllowRemoteRestart *bool `json:"allowRemoteRestart,omitempty"`

	// Console language and code
	ConsoleLanguage *ConsoleLanguage `json:"consoleLanguage,omitempty"`

	// Date/Time of PVM creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// ID of the dedicated host where the PVM Instance is running, if applicable
	DedicatedHostID string `json:"dedicatedHostID,omitempty"`

	// default IAM trusted profile to use for this virtual server instance
	DefaultTrustedProfile *TrustedProfile `json:"defaultTrustedProfile,omitempty"`

	// The custom deployment type
	DeploymentType string `json:"deploymentType,omitempty"`

	// Size of allocated disk (in GiB)
	// Required: true
	DiskSize *float64 `json:"diskSize"`

	// Effective processor compatibility mode
	EffectiveProcessorCompatibilityMode string `json:"effectiveProcessorCompatibilityMode,omitempty"`

	// 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 TiB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Maximum amount of memory that can be allocated (in GiB, 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 GiB)
	// Required: true
	Memory *float64 `json:"memory"`

	// The metadata service configuration
	MetadataService *MetadataService `json:"metadataService,omitempty"`

	// whether the instance can be migrated
	Migratable *bool `json:"migratable,omitempty"`

	// Minimum amount of memory that can be allocated (in GiB, 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"`

	// Preferred processor compatibility mode
	PreferredProcessorCompatibilityMode string `json:"preferredProcessorCompatibilityMode,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"`

	// Defines the enforcement action when NUMA affinity for the PVM instance is not satisfied
	SapHANAAffinityAction *string `json:"sapHANAAffinityAction,omitempty"`

	// Indicates whether the SAP HANA PVM instance is adhering to the specified NUMA affinity requirement
	SapHANAAffinityComplianceStatus *string `json:"sapHANAAffinityComplianceStatus,omitempty"`

	// 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 shared processor pool of the server
	SharedProcessorPool string `json:"sharedProcessorPool,omitempty"`

	// The shared processor pool id
	SharedProcessorPoolID string `json:"sharedProcessorPoolID,omitempty"`

	// 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"`

	// The storage connection type
	StorageConnection string `json:"storageConnection,omitempty"`

	// 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"`

	// Represents the task state of a virtual machine (VM).
	TaskState string `json:"taskState,omitempty"`

	// Date/Time of PVM last update
	// Format: date-time
	UpdatedDate strfmt.DateTime `json:"updatedDate,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

	// The pvm instance virtual CPU information
	VirtualCores *VirtualCores `json:"virtualCores,omitempty"`

	// Information about Virtual Serial Number assigned to the PVM Instance
	VirtualSerialNumber *GetServerVirtualSerialNumber `json:"virtualSerialNumber,omitempty"`

	// List of volume IDs
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`

	// List of vPMEM volumes attached to this PVM Instance
	VpmemVolumes []*VPMemVolumeReference `json:"vpmemVolumes,omitempty"`
}

PVMInstance p VM instance

swagger:model PVMInstance

func (*PVMInstance) ContextValidate added in v1.1.0

func (m *PVMInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance based on the context it is used

func (*PVMInstance) MarshalBinary

func (m *PVMInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstance) UnmarshalBinary

func (m *PVMInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstance) Validate

func (m *PVMInstance) Validate(formats strfmt.Registry) error

Validate validates this p VM instance

type PVMInstanceAction

type PVMInstanceAction struct {

	// Name of the action to take; can be 'dhcp-ip-sync' (on-prem only), 'dumprestart', 'hard-reboot', 'immediate-shutdown', 'reset-state', 'soft-reboot', 'start', 'stop'
	// Required: true
	// Enum: ["dhcp-ip-sync","dumprestart","hard-reboot","immediate-shutdown","reset-state","soft-reboot","start","stop"]
	Action *string `json:"action"`
}

PVMInstanceAction p VM instance action

swagger:model PVMInstanceAction

func (*PVMInstanceAction) ContextValidate added in v1.1.0

func (m *PVMInstanceAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance action based on context it is used

func (*PVMInstanceAction) MarshalBinary

func (m *PVMInstanceAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceAction) UnmarshalBinary

func (m *PVMInstanceAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceAction) Validate

func (m *PVMInstanceAction) Validate(formats strfmt.Registry) error

Validate validates this p VM instance action

type PVMInstanceAddNetwork

type PVMInstanceAddNetwork struct {

	// The requested ip address of this network interface
	IPAddress string `json:"ipAddress,omitempty"`

	// ID of the network
	// Required: true
	NetworkID *string `json:"networkID"`

	// Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
	NetworkSecurityGroupIDs []string `json:"networkSecurityGroupIDs"`
}

PVMInstanceAddNetwork p VM instance add network

swagger:model PVMInstanceAddNetwork

func (*PVMInstanceAddNetwork) ContextValidate added in v1.1.0

func (m *PVMInstanceAddNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance add network based on context it is used

func (*PVMInstanceAddNetwork) MarshalBinary

func (m *PVMInstanceAddNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceAddNetwork) UnmarshalBinary

func (m *PVMInstanceAddNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceAddNetwork) Validate

func (m *PVMInstanceAddNetwork) Validate(formats strfmt.Registry) error

Validate validates this p VM instance add network

type 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"`

	// Create a checksum file
	Checksum bool `json:"checksum,omitempty"`

	// 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"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

PVMInstanceCapture p VM instance capture

swagger:model PVMInstanceCapture

func (*PVMInstanceCapture) ContextValidate added in v1.1.0

func (m *PVMInstanceCapture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance capture based on the context it is used

func (*PVMInstanceCapture) MarshalBinary

func (m *PVMInstanceCapture) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceCapture) UnmarshalBinary

func (m *PVMInstanceCapture) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceCapture) Validate

func (m *PVMInstanceCapture) Validate(formats strfmt.Registry) error

Validate validates this p VM instance capture

type PVMInstanceClone 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 GiB)
	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

func (m *PVMInstanceClone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance clone based on the context it is used

func (*PVMInstanceClone) MarshalBinary 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

func (*PVMInstanceClone) Validate added in v1.0.6

func (m *PVMInstanceClone) Validate(formats strfmt.Registry) error

Validate validates this p VM instance clone

type PVMInstanceConfiguration added in v1.2.3

type PVMInstanceConfiguration struct {

	// Console language and code
	ConsoleLanguage *ConsoleLanguage `json:"consoleLanguage,omitempty"`

	// The VTL license repository capacity TiB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// If this is an SAP pvm-instance the profile reference will link to the SAP profile
	SapProfile *SAPProfileReference `json:"sapProfile,omitempty"`

	// The pvm instance Software Licenses
	SoftwareLicenses *SoftwareLicenses `json:"softwareLicenses,omitempty"`

	// The pvm instance system reference code lists
	SystemReferenceCodes [][]*SRC `json:"systemReferenceCodes"`
}

PVMInstanceConfiguration p VM instance configuration

swagger:model PVMInstanceConfiguration

func (*PVMInstanceConfiguration) ContextValidate added in v1.2.3

func (m *PVMInstanceConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance configuration based on the context it is used

func (*PVMInstanceConfiguration) MarshalBinary added in v1.2.3

func (m *PVMInstanceConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceConfiguration) UnmarshalBinary added in v1.2.3

func (m *PVMInstanceConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceConfiguration) Validate added in v1.2.3

func (m *PVMInstanceConfiguration) Validate(formats strfmt.Registry) error

Validate validates this p VM instance configuration

type PVMInstanceConsole

type PVMInstanceConsole struct {

	// The URL to the noVNC console for the PVM Instance
	// Required: true
	ConsoleURL *string `json:"consoleURL"`
}

PVMInstanceConsole p VM instance console

swagger:model PVMInstanceConsole

func (*PVMInstanceConsole) ContextValidate added in v1.1.0

func (m *PVMInstanceConsole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance console based on context it is used

func (*PVMInstanceConsole) MarshalBinary

func (m *PVMInstanceConsole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceConsole) UnmarshalBinary

func (m *PVMInstanceConsole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceConsole) Validate

func (m *PVMInstanceConsole) Validate(formats strfmt.Registry) error

Validate validates this p VM instance console

type PVMInstanceCores added in v1.2.3

type PVMInstanceCores struct {

	// The active processor information
	// Required: true
	Assigned *float64 `json:"assigned"`

	// The maximum number of processors that can be allocated (for resize)
	Maximum float64 `json:"maximum,omitempty"`

	// The minimum number of processors that can be allocated (for resize)
	Minimum float64 `json:"minimum,omitempty"`
}

PVMInstanceCores p VM instance cores

swagger:model PVMInstanceCores

func (*PVMInstanceCores) ContextValidate added in v1.2.3

func (m *PVMInstanceCores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance cores based on context it is used

func (*PVMInstanceCores) MarshalBinary added in v1.2.3

func (m *PVMInstanceCores) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceCores) UnmarshalBinary added in v1.2.3

func (m *PVMInstanceCores) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceCores) Validate added in v1.2.3

func (m *PVMInstanceCores) Validate(formats strfmt.Registry) error

Validate validates this p VM instance cores

type PVMInstanceCreate

type PVMInstanceCreate struct {

	// if set to false, automated remote restart is disabled for the VM
	AllowRemoteRestart *bool `json:"allowRemoteRestart,omitempty"`

	// Indicates if the boot volume should be replication enabled or not
	BootVolumeReplicationEnabled *bool `json:"bootVolumeReplicationEnabled,omitempty"`

	// default IAM trusted profile to use for this virtual server instance
	DefaultTrustedProfile *TrustedProfile `json:"defaultTrustedProfile,omitempty"`

	// The deployment of a dedicated host
	DeploymentTarget *DeploymentTarget `json:"deploymentTarget,omitempty"`

	// The custom deployment type
	DeploymentType string `json:"deploymentType,omitempty"`

	// Image ID of the image to use for the server
	// Required: true
	ImageID *string `json:"imageID"`

	// The name of the SSH key pair provided to the server for authenticating users (looked up in the tenant's list of keys)
	KeyPairName string `json:"keyPairName,omitempty"`

	// The VTL license repository capacity TiB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Amount of memory allocated (in GiB)
	// Required: true
	Memory *float64 `json:"memory"`

	// The metadata service configuration
	MetadataService *MetadataService `json:"metadataService,omitempty"`

	// (deprecated - replaced by pinPolicy) Indicates if the server is allowed to migrate between hosts
	Migratable *bool `json:"migratable,omitempty"`

	// (deprecated - replaced by networks) List of Network IDs
	NetworkIDs []string `json:"networkIDs"`

	// The pvm instance networks information
	Networks []*PVMInstanceAddNetwork `json:"networks"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// The placement group for the server
	PlacementGroup string `json:"placementGroup,omitempty"`

	// processor compatibility mode
	PreferredProcessorCompatibilityMode string `json:"preferredProcessorCompatibilityMode,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
	// Minimum: 1
	Replicants *float64 `json:"replicants,omitempty"`

	// Indicates the replication site of the boot volume
	ReplicationSites []string `json:"replicationSites"`

	// Defines the enforcement action when NUMA affinity for the PVM instance is not satisfied
	// Enum: ["fail","warn","none"]
	SapHANAAffinityAction *string `json:"sapHANAAffinityAction,omitempty"`

	// Name of the server to create
	// Required: true
	ServerName *string `json:"serverName"`

	// The shared processor pool for server deployment
	SharedProcessorPool string `json:"sharedProcessorPool,omitempty"`

	// 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 pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage pool the image was created in
	StorageAffinity *StorageAffinity `json:"storageAffinity,omitempty"`

	// The storage connection type
	// Enum: ["vSCSI","maxVolumeSupport"]
	StorageConnection string `json:"storageConnection,omitempty"`

	// The storage connection type
	// Enum: ["vSCSI","maxVolumeSupport"]
	StorageConnectionV2 string `json:"storageConnectionV2,omitempty"`

	// Storage Pool for server deployment; if provided then storageAffinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage pool the image was created in
	StoragePool string `json:"storagePool,omitempty"`

	// Indicates if all volumes attached to the PVMInstance must reside in the same storage pool. If set to false, volumes from any storage pool can be attached to the PVMInstance. This flag only impacts PVMInstance snapshot and capture operations. For capture, only volumes that reside in the same storage pool as the PVMInstance's boot volume can be included. For snapshots, all volumes included in the snapshot must reside in the same storage pool.
	StoragePoolAffinity *bool `json:"storagePoolAffinity,omitempty"`

	// Storage type for server deployment; if storageType is not provided the storage type will default to 'tier3'.
	StorageType string `json:"storageType,omitempty"`

	// System type used to host the instance
	SysType string `json:"sysType,omitempty"`

	// Cloud init user defined data; For FLS, only cloud-config user-data is supported and data must not be compressed or exceed 63K
	UserData string `json:"userData,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

	// The pvm instance virtual CPU information
	VirtualCores *VirtualCores `json:"virtualCores,omitempty"`

	// Virtual Serial Number information
	VirtualSerialNumber *CreateServerVirtualSerialNumber `json:"virtualSerialNumber,omitempty"`

	// List of volume IDs
	VolumeIDs []string `json:"volumeIDs"`

	// The vPMEM volumes information
	VpmemVolumes []*VPMemVolumeCreate `json:"vpmemVolumes"`
}

PVMInstanceCreate p VM instance create

swagger:model PVMInstanceCreate

func (*PVMInstanceCreate) ContextValidate added in v1.1.0

func (m *PVMInstanceCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance create based on the context it is used

func (*PVMInstanceCreate) MarshalBinary

func (m *PVMInstanceCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceCreate) UnmarshalBinary

func (m *PVMInstanceCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceCreate) Validate

func (m *PVMInstanceCreate) Validate(formats strfmt.Registry) error

Validate validates this p VM instance create

type PVMInstanceDelete added in v1.0.51

type PVMInstanceDelete struct {

	// Indicates if the Virtual Serial Number attached to a PVM Instance is retained or not
	RetainVSN *bool `json:"retainVSN,omitempty"`
}

PVMInstanceDelete p VM instance delete

swagger:model PVMInstanceDelete

func (*PVMInstanceDelete) ContextValidate added in v1.9.0

func (m *PVMInstanceDelete) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance delete based on context it is used

func (*PVMInstanceDelete) MarshalBinary added in v1.0.51

func (m *PVMInstanceDelete) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceDelete) UnmarshalBinary added in v1.0.51

func (m *PVMInstanceDelete) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceDelete) Validate added in v1.0.51

func (m *PVMInstanceDelete) Validate(formats strfmt.Registry) error

Validate validates this p VM instance delete

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

func (m *PVMInstanceFault) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance fault based on context it is used

func (*PVMInstanceFault) MarshalBinary

func (m *PVMInstanceFault) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceFault) UnmarshalBinary

func (m *PVMInstanceFault) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceFault) Validate

func (m *PVMInstanceFault) Validate(formats strfmt.Registry) error

Validate validates this p VM instance fault

type PVMInstanceHealth

type PVMInstanceHealth struct {

	// Date/Time of PVM last health status change
	LastUpdate string `json:"lastUpdate,omitempty"`

	// The health status reason, if any
	Reason string `json:"reason,omitempty"`

	// The PVM's health status value
	Status string `json:"status,omitempty"`
}

PVMInstanceHealth PVM's health status details

swagger:model PVMInstanceHealth

func (*PVMInstanceHealth) ContextValidate added in v1.1.0

func (m *PVMInstanceHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance health based on context it is used

func (*PVMInstanceHealth) MarshalBinary

func (m *PVMInstanceHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceHealth) UnmarshalBinary

func (m *PVMInstanceHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceHealth) Validate

func (m *PVMInstanceHealth) Validate(formats strfmt.Registry) error

Validate validates this p VM instance health

type PVMInstanceList

type PVMInstanceList []*PVMInstance

PVMInstanceList A list of PVMInstances

swagger:model PVMInstanceList

func (PVMInstanceList) ContextValidate added in v1.1.0

func (m PVMInstanceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance list based on the context it is used

func (PVMInstanceList) Validate

func (m PVMInstanceList) Validate(formats strfmt.Registry) error

Validate validates this p VM instance list

type PVMInstanceMemory added in v1.2.3

type PVMInstanceMemory struct {

	// The active memory information
	// Required: true
	Assigned *float64 `json:"assigned"`

	// The maximum amount of memory that can be allocated (in GiB, for resize)
	Maximum float64 `json:"maximum,omitempty"`

	// The minimum amount of memory that can be allocated (in GiB, for resize)
	Minimum float64 `json:"minimum,omitempty"`
}

PVMInstanceMemory p VM instance memory

swagger:model PVMInstanceMemory

func (*PVMInstanceMemory) ContextValidate added in v1.2.3

func (m *PVMInstanceMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance memory based on context it is used

func (*PVMInstanceMemory) MarshalBinary added in v1.2.3

func (m *PVMInstanceMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceMemory) UnmarshalBinary added in v1.2.3

func (m *PVMInstanceMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceMemory) Validate added in v1.2.3

func (m *PVMInstanceMemory) Validate(formats strfmt.Registry) error

Validate validates this p VM instance memory

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

func (*PVMInstanceMultiCreate) Validate added in v1.0.10

func (m *PVMInstanceMultiCreate) Validate(formats strfmt.Registry) error

Validate validates this p VM instance multi create

type PVMInstanceNetwork

type PVMInstanceNetwork struct {

	// The external ip address (for pub-vlan networks)
	ExternalIP string `json:"externalIP,omitempty"`

	// Link to PVM Instance Network
	Href string `json:"href,omitempty"`

	// (deprecated - replaced by ipAddress)
	IP string `json:"ip,omitempty"`

	// The ip address of this network interface
	IPAddress string `json:"ipAddress,omitempty"`

	// The mac address of the network interface
	MacAddress string `json:"macAddress,omitempty"`

	// ID of the network
	NetworkID string `json:"networkID,omitempty"`

	// ID of the network interface
	NetworkInterfaceID string `json:"networkInterfaceID,omitempty"`

	// The name of the network the address is on
	NetworkName string `json:"networkName,omitempty"`

	// IDs of the network necurity groups that the network interface is a member of
	NetworkSecurityGroupIDs []string `json:"networkSecurityGroupIDs,omitempty"`

	// Links to the network security groups that the network interface is a member of
	NetworkSecurityGroupsHref []string `json:"networkSecurityGroupsHref,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

func (m *PVMInstanceNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance network based on context it is used

func (*PVMInstanceNetwork) MarshalBinary

func (m *PVMInstanceNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceNetwork) UnmarshalBinary

func (m *PVMInstanceNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceNetwork) Validate

func (m *PVMInstanceNetwork) Validate(formats strfmt.Registry) error

Validate validates this p VM instance network

type PVMInstanceNetworks

type PVMInstanceNetworks struct {

	// PVM Instance Networks
	// Required: true
	Networks []*PVMInstanceNetwork `json:"networks"`
}

PVMInstanceNetworks p VM instance networks

swagger:model PVMInstanceNetworks

func (*PVMInstanceNetworks) ContextValidate added in v1.1.0

func (m *PVMInstanceNetworks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance networks based on the context it is used

func (*PVMInstanceNetworks) MarshalBinary

func (m *PVMInstanceNetworks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceNetworks) UnmarshalBinary

func (m *PVMInstanceNetworks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceNetworks) Validate

func (m *PVMInstanceNetworks) Validate(formats strfmt.Registry) error

Validate validates this p VM instance networks

type PVMInstanceOperatingSystem added in v1.2.3

type PVMInstanceOperatingSystem struct {

	// Type of the OS [aix, ibmi, rhel, sles, vtl, rhcos]
	// Required: true
	Type *string `json:"type"`

	// OS system information (usually version and build)
	Version string `json:"version,omitempty"`
}

PVMInstanceOperatingSystem p VM instance operating system

swagger:model PVMInstanceOperatingSystem

func (*PVMInstanceOperatingSystem) ContextValidate added in v1.2.3

func (m *PVMInstanceOperatingSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance operating system based on context it is used

func (*PVMInstanceOperatingSystem) MarshalBinary added in v1.2.3

func (m *PVMInstanceOperatingSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceOperatingSystem) UnmarshalBinary added in v1.2.3

func (m *PVMInstanceOperatingSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceOperatingSystem) Validate added in v1.2.3

func (m *PVMInstanceOperatingSystem) Validate(formats strfmt.Registry) error

Validate validates this p VM instance operating system

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

func (m *PVMInstanceOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance operation based on the context it is used

func (*PVMInstanceOperation) MarshalBinary 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

func (*PVMInstanceOperation) Validate added in v1.0.43

func (m *PVMInstanceOperation) Validate(formats strfmt.Registry) error

Validate validates this p VM instance operation

type PVMInstanceReference

type PVMInstanceReference struct {

	// (deprecated - replaced by networks) The list of addresses and their network information
	Addresses []*PVMInstanceNetwork `json:"addresses"`

	// if set to false, automated remote restart is disabled for the VM
	AllowRemoteRestart *bool `json:"allowRemoteRestart,omitempty"`

	// Console language and code
	ConsoleLanguage *ConsoleLanguage `json:"consoleLanguage,omitempty"`

	// Date/Time of PVM creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// ID of the dedicated host where the PVM Instance is running, if applicable
	DedicatedHostID string `json:"dedicatedHostID,omitempty"`

	// default IAM trusted profile to use for this virtual server instance
	DefaultTrustedProfile *TrustedProfile `json:"defaultTrustedProfile,omitempty"`

	// Size of allocated disk (in GiB)
	// Required: true
	DiskSize *float64 `json:"diskSize"`

	// Effective processor compatibility mode
	EffectiveProcessorCompatibilityMode string `json:"effectiveProcessorCompatibilityMode,omitempty"`

	// 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 TiB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Maximum amount of memory that can be allocated (in GiB, 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 GiB)
	// Required: true
	Memory *float64 `json:"memory"`

	// The metadata service configuration
	MetadataService *MetadataService `json:"metadataService,omitempty"`

	// Minimum amount of memory that can be allocated (in GiB, 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"`

	// Preferred processor compatibility mode
	PreferredProcessorCompatibilityMode string `json:"preferredProcessorCompatibilityMode,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"`

	// Defines the enforcement action when NUMA affinity for the PVM instance is not satisfied
	SapHANAAffinityAction *string `json:"sapHANAAffinityAction,omitempty"`

	// Indicates whether the SAP HANA PVM instance is adhering to the specified NUMA affinity requirement
	SapHANAAffinityComplianceStatus *string `json:"sapHANAAffinityComplianceStatus,omitempty"`

	// 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 shared processor pool of the server
	SharedProcessorPool string `json:"sharedProcessorPool,omitempty"`

	// The shared processor pool id
	SharedProcessorPoolID string `json:"sharedProcessorPoolID,omitempty"`

	// 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"`

	// The storage connection type
	StorageConnection string `json:"storageConnection,omitempty"`

	// 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"`

	// Represents the task state of a virtual machine (VM).
	TaskState string `json:"taskState,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"`

	// Information about Virtual Serial Number assigned to the PVM Instance
	VirtualSerialNumber *GetServerVirtualSerialNumber `json:"virtualSerialNumber,omitempty"`

	// List of vPMEM volumes attached to this PVM Instance
	VpmemVolumes []*VPMemVolumeReference `json:"vpmemVolumes,omitempty"`
}

PVMInstanceReference p VM instance reference

swagger:model PVMInstanceReference

func (*PVMInstanceReference) ContextValidate added in v1.1.0

func (m *PVMInstanceReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance reference based on the context it is used

func (*PVMInstanceReference) MarshalBinary

func (m *PVMInstanceReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceReference) UnmarshalBinary

func (m *PVMInstanceReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceReference) Validate

func (m *PVMInstanceReference) Validate(formats strfmt.Registry) error

Validate validates this p VM instance reference

type PVMInstanceReferenceV2 added in v1.2.3

type PVMInstanceReferenceV2 struct {

	// The pvm instance server configuration
	Configuration *PVMInstanceConfiguration `json:"configuration,omitempty"`

	// The pvm instance cores information
	// Required: true
	Cores *PVMInstanceCores `json:"cores"`

	// Date/Time of PVM creation
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// The pvm instance deployment information
	// Required: true
	Deployment *PvmInstanceDeployment `json:"deployment"`

	// health
	Health *PVMInstanceV2Health `json:"health,omitempty"`

	// The pvm instance host information
	Host *PvmInstanceHost `json:"host,omitempty"`

	// Link to Cloud Instance resource
	// Required: true
	Href *string `json:"href"`

	// PCloud PVM Instance ID
	// Required: true
	ID *string `json:"id"`

	// The pvm instance memory information
	// Required: true
	Memory *PVMInstanceMemory `json:"memory"`

	// Name of the server
	// Required: true
	Name *string `json:"name"`

	// The pvm instance network ports information
	// Required: true
	NetworkPorts []*PVMInstanceV2NetworkPort `json:"networkPorts"`

	// The pvm instance OS system information
	// Required: true
	OperatingSystem *PVMInstanceOperatingSystem `json:"operatingSystem"`

	// The pvm instance placement group information
	PlacementGroup *PvmInstancePlacementGroup `json:"placementGroup,omitempty"`

	// The status of the instance
	// Required: true
	Status *string `json:"status"`

	// The pvm instance virtual CPU information
	VirtualCores *PVMInstanceVirtualCores `json:"virtualCores,omitempty"`

	// Information about Virtual Serial Number assigned to the PVM Instance
	VirtualSerialNumber *GetServerVirtualSerialNumber `json:"virtualSerialNumber,omitempty"`

	// List of vPMEM volumes attached to this PVM Instance
	VpmemVolumes []*VPMemVolumeReference `json:"vpmemVolumes,omitempty"`
}

PVMInstanceReferenceV2 p VM instance reference v2

swagger:model PVMInstanceReferenceV2

func (*PVMInstanceReferenceV2) ContextValidate added in v1.2.3

func (m *PVMInstanceReferenceV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance reference v2 based on the context it is used

func (*PVMInstanceReferenceV2) MarshalBinary added in v1.2.3

func (m *PVMInstanceReferenceV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceReferenceV2) UnmarshalBinary added in v1.2.3

func (m *PVMInstanceReferenceV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceReferenceV2) Validate added in v1.2.3

func (m *PVMInstanceReferenceV2) Validate(formats strfmt.Registry) error

Validate validates this p VM instance reference v2

type PVMInstanceRemoveNetwork

type PVMInstanceRemoveNetwork struct {

	// The mac address of the network interface to be removed
	MacAddress string `json:"macAddress,omitempty"`
}

PVMInstanceRemoveNetwork p VM instance remove network

swagger:model PVMInstanceRemoveNetwork

func (*PVMInstanceRemoveNetwork) ContextValidate 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

func (*PVMInstanceRemoveNetwork) Validate

func (m *PVMInstanceRemoveNetwork) Validate(formats strfmt.Registry) error

Validate validates this p VM instance remove network

type PVMInstanceUpdate

type PVMInstanceUpdate struct {

	// if set to false, automated remote restart is disabled for the VM
	AllowRemoteRestart *bool `json:"allowRemoteRestart,omitempty"`

	// Cloud Initialization Volume operations
	CloudInitialization *CloudInitialization `json:"cloudInitialization,omitempty"`

	// default IAM trusted profile to use for this virtual server instance
	DefaultTrustedProfile *UpdateTrustedProfile `json:"defaultTrustedProfile,omitempty"`

	// The VTL license repository capacity TiB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Amount of memory allocated (in GiB)
	Memory float64 `json:"memory,omitempty"`

	// The metadata service configuration
	MetadataService *UpdateMetadataService `json:"metadataService,omitempty"`

	// (deprecated - replaced by pinPolicy) Indicates if the server is allowed to migrate between hosts
	Migratable *bool `json:"migratable,omitempty"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// Preferred processor compatibility mode
	PreferredProcessorCompatibilityMode string `json:"preferredProcessorCompatibilityMode,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Enum: ["dedicated","shared","capped"]
	ProcType string `json:"procType,omitempty"`

	// Number of processors allocated
	Processors float64 `json:"processors,omitempty"`

	// Defines the enforcement action when NUMA affinity for the PVM instance is not satisfied
	// Enum: ["fail","warn","none"]
	SapHANAAffinityAction *string `json:"sapHANAAffinityAction,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

func (m *PVMInstanceUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instance update based on the context it is used

func (*PVMInstanceUpdate) MarshalBinary

func (m *PVMInstanceUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceUpdate) UnmarshalBinary

func (m *PVMInstanceUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceUpdate) Validate

func (m *PVMInstanceUpdate) Validate(formats strfmt.Registry) error

Validate validates this p VM instance update

type PVMInstanceUpdateResponse

type PVMInstanceUpdateResponse struct {

	// if set to false, automated remote restart is disabled for the VM
	AllowRemoteRestart *bool `json:"allowRemoteRestart,omitempty"`

	// default IAM trusted profile to use for this virtual server instance
	DefaultTrustedProfile *UpdateTrustedProfile `json:"defaultTrustedProfile,omitempty"`

	// The VTL license repository capacity TiB value
	LicenseRepositoryCapacity int64 `json:"licenseRepositoryCapacity,omitempty"`

	// Amount of memory allocated (in GiB)
	Memory float64 `json:"memory,omitempty"`

	// The metadata service configuration
	MetadataService *UpdateMetadataService `json:"metadataService,omitempty"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// Preferred processor compatibility mode
	PreferredProcessorCompatibilityMode string `json:"preferredProcessorCompatibilityMode,omitempty"`

	// Processor type (dedicated, shared, capped)
	// Enum: ["dedicated","shared","capped"]
	ProcType string `json:"procType,omitempty"`

	// Number of processors allocated
	Processors float64 `json:"processors,omitempty"`

	// Defines the enforcement action when NUMA affinity for the PVM instance is not satisfied
	SapHANAAffinityAction *string `json:"sapHANAAffinityAction,omitempty"`

	// Indicates whether the SAP HANA PVM instance is adhering to the specified NUMA affinity requirement
	SapHANAAffinityComplianceStatus *string `json:"sapHANAAffinityComplianceStatus,omitempty"`

	// Name of the server
	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)
	StatusURL string `json:"statusUrl,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"`
}

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

func (*PVMInstanceUpdateResponse) Validate

func (m *PVMInstanceUpdateResponse) Validate(formats strfmt.Registry) error

Validate validates this p VM instance update response

type PVMInstanceV2Health added in v1.3.0

type PVMInstanceV2Health struct {

	// The PVM's health status value
	// Required: true
	Status *string `json:"status"`
}

PVMInstanceV2Health PVM's health status details

swagger:model PVMInstanceV2Health

func (*PVMInstanceV2Health) ContextValidate added in v1.3.0

func (m *PVMInstanceV2Health) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance v2 health based on context it is used

func (*PVMInstanceV2Health) MarshalBinary added in v1.3.0

func (m *PVMInstanceV2Health) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceV2Health) UnmarshalBinary added in v1.3.0

func (m *PVMInstanceV2Health) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceV2Health) Validate added in v1.3.0

func (m *PVMInstanceV2Health) Validate(formats strfmt.Registry) error

Validate validates this p VM instance v2 health

type PVMInstanceV2NetworkPort added in v1.3.0

type PVMInstanceV2NetworkPort struct {

	// Unique Port ID
	ID string `json:"id,omitempty"`

	// Dynamic Host Configuration Protocol {IPv4, IPv6}
	// Enum: ["IPv4","IPv6"]
	IPProtocol string `json:"ipProtocol,omitempty"`

	// The mac address of the network interface
	MacAddress string `json:"macAddress,omitempty"`

	// The private ip address
	PrivateIP string `json:"privateIP,omitempty"`

	// The type of ip allocation {dhcp, static}
	// Enum: ["dhcp","static"]
	Type string `json:"type,omitempty"`
}

PVMInstanceV2NetworkPort PVM's Port information

swagger:model PVMInstanceV2NetworkPort

func (*PVMInstanceV2NetworkPort) ContextValidate added in v1.3.0

func (m *PVMInstanceV2NetworkPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance v2 network port based on context it is used

func (*PVMInstanceV2NetworkPort) MarshalBinary added in v1.3.0

func (m *PVMInstanceV2NetworkPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceV2NetworkPort) UnmarshalBinary added in v1.3.0

func (m *PVMInstanceV2NetworkPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceV2NetworkPort) Validate added in v1.3.0

func (m *PVMInstanceV2NetworkPort) Validate(formats strfmt.Registry) error

Validate validates this p VM instance v2 network port

type PVMInstanceVirtualCores added in v1.2.3

type PVMInstanceVirtualCores struct {

	// The active virtual Cores
	// Required: true
	// Minimum: 1
	Assigned *int64 `json:"assigned"`

	// The maximum DLPAR range for virtual Cores (Display only support)
	Maximum int64 `json:"maximum,omitempty"`

	// The minimum DLPAR range for virtual Cores (Display only support)
	Minimum int64 `json:"minimum,omitempty"`
}

PVMInstanceVirtualCores p VM instance virtual cores

swagger:model PVMInstanceVirtualCores

func (*PVMInstanceVirtualCores) ContextValidate added in v1.2.3

func (m *PVMInstanceVirtualCores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p VM instance virtual cores based on context it is used

func (*PVMInstanceVirtualCores) MarshalBinary added in v1.2.3

func (m *PVMInstanceVirtualCores) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstanceVirtualCores) UnmarshalBinary added in v1.2.3

func (m *PVMInstanceVirtualCores) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstanceVirtualCores) Validate added in v1.2.3

func (m *PVMInstanceVirtualCores) Validate(formats strfmt.Registry) error

Validate validates this p VM instance virtual cores

type PVMInstanceVolumeUpdate

type PVMInstanceVolumeUpdate struct {

	// Indicates if the volume should be deleted when the PVMInstance is terminated.
	// Required: true
	DeleteOnTermination *bool `json:"deleteOnTermination"`
}

PVMInstanceVolumeUpdate p VM instance volume update

swagger:model PVMInstanceVolumeUpdate

func (*PVMInstanceVolumeUpdate) ContextValidate 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

func (*PVMInstanceVolumeUpdate) Validate

func (m *PVMInstanceVolumeUpdate) Validate(formats strfmt.Registry) error

Validate validates this p VM instance volume update

type PVMInstances

type PVMInstances struct {

	// PVM Instance References
	// Required: true
	PvmInstances []*PVMInstanceReference `json:"pvmInstances"`
}

PVMInstances p VM instances

swagger:model PVMInstances

func (*PVMInstances) ContextValidate added in v1.1.0

func (m *PVMInstances) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instances based on the context it is used

func (*PVMInstances) MarshalBinary

func (m *PVMInstances) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstances) UnmarshalBinary

func (m *PVMInstances) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstances) Validate

func (m *PVMInstances) Validate(formats strfmt.Registry) error

Validate validates this p VM instances

type PVMInstancesV2 added in v1.2.3

type PVMInstancesV2 struct {

	// PVM Instance References
	// Required: true
	PvmInstances []*PVMInstanceReferenceV2 `json:"pvmInstances"`
}

PVMInstancesV2 p VM instances v2

swagger:model PVMInstancesV2

func (*PVMInstancesV2) ContextValidate added in v1.2.3

func (m *PVMInstancesV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p VM instances v2 based on the context it is used

func (*PVMInstancesV2) MarshalBinary added in v1.2.3

func (m *PVMInstancesV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PVMInstancesV2) UnmarshalBinary added in v1.2.3

func (m *PVMInstancesV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PVMInstancesV2) Validate added in v1.2.3

func (m *PVMInstancesV2) Validate(formats strfmt.Registry) error

Validate validates this p VM instances v2

type PeerGatewayAddress added in v1.0.75

type PeerGatewayAddress strfmt.IPv4

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

func (m PeerGatewayAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer gateway address based on context it is used

func (PeerGatewayAddress) Validate added in v1.0.75

func (m PeerGatewayAddress) Validate(formats strfmt.Registry) error

Validate validates this peer gateway address

type PeerInterface added in v1.13.0

type PeerInterface struct {

	// device ID of the peer interface
	// Example: switch1
	// Required: true
	DeviceID *string `json:"deviceID"`

	// peer interface name
	// Example: Peer121
	// Required: true
	Name *string `json:"name"`

	// peer interface ID
	// Example: 031ab7da-bca6-493f-ac55-1a2a26f19160
	// Required: true
	PeerInterfaceID *string `json:"peerInterfaceID"`

	// type of peer interface
	// Example: interface
	// Required: true
	// Enum: ["interface","lag"]
	PeerType *string `json:"peerType"`

	// port ID of the peer interface
	// Example: po10
	// Required: true
	PortID *string `json:"portID"`
}

PeerInterface peer interface

swagger:model PeerInterface

func (*PeerInterface) ContextValidate added in v1.13.0

func (m *PeerInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer interface based on context it is used

func (*PeerInterface) MarshalBinary added in v1.13.0

func (m *PeerInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeerInterface) UnmarshalBinary added in v1.13.0

func (m *PeerInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeerInterface) Validate added in v1.13.0

func (m *PeerInterface) Validate(formats strfmt.Registry) error

Validate validates this peer interface

type PeerInterfaces added in v1.13.0

type PeerInterfaces []*PeerInterface

PeerInterfaces peer interfaces

swagger:model PeerInterfaces

func (PeerInterfaces) ContextValidate added in v1.13.0

func (m PeerInterfaces) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this peer interfaces based on the context it is used

func (PeerInterfaces) Validate added in v1.13.0

func (m PeerInterfaces) Validate(formats strfmt.Registry) error

Validate validates this peer interfaces

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

func (m *PeerSubnetUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer subnet update based on context it is used

func (*PeerSubnetUpdate) MarshalBinary 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

func (*PeerSubnetUpdate) Validate added in v1.0.75

func (m *PeerSubnetUpdate) Validate(formats strfmt.Registry) error

Validate validates this peer subnet update

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

func (m *PeerSubnets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer subnets based on context it is used

func (*PeerSubnets) MarshalBinary 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

func (*PeerSubnets) Validate added in v1.0.75

func (m *PeerSubnets) Validate(formats strfmt.Registry) error

Validate validates this peer subnets

type PeeringNetwork

type PeeringNetwork struct {

	// Network in CIDR notation (192.168.0.0/24)
	// Required: true
	Cidr *string `json:"cidr" datastore:"cidr"`

	// DNS Servers
	DNSServers []string `json:"dnsServers,omitempty" datastore:"dnsServers"`

	// Name of project to be peered
	// Required: true
	ProjectName *string `json:"projectName" datastore:"projectName"`
}

PeeringNetwork peering network

swagger:model PeeringNetwork

func (*PeeringNetwork) ContextValidate added in v1.1.0

func (m *PeeringNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peering network based on context it is used

func (*PeeringNetwork) MarshalBinary

func (m *PeeringNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeeringNetwork) UnmarshalBinary

func (m *PeeringNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeeringNetwork) Validate

func (m *PeeringNetwork) Validate(formats strfmt.Registry) error

Validate validates this peering network

type Permissions added in v1.1.10

type Permissions struct {

	// Determines if role has manage (ex. delete) level access
	// Required: true
	Manage *bool `json:"manage"`

	// Determines if role has read level access
	// Required: true
	Read *bool `json:"read"`

	// Determines if role has write level access
	// Required: true
	Write *bool `json:"write"`
}

Permissions permissions

swagger:model Permissions

func (*Permissions) ContextValidate added in v1.1.10

func (m *Permissions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this permissions based on context it is used

func (*Permissions) MarshalBinary added in v1.1.10

func (m *Permissions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Permissions) UnmarshalBinary added in v1.1.10

func (m *Permissions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Permissions) Validate added in v1.1.10

func (m *Permissions) Validate(formats strfmt.Registry) error

Validate validates this permissions

type PinPolicy added in v1.0.1

type PinPolicy string

PinPolicy Specify PVM pin policy

swagger:model PinPolicy

const (

	// PinPolicyNone captures enum value "none"
	PinPolicyNone PinPolicy = "none"

	// PinPolicySoft captures enum value "soft"
	PinPolicySoft PinPolicy = "soft"

	// PinPolicyHard captures enum value "hard"
	PinPolicyHard PinPolicy = "hard"
)

func NewPinPolicy added in v1.1.0

func NewPinPolicy(value PinPolicy) *PinPolicy

func (PinPolicy) ContextValidate added in v1.1.0

func (m PinPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pin policy based on context it is used

func (PinPolicy) Pointer added in v1.1.1

func (m PinPolicy) Pointer() *PinPolicy

Pointer returns a pointer to a freshly-allocated PinPolicy.

func (PinPolicy) Validate added in v1.0.1

func (m PinPolicy) Validate(formats strfmt.Registry) error

Validate validates this pin policy

type PlacementGroup added in v1.0.59

type PlacementGroup struct {

	// crn
	Crn CRN `json:"crn,omitempty"`

	// 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"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

PlacementGroup placement group

swagger:model PlacementGroup

func (*PlacementGroup) ContextValidate added in v1.1.0

func (m *PlacementGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this placement group based on the 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

func (*PlacementGroup) Validate added in v1.0.59

func (m *PlacementGroup) Validate(formats strfmt.Registry) error

Validate validates this placement group

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"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

PlacementGroupCreate placement group create

swagger:model PlacementGroupCreate

func (*PlacementGroupCreate) ContextValidate added in v1.1.0

func (m *PlacementGroupCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this placement group create based on the 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

func (*PlacementGroupCreate) Validate added in v1.0.59

func (m *PlacementGroupCreate) Validate(formats strfmt.Registry) error

Validate validates this placement group create

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

func (m *PlacementGroupServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this placement group server based on context it is used

func (*PlacementGroupServer) MarshalBinary 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

func (*PlacementGroupServer) Validate added in v1.0.59

func (m *PlacementGroupServer) Validate(formats strfmt.Registry) error

Validate validates this placement group server

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

func (m *PlacementGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this placement groups based on the context it is used

func (*PlacementGroups) MarshalBinary 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

func (*PlacementGroups) Validate added in v1.0.59

func (m *PlacementGroups) Validate(formats strfmt.Registry) error

Validate validates this placement groups

type Plan

type Plan struct {

	// bindable
	Bindable bool `json:"bindable,omitempty"`

	// description
	// Required: true
	Description *string `json:"description"`

	// free
	Free *bool `json:"free,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// schemas
	Schemas *SchemasObject `json:"schemas,omitempty"`
}

Plan plan

swagger:model Plan

func (*Plan) ContextValidate added in v1.1.0

func (m *Plan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this plan based on the context it is used

func (*Plan) MarshalBinary

func (m *Plan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Plan) UnmarshalBinary

func (m *Plan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Plan) Validate

func (m *Plan) Validate(formats strfmt.Registry) error

Validate validates this plan

type PnsCloudAccountNetifs added in v1.15.0

type PnsCloudAccountNetifs map[string]PnsServiceInstanceNetifs

PnsCloudAccountNetifs A hashmap of network interfaces in the entire cloud account

swagger:model PnsCloudAccountNetifs

func (PnsCloudAccountNetifs) ContextValidate added in v1.15.0

func (m PnsCloudAccountNetifs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns cloud account netifs based on the context it is used

func (PnsCloudAccountNetifs) Validate added in v1.15.0

func (m PnsCloudAccountNetifs) Validate(formats strfmt.Registry) error

Validate validates this pns cloud account netifs

type PnsCloudAccountNetworks added in v1.15.0

type PnsCloudAccountNetworks map[string]PnsServiceInstanceNetworks

PnsCloudAccountNetworks A hashmap of networks in the entire cloud account

swagger:model PnsCloudAccountNetworks

func (PnsCloudAccountNetworks) ContextValidate added in v1.15.0

func (m PnsCloudAccountNetworks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns cloud account networks based on the context it is used

func (PnsCloudAccountNetworks) Validate added in v1.15.0

func (m PnsCloudAccountNetworks) Validate(formats strfmt.Registry) error

Validate validates this pns cloud account networks

type PnsNetwork added in v1.15.0

type PnsNetwork struct {

	// cidr of the subnet
	Cidr string `json:"cidr,omitempty"`

	// a list of DNS server IPs
	DNSServers []string `json:"dnsServers"`

	// network will support DHCP
	EnableDHCP bool `json:"enableDHCP,omitempty"`

	// gateway of the subnet
	Gateway string `json:"gateway,omitempty"`

	// maximum transmission unit
	Mtu int64 `json:"mtu,omitempty"`

	// associated vlan of the subnet
	Vlan int64 `json:"vlan,omitempty"`
}

PnsNetwork pns network

swagger:model PnsNetwork

func (*PnsNetwork) ContextValidate added in v1.15.0

func (m *PnsNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pns network based on context it is used

func (*PnsNetwork) MarshalBinary added in v1.15.0

func (m *PnsNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PnsNetwork) UnmarshalBinary added in v1.15.0

func (m *PnsNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PnsNetwork) Validate added in v1.15.0

func (m *PnsNetwork) Validate(formats strfmt.Registry) error

Validate validates this pns network

type PnsNetworkInterface added in v1.15.0

type PnsNetworkInterface struct {

	// an IP address assigned with the network interface
	IPAddress string `json:"ipAddress,omitempty"`

	// a unique MAC address associated with the network interface
	MacAddress string `json:"macAddress,omitempty"`
}

PnsNetworkInterface pns network interface

swagger:model PnsNetworkInterface

func (*PnsNetworkInterface) ContextValidate added in v1.15.0

func (m *PnsNetworkInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pns network interface based on context it is used

func (*PnsNetworkInterface) MarshalBinary added in v1.15.0

func (m *PnsNetworkInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PnsNetworkInterface) UnmarshalBinary added in v1.15.0

func (m *PnsNetworkInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PnsNetworkInterface) Validate added in v1.15.0

func (m *PnsNetworkInterface) Validate(formats strfmt.Registry) error

Validate validates this pns network interface

type PnsNetworkNetifs added in v1.15.0

type PnsNetworkNetifs map[string]PnsNetworkInterface

PnsNetworkNetifs All network interfaces belonging to this network

swagger:model PnsNetworkNetifs

func (PnsNetworkNetifs) ContextValidate added in v1.15.0

func (m PnsNetworkNetifs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns network netifs based on the context it is used

func (PnsNetworkNetifs) Validate added in v1.15.0

func (m PnsNetworkNetifs) Validate(formats strfmt.Registry) error

Validate validates this pns network netifs

type PnsRegionZoneNetifs added in v1.15.0

type PnsRegionZoneNetifs map[string]PnsCloudAccountNetifs

PnsRegionZoneNetifs A hashmap of network interfaces in the entire region zone (each key is a cloud account in the region zone) Example: {"4c7c5cf1d276469491b3af03c8161a51":{"76691e1e-767c-4f21-8996-8691f28c1aa5":{"5c0e12b3-5f70-49d3-9392-06b64a18b330":{"e2bef5ec-9a5a-4c1e-b12a-06e8503c0bf8":{"ipAddress":"192.168.1.2","macAddress":"aa:bb:cc:dd:ee:ff"}}}}}

swagger:model PnsRegionZoneNetifs

func (PnsRegionZoneNetifs) ContextValidate added in v1.15.0

func (m PnsRegionZoneNetifs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns region zone netifs based on the context it is used

func (PnsRegionZoneNetifs) Validate added in v1.15.0

func (m PnsRegionZoneNetifs) Validate(formats strfmt.Registry) error

Validate validates this pns region zone netifs

type PnsRegionZoneNetworks added in v1.15.0

type PnsRegionZoneNetworks map[string]PnsCloudAccountNetworks

PnsRegionZoneNetworks A hashmap of networks in the entire region zone (each key is a cloud account in the region zone) Example: {"4c7c5cf1d276469491b3af03c8161a51":{"76691e1e-767c-4f21-8996-8691f28c1aa5":{"5c0e12b3-5f70-49d3-9392-06b64a18b330":{"cidr":"192.168.1.0/28","dnsServer":["127.0.0.1","1.1.1.1"],"enableDHCP":true,"gateway":"192.168.1.1","mtu":1450,"vlan":2000}}}}

swagger:model PnsRegionZoneNetworks

func (PnsRegionZoneNetworks) ContextValidate added in v1.15.0

func (m PnsRegionZoneNetworks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns region zone networks based on the context it is used

func (PnsRegionZoneNetworks) Validate added in v1.15.0

func (m PnsRegionZoneNetworks) Validate(formats strfmt.Registry) error

Validate validates this pns region zone networks

type PnsServiceInstanceNetifs added in v1.15.0

type PnsServiceInstanceNetifs map[string]PnsNetworkNetifs

PnsServiceInstanceNetifs A hashmap of network interfaces in the entire service instance

swagger:model PnsServiceInstanceNetifs

func (PnsServiceInstanceNetifs) ContextValidate added in v1.15.0

func (m PnsServiceInstanceNetifs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns service instance netifs based on the context it is used

func (PnsServiceInstanceNetifs) Validate added in v1.15.0

func (m PnsServiceInstanceNetifs) Validate(formats strfmt.Registry) error

Validate validates this pns service instance netifs

type PnsServiceInstanceNetworks added in v1.15.0

type PnsServiceInstanceNetworks map[string]PnsNetwork

PnsServiceInstanceNetworks A hashmap of networks in the entire service instance

swagger:model PnsServiceInstanceNetworks

func (PnsServiceInstanceNetworks) ContextValidate added in v1.15.0

func (m PnsServiceInstanceNetworks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pns service instance networks based on the context it is used

func (PnsServiceInstanceNetworks) Validate added in v1.15.0

func (m PnsServiceInstanceNetworks) Validate(formats strfmt.Registry) error

Validate validates this pns service instance networks

type PodCapacity added in v1.3.0

type PodCapacity struct {

	// pod data
	PodData *PodData `json:"PodData,omitempty"`

	// storage controllers
	StorageControllers StorageControllers `json:"StorageControllers,omitempty"`

	// system pools
	SystemPools SystemPoolsCapacity `json:"SystemPools,omitempty"`
}

PodCapacity List of available resources within a Pod

swagger:model PodCapacity

func (*PodCapacity) ContextValidate added in v1.3.0

func (m *PodCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pod capacity based on the context it is used

func (*PodCapacity) MarshalBinary added in v1.3.0

func (m *PodCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodCapacity) UnmarshalBinary added in v1.3.0

func (m *PodCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodCapacity) Validate added in v1.3.0

func (m *PodCapacity) Validate(formats strfmt.Registry) error

Validate validates this pod capacity

type PodData added in v1.3.0

type PodData struct {

	// Number of available cores in the Pod
	// Required: true
	Cores *float64 `json:"cores"`

	// Amount of available memory in the Pod (GiB)
	// Required: true
	Memory *int64 `json:"memory"`

	// ID of the Satellite Location
	// Required: true
	SatLocationID *string `json:"satLocationID"`

	// Amount of available storage in the Pod (GiB)
	// Required: true
	Storage *int64 `json:"storage"`

	// Total number of usable cores in the Pod
	// Required: true
	TotalCores *float64 `json:"totalCores"`

	// Total amount of usable memory in the Pod (GiB)
	// Required: true
	TotalMemory *int64 `json:"totalMemory"`

	// Total number of physical cores in the Pod
	// Required: true
	TotalPhysCores *float64 `json:"totalPhysCores"`

	// Total amount of physical memory in the Pod (GiB)
	// Required: true
	TotalPhysMemory *int64 `json:"totalPhysMemory"`

	// Total amount of physical storage in the Pod (GiB)
	// Required: true
	TotalPhysStorage *float64 `json:"totalPhysStorage"`

	// Total amount of usable storage in the Pod (GiB)
	// Required: true
	TotalStorage *int64 `json:"totalStorage"`
}

PodData Description of a PPCaaS Pod

swagger:model PodData

func (*PodData) ContextValidate added in v1.3.0

func (m *PodData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod data based on context it is used

func (*PodData) MarshalBinary added in v1.3.0

func (m *PodData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodData) UnmarshalBinary added in v1.3.0

func (m *PodData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodData) Validate added in v1.3.0

func (m *PodData) Validate(formats strfmt.Registry) error

Validate validates this pod data

type PowerEdgeRouterAction added in v1.7.0

type PowerEdgeRouterAction struct {

	// Name of the action to take; can be migrate-start, migrate-validate
	// Required: true
	// Enum: ["migrate-start","migrate-validate"]
	Action *string `json:"action"`
}

PowerEdgeRouterAction power edge router action

swagger:model PowerEdgeRouterAction

func (*PowerEdgeRouterAction) ContextValidate added in v1.7.0

func (m *PowerEdgeRouterAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this power edge router action based on context it is used

func (*PowerEdgeRouterAction) MarshalBinary added in v1.7.0

func (m *PowerEdgeRouterAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PowerEdgeRouterAction) UnmarshalBinary added in v1.7.0

func (m *PowerEdgeRouterAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PowerEdgeRouterAction) Validate added in v1.7.0

func (m *PowerEdgeRouterAction) Validate(formats strfmt.Registry) error

Validate validates this power edge router action

type PowerVSInstance added in v1.1.10

type PowerVSInstance struct {

	// capabilities
	// Required: true
	Capabilities InstanceCapabilities `json:"capabilities"`

	// The timestamp in which the PowerVS service instance was created
	// Example: 2022-04-04T16:20:15.581636275Z
	// Required: true
	CreationDate *string `json:"creationDate"`

	// The PowerVS Service Instance CRN
	// Example: crn:v1:bluemix:public:power-iaas:dal12:a/2bc3df23c0d14ebe921397bd8aa2573a:3a5798f1-4d2b-4e0a-9311-9b0fd6b94698::
	// Required: true
	Crn *string `json:"crn"`

	// The PowerVS IBM Cloud URL path for UI (Tentative, still need verification that this is possible)
	// Example: https://cloud.ibm.com/services/power-iaas/crn%3Av1%3Abluemix%3Apublic%3Apower-iaas%3Adal12%3Aa%2F2bc3df23c0d14ebe921397bd8aa2573a%3A5de8348d-bc6a-466e-854f-661d1e86b230%3A%3A
	// Required: true
	Href *string `json:"href"`

	// The PowerVS Service Instance ID
	// Example: 3a5798f1-4d2b-4e0a-9311-9b0fd6b94698
	// Required: true
	ID *string `json:"id"`

	// Location of the PowerVS Instance
	// Example: dal12
	// Required: true
	Location *string `json:"location"`

	// The PowerVS URL path to access specific service instance information
	// Example: https://us-south.power-iaas.cloud.ibm.com
	// Required: true
	LocationURL *string `json:"locationUrl"`

	// The name of the service instance (This field will be empty for old accounts as PowerVS did not previously saved the names)
	// Example: Test Name
	// Required: true
	Name *string `json:"name"`

	// Defines if the user has administrator privileges
	// Example: true
	// Required: true
	PrivilegedUser *bool `json:"privilegedUser"`

	// IBM Resource Group ID associated with the PowerVS Service Instance (This field will be empty for old accounts as PowerVS did not previously saved the Resource Group ID)
	// Example: 2bf1887bf5c947b1966de2bd88220489
	ResourceGroupID string `json:"resourceGroupId,omitempty"`

	// The status of the service instance (PowerVS behavior, if Service Instance exists then then status is active)
	// Example: Active
	// Required: true
	Status *string `json:"status"`
}

PowerVSInstance PowerVS Instance for a specific IBM Cloud Account

swagger:model PowerVSInstance

func (*PowerVSInstance) ContextValidate added in v1.1.10

func (m *PowerVSInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this power v s instance based on the context it is used

func (*PowerVSInstance) MarshalBinary added in v1.1.10

func (m *PowerVSInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PowerVSInstance) UnmarshalBinary added in v1.1.10

func (m *PowerVSInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PowerVSInstance) Validate added in v1.1.10

func (m *PowerVSInstance) Validate(formats strfmt.Registry) error

Validate validates this power v s instance

type PowerVSInstances added in v1.1.10

type PowerVSInstances struct {

	// power vs instances
	// Required: true
	PowerVsInstances []*PowerVSInstance `json:"powerVsInstances"`
}

PowerVSInstances The List of PowerVS Instances for a specific IBM Cloud Account

swagger:model PowerVSInstances

func (*PowerVSInstances) ContextValidate added in v1.1.10

func (m *PowerVSInstances) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this power v s instances based on the context it is used

func (*PowerVSInstances) MarshalBinary added in v1.1.12

func (m *PowerVSInstances) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PowerVSInstances) UnmarshalBinary added in v1.1.12

func (m *PowerVSInstances) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PowerVSInstances) Validate added in v1.1.10

func (m *PowerVSInstances) Validate(formats strfmt.Registry) error

Validate validates this power v s instances

type PvmInstanceDeployment added in v1.2.3

type PvmInstanceDeployment struct {

	// Machine type used to host the instance
	MachineType string `json:"machineType,omitempty"`

	// VM pin policy to use [none, soft, hard]
	PinPolicy string `json:"pinPolicy,omitempty"`

	// Processor mode (dedicated, shared, capped)
	// Required: true
	// Enum: ["dedicated","shared","capped"]
	ProcessorMode *string `json:"processorMode"`

	// Type of Deployment [SAP-RISE, EPIC]
	Type string `json:"type,omitempty"`
}

PvmInstanceDeployment pvm instance deployment

swagger:model PvmInstanceDeployment

func (*PvmInstanceDeployment) ContextValidate added in v1.2.3

func (m *PvmInstanceDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pvm instance deployment based on context it is used

func (*PvmInstanceDeployment) MarshalBinary added in v1.2.3

func (m *PvmInstanceDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PvmInstanceDeployment) UnmarshalBinary added in v1.2.3

func (m *PvmInstanceDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PvmInstanceDeployment) Validate added in v1.2.3

func (m *PvmInstanceDeployment) Validate(formats strfmt.Registry) error

Validate validates this pvm instance deployment

type PvmInstanceHost added in v1.2.3

type PvmInstanceHost struct {

	// ID of the dedicated host where the PVM Instance is running, if applicable
	DedicatedHostID string `json:"dedicatedHostID,omitempty"`

	// The PVM Instance Host ID (Internal Use Only)
	ID int64 `json:"id,omitempty"`
}

PvmInstanceHost pvm instance host

swagger:model PvmInstanceHost

func (*PvmInstanceHost) ContextValidate added in v1.2.3

func (m *PvmInstanceHost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pvm instance host based on context it is used

func (*PvmInstanceHost) MarshalBinary added in v1.2.3

func (m *PvmInstanceHost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PvmInstanceHost) UnmarshalBinary added in v1.2.3

func (m *PvmInstanceHost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PvmInstanceHost) Validate added in v1.2.3

func (m *PvmInstanceHost) Validate(formats strfmt.Registry) error

Validate validates this pvm instance host

type PvmInstancePlacementGroup added in v1.2.3

type PvmInstancePlacementGroup struct {

	// The placement group id of the server
	// Required: true
	ID *string `json:"id"`
}

PvmInstancePlacementGroup pvm instance placement group

swagger:model PvmInstancePlacementGroup

func (*PvmInstancePlacementGroup) ContextValidate added in v1.2.3

func (m *PvmInstancePlacementGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pvm instance placement group based on context it is used

func (*PvmInstancePlacementGroup) MarshalBinary added in v1.2.3

func (m *PvmInstancePlacementGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PvmInstancePlacementGroup) UnmarshalBinary added in v1.2.3

func (m *PvmInstancePlacementGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PvmInstancePlacementGroup) Validate added in v1.2.3

func (m *PvmInstancePlacementGroup) Validate(formats strfmt.Registry) error

Validate validates this pvm instance placement group

type RegionStorageTiers added in v1.3.0

type RegionStorageTiers []*StorageTier

RegionStorageTiers An array of of storage tiers supported in a region

swagger:model RegionStorageTiers

func (RegionStorageTiers) ContextValidate added in v1.3.0

func (m RegionStorageTiers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this region storage tiers based on the context it is used

func (RegionStorageTiers) Validate added in v1.3.0

func (m RegionStorageTiers) Validate(formats strfmt.Registry) error

Validate validates this region storage tiers

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

func (m RegionStorageTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this region storage types based on the context it is used

func (RegionStorageTypes) Validate

func (m RegionStorageTypes) Validate(formats strfmt.Registry) error

Validate validates this region storage types

type RemoteCopyRelationship added in v1.1.8

type RemoteCopyRelationship struct {

	// Name of the volume that is acting as the auxiliary change volume for the relationship
	AuxChangedVolumeName string `json:"auxChangedVolumeName,omitempty"`

	// Auxiliary volume name at storage host level
	AuxVolumeName string `json:"auxVolumeName,omitempty"`

	// Consistency Group Name if volume is a part of volume group
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// Indicates the copy type.
	CopyType string `json:"copyType,omitempty"`

	// Indicates the type of cycling mode used.
	CyclingMode string `json:"cyclingMode,omitempty"`

	// Freeze time of remote copy relationship
	// Format: date-time
	FreezeTime strfmt.DateTime `json:"freezeTime,omitempty"`

	// Name of the volume that is acting as the master change volume for the relationship
	MasterChangedVolumeName string `json:"masterChangedVolumeName,omitempty"`

	// Master volume name at storage host level
	MasterVolumeName string `json:"masterVolumeName,omitempty"`

	// Remote copy relationship name
	// Required: true
	Name *string `json:"name"`

	// Indicates whether master/aux volume is playing the primary role
	PrimaryRole string `json:"primaryRole,omitempty"`

	// Indicates the relationship progress
	Progress int64 `json:"progress,omitempty"`

	// Remote copy relationship ID
	// Required: true
	RemoteCopyID *string `json:"remoteCopyID"`

	// Indicates the relationship state
	State string `json:"state,omitempty"`

	// Indicates whether the relationship is synchronized
	Sync string `json:"sync,omitempty"`
}

RemoteCopyRelationship remote copy relationship

swagger:model RemoteCopyRelationship

func (*RemoteCopyRelationship) ContextValidate added in v1.1.8

func (m *RemoteCopyRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote copy relationship based on context it is used

func (*RemoteCopyRelationship) MarshalBinary added in v1.1.8

func (m *RemoteCopyRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteCopyRelationship) UnmarshalBinary added in v1.1.8

func (m *RemoteCopyRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteCopyRelationship) Validate added in v1.1.8

func (m *RemoteCopyRelationship) Validate(formats strfmt.Registry) error

Validate validates this remote copy relationship

type RemoveVirtualSerialNumber added in v1.9.0

type RemoveVirtualSerialNumber struct {

	// Provide a reserved Virtual Serial Number
	// Required: true
	Serial *string `json:"serial"`
}

RemoveVirtualSerialNumber remove virtual serial number

swagger:model RemoveVirtualSerialNumber

func (*RemoveVirtualSerialNumber) ContextValidate added in v1.9.0

func (m *RemoveVirtualSerialNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remove virtual serial number based on context it is used

func (*RemoveVirtualSerialNumber) MarshalBinary added in v1.9.0

func (m *RemoveVirtualSerialNumber) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveVirtualSerialNumber) UnmarshalBinary added in v1.9.0

func (m *RemoveVirtualSerialNumber) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveVirtualSerialNumber) Validate added in v1.9.0

func (m *RemoveVirtualSerialNumber) Validate(formats strfmt.Registry) error

Validate validates this remove virtual serial number

type ReplicationService added in v1.8.1

type ReplicationService struct {

	// Service Enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// List of all replication targets
	// Required: true
	TargetLocations []*ReplicationTargetLocation `json:"targetLocations"`
}

ReplicationService replication service

swagger:model ReplicationService

func (*ReplicationService) ContextValidate added in v1.8.1

func (m *ReplicationService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this replication service based on the context it is used

func (*ReplicationService) MarshalBinary added in v1.8.1

func (m *ReplicationService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReplicationService) UnmarshalBinary added in v1.8.1

func (m *ReplicationService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReplicationService) Validate added in v1.8.1

func (m *ReplicationService) Validate(formats strfmt.Registry) error

Validate validates this replication service

type ReplicationSites added in v1.1.11

type ReplicationSites []*Site

ReplicationSites list of Replication Sites

swagger:model ReplicationSites

func (ReplicationSites) ContextValidate added in v1.1.11

func (m ReplicationSites) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this replication sites based on the context it is used

func (ReplicationSites) Validate added in v1.1.11

func (m ReplicationSites) Validate(formats strfmt.Registry) error

Validate validates this replication sites

type ReplicationTargetLocation added in v1.8.1

type ReplicationTargetLocation struct {

	// regionZone of replication site
	Region string `json:"region,omitempty"`

	// the replication site is active / down
	// Enum: ["active","down"]
	Status string `json:"status,omitempty"`
}

ReplicationTargetLocation replication target location

swagger:model ReplicationTargetLocation

func (*ReplicationTargetLocation) ContextValidate added in v1.8.1

func (m *ReplicationTargetLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this replication target location based on context it is used

func (*ReplicationTargetLocation) MarshalBinary added in v1.8.1

func (m *ReplicationTargetLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReplicationTargetLocation) UnmarshalBinary added in v1.8.1

func (m *ReplicationTargetLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReplicationTargetLocation) Validate added in v1.8.1

func (m *ReplicationTargetLocation) Validate(formats strfmt.Registry) error

Validate validates this replication target location

type ResourceAccess added in v1.1.10

type ResourceAccess map[string]AccessRole

ResourceAccess resource access

swagger:model ResourceAccess

func (ResourceAccess) ContextValidate added in v1.1.10

func (m ResourceAccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource access based on the context it is used

func (ResourceAccess) Validate added in v1.1.10

func (m ResourceAccess) Validate(formats strfmt.Registry) error

Validate validates this resource access

type ResourceTargetInfo added in v1.1.10

type ResourceTargetInfo struct {

	// Workaround for API's not having region in their context
	Region string `json:"region,omitempty"`

	// Workaround for AT event tracker
	ResourceGroupCRN string `json:"resourceGroupCRN,omitempty"`

	// CRN of the target resource
	TargetCRN string `json:"targetCRN,omitempty"`
}

ResourceTargetInfo resource target info

swagger:model ResourceTargetInfo

func (*ResourceTargetInfo) ContextValidate added in v1.1.10

func (m *ResourceTargetInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource target info based on context it is used

func (*ResourceTargetInfo) MarshalBinary added in v1.1.10

func (m *ResourceTargetInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceTargetInfo) UnmarshalBinary added in v1.1.10

func (m *ResourceTargetInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceTargetInfo) Validate added in v1.1.10

func (m *ResourceTargetInfo) Validate(formats strfmt.Registry) error

Validate validates this resource target info

type Route added in v1.12.0

type Route struct {

	// The route action
	// Required: true
	// Enum: ["deliver"]
	Action *string `json:"action"`

	// Indicates if the route is advertised externally of the workspace to PER and\or peer networks
	// Required: true
	// Enum: ["enable","disable"]
	Advertise *string `json:"advertise"`

	// The route's crn
	// Required: true
	Crn *string `json:"crn"`

	// The route destination
	// Required: true
	Destination *string `json:"destination"`

	// The destination type
	// Required: true
	// Enum: ["ipv4-address"]
	DestinationType *string `json:"destinationType"`

	// Indicates if the route should be enabled in the fabric
	// Required: true
	Enabled *bool `json:"enabled"`

	// The unique route ID
	// Required: true
	ID *string `json:"id"`

	// Name of the route
	// Required: true
	// Max Length: 128
	// Pattern: ^[\s]*[A-Za-z0-9:_.\-][A-Za-z0-9\s:_.\-]*$
	Name *string `json:"name"`

	// The next hop
	// Required: true
	NextHop *string `json:"nextHop"`

	// The next hop type
	// Required: true
	// Enum: ["ipv4-address"]
	NextHopType *string `json:"nextHopType"`

	// The state of the route
	// Required: true
	// Enum: ["defined","deployed","disabled"]
	State *string `json:"state"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

Route route

swagger:model Route

func (*Route) ContextValidate added in v1.12.0

func (m *Route) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this route based on the context it is used

func (*Route) MarshalBinary added in v1.12.0

func (m *Route) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Route) UnmarshalBinary added in v1.12.0

func (m *Route) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Route) Validate added in v1.12.0

func (m *Route) Validate(formats strfmt.Registry) error

Validate validates this route

type RouteCreate added in v1.12.0

type RouteCreate struct {

	// Action
	// Enum: ["deliver"]
	Action *string `json:"action,omitempty"`

	// Indicates if the route is advertised externally of the workspace to PER and\or peer networks
	// Enum: ["enable","disable"]
	Advertise *string `json:"advertise,omitempty"`

	// The route destination
	// Required: true
	Destination *string `json:"destination"`

	// The destination type
	// Enum: ["ipv4-address"]
	DestinationType *string `json:"destinationType,omitempty"`

	// Indicates if the route should be enabled in the fabric
	Enabled *bool `json:"enabled,omitempty"`

	// Name of the route
	// Required: true
	// Max Length: 128
	// Pattern: ^[\s]*[A-Za-z0-9:_.\-][A-Za-z0-9\s:_.\-]*$
	Name *string `json:"name"`

	// The next hop
	// Required: true
	NextHop *string `json:"nextHop"`

	// The next hop type
	// Enum: ["ipv4-address"]
	NextHopType *string `json:"nextHopType,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

RouteCreate route create

swagger:model RouteCreate

func (*RouteCreate) ContextValidate added in v1.12.0

func (m *RouteCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this route create based on the context it is used

func (*RouteCreate) MarshalBinary added in v1.12.0

func (m *RouteCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteCreate) UnmarshalBinary added in v1.12.0

func (m *RouteCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteCreate) Validate added in v1.12.0

func (m *RouteCreate) Validate(formats strfmt.Registry) error

Validate validates this route create

type RouteFilter added in v1.13.0

type RouteFilter struct {

	// The minimum matching length of the prefix-set(1 ≤ value ≤ 32 value ≤ GE)
	// Example: 25
	// Maximum: 32
	// Minimum: 1
	GE *int64 `json:"GE,omitempty"`

	// The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 value >= GE)
	// Example: 30
	// Maximum: 32
	// Minimum: 1
	LE *int64 `json:"LE,omitempty"`

	// action of the filter
	// * allow: allow
	// * deny: deny
	//
	// Required: true
	// Enum: ["allow","deny"]
	Action *string `json:"action"`

	// time stamp for create route filter
	// Required: true
	CreationDate *string `json:"creationDate"`

	// direction of the filter
	// * import - import the routes
	// * export - export the routes
	//
	// Required: true
	// Enum: ["import","export"]
	Direction *string `json:"direction"`

	// error description
	// Required: true
	Error *string `json:"error"`

	// priority or order of the filter
	// Example: 10
	// Required: true
	Index *int64 `json:"index"`

	// IP prefix representing an address and mask length of the prefix-set
	// Example: 192.168.91.0/24
	// Required: true
	Prefix *string `json:"prefix"`

	// route filter ID
	// Example: 031ab7da-bca6-493f-ac55-1a2a26f19160
	// Required: true
	RouteFilterID *string `json:"routeFilterID"`

	// status of the route filter
	// Example: active
	// Required: true
	// Enum: ["active","configuring","removing","error","updating"]
	State *string `json:"state"`
}

RouteFilter route filter

swagger:model RouteFilter

func (*RouteFilter) ContextValidate added in v1.13.0

func (m *RouteFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this route filter based on context it is used

func (*RouteFilter) MarshalBinary added in v1.13.0

func (m *RouteFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteFilter) UnmarshalBinary added in v1.13.0

func (m *RouteFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteFilter) Validate added in v1.13.0

func (m *RouteFilter) Validate(formats strfmt.Registry) error

Validate validates this route filter

type RouteFilterCreate added in v1.13.0

type RouteFilterCreate struct {

	// The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE)
	// Example: 25
	// Maximum: 32
	// Minimum: 1
	GE int64 `json:"GE,omitempty"`

	// The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE)
	// Example: 30
	// Maximum: 32
	// Minimum: 1
	LE int64 `json:"LE,omitempty"`

	// action of the filter
	// * allow: allow
	// * deny: deny
	//
	// Enum: ["allow","deny"]
	Action *string `json:"action,omitempty"`

	// direction of the filter
	// * import - import the routes
	// * export - export the routes
	//
	// Required: true
	// Enum: ["import","export"]
	Direction *string `json:"direction"`

	// priority or order of the filter
	// Example: 10
	// Required: true
	// Maximum: 1e+07
	// Minimum: 1
	Index *int64 `json:"index"`

	// IP prefix representing an address and mask length of the prefix-set
	// Example: 192.168.91.0/24
	// Required: true
	Prefix *string `json:"prefix"`
}

RouteFilterCreate route filter create

swagger:model RouteFilterCreate

func (*RouteFilterCreate) ContextValidate added in v1.13.0

func (m *RouteFilterCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this route filter create based on context it is used

func (*RouteFilterCreate) MarshalBinary added in v1.13.0

func (m *RouteFilterCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteFilterCreate) UnmarshalBinary added in v1.13.0

func (m *RouteFilterCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteFilterCreate) Validate added in v1.13.0

func (m *RouteFilterCreate) Validate(formats strfmt.Registry) error

Validate validates this route filter create

type RouteReport added in v1.12.0

type RouteReport struct {

	// A report of routes in a workspace
	// Required: true
	Routes []*RouteReportRoute `json:"routes"`
}

RouteReport route report

swagger:model RouteReport

func (*RouteReport) ContextValidate added in v1.12.0

func (m *RouteReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this route report based on the context it is used

func (*RouteReport) MarshalBinary added in v1.12.0

func (m *RouteReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteReport) UnmarshalBinary added in v1.12.0

func (m *RouteReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteReport) Validate added in v1.12.0

func (m *RouteReport) Validate(formats strfmt.Registry) error

Validate validates this route report

type RouteReportRoute added in v1.12.0

type RouteReportRoute struct {

	// The destination. The destination is a CIDR for the external route type.
	// Required: true
	Destination *string `json:"destination"`

	// The route type
	// Required: true
	// Enum: ["external"]
	Type *string `json:"type"`
}

RouteReportRoute route report route

swagger:model RouteReportRoute

func (*RouteReportRoute) ContextValidate added in v1.12.0

func (m *RouteReportRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this route report route based on context it is used

func (*RouteReportRoute) MarshalBinary added in v1.12.0

func (m *RouteReportRoute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteReportRoute) UnmarshalBinary added in v1.12.0

func (m *RouteReportRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteReportRoute) Validate added in v1.12.0

func (m *RouteReportRoute) Validate(formats strfmt.Registry) error

Validate validates this route report route

type RouteUpdate added in v1.12.0

type RouteUpdate struct {

	// Action
	// Enum: ["deliver"]
	Action string `json:"action,omitempty"`

	// Indicates if the route is advertised externally of the workspace to PER and\or peer networks
	// Enum: ["enable","disable"]
	Advertise string `json:"advertise,omitempty"`

	// The route destination
	Destination string `json:"destination,omitempty"`

	// The destination type
	// Enum: ["ipv4-address"]
	DestinationType string `json:"destinationType,omitempty"`

	// Indicates if the route should be enabled in the fabric
	Enabled *bool `json:"enabled,omitempty"`

	// Name of the route
	// Max Length: 128
	// Pattern: ^[\s]*[A-Za-z0-9:_.\-][A-Za-z0-9\s:_.\-]*$
	Name string `json:"name,omitempty"`

	// The next hop
	NextHop string `json:"nextHop,omitempty"`

	// The next hop type
	// Enum: ["ipv4-address"]
	NextHopType string `json:"nextHopType,omitempty"`
}

RouteUpdate route update

swagger:model RouteUpdate

func (*RouteUpdate) ContextValidate added in v1.12.0

func (m *RouteUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this route update based on context it is used

func (*RouteUpdate) MarshalBinary added in v1.12.0

func (m *RouteUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteUpdate) UnmarshalBinary added in v1.12.0

func (m *RouteUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteUpdate) Validate added in v1.12.0

func (m *RouteUpdate) Validate(formats strfmt.Registry) error

Validate validates this route update

type Routes added in v1.12.0

type Routes struct {

	// Routes
	// Required: true
	Routes []*Route `json:"routes"`
}

Routes routes

swagger:model Routes

func (*Routes) ContextValidate added in v1.12.0

func (m *Routes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this routes based on the context it is used

func (*Routes) MarshalBinary added in v1.12.0

func (m *Routes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Routes) UnmarshalBinary added in v1.12.0

func (m *Routes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Routes) Validate added in v1.12.0

func (m *Routes) Validate(formats strfmt.Registry) error

Validate validates this routes

type SAPCreate added in v1.0.10

type SAPCreate struct {

	// if set to false, automated remote restart is disabled for the VM
	AllowRemoteRestart *bool `json:"allowRemoteRestart,omitempty"`

	// Indicates if the boot volume should be replication enabled or not
	BootVolumeReplicationEnabled *bool `json:"bootVolumeReplicationEnabled,omitempty"`

	// default IAM trusted profile to use for this virtual server instance
	DefaultTrustedProfile *TrustedProfile `json:"defaultTrustedProfile,omitempty"`

	// The deployment of a dedicated host
	DeploymentTarget *DeploymentTarget `json:"deploymentTarget,omitempty"`

	// Custom SAP Deployment Type Information (For Internal Use Only)
	DeploymentType string `json:"deploymentType,omitempty"`

	// Image ID of the sap image to use for the server
	// Required: true
	ImageID *string `json:"imageID"`

	// instances
	Instances *PVMInstanceMultiCreate `json:"instances,omitempty"`

	// The metadata service configuration
	MetadataService *MetadataService `json:"metadataService,omitempty"`

	// Name of the sap pvm-instance
	// Required: true
	Name *string `json:"name"`

	// The pvm instance networks information
	// Required: true
	Networks []*PVMInstanceAddNetwork `json:"networks"`

	// pin policy
	PinPolicy PinPolicy `json:"pinPolicy,omitempty"`

	// The placement group for the server
	PlacementGroup string `json:"placementGroup,omitempty"`

	// Preferred processor compatibility mode
	PreferredProcessorCompatibilityMode string `json:"preferredProcessorCompatibilityMode,omitempty"`

	// SAP Profile ID for the amount of cores and memory
	// Required: true
	// Pattern: ^[\s]*[A-Za-z][A-Za-z0-9\-]{3,}$
	ProfileID *string `json:"profileID"`

	// Indicates the replication site of the boot volume
	ReplicationSites []string `json:"replicationSites"`

	// Defines the enforcement action when NUMA affinity for the PVM instance is not satisfied
	// Enum: ["fail","warn","none"]
	SapHANAAffinityAction *string `json:"sapHANAAffinityAction,omitempty"`

	// 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 pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage 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 pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage pool the image was created in
	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 for server deployment; if storageType is not provided the storage type will default to 'tier3'.
	StorageType string `json:"storageType,omitempty"`

	// System type used to host the instance. Only e980, s1022, e1050, e1080, s1122, e1150, and e1180 are supported
	SysType string `json:"sysType,omitempty"`

	// Cloud init user defined data; For FLS, only cloud-config user-data is supported and data must not be compressed or exceed 63K
	UserData string `json:"userData,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

	// List of Volume IDs to attach to the pvm-instance on creation
	VolumeIDs []string `json:"volumeIDs"`

	// The vPMEM volumes information. Only one volume is supported at this time.
	VpmemVolumes []*VPMemVolumeCreate `json:"vpmemVolumes"`
}

SAPCreate s a p create

swagger:model SAPCreate

func (*SAPCreate) ContextValidate added in v1.1.0

func (m *SAPCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s a p create based on the context it is used

func (*SAPCreate) MarshalBinary added in v1.0.10

func (m *SAPCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAPCreate) UnmarshalBinary added in v1.0.10

func (m *SAPCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAPCreate) Validate added in v1.0.10

func (m *SAPCreate) Validate(formats strfmt.Registry) error

Validate validates this s a p create

type SAPProfile added in v1.0.10

type SAPProfile struct {

	// Accelerated SAP Application Performance Standard
	Asaps int64 `json:"asaps"`

	// Has certification been performed on profile
	// Required: true
	Certified *bool `json:"certified"`

	// Amount of cores
	// Required: true
	Cores *int64 `json:"cores"`

	// System to use if not provided
	DefaultSystem string `json:"defaultSystem,omitempty"`

	// Profile is deprecated
	Deprecated bool `json:"deprecated"`

	// Requires full system for deployment
	FullSystemProfile bool `json:"fullSystemProfile"`

	// Amount of memory (in GiB)
	// Required: true
	Memory *int64 `json:"memory"`

	// SAP Profile ID
	// Required: true
	ProfileID *string `json:"profileID"`

	// SAP Application Performance Standard
	Saps int64 `json:"saps"`

	// Required smt mode for that profile
	// Enum: [4,8]
	SmtMode int64 `json:"smtMode"`

	// List of supported systems
	SupportedSystems []string `json:"supportedSystems"`

	// Type of profile
	// Required: true
	// Enum: ["balanced","compute","memory","ultra-memory","small","sap-rise","sap-rise-app"]
	Type *string `json:"type"`

	// vpmem volume
	VpmemVolume *SAPProfileVpmemVolume `json:"vpmemVolume,omitempty"`

	// List of supported workload types
	WorkloadTypes []string `json:"workloadTypes"`
}

SAPProfile s a p profile

swagger:model SAPProfile

func (*SAPProfile) ContextValidate added in v1.1.0

func (m *SAPProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s a p profile based on the 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

func (*SAPProfile) Validate added in v1.0.10

func (m *SAPProfile) Validate(formats strfmt.Registry) error

Validate validates this s a p profile

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

func (m *SAPProfileReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a p profile reference based on context it is used

func (*SAPProfileReference) MarshalBinary 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

func (*SAPProfileReference) Validate added in v1.0.25

func (m *SAPProfileReference) Validate(formats strfmt.Registry) error

Validate validates this s a p profile reference

type SAPProfileVpmemVolume added in v1.14.1

type SAPProfileVpmemVolume struct {

	// Maximum percent of memory to be assigned for carved out vPMEM volume
	MaxPercent int64 `json:"maxPercent,omitempty"`

	// Minimum percent of memory to be assigned for carved out vPMEM volume
	MinPercent int64 `json:"minPercent,omitempty"`
}

SAPProfileVpmemVolume vPMEM volume details for the profile

swagger:model SAPProfileVpmemVolume

func (*SAPProfileVpmemVolume) ContextValidate added in v1.14.1

func (m *SAPProfileVpmemVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a p profile vpmem volume based on context it is used

func (*SAPProfileVpmemVolume) MarshalBinary added in v1.14.1

func (m *SAPProfileVpmemVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAPProfileVpmemVolume) UnmarshalBinary added in v1.14.1

func (m *SAPProfileVpmemVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAPProfileVpmemVolume) Validate added in v1.14.1

func (m *SAPProfileVpmemVolume) Validate(formats strfmt.Registry) error

Validate validates this s a p profile vpmem volume

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

func (m *SAPProfiles) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s a p profiles based on the context it is used

func (*SAPProfiles) MarshalBinary 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

func (*SAPProfiles) Validate added in v1.0.10

func (m *SAPProfiles) Validate(formats strfmt.Registry) error

Validate validates this s a p profiles

type SPPPlacementGroup added in v1.1.10

type SPPPlacementGroup struct {

	// crn
	Crn CRN `json:"crn,omitempty"`

	// The id of the Shared Processor Pool Placement Group
	// Required: true
	ID *string `json:"id"`

	// The list of Shared Processor Pool names that are a member of the Shared Processor Pool Placement Group
	MemberSharedProcessorPools []string `json:"memberSharedProcessorPools"`

	// The name of the Shared Processor Pool Placement Group
	// Required: true
	Name *string `json:"name"`

	// The Shared Processor Pool Placement Group policy
	// Required: true
	Policy *string `json:"policy"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

SPPPlacementGroup s p p placement group

swagger:model SPPPlacementGroup

func (*SPPPlacementGroup) ContextValidate added in v1.1.10

func (m *SPPPlacementGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s p p placement group based on the context it is used

func (*SPPPlacementGroup) MarshalBinary added in v1.1.10

func (m *SPPPlacementGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SPPPlacementGroup) UnmarshalBinary added in v1.1.10

func (m *SPPPlacementGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SPPPlacementGroup) Validate added in v1.1.10

func (m *SPPPlacementGroup) Validate(formats strfmt.Registry) error

Validate validates this s p p placement group

type SPPPlacementGroupCreate added in v1.1.10

type SPPPlacementGroupCreate struct {

	// The name of the Shared Processor Pool Placement Group; minimum of 2 characters, maximum of 12, the only special character allowed is the underscore '_'.
	// Required: true
	// Max Length: 12
	// Min Length: 2
	// Pattern: ^[a-zA-Z0-9_]+$
	Name *string `json:"name"`

	// The placement group policy
	// Required: true
	// Enum: ["affinity","anti-affinity"]
	Policy *string `json:"policy"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

SPPPlacementGroupCreate s p p placement group create

swagger:model SPPPlacementGroupCreate

func (*SPPPlacementGroupCreate) ContextValidate added in v1.1.10

func (m *SPPPlacementGroupCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s p p placement group create based on the context it is used

func (*SPPPlacementGroupCreate) MarshalBinary added in v1.1.10

func (m *SPPPlacementGroupCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SPPPlacementGroupCreate) UnmarshalBinary added in v1.1.10

func (m *SPPPlacementGroupCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SPPPlacementGroupCreate) Validate added in v1.1.10

func (m *SPPPlacementGroupCreate) Validate(formats strfmt.Registry) error

Validate validates this s p p placement group create

type SPPPlacementGroups added in v1.1.10

type SPPPlacementGroups struct {

	// list of Shared Processor Pool Placement Groups
	SppPlacementGroups []*SPPPlacementGroup `json:"sppPlacementGroups"`
}

SPPPlacementGroups s p p placement groups

swagger:model SPPPlacementGroups

func (*SPPPlacementGroups) ContextValidate added in v1.1.10

func (m *SPPPlacementGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s p p placement groups based on the context it is used

func (*SPPPlacementGroups) MarshalBinary added in v1.1.10

func (m *SPPPlacementGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SPPPlacementGroups) UnmarshalBinary added in v1.1.10

func (m *SPPPlacementGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SPPPlacementGroups) Validate added in v1.1.10

func (m *SPPPlacementGroups) Validate(formats strfmt.Registry) error

Validate validates this s p p placement groups

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

func (m *SRC) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s r c based on context it is used

func (*SRC) MarshalBinary added in v1.0.38

func (m *SRC) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SRC) UnmarshalBinary added in v1.0.38

func (m *SRC) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SRC) Validate added in v1.0.38

func (m *SRC) Validate(formats strfmt.Registry) error

Validate validates this s r c

type SSHKey

type SSHKey struct {

	// Date of sshkey creation
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate,omitempty" datastore:"creationDate"`

	// User defined name for the SSH key
	// Required: true
	Name *string `json:"name" datastore:"name"`

	// SSH RSA key
	// Required: true
	SSHKey *string `json:"sshKey" datastore:"sshKey"`
}

SSHKey SSH key

swagger:model SSHKey

func (*SSHKey) ContextValidate added in v1.1.0

func (m *SSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this SSH key based on context it is used

func (*SSHKey) MarshalBinary

func (m *SSHKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SSHKey) UnmarshalBinary

func (m *SSHKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SSHKey) Validate

func (m *SSHKey) Validate(formats strfmt.Registry) error

Validate validates this SSH key

type SSHKeys

type SSHKeys struct {

	// SSH Keys
	// Required: true
	SSHKeys []*SSHKey `json:"sshKeys"`
}

SSHKeys SSH keys

swagger:model SSHKeys

func (*SSHKeys) ContextValidate added in v1.1.0

func (m *SSHKeys) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this SSH keys based on the context it is used

func (*SSHKeys) MarshalBinary

func (m *SSHKeys) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SSHKeys) UnmarshalBinary

func (m *SSHKeys) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SSHKeys) Validate

func (m *SSHKeys) Validate(formats strfmt.Registry) error

Validate validates this SSH keys

type SatelliteOrder added in v1.7.0

type SatelliteOrder struct {

	// Time that satellite will be activated for Power Private Cloud
	// Required: true
	ActivationTime *string `json:"activationTime"`
}

SatelliteOrder satellite order

swagger:model SatelliteOrder

func (*SatelliteOrder) ContextValidate added in v1.7.0

func (m *SatelliteOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this satellite order based on context it is used

func (*SatelliteOrder) MarshalBinary added in v1.7.0

func (m *SatelliteOrder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SatelliteOrder) UnmarshalBinary added in v1.7.0

func (m *SatelliteOrder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SatelliteOrder) Validate added in v1.7.0

func (m *SatelliteOrder) Validate(formats strfmt.Registry) error

Validate validates this satellite order

type SatelliteRegistration added in v1.7.0

type SatelliteRegistration struct {

	// Requested Number of Days to Delay Order Activation. Defaults to 1.
	DaysToDelay int64 `json:"daysToDelay,omitempty"`

	// Billing ID for Power Private Cloud Satellite Subscription
	// Required: true
	OrderID *string `json:"orderID"`

	// CRN of satellite to register
	// Required: true
	SatelliteID *string `json:"satelliteID"`

	// Usage mode to activate in the pod
	// Required: true
	UsageMode *string `json:"usageMode"`
}

SatelliteRegistration satellite registration

swagger:model SatelliteRegistration

func (*SatelliteRegistration) ContextValidate added in v1.7.0

func (m *SatelliteRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this satellite registration based on context it is used

func (*SatelliteRegistration) MarshalBinary added in v1.7.0

func (m *SatelliteRegistration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SatelliteRegistration) UnmarshalBinary added in v1.7.0

func (m *SatelliteRegistration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SatelliteRegistration) Validate added in v1.7.0

func (m *SatelliteRegistration) Validate(formats strfmt.Registry) error

Validate validates this satellite registration

type SatelliteTag added in v1.7.0

type SatelliteTag struct {

	// CRN of satellite to perform tag operation
	// Required: true
	SatelliteID *string `json:"satelliteID"`
}

SatelliteTag satellite tag

swagger:model SatelliteTag

func (*SatelliteTag) ContextValidate added in v1.7.0

func (m *SatelliteTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this satellite tag based on context it is used

func (*SatelliteTag) MarshalBinary added in v1.7.0

func (m *SatelliteTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SatelliteTag) UnmarshalBinary added in v1.7.0

func (m *SatelliteTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SatelliteTag) Validate added in v1.7.0

func (m *SatelliteTag) Validate(formats strfmt.Registry) error

Validate validates this satellite tag

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

func (m *SchemaParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schema parameters based on context it is used

func (*SchemaParameters) MarshalBinary

func (m *SchemaParameters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchemaParameters) UnmarshalBinary

func (m *SchemaParameters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchemaParameters) Validate

func (m *SchemaParameters) Validate(formats strfmt.Registry) error

Validate validates this schema parameters

type SchemasObject

type SchemasObject struct {

	// service binding
	ServiceBinding *ServiceBindingSchemaObject `json:"service_binding,omitempty"`

	// service instance
	ServiceInstance *ServiceInstanceSchemaObject `json:"service_instance,omitempty"`
}

SchemasObject schemas object

swagger:model SchemasObject

func (*SchemasObject) ContextValidate added in v1.1.0

func (m *SchemasObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schemas object based on the context it is used

func (*SchemasObject) MarshalBinary

func (m *SchemasObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchemasObject) UnmarshalBinary

func (m *SchemasObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchemasObject) Validate

func (m *SchemasObject) Validate(formats strfmt.Registry) error

Validate validates this schemas object

type Secondary added in v1.7.0

type Secondary struct {

	// Name of the host group to create in the secondary workspace
	Name string `json:"name,omitempty"`

	// ID of the workspace to share the host group with
	// Required: true
	Workspace *string `json:"workspace"`
}

Secondary Information to create a secondary host group

swagger:model Secondary

func (*Secondary) ContextValidate added in v1.7.0

func (m *Secondary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secondary based on context it is used

func (*Secondary) MarshalBinary added in v1.7.0

func (m *Secondary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secondary) UnmarshalBinary added in v1.7.0

func (m *Secondary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secondary) Validate added in v1.7.0

func (m *Secondary) Validate(formats strfmt.Registry) error

Validate validates this secondary

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

func (m *Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service based on the context it is used

func (*Service) MarshalBinary

func (m *Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

func (m *Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Service) Validate

func (m *Service) Validate(formats strfmt.Registry) error

Validate validates this service

type ServiceAuthenticationInfo added in v1.1.10

type ServiceAuthenticationInfo struct {

	// Map of internal capabilities the user has access to and their level of access
	Capabilities ResourceAccess `json:"capabilities,omitempty"`

	// Service ID
	// Required: true
	ID *string `json:"id"`

	// Service Name
	// Required: true
	Name *string `json:"name"`

	// OAuth2 Token
	// Required: true
	Token *Token `json:"token"`
}

ServiceAuthenticationInfo service authentication info

swagger:model ServiceAuthenticationInfo

func (*ServiceAuthenticationInfo) ContextValidate added in v1.1.10

func (m *ServiceAuthenticationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service authentication info based on the context it is used

func (*ServiceAuthenticationInfo) MarshalBinary added in v1.1.10

func (m *ServiceAuthenticationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceAuthenticationInfo) UnmarshalBinary added in v1.1.10

func (m *ServiceAuthenticationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceAuthenticationInfo) Validate added in v1.1.10

func (m *ServiceAuthenticationInfo) Validate(formats strfmt.Registry) error

Validate validates this service authentication info

type ServiceBinding

type ServiceBinding struct {

	// credentials
	Credentials Object `json:"credentials,omitempty"`

	// route service url
	RouteServiceURL string `json:"route_service_url,omitempty"`

	// syslog drain url
	SyslogDrainURL string `json:"syslog_drain_url,omitempty"`

	// volume mounts
	VolumeMounts []*ServiceBindingVolumeMount `json:"volume_mounts"`
}

ServiceBinding service binding

swagger:model ServiceBinding

func (*ServiceBinding) ContextValidate added in v1.1.0

func (m *ServiceBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding based on the context it is used

func (*ServiceBinding) MarshalBinary

func (m *ServiceBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBinding) UnmarshalBinary

func (m *ServiceBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBinding) Validate

func (m *ServiceBinding) Validate(formats strfmt.Registry) error

Validate validates this service binding

type ServiceBindingRequest

type ServiceBindingRequest struct {

	// app guid
	AppGUID string `json:"app_guid,omitempty"`

	// bind resource
	BindResource *ServiceBindingResourceObject `json:"bind_resource,omitempty"`

	// context
	Context Context `json:"context,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`
}

ServiceBindingRequest service binding request

swagger:model ServiceBindingRequest

func (*ServiceBindingRequest) ContextValidate added in v1.1.0

func (m *ServiceBindingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding request based on the context it is used

func (*ServiceBindingRequest) MarshalBinary

func (m *ServiceBindingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBindingRequest) UnmarshalBinary

func (m *ServiceBindingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBindingRequest) Validate

func (m *ServiceBindingRequest) Validate(formats strfmt.Registry) error

Validate validates this service binding request

type ServiceBindingResource

type ServiceBindingResource struct {

	// credentials
	Credentials Object `json:"credentials,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// route service url
	RouteServiceURL string `json:"route_service_url,omitempty"`

	// syslog drain url
	SyslogDrainURL string `json:"syslog_drain_url,omitempty"`

	// volume mounts
	VolumeMounts []*ServiceBindingVolumeMount `json:"volume_mounts"`
}

ServiceBindingResource service binding resource

swagger:model ServiceBindingResource

func (*ServiceBindingResource) ContextValidate 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

func (*ServiceBindingResource) Validate

func (m *ServiceBindingResource) Validate(formats strfmt.Registry) error

Validate validates this service binding resource

type ServiceBindingResourceObject

type ServiceBindingResourceObject struct {

	// app guid
	AppGUID string `json:"app_guid,omitempty"`

	// route
	Route string `json:"route,omitempty"`
}

ServiceBindingResourceObject service binding resource object

swagger:model ServiceBindingResourceObject

func (*ServiceBindingResourceObject) ContextValidate 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

func (*ServiceBindingResourceObject) Validate

func (m *ServiceBindingResourceObject) Validate(formats strfmt.Registry) error

Validate validates this service binding resource object

type ServiceBindingSchemaObject

type ServiceBindingSchemaObject struct {

	// create
	Create *SchemaParameters `json:"create,omitempty"`
}

ServiceBindingSchemaObject service binding schema object

swagger:model ServiceBindingSchemaObject

func (*ServiceBindingSchemaObject) ContextValidate 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

func (*ServiceBindingSchemaObject) Validate

func (m *ServiceBindingSchemaObject) Validate(formats strfmt.Registry) error

Validate validates this service binding schema object

type ServiceBindingVolumeMount

type ServiceBindingVolumeMount struct {

	// container dir
	// Required: true
	ContainerDir *string `json:"container_dir"`

	// device
	// Required: true
	Device *ServiceBindingVolumeMountDevice `json:"device"`

	// device type
	// Required: true
	// Enum: ["shared"]
	DeviceType *string `json:"device_type"`

	// driver
	// Required: true
	Driver *string `json:"driver"`

	// mode
	// Required: true
	// Enum: ["r","rw"]
	Mode *string `json:"mode"`
}

ServiceBindingVolumeMount service binding volume mount

swagger:model ServiceBindingVolumeMount

func (*ServiceBindingVolumeMount) ContextValidate 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

func (*ServiceBindingVolumeMount) Validate

func (m *ServiceBindingVolumeMount) Validate(formats strfmt.Registry) error

Validate validates this service binding volume mount

type ServiceBindingVolumeMountDevice

type ServiceBindingVolumeMountDevice struct {

	// mount config
	MountConfig Object `json:"mount_config,omitempty"`

	// volume id
	// Required: true
	VolumeID *string `json:"volume_id"`
}

ServiceBindingVolumeMountDevice service binding volume mount device

swagger:model ServiceBindingVolumeMountDevice

func (*ServiceBindingVolumeMountDevice) ContextValidate 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

func (*ServiceBindingVolumeMountDevice) Validate

Validate validates this service binding volume mount device

type ServiceInstance

type ServiceInstance struct {

	// Indicates (from the viewpoint of the provider) whether the service instance is (perceived) active or not and is meaningful if enabled is true. The default value is true if not specified.
	// Required: true
	Active *bool `json:"active"`

	// Indicates the current state of the service instance.
	// Required: true
	Enable *bool `json:"enable"`

	// Indicates when the service instance was last accessed or modified, and is meaningful if enabled is true AND active is false. Represented as milliseconds since the epoch, but does not need to be accurate to the second/hour.
	// Required: true
	LastActive *float64 `json:"last_active"`
}

ServiceInstance service instance

swagger:model ServiceInstance

func (*ServiceInstance) ContextValidate added in v1.1.0

func (m *ServiceInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance based on context it is used

func (*ServiceInstance) MarshalBinary

func (m *ServiceInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstance) UnmarshalBinary

func (m *ServiceInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstance) Validate

func (m *ServiceInstance) Validate(formats strfmt.Registry) error

Validate validates this service instance

type ServiceInstanceAsyncOperation

type ServiceInstanceAsyncOperation struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// extensions
	Extensions any `json:"extensions,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

func (*ServiceInstanceAsyncOperation) Validate

func (m *ServiceInstanceAsyncOperation) Validate(formats strfmt.Registry) error

Validate validates this service instance async operation

type ServiceInstancePreviousValues

type ServiceInstancePreviousValues struct {

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`

	// space id
	SpaceID string `json:"space_id,omitempty"`
}

ServiceInstancePreviousValues service instance previous values

swagger:model ServiceInstancePreviousValues

func (*ServiceInstancePreviousValues) ContextValidate 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

func (*ServiceInstancePreviousValues) Validate

func (m *ServiceInstancePreviousValues) Validate(formats strfmt.Registry) error

Validate validates this service instance previous values

type ServiceInstanceProvision

type ServiceInstanceProvision struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`
}

ServiceInstanceProvision service instance provision

swagger:model ServiceInstanceProvision

func (*ServiceInstanceProvision) ContextValidate 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

func (*ServiceInstanceProvision) Validate

func (m *ServiceInstanceProvision) Validate(formats strfmt.Registry) error

Validate validates this service instance provision

type ServiceInstanceProvisionRequest

type ServiceInstanceProvisionRequest struct {

	// context
	Context Context `json:"context,omitempty"`

	// organization guid
	OrganizationGUID string `json:"organization_guid,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`

	// space guid
	SpaceGUID string `json:"space_guid,omitempty"`
}

ServiceInstanceProvisionRequest service instance provision request

swagger:model ServiceInstanceProvisionRequest

func (*ServiceInstanceProvisionRequest) ContextValidate 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

func (*ServiceInstanceProvisionRequest) Validate

Validate validates this service instance provision request

type ServiceInstanceRequest

type ServiceInstanceRequest struct {

	// Indicates the current state of the service instance.
	// Required: true
	Enabled *bool `json:"enabled"`

	// Optional string stating the reason code for the service instance state change. Valid values are BMX_ACCT_ACTIVATE, BMX_SERVICE_INSTANCE_BELOW_CAP for enable calls, and BMX_ACCT_SUSPEND, BMX_SERVICE_INSTANCE_ABOVE_CAP for disable calls.
	InitiatorID string `json:"initiator_id,omitempty"`

	// Optional string showing the user id initiating the call
	ReasonCode string `json:"reason_code,omitempty"`
}

ServiceInstanceRequest service instance request

swagger:model ServiceInstanceRequest

func (*ServiceInstanceRequest) ContextValidate 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

func (*ServiceInstanceRequest) Validate

func (m *ServiceInstanceRequest) Validate(formats strfmt.Registry) error

Validate validates this service instance request

type ServiceInstanceResource

type ServiceInstanceResource struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// parameters
	Parameters Object `json:"parameters,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`
}

ServiceInstanceResource service instance resource

swagger:model ServiceInstanceResource

func (*ServiceInstanceResource) ContextValidate 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

func (*ServiceInstanceResource) Validate

func (m *ServiceInstanceResource) Validate(formats strfmt.Registry) error

Validate validates this service instance resource

type ServiceInstanceSchemaObject

type ServiceInstanceSchemaObject struct {

	// create
	Create *SchemaParameters `json:"create,omitempty"`

	// update
	Update *SchemaParameters `json:"update,omitempty"`
}

ServiceInstanceSchemaObject service instance schema object

swagger:model ServiceInstanceSchemaObject

func (*ServiceInstanceSchemaObject) ContextValidate 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

func (*ServiceInstanceSchemaObject) Validate

func (m *ServiceInstanceSchemaObject) Validate(formats strfmt.Registry) error

Validate validates this service instance schema object

type ServiceInstanceUpdate added in v1.10.0

type ServiceInstanceUpdate struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// extensions
	Extensions any `json:"extensions,omitempty"`
}

ServiceInstanceUpdate service instance update

swagger:model ServiceInstanceUpdate

func (*ServiceInstanceUpdate) ContextValidate added in v1.10.0

func (m *ServiceInstanceUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance update based on context it is used

func (*ServiceInstanceUpdate) MarshalBinary added in v1.10.0

func (m *ServiceInstanceUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstanceUpdate) UnmarshalBinary added in v1.10.0

func (m *ServiceInstanceUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstanceUpdate) Validate added in v1.10.0

func (m *ServiceInstanceUpdate) Validate(formats strfmt.Registry) error

Validate validates this service instance update

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

func (*ServiceInstanceUpdateRequest) Validate

func (m *ServiceInstanceUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this service instance update request

type SharedProcessorPool added in v1.1.6

type SharedProcessorPool struct {

	// The amount of allocated processor cores for the Shared Processor Pool
	// Required: true
	AllocatedCores *float64 `json:"allocatedCores"`

	// The amount of available processor cores for the Shared Processor Pool
	// Required: true
	AvailableCores *float64 `json:"availableCores"`

	// The creation time of the Shared Processor Pool
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// ID of the dedicated host where the Shared Processor Pool resides, if applicable
	DedicatedHostID string `json:"dedicatedHostID,omitempty"`

	// The host group the host belongs to
	HostGroup string `json:"hostGroup,omitempty"`

	// The ID of the host where the Shared Processor Pool resides
	HostID int64 `json:"hostID,omitempty"`

	// The id of the Shared Processor Pool
	// Required: true
	ID *string `json:"id"`

	// The name of the Shared Processor Pool
	// Required: true
	Name *string `json:"name"`

	// The amount of reserved processor cores for the Shared Processor Pool
	// Required: true
	ReservedCores *int64 `json:"reservedCores"`

	// list of Shared Processor Pool Placement Groups
	SharedProcessorPoolPlacementGroups []*SharedProcessorPoolPlacementGroup `json:"sharedProcessorPoolPlacementGroups"`

	// The status of the Shared Processor Pool
	Status string `json:"status,omitempty"`

	// The status details of the Shared Processor Pool
	StatusDetail string `json:"statusDetail,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

SharedProcessorPool shared processor pool

swagger:model SharedProcessorPool

func (*SharedProcessorPool) ContextValidate added in v1.1.6

func (m *SharedProcessorPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this shared processor pool based on the context it is used

func (*SharedProcessorPool) MarshalBinary added in v1.1.6

func (m *SharedProcessorPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPool) UnmarshalBinary added in v1.1.6

func (m *SharedProcessorPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPool) Validate added in v1.1.6

func (m *SharedProcessorPool) Validate(formats strfmt.Registry) error

Validate validates this shared processor pool

type SharedProcessorPoolCreate added in v1.1.6

type SharedProcessorPoolCreate struct {

	// The host group; a host from the group will be automatically selected based on available resources
	// Required: true
	HostGroup *string `json:"hostGroup"`

	// The host id of a host in a host group (only available for dedicated hosts)
	HostID string `json:"hostID,omitempty"`

	// The name of the Shared Processor Pool; minumum of 2 characters, maximum of 12, the only special character allowed is the underscore '_'.
	// Required: true
	Name *string `json:"name"`

	// The ID of the placement group
	PlacementGroupID string `json:"placementGroupID,omitempty"`

	// The amount of reserved processor cores for the Shared Processor Pool; only integers allowed, no fractional values
	// Required: true
	ReservedCores *int64 `json:"reservedCores"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

SharedProcessorPoolCreate shared processor pool create

swagger:model SharedProcessorPoolCreate

func (*SharedProcessorPoolCreate) ContextValidate added in v1.1.6

func (m *SharedProcessorPoolCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this shared processor pool create based on the context it is used

func (*SharedProcessorPoolCreate) MarshalBinary added in v1.1.6

func (m *SharedProcessorPoolCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPoolCreate) UnmarshalBinary added in v1.1.6

func (m *SharedProcessorPoolCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPoolCreate) Validate added in v1.1.6

func (m *SharedProcessorPoolCreate) Validate(formats strfmt.Registry) error

Validate validates this shared processor pool create

type SharedProcessorPoolDetail added in v1.1.10

type SharedProcessorPoolDetail struct {

	// list of servers deployed in the Shared Processor Pool
	// Required: true
	Servers []*SharedProcessorPoolServer `json:"servers"`

	// shared processor pool
	// Required: true
	SharedProcessorPool *SharedProcessorPool `json:"sharedProcessorPool"`
}

SharedProcessorPoolDetail shared processor pool detail

swagger:model SharedProcessorPoolDetail

func (*SharedProcessorPoolDetail) ContextValidate added in v1.1.10

func (m *SharedProcessorPoolDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this shared processor pool detail based on the context it is used

func (*SharedProcessorPoolDetail) MarshalBinary added in v1.1.10

func (m *SharedProcessorPoolDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPoolDetail) UnmarshalBinary added in v1.1.10

func (m *SharedProcessorPoolDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPoolDetail) Validate added in v1.1.10

func (m *SharedProcessorPoolDetail) Validate(formats strfmt.Registry) error

Validate validates this shared processor pool detail

type SharedProcessorPoolPlacementGroup added in v1.1.12

type SharedProcessorPoolPlacementGroup struct {

	// The id of the Shared Processor Pool Placement Group
	// Required: true
	ID *string `json:"id"`

	// The name of the Shared Processor Pool Placement Group
	// Required: true
	Name *string `json:"name"`

	// The Shared Processor Pool Placement Group policy
	// Required: true
	Policy *string `json:"policy"`
}

SharedProcessorPoolPlacementGroup shared processor pool placement group

swagger:model SharedProcessorPoolPlacementGroup

func (*SharedProcessorPoolPlacementGroup) ContextValidate added in v1.1.12

func (m *SharedProcessorPoolPlacementGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this shared processor pool placement group based on context it is used

func (*SharedProcessorPoolPlacementGroup) MarshalBinary added in v1.1.12

func (m *SharedProcessorPoolPlacementGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPoolPlacementGroup) UnmarshalBinary added in v1.1.12

func (m *SharedProcessorPoolPlacementGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPoolPlacementGroup) Validate added in v1.1.12

Validate validates this shared processor pool placement group

type SharedProcessorPoolServer added in v1.1.10

type SharedProcessorPoolServer struct {

	// The amount of cpus for the server
	Cpus float64 `json:"Cpus,omitempty"`

	// Identifies if uncapped or not
	Uncapped bool `json:"Uncapped,omitempty"`

	// Availability zone for the server
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// The server ID
	ID string `json:"id,omitempty"`

	// The amount of memory for the server
	Memory int64 `json:"memory,omitempty"`

	// The server name
	Name string `json:"name,omitempty"`

	// Status of the server
	Status string `json:"status,omitempty"`

	// The amout of vcpus for the server
	Vcpus int64 `json:"vcpus,omitempty"`
}

SharedProcessorPoolServer shared processor pool server

swagger:model SharedProcessorPoolServer

func (*SharedProcessorPoolServer) ContextValidate added in v1.1.10

func (m *SharedProcessorPoolServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this shared processor pool server based on context it is used

func (*SharedProcessorPoolServer) MarshalBinary added in v1.1.10

func (m *SharedProcessorPoolServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPoolServer) UnmarshalBinary added in v1.1.10

func (m *SharedProcessorPoolServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPoolServer) Validate added in v1.1.10

func (m *SharedProcessorPoolServer) Validate(formats strfmt.Registry) error

Validate validates this shared processor pool server

type SharedProcessorPoolUpdate added in v1.1.9

type SharedProcessorPoolUpdate struct {

	// The new name for the Shared Processor Pool; minumum of 2 characters, maximum of 12, the only special character allowed is the underscore '_'.
	Name string `json:"name,omitempty"`

	// The amount of reserved processor cores for the Shared Processor Pool; only integers allowed, no fractional values; the amount can be increased (dependent on available resources) or decreased (dependent on currently allocated resources)
	ReservedCores *int64 `json:"reservedCores,omitempty"`
}

SharedProcessorPoolUpdate shared processor pool update

swagger:model SharedProcessorPoolUpdate

func (*SharedProcessorPoolUpdate) ContextValidate added in v1.1.9

func (m *SharedProcessorPoolUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this shared processor pool update based on context it is used

func (*SharedProcessorPoolUpdate) MarshalBinary added in v1.1.9

func (m *SharedProcessorPoolUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPoolUpdate) UnmarshalBinary added in v1.1.9

func (m *SharedProcessorPoolUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPoolUpdate) Validate added in v1.1.9

func (m *SharedProcessorPoolUpdate) Validate(formats strfmt.Registry) error

Validate validates this shared processor pool update

type SharedProcessorPools added in v1.1.9

type SharedProcessorPools struct {

	// list of Shared Processor Pools
	SharedProcessorPools []*SharedProcessorPool `json:"sharedProcessorPools"`
}

SharedProcessorPools shared processor pools

swagger:model SharedProcessorPools

func (*SharedProcessorPools) ContextValidate added in v1.1.9

func (m *SharedProcessorPools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this shared processor pools based on the context it is used

func (*SharedProcessorPools) MarshalBinary added in v1.1.9

func (m *SharedProcessorPools) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SharedProcessorPools) UnmarshalBinary added in v1.1.9

func (m *SharedProcessorPools) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SharedProcessorPools) Validate added in v1.1.9

func (m *SharedProcessorPools) Validate(formats strfmt.Registry) error

Validate validates this shared processor pools

type Site added in v1.1.10

type Site struct {

	// replication pool map
	ReplicationPoolMap []*StoragePoolMap `json:"ReplicationPoolMap,omitempty"`

	// true if location is active , otherwise it is false
	IsActive bool `json:"isActive,omitempty"`

	// regionZone of the location
	Location string `json:"location,omitempty"`
}

Site site

swagger:model Site

func (*Site) ContextValidate added in v1.1.10

func (m *Site) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this site based on the context it is used

func (*Site) MarshalBinary added in v1.1.10

func (m *Site) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Site) UnmarshalBinary added in v1.1.10

func (m *Site) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Site) Validate added in v1.1.10

func (m *Site) Validate(formats strfmt.Registry) error

Validate validates this site

type Snapshot

type Snapshot struct {

	// Action performed on the instance snapshot
	Action string `json:"action,omitempty"`

	// Creation Date
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// Description of the PVM instance snapshot with a maximum of 255 characters allowed.
	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 instance snapshot
	Status string `json:"status,omitempty"`

	// Detailed information for the last PVM instance snapshot action
	StatusDetail string `json:"statusDetail,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

func (m *Snapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot based on the context it is used

func (*Snapshot) MarshalBinary

func (m *Snapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snapshot) UnmarshalBinary

func (m *Snapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snapshot) Validate

func (m *Snapshot) Validate(formats strfmt.Registry) error

Validate validates this snapshot

type SnapshotCreate

type SnapshotCreate struct {

	// Description of the PVM instance snapshot
	// Max Length: 255
	Description string `json:"description,omitempty"`

	// Name of the PVM instance snapshot to create
	// Required: true
	// Max Length: 120
	// Pattern: ^[a-zA-Z0-9_.-]+$
	Name *string `json:"name"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

	// 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

func (m *SnapshotCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot create based on the context it is used

func (*SnapshotCreate) MarshalBinary

func (m *SnapshotCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotCreate) UnmarshalBinary

func (m *SnapshotCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotCreate) Validate

func (m *SnapshotCreate) Validate(formats strfmt.Registry) error

Validate validates this snapshot create

type SnapshotCreateResponse

type SnapshotCreateResponse struct {

	// crn
	Crn CRN `json:"crn,omitempty"`

	// ID of the PVM instance snapshot
	// Required: true
	SnapshotID *string `json:"snapshotID"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

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 validate this snapshot create response based on the context it is used

func (*SnapshotCreateResponse) MarshalBinary

func (m *SnapshotCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotCreateResponse) UnmarshalBinary

func (m *SnapshotCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotCreateResponse) Validate

func (m *SnapshotCreateResponse) Validate(formats strfmt.Registry) error

Validate validates this snapshot create response

type SnapshotList added in v1.7.0

type SnapshotList struct {

	// The list of volume snapshots.
	// Required: true
	Snapshots []*SnapshotV1 `json:"snapshots"`
}

SnapshotList snapshot list

swagger:model SnapshotList

func (*SnapshotList) ContextValidate added in v1.7.0

func (m *SnapshotList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot list based on the context it is used

func (*SnapshotList) MarshalBinary added in v1.7.0

func (m *SnapshotList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotList) UnmarshalBinary added in v1.7.0

func (m *SnapshotList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotList) Validate added in v1.7.0

func (m *SnapshotList) Validate(formats strfmt.Registry) error

Validate validates this snapshot list

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

func (m *SnapshotRestore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot restore based on context it is used

func (*SnapshotRestore) MarshalBinary 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

func (*SnapshotRestore) Validate added in v1.0.1

func (m *SnapshotRestore) Validate(formats strfmt.Registry) error

Validate validates this snapshot restore

type SnapshotUpdate

type SnapshotUpdate struct {

	// Description of the PVM instance snapshot with a maximum of 255 characters allowed.
	// Max Length: 255
	Description *string `json:"description,omitempty"`

	// Name of the PVM instance snapshot
	// Max Length: 120
	// Pattern: ^[a-zA-Z0-9_.-]+$
	Name *string `json:"name,omitempty"`
}

SnapshotUpdate snapshot update

swagger:model SnapshotUpdate

func (*SnapshotUpdate) ContextValidate added in v1.1.0

func (m *SnapshotUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot update based on context it is used

func (*SnapshotUpdate) MarshalBinary

func (m *SnapshotUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotUpdate) UnmarshalBinary

func (m *SnapshotUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotUpdate) Validate

func (m *SnapshotUpdate) Validate(formats strfmt.Registry) error

Validate validates this snapshot update

type SnapshotV1 added in v1.7.0

type SnapshotV1 struct {

	// The date and time when the volume snapshot was created.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// The volume snapshot UUID.
	// Required: true
	ID *string `json:"id"`

	// The volume snapshot name.
	// Required: true
	Name *string `json:"name"`

	// The size of the volume snapshot, in gibibytes (GiB).
	// Required: true
	Size *float64 `json:"size"`

	// The status for the volume snapshot.
	// Required: true
	Status *string `json:"status"`

	// The date and time when the volume snapshot was last updated.
	// Format: date-time
	UpdatedDate strfmt.DateTime `json:"updatedDate,omitempty"`

	// The volume UUID associated with the snapshot.
	// Required: true
	VolumeID *string `json:"volumeID"`
}

SnapshotV1 snapshot v1

swagger:model SnapshotV1

func (*SnapshotV1) ContextValidate added in v1.7.0

func (m *SnapshotV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot v1 based on the context it is used

func (*SnapshotV1) MarshalBinary added in v1.7.0

func (m *SnapshotV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotV1) UnmarshalBinary added in v1.7.0

func (m *SnapshotV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotV1) Validate added in v1.7.0

func (m *SnapshotV1) Validate(formats strfmt.Registry) error

Validate validates this snapshot v1

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

func (m *Snapshots) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshots based on the context it is used

func (*Snapshots) MarshalBinary

func (m *Snapshots) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snapshots) UnmarshalBinary

func (m *Snapshots) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snapshots) Validate

func (m *Snapshots) Validate(formats strfmt.Registry) error

Validate validates this snapshots

type SoftlayerSubscription 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

func (m *SoftlayerSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this softlayer subscription based on context it is used

func (*SoftlayerSubscription) MarshalBinary 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

func (*SoftlayerSubscription) Validate added in v1.0.58

func (m *SoftlayerSubscription) Validate(formats strfmt.Registry) error

Validate validates this softlayer subscription

type SoftwareLicenses

type SoftwareLicenses struct {

	// IBMi Cloud Storage Solution
	IbmiCSS *bool `json:"ibmiCSS,omitempty"`

	// IBMi Cloud Storage Solution
	IbmiDBQ *bool `json:"ibmiDBQ,omitempty"`

	// IBMi Power High Availability IASP Management Software License
	IbmiPHA *bool `json:"ibmiPHA,omitempty"`

	// IBMi Power High Availability Full System Manager (FSM) Software License
	IbmiPHAFSM *bool `json:"ibmiPHAFSM,omitempty"`

	// Number of IBMi Power High Availability Full System Manager (FSM) Managed Servers
	// Maximum: 4000
	IbmiPHAFSMCount int64 `json:"ibmiPHAFSMCount,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

func (m *SoftwareLicenses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this software licenses based on context it is used

func (*SoftwareLicenses) MarshalBinary

func (m *SoftwareLicenses) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SoftwareLicenses) UnmarshalBinary

func (m *SoftwareLicenses) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SoftwareLicenses) Validate

func (m *SoftwareLicenses) Validate(formats strfmt.Registry) error

Validate validates this software licenses

type SoftwareTier added in v1.12.0

type SoftwareTier string

SoftwareTier Software tier (IBMi licensing)

swagger:model SoftwareTier

const (

	// SoftwareTierP05 captures enum value "P05"
	SoftwareTierP05 SoftwareTier = "P05"

	// SoftwareTierP10 captures enum value "P10"
	SoftwareTierP10 SoftwareTier = "P10"

	// SoftwareTierP20 captures enum value "P20"
	SoftwareTierP20 SoftwareTier = "P20"

	// SoftwareTierP30 captures enum value "P30"
	SoftwareTierP30 SoftwareTier = "P30"
)

func NewSoftwareTier added in v1.12.0

func NewSoftwareTier(value SoftwareTier) *SoftwareTier

func (SoftwareTier) ContextValidate added in v1.12.0

func (m SoftwareTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this software tier based on context it is used

func (SoftwareTier) Pointer added in v1.12.0

func (m SoftwareTier) Pointer() *SoftwareTier

Pointer returns a pointer to a freshly-allocated SoftwareTier.

func (SoftwareTier) Validate added in v1.12.0

func (m SoftwareTier) Validate(formats strfmt.Registry) error

Validate validates this software tier

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

func (m *Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status based on context it is used

func (*Status) MarshalBinary added in v1.0.75

func (m *Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Status) UnmarshalBinary added in v1.0.75

func (m *Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Status) Validate added in v1.0.75

func (m *Status) Validate(formats strfmt.Registry) error

Validate validates this status

type StatusDescription added in v1.1.9

type StatusDescription struct {

	// List of descriptive error messages.
	Errors []*StatusDescriptionError `json:"errors"`
}

StatusDescription Status details of the volume group

swagger:model StatusDescription

func (*StatusDescription) ContextValidate added in v1.1.9

func (m *StatusDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this status description based on the context it is used

func (*StatusDescription) MarshalBinary added in v1.1.9

func (m *StatusDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatusDescription) UnmarshalBinary added in v1.1.9

func (m *StatusDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatusDescription) Validate added in v1.1.9

func (m *StatusDescription) Validate(formats strfmt.Registry) error

Validate validates this status description

type StatusDescriptionError added in v1.1.9

type StatusDescriptionError struct {

	// Indicates the volume group error key
	Key string `json:"key,omitempty"`

	// Failure message providing more details about the error key
	Message string `json:"message,omitempty"`

	// List of volume IDs, which failed to be added/removed to/from the volume-group, with the given error.
	VolIDs []string `json:"volIDs"`
}

StatusDescriptionError Error status details of a volume group

swagger:model StatusDescriptionError

func (*StatusDescriptionError) ContextValidate added in v1.1.9

func (m *StatusDescriptionError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status description error based on context it is used

func (*StatusDescriptionError) MarshalBinary added in v1.1.9

func (m *StatusDescriptionError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatusDescriptionError) UnmarshalBinary added in v1.1.9

func (m *StatusDescriptionError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatusDescriptionError) Validate added in v1.1.9

func (m *StatusDescriptionError) Validate(formats strfmt.Registry) error

Validate validates this status description error

type StockImage

type StockImage struct {

	// Image ID
	ID string `json:"id,omitempty"`

	// Storage pool for a stock image
	StoragePool string `json:"storagePool,omitempty"`

	// Storage type for a stock image
	StorageType string `json:"storageType,omitempty"`
}

StockImage Stock image detail

swagger:model StockImage

func (*StockImage) ContextValidate added in v1.1.0

func (m *StockImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stock image based on context it is used

func (*StockImage) MarshalBinary

func (m *StockImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StockImage) UnmarshalBinary

func (m *StockImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StockImage) Validate

func (m *StockImage) Validate(formats strfmt.Registry) error

Validate validates this stock image

type StockImages

type StockImages []*StockImage

StockImages List of stock images

swagger:model StockImages

func (StockImages) ContextValidate added in v1.1.0

func (m StockImages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stock images based on the context it is used

func (StockImages) Validate

func (m StockImages) Validate(formats strfmt.Registry) error

Validate validates this stock images

type StorageAffinity 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

func (m *StorageAffinity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage affinity based on context it is used

func (*StorageAffinity) MarshalBinary 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

func (*StorageAffinity) Validate added in v1.0.70

func (m *StorageAffinity) Validate(formats strfmt.Registry) error

Validate validates this storage affinity

type StorageController added in v1.3.0

type StorageController struct {

	// Display Name of the Storage Controller
	// Required: true
	DisplayName *string `json:"displayName"`

	// Health status of this storage controller
	// Required: true
	Health *string `json:"health"`

	// Free storage in user pools on this storage controller (GiB)
	// Required: true
	PoolStorage *float64 `json:"poolStorage"`

	// Total storage capacity of user pools in this storage controller (GiB)
	// Required: true
	PoolTotalStorage *float64 `json:"poolTotalStorage"`

	// List of storage pools within this storage controller
	// Required: true
	Pools map[string]StoragePoolCombined `json:"pools"`
}

StorageController Description of a Storage Controller

swagger:model StorageController

func (*StorageController) ContextValidate added in v1.3.0

func (m *StorageController) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage controller based on the context it is used

func (*StorageController) MarshalBinary added in v1.3.0

func (m *StorageController) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageController) UnmarshalBinary added in v1.3.0

func (m *StorageController) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageController) Validate added in v1.3.0

func (m *StorageController) Validate(formats strfmt.Registry) error

Validate validates this storage controller

type StorageControllers added in v1.3.0

type StorageControllers map[string]StorageController

StorageControllers List of available storage controllers within a particular DataCenter

swagger:model StorageControllers

func (StorageControllers) ContextValidate added in v1.3.0

func (m StorageControllers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage controllers based on the context it is used

func (StorageControllers) Validate added in v1.3.0

func (m StorageControllers) Validate(formats strfmt.Registry) error

Validate validates this storage controllers

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

func (m *StorageEntities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage entities based on context it is used

func (*StorageEntities) MarshalBinary 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

func (*StorageEntities) Validate added in v1.0.77

func (m *StorageEntities) Validate(formats strfmt.Registry) error

Validate validates this storage entities

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

func (m *StoragePool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage pool based on the context it is used

func (*StoragePool) MarshalBinary 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

func (*StoragePool) Validate added in v1.0.77

func (m *StoragePool) Validate(formats strfmt.Registry) error

Validate validates this storage pool

type StoragePoolCapacity added in v1.0.54

type StoragePoolCapacity struct {

	// Available/Unused pool capacity (GiB)
	AvailableCapacity int64 `json:"availableCapacity,omitempty"`

	// Maximum allocation storage size (GiB)
	// Required: true
	MaxAllocationSize *int64 `json:"maxAllocationSize"`

	// Pool name
	PoolName string `json:"poolName,omitempty"`

	// true if storage-pool is replication enabled and can be used to manage replication enabled volumes
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// Storage host/controller for this storage pool
	StorageHost string `json:"storageHost,omitempty"`

	// Storage type of the storage pool
	StorageType string `json:"storageType,omitempty"`

	// Total pool capacity (GiB)
	TotalCapacity int64 `json:"totalCapacity,omitempty"`
}

StoragePoolCapacity Storage pool capacity

swagger:model StoragePoolCapacity

func (*StoragePoolCapacity) ContextValidate added in v1.1.0

func (m *StoragePoolCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage pool capacity based on context it is used

func (*StoragePoolCapacity) MarshalBinary 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

func (*StoragePoolCapacity) Validate added in v1.0.54

func (m *StoragePoolCapacity) Validate(formats strfmt.Registry) error

Validate validates this storage pool capacity

type StoragePoolCombined added in v1.3.0

type StoragePoolCombined struct {

	// Pool name
	// Required: true
	PoolName *string `json:"poolName"`

	// Available/Unused pool capacity (GiB)
	// Required: true
	Storage *int64 `json:"storage"`

	// Total pool capacity (GiB)
	// Required: true
	TotalStorage *int64 `json:"totalStorage"`
}

StoragePoolCombined Combined Storage Pool Capacity

swagger:model StoragePoolCombined

func (*StoragePoolCombined) ContextValidate added in v1.3.0

func (m *StoragePoolCombined) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage pool combined based on context it is used

func (*StoragePoolCombined) MarshalBinary added in v1.3.0

func (m *StoragePoolCombined) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoragePoolCombined) UnmarshalBinary added in v1.3.0

func (m *StoragePoolCombined) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoragePoolCombined) Validate added in v1.3.0

func (m *StoragePoolCombined) Validate(formats strfmt.Registry) error

Validate validates this storage pool combined

type StoragePoolMap added in v1.7.0

type StoragePoolMap struct {

	// remote pool
	RemotePool string `json:"remotePool,omitempty"`

	// volume pool
	VolumePool string `json:"volumePool,omitempty"`
}

StoragePoolMap storage pool map

swagger:model StoragePoolMap

func (*StoragePoolMap) ContextValidate added in v1.7.0

func (m *StoragePoolMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage pool map based on context it is used

func (*StoragePoolMap) MarshalBinary added in v1.7.0

func (m *StoragePoolMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoragePoolMap) UnmarshalBinary added in v1.7.0

func (m *StoragePoolMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoragePoolMap) Validate added in v1.7.0

func (m *StoragePoolMap) Validate(formats strfmt.Registry) error

Validate validates this storage pool map

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

func (m StoragePools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage pools based on the context it is used

func (StoragePools) Validate added in v1.0.77

func (m StoragePools) Validate(formats strfmt.Registry) error

Validate validates this storage pools

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

func (m *StoragePoolsCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage pools capacity based on the context it is used

func (*StoragePoolsCapacity) MarshalBinary 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

func (*StoragePoolsCapacity) Validate added in v1.0.54

func (m *StoragePoolsCapacity) Validate(formats strfmt.Registry) error

Validate validates this storage pools capacity

type StorageTier added in v1.3.0

type StorageTier struct {

	// Description, storage tier label
	Description string `json:"description,omitempty"`

	// Name of the storage tier
	Name string `json:"name,omitempty"`

	// State of the storage tier (active or inactive)
	// Enum: ["active","inactive"]
	State *string `json:"state,omitempty"`
}

StorageTier Storage tier detail

swagger:model StorageTier

func (*StorageTier) ContextValidate added in v1.3.0

func (m *StorageTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage tier based on context it is used

func (*StorageTier) MarshalBinary added in v1.3.0

func (m *StorageTier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageTier) UnmarshalBinary added in v1.3.0

func (m *StorageTier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageTier) Validate added in v1.3.0

func (m *StorageTier) Validate(formats strfmt.Registry) error

Validate validates this storage tier

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

func (m *StorageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage type based on context it is used

func (*StorageType) MarshalBinary

func (m *StorageType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageType) UnmarshalBinary

func (m *StorageType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageType) Validate

func (m *StorageType) Validate(formats strfmt.Registry) error

Validate validates this storage type

type StorageTypeCapacity 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

func (m *StorageTypeCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage type capacity based on the context it is used

func (*StorageTypeCapacity) MarshalBinary 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

func (*StorageTypeCapacity) Validate added in v1.0.54

func (m *StorageTypeCapacity) Validate(formats strfmt.Registry) error

Validate validates this storage type capacity

type StorageTypes

type StorageTypes map[string]RegionStorageTypes

StorageTypes A map of an array of storage types supported in a region

swagger:model StorageTypes

func (StorageTypes) ContextValidate added in v1.1.0

func (m StorageTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage types based on the context it is used

func (StorageTypes) Validate

func (m StorageTypes) Validate(formats strfmt.Registry) error

Validate validates this storage types

type StorageTypesCapacity 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

func (m *StorageTypesCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage types capacity based on the context it is used

func (*StorageTypesCapacity) MarshalBinary 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

func (*StorageTypesCapacity) Validate added in v1.0.54

func (m *StorageTypesCapacity) Validate(formats strfmt.Registry) error

Validate validates this storage types capacity

type SupportedSoftwareTier added in v1.12.0

type SupportedSoftwareTier struct {

	// supported systems
	SupportedSystems []string `json:"supportedSystems"`

	// tier
	Tier SoftwareTier `json:"tier,omitempty"`
}

SupportedSoftwareTier supported software tier

swagger:model SupportedSoftwareTier

func (*SupportedSoftwareTier) ContextValidate added in v1.12.0

func (m *SupportedSoftwareTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this supported software tier based on the context it is used

func (*SupportedSoftwareTier) MarshalBinary added in v1.12.0

func (m *SupportedSoftwareTier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportedSoftwareTier) UnmarshalBinary added in v1.12.0

func (m *SupportedSoftwareTier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportedSoftwareTier) Validate added in v1.12.0

func (m *SupportedSoftwareTier) Validate(formats strfmt.Registry) error

Validate validates this supported software tier

type SupportedSoftwareTierList added in v1.12.0

type SupportedSoftwareTierList []*SupportedSoftwareTier

SupportedSoftwareTierList List of supported software tiers (IBMi licensing)

swagger:model SupportedSoftwareTierList

func (SupportedSoftwareTierList) ContextValidate added in v1.12.0

func (m SupportedSoftwareTierList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this supported software tier list based on the context it is used

func (SupportedSoftwareTierList) Validate added in v1.12.0

func (m SupportedSoftwareTierList) Validate(formats strfmt.Registry) error

Validate validates this supported software tier list

type SupportedSystems added in v1.8.1

type SupportedSystems struct {

	// List of all available dedicated host types
	// Required: true
	Dedicated []string `json:"dedicated"`

	// List of all available host types
	// Required: true
	General []string `json:"general"`
}

SupportedSystems supported systems

swagger:model SupportedSystems

func (*SupportedSystems) ContextValidate added in v1.8.1

func (m *SupportedSystems) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this supported systems based on context it is used

func (*SupportedSystems) MarshalBinary added in v1.8.1

func (m *SupportedSystems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportedSystems) UnmarshalBinary added in v1.8.1

func (m *SupportedSystems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportedSystems) Validate added in v1.8.1

func (m *SupportedSystems) Validate(formats strfmt.Registry) error

Validate validates this supported systems

type System

type System struct {

	// The host available Processor units
	AvailableCores float64 `json:"availableCores,omitempty"`

	// The host available RAM memory in GiB
	AvailableMemory int64 `json:"availableMemory,omitempty"`

	// The host available Processor units
	// Required: true
	Cores *float64 `json:"cores"`

	// The host MTMS name
	HostMTMSName string `json:"hostMTMSName,omitempty"`

	// The host identifier
	ID int64 `json:"id,omitempty"`

	// The host total RAM memory in GiB
	// Required: true
	Memory *int64 `json:"memory"`

	// The host total usable Processor units
	TotalCores float64 `json:"totalCores,omitempty"`

	// The host total usable RAM memory in GiB
	TotalMemory int64 `json:"totalMemory,omitempty"`

	// Total number of physical cores in the Pod
	TotalPhysCores float64 `json:"totalPhysCores,omitempty"`

	// Total amount of physical memory in the Pod (GiB)
	TotalPhysMemory int64 `json:"totalPhysMemory,omitempty"`
}

System system

swagger:model System

func (*System) ContextValidate added in v1.1.0

func (m *System) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this system based on context it is used

func (*System) MarshalBinary

func (m *System) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*System) UnmarshalBinary

func (m *System) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*System) Validate

func (m *System) Validate(formats strfmt.Registry) error

Validate validates this system

type SystemPool

type SystemPool struct {

	// Advertised capacity cores and memory (GiB)
	Capacity *System `json:"capacity,omitempty"`

	// Core allocation increment
	CoreIncrement float64 `json:"coreIncrement,omitempty"`

	// Processor to Memory (GiB) Ratio
	CoreMemoryRatio float64 `json:"coreMemoryRatio,omitempty"`

	// Maximum configurable cores and memory (GiB) (aggregated from all hosts)
	MaxAvailable *System `json:"maxAvailable,omitempty"`

	// Maximum configurable cores available combined with available memory of that host
	MaxCoresAvailable *System `json:"maxCoresAvailable,omitempty"`

	// Maximum configurable memory available combined with available cores of that host
	MaxMemoryAvailable *System `json:"maxMemoryAvailable,omitempty"`

	// min-max-default allocation percentage of shared core per vCPU
	SharedCoreRatio *MinMaxDefault `json:"sharedCoreRatio,omitempty"`

	// The DataCenter list of servers and their available resources
	Systems []*System `json:"systems"`

	// Type of system hardware
	Type string `json:"type,omitempty"`
}

SystemPool Hardware platform detailing its limits and statistics

swagger:model SystemPool

func (*SystemPool) ContextValidate added in v1.1.0

func (m *SystemPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pool based on the context it is used

func (*SystemPool) MarshalBinary

func (m *SystemPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemPool) UnmarshalBinary

func (m *SystemPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemPool) Validate

func (m *SystemPool) Validate(formats strfmt.Registry) error

Validate validates this system pool

type SystemPoolCapacity added in v1.3.0

type SystemPoolCapacity struct {

	// Number of available cores in the System Pool
	// Required: true
	Cores *float64 `json:"cores"`

	// Amount of available memory in the System Pool (GiB)
	// Required: true
	Memory *int64 `json:"memory"`

	// The DataCenter list of servers and their available resources
	Systems []*SystemResources `json:"systems"`

	// Total number of cores in the System Pool
	// Required: true
	TotalCores *float64 `json:"totalCores"`

	// Total amount of memory in the System Pool (GiB)
	// Required: true
	TotalMemory *int64 `json:"totalMemory"`

	// Total number of physical cores in the Pod
	// Required: true
	TotalPhysCores *float64 `json:"totalPhysCores"`

	// Total amount of physical memory in the Pod (GiB)
	// Required: true
	TotalPhysMemory *int64 `json:"totalPhysMemory"`
}

SystemPoolCapacity Description of a System Pool's Capacity

swagger:model SystemPoolCapacity

func (*SystemPoolCapacity) ContextValidate added in v1.3.0

func (m *SystemPoolCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pool capacity based on the context it is used

func (*SystemPoolCapacity) MarshalBinary added in v1.3.0

func (m *SystemPoolCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemPoolCapacity) UnmarshalBinary added in v1.3.0

func (m *SystemPoolCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemPoolCapacity) Validate added in v1.3.0

func (m *SystemPoolCapacity) Validate(formats strfmt.Registry) error

Validate validates this system pool capacity

type SystemPools

type SystemPools map[string]SystemPool

SystemPools List of available system pools within a particular DataCenter

swagger:model SystemPools

func (SystemPools) ContextValidate added in v1.1.0

func (m SystemPools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pools based on the context it is used

func (SystemPools) Validate

func (m SystemPools) Validate(formats strfmt.Registry) error

Validate validates this system pools

type SystemPoolsCapacity added in v1.3.0

type SystemPoolsCapacity map[string]SystemPoolCapacity

SystemPoolsCapacity List of available system pools within a Pod

swagger:model SystemPoolsCapacity

func (SystemPoolsCapacity) ContextValidate added in v1.3.0

func (m SystemPoolsCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system pools capacity based on the context it is used

func (SystemPoolsCapacity) Validate added in v1.3.0

func (m SystemPoolsCapacity) Validate(formats strfmt.Registry) error

Validate validates this system pools capacity

type SystemResources added in v1.7.0

type SystemResources struct {

	// The host available Processor units
	// Required: true
	Cores *float64 `json:"cores"`

	// The host MTMS name
	HostMTMSName string `json:"hostMTMSName,omitempty"`

	// The host identifier
	// Required: true
	ID *int64 `json:"id"`

	// The host available RAM memory in GiB
	// Required: true
	Memory *int64 `json:"memory"`

	// The host total usable Processor units
	// Required: true
	TotalCores *float64 `json:"totalCores"`

	// The host total usable RAM memory in GiB
	// Required: true
	TotalMemory *int64 `json:"totalMemory"`

	// Total number of physical cores in the Pod
	// Required: true
	TotalPhysCores *float64 `json:"totalPhysCores"`

	// Total amount of physical memory in the Pod (GiB)
	// Required: true
	TotalPhysMemory *int64 `json:"totalPhysMemory"`
}

SystemResources Information about the resources that a single system contains

swagger:model SystemResources

func (*SystemResources) ContextValidate added in v1.7.0

func (m *SystemResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this system resources based on context it is used

func (*SystemResources) MarshalBinary added in v1.7.0

func (m *SystemResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemResources) UnmarshalBinary added in v1.7.0

func (m *SystemResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemResources) Validate added in v1.7.0

func (m *SystemResources) Validate(formats strfmt.Registry) error

Validate validates this system resources

type Tags added in v1.8.1

type Tags []string

Tags List of user tags

swagger:model Tags

func (Tags) ContextValidate added in v1.8.1

func (m Tags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tags based on context it is used

func (Tags) Validate added in v1.8.1

func (m Tags) Validate(formats strfmt.Registry) error

Validate validates this tags

type TargetObject added in v1.2.2

type TargetObject struct {

	// The name of the target
	// Required: true
	Name *string `json:"name"`

	// The type of the target
	// Required: true
	Type *string `json:"type"`
}

TargetObject List of available capabilities for a specific service

swagger:model TargetObject

func (*TargetObject) ContextValidate added in v1.2.2

func (m *TargetObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this target object based on context it is used

func (*TargetObject) MarshalBinary added in v1.2.2

func (m *TargetObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TargetObject) UnmarshalBinary added in v1.2.2

func (m *TargetObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TargetObject) Validate added in v1.2.2

func (m *TargetObject) Validate(formats strfmt.Registry) error

Validate validates this target object

type TargetTrustedProfile added in v1.15.0

type TargetTrustedProfile struct {

	// The CRN for the trusted profile
	// Max Length: 512
	// Pattern: ^(crn:v[0-9]+:[a-z0-9-]+:[a-z0-9-]+:[a-z0-9-]+:[a-z0-9-]*:([a-z]\/[a-z0-9-]+)?:[a-z0-9-]*:[a-z0-9-]*:[a-zA-Z0-9-_\.\/]*)?$
	Crn *string `json:"crn,omitempty"`

	// Unique identifier for the trusted profile
	// Max Length: 64
	// Pattern: ^(Profile-[-0-9a-z_]+)?$
	ID *string `json:"id,omitempty"`

	// name of the trusted profile (requires the trusted profile read IAM action when used with autolink)
	Name *string `json:"name,omitempty"`
}

TargetTrustedProfile trusted profile associated with the VM. Specify one of crn, id or name

swagger:model TargetTrustedProfile

func (*TargetTrustedProfile) ContextValidate added in v1.15.0

func (m *TargetTrustedProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this target trusted profile based on context it is used

func (*TargetTrustedProfile) MarshalBinary added in v1.15.0

func (m *TargetTrustedProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TargetTrustedProfile) UnmarshalBinary added in v1.15.0

func (m *TargetTrustedProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TargetTrustedProfile) Validate added in v1.15.0

func (m *TargetTrustedProfile) Validate(formats strfmt.Registry) error

Validate validates this target trusted profile

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

func (m *Task) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task based on context it is used

func (*Task) MarshalBinary

func (m *Task) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Task) UnmarshalBinary

func (m *Task) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Task) Validate

func (m *Task) Validate(formats strfmt.Registry) error

Validate validates this task

type TaskReference

type TaskReference struct {

	// Link to Task resource
	// Required: true
	Href *string `json:"href"`

	// ID of Task used to get status of long running operation
	// Required: true
	TaskID *string `json:"taskID"`
}

TaskReference task reference

swagger:model TaskReference

func (*TaskReference) ContextValidate added in v1.1.0

func (m *TaskReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task reference based on context it is used

func (*TaskReference) MarshalBinary

func (m *TaskReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskReference) UnmarshalBinary

func (m *TaskReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskReference) Validate

func (m *TaskReference) Validate(formats strfmt.Registry) error

Validate validates this task reference

type Tenant

type Tenant struct {

	// Cloud Instances owned by the Tenant
	// Required: true
	CloudInstances []*CloudInstanceReference `json:"cloudInstances"`

	// Date of Tenant creation
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Indicates if the tenant is enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// IBM Customer Number
	Icn string `json:"icn,omitempty"`

	// Peering Network Information (optional)
	PeeringNetworks []*PeeringNetwork `json:"peeringNetworks,omitempty"`

	// Tenant SSH Keys
	SSHKeys []*SSHKey `json:"sshKeys"`

	// Tenant ID
	// Required: true
	TenantID *string `json:"tenantID"`
}

Tenant tenant

swagger:model Tenant

func (*Tenant) ContextValidate added in v1.1.0

func (m *Tenant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenant based on the context it is used

func (*Tenant) MarshalBinary

func (m *Tenant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary

func (m *Tenant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tenant) Validate

func (m *Tenant) Validate(formats strfmt.Registry) error

Validate validates this tenant

type TenantUpdate

type TenantUpdate struct {

	// IBM Customer Number
	Icn *string `json:"icn,omitempty"`

	// Peering Network Information (optional)
	PeeringNetworks []*PeeringNetwork `json:"peeringNetworks"`
}

TenantUpdate tenant update

swagger:model TenantUpdate

func (*TenantUpdate) ContextValidate added in v1.1.0

func (m *TenantUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenant update based on the context it is used

func (*TenantUpdate) MarshalBinary

func (m *TenantUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TenantUpdate) UnmarshalBinary

func (m *TenantUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TenantUpdate) Validate

func (m *TenantUpdate) Validate(formats strfmt.Registry) error

Validate validates this tenant update

type Thresholds 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

func (m *Thresholds) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this thresholds based on the context it is used

func (*Thresholds) MarshalBinary 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

func (*Thresholds) Validate added in v1.0.77

func (m *Thresholds) Validate(formats strfmt.Registry) error

Validate validates this thresholds

type Token

type Token struct {

	// AccessToken
	// Required: true
	AccessToken *string `json:"accessToken"`

	// Token Expires
	// Required: true
	// Format: date-time
	Expires *strfmt.DateTime `json:"expires"`

	// Refresh Token
	// Required: true
	RefreshToken *string `json:"refreshToken"`

	// Token Type
	// Required: true
	Type *string `json:"type"`
}

Token token

swagger:model Token

func (*Token) ContextValidate added in v1.1.0

func (m *Token) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token based on context it is used

func (*Token) MarshalBinary

func (m *Token) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Token) UnmarshalBinary

func (m *Token) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Token) Validate

func (m *Token) Validate(formats strfmt.Registry) error

Validate validates this token

type TokenExtra

type TokenExtra struct {

	// Number of seconds token will expire
	// Required: true
	ExpiresIn *float64 `json:"expiresIn"`

	// Time on the service broker
	// Required: true
	// Format: date-time
	ServerTime *strfmt.DateTime `json:"serverTime"`

	// OAuth Token
	// Required: true
	Token *Token `json:"token"`

	// Is this token valid
	// Required: true
	Valid *bool `json:"valid"`
}

TokenExtra token extra

swagger:model TokenExtra

func (*TokenExtra) ContextValidate added in v1.1.0

func (m *TokenExtra) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this token extra based on the context it is used

func (*TokenExtra) MarshalBinary

func (m *TokenExtra) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenExtra) UnmarshalBinary

func (m *TokenExtra) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenExtra) Validate

func (m *TokenExtra) Validate(formats strfmt.Registry) error

Validate validates this token extra

type TokenRequest

type TokenRequest struct {

	// The refresh token to request the new Access Token
	// Required: true
	RefreshToken *string `json:"refreshToken"`

	// Source type of the token request (web or cli)
	// Required: true
	// Enum: ["web","cli"]
	Source *string `json:"source"`
}

TokenRequest token request

swagger:model TokenRequest

func (*TokenRequest) ContextValidate added in v1.1.0

func (m *TokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token request based on context it is used

func (*TokenRequest) MarshalBinary

func (m *TokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenRequest) UnmarshalBinary

func (m *TokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenRequest) Validate

func (m *TokenRequest) Validate(formats strfmt.Registry) error

Validate validates this token request

type TransitConnectionErrorItem added in v1.2.2

type TransitConnectionErrorItem struct {

	// The status code of the transit connection
	// Required: true
	Code *string `json:"code"`

	// The trace id for debugging purposes
	// Required: true
	Message *string `json:"message"`

	// target
	Target *TargetObject `json:"target,omitempty"`
}

TransitConnectionErrorItem transit connection error item

swagger:model TransitConnectionErrorItem

func (*TransitConnectionErrorItem) ContextValidate added in v1.2.2

func (m *TransitConnectionErrorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transit connection error item based on the context it is used

func (*TransitConnectionErrorItem) MarshalBinary added in v1.2.2

func (m *TransitConnectionErrorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitConnectionErrorItem) UnmarshalBinary added in v1.2.2

func (m *TransitConnectionErrorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitConnectionErrorItem) Validate added in v1.2.2

func (m *TransitConnectionErrorItem) Validate(formats strfmt.Registry) error

Validate validates this transit connection error item

type TransitGatewayInstance added in v1.1.10

type TransitGatewayInstance struct {

	// errors
	Errors []*TransitConnectionErrorItem `json:"errors,omitempty"`

	// IBM Resource Group ID associated with the PowerVS Service Instance
	// Example: 2bf1887bf5c947b1966de2bd88220489
	ResourceGroupID string `json:"resourceGroupId,omitempty"`

	// The route distinguisher for a network
	// Example: 47902:3255120092
	RouteDistinguisher string `json:"routeDistinguisher,omitempty"`

	// The route target for a network
	// Example: 47902:3255120092
	RouteTarget string `json:"routeTarget,omitempty"`

	// The PowerVS Service Instance CRN
	// Example: crn:v1:bluemix:public:power-iaas:dal12:a/2bc3df23c0d14ebe921397bd8aa2573a:3a5798f1-4d2b-4e0a-9311-9b0fd6b94698::
	ServiceCrn string `json:"serviceCrn,omitempty"`

	// The PowerVS Service Instance ID
	// Example: 3a5798f1-4d2b-4e0a-9311-9b0fd6b94698
	ServiceID string `json:"serviceId,omitempty"`

	// The trace id for debugging purposes
	Trace string `json:"trace,omitempty"`
}

TransitGatewayInstance transit gateway instance

swagger:model TransitGatewayInstance

func (*TransitGatewayInstance) ContextValidate added in v1.1.10

func (m *TransitGatewayInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transit gateway instance based on the context it is used

func (*TransitGatewayInstance) MarshalBinary added in v1.1.10

func (m *TransitGatewayInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitGatewayInstance) UnmarshalBinary added in v1.1.10

func (m *TransitGatewayInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitGatewayInstance) Validate added in v1.1.10

func (m *TransitGatewayInstance) Validate(formats strfmt.Registry) error

Validate validates this transit gateway instance

type TransitGatewayLocation added in v1.1.10

type TransitGatewayLocation struct {

	// The Location of the PowerVS Service
	// Example: dal12
	// Required: true
	Location *string `json:"location"`

	// Location Type of the PowerVS Service
	// Example: data-center
	// Required: true
	// Enum: ["region","data-center","zone"]
	LocationType *string `json:"locationType"`

	// The PowerVS Location URL path to access specific service instance information
	// Example: https://us-south.power-iaas.cloud.ibm.com
	// Required: true
	LocationURL *string `json:"locationUrl"`
}

TransitGatewayLocation The PER enabled PowerVS Service Location

swagger:model TransitGatewayLocation

func (*TransitGatewayLocation) ContextValidate added in v1.1.10

func (m *TransitGatewayLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this transit gateway location based on context it is used

func (*TransitGatewayLocation) MarshalBinary added in v1.1.10

func (m *TransitGatewayLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitGatewayLocation) UnmarshalBinary added in v1.1.10

func (m *TransitGatewayLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitGatewayLocation) Validate added in v1.1.10

func (m *TransitGatewayLocation) Validate(formats strfmt.Registry) error

Validate validates this transit gateway location

type TransitGatewayLocations added in v1.1.10

type TransitGatewayLocations struct {

	// The List of PER enabled PowerVS Service Locations
	// Required: true
	TransitGatewayLocations []*TransitGatewayLocation `json:"transitGatewayLocations"`
}

TransitGatewayLocations transit gateway locations

swagger:model TransitGatewayLocations

func (*TransitGatewayLocations) ContextValidate added in v1.1.10

func (m *TransitGatewayLocations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transit gateway locations based on the context it is used

func (*TransitGatewayLocations) MarshalBinary added in v1.1.12

func (m *TransitGatewayLocations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransitGatewayLocations) UnmarshalBinary added in v1.1.12

func (m *TransitGatewayLocations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransitGatewayLocations) Validate added in v1.1.10

func (m *TransitGatewayLocations) Validate(formats strfmt.Registry) error

Validate validates this transit gateway locations

type TrustedProfile added in v1.15.0

type TrustedProfile struct {

	// If set to true, the system will create a link to the specified trusted profile during server creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the server is deleted.
	Autolink *bool `json:"autolink,omitempty"`

	// Either the ID or the CRN must be set in the target, but only one can be specified at a time.
	// Required: true
	Target *TargetTrustedProfile `json:"target"`
}

TrustedProfile trusted profile

swagger:model TrustedProfile

func (*TrustedProfile) ContextValidate added in v1.15.0

func (m *TrustedProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trusted profile based on the context it is used

func (*TrustedProfile) MarshalBinary added in v1.15.0

func (m *TrustedProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustedProfile) UnmarshalBinary added in v1.15.0

func (m *TrustedProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustedProfile) Validate added in v1.15.0

func (m *TrustedProfile) Validate(formats strfmt.Registry) error

Validate validates this trusted profile

type UpdateMetadataService added in v1.15.0

type UpdateMetadataService struct {

	// Indicates whether the metadata service endpoint will be available to the virtual server instance.
	// Required: true
	Enabled *bool `json:"enabled"`

	// When true, allow the metadata service to be disabled while the VSI is active.
	//
	ForceDisable bool `json:"forceDisable,omitempty"`

	// When true, allow the metadata service to be enabled while the VSI is active. The user is responsible for manually configuring networking on the VSI after the update. Only supported on Linux VSIs.
	//
	ForceEnable bool `json:"forceEnable,omitempty"`
}

UpdateMetadataService The metadata service configuration after update.

swagger:model UpdateMetadataService

func (*UpdateMetadataService) ContextValidate added in v1.15.0

func (m *UpdateMetadataService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update metadata service based on context it is used

func (*UpdateMetadataService) MarshalBinary added in v1.15.0

func (m *UpdateMetadataService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateMetadataService) UnmarshalBinary added in v1.15.0

func (m *UpdateMetadataService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateMetadataService) Validate added in v1.15.0

func (m *UpdateMetadataService) Validate(formats strfmt.Registry) error

Validate validates this update metadata service

type UpdateServerVirtualSerialNumber added in v1.9.0

type UpdateServerVirtualSerialNumber struct {

	// Description of the Virtual Serial Number
	Description *string `json:"description,omitempty"`

	// software tier
	SoftwareTier SoftwareTier `json:"softwareTier,omitempty"`
}

UpdateServerVirtualSerialNumber update server virtual serial number

swagger:model UpdateServerVirtualSerialNumber

func (*UpdateServerVirtualSerialNumber) ContextValidate added in v1.9.0

func (m *UpdateServerVirtualSerialNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update server virtual serial number based on the context it is used

func (*UpdateServerVirtualSerialNumber) MarshalBinary added in v1.9.0

func (m *UpdateServerVirtualSerialNumber) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServerVirtualSerialNumber) UnmarshalBinary added in v1.9.0

func (m *UpdateServerVirtualSerialNumber) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServerVirtualSerialNumber) Validate added in v1.9.0

Validate validates this update server virtual serial number

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

func (m *UpdateStoragePool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update storage pool based on the context it is used

func (*UpdateStoragePool) MarshalBinary 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

func (*UpdateStoragePool) Validate added in v1.0.77

func (m *UpdateStoragePool) Validate(formats strfmt.Registry) error

Validate validates this update storage pool

type UpdateTrustedProfile added in v1.15.0

type UpdateTrustedProfile struct {

	// If set to true, the system will create a link to the specified trusted profile during server update. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the server is deleted.
	Autolink *bool `json:"autolink,omitempty"`

	// Either the ID or the CRN must be set in the target, but only one can be specified at a time.
	Target *TargetTrustedProfile `json:"target,omitempty"`
}

UpdateTrustedProfile update trusted profile

swagger:model UpdateTrustedProfile

func (*UpdateTrustedProfile) ContextValidate added in v1.15.0

func (m *UpdateTrustedProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update trusted profile based on the context it is used

func (*UpdateTrustedProfile) MarshalBinary added in v1.15.0

func (m *UpdateTrustedProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateTrustedProfile) UnmarshalBinary added in v1.15.0

func (m *UpdateTrustedProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateTrustedProfile) Validate added in v1.15.0

func (m *UpdateTrustedProfile) Validate(formats strfmt.Registry) error

Validate validates this update trusted profile

type UpdateVirtualSerialNumber added in v1.9.0

type UpdateVirtualSerialNumber struct {

	// Description of the Virtual Serial Number
	// Required: true
	Description *string `json:"description"`
}

UpdateVirtualSerialNumber update virtual serial number

swagger:model UpdateVirtualSerialNumber

func (*UpdateVirtualSerialNumber) ContextValidate added in v1.9.0

func (m *UpdateVirtualSerialNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update virtual serial number based on context it is used

func (*UpdateVirtualSerialNumber) MarshalBinary added in v1.9.0

func (m *UpdateVirtualSerialNumber) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVirtualSerialNumber) UnmarshalBinary added in v1.9.0

func (m *UpdateVirtualSerialNumber) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVirtualSerialNumber) Validate added in v1.9.0

func (m *UpdateVirtualSerialNumber) Validate(formats strfmt.Registry) error

Validate validates this update virtual serial number

type UpdateVolume

type UpdateVolume struct {

	// Indicates if the volume is boot capable
	Bootable *bool `json:"bootable,omitempty"`

	// Name
	Name *string `json:"name,omitempty"`

	// Indicates if the volume is shareable between VMs
	Shareable *bool `json:"shareable,omitempty"`

	// New Volume size
	Size float64 `json:"size,omitempty"`
}

UpdateVolume update volume

swagger:model UpdateVolume

func (*UpdateVolume) ContextValidate added in v1.1.0

func (m *UpdateVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update volume based on context it is used

func (*UpdateVolume) MarshalBinary

func (m *UpdateVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVolume) UnmarshalBinary

func (m *UpdateVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVolume) Validate

func (m *UpdateVolume) Validate(formats strfmt.Registry) error

Validate validates this update volume

type UpdateWorkspaceSSHKey added in v1.12.0

type UpdateWorkspaceSSHKey struct {

	// Description of the sshkey
	Description *string `json:"description,omitempty" datastore:"description"`

	// User defined name for the SSH key
	// Max Length: 128
	// Pattern: ^[A-Za-z0-9-_]+(?: +[A-Za-z0-9-_]+)*$
	Name *string `json:"name,omitempty" datastore:"name"`

	// SSH RSA key
	SSHKey *string `json:"sshKey,omitempty" datastore:"sshKey"`

	// Visibility of the sshkey; workspace suggests ssh-key is only accessible in a workspace, account suggests ssh-key is accessible throughout an account
	// Enum: ["account","workspace"]
	Visibility *string `json:"visibility,omitempty" datastore:"visibility"`
}

UpdateWorkspaceSSHKey update workspace SSH key

swagger:model UpdateWorkspaceSSHKey

func (*UpdateWorkspaceSSHKey) ContextValidate added in v1.12.0

func (m *UpdateWorkspaceSSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update workspace SSH key based on context it is used

func (*UpdateWorkspaceSSHKey) MarshalBinary added in v1.12.0

func (m *UpdateWorkspaceSSHKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateWorkspaceSSHKey) UnmarshalBinary added in v1.12.0

func (m *UpdateWorkspaceSSHKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateWorkspaceSSHKey) Validate added in v1.12.0

func (m *UpdateWorkspaceSSHKey) Validate(formats strfmt.Registry) error

Validate validates this update workspace SSH key

type UserAuthenticationInfo added in v1.1.10

type UserAuthenticationInfo struct {

	// User Account ID
	// Required: true
	AccountID *string `json:"accountID"`

	// Map of internal capabilities the user has access to and their level of access
	Capabilities ResourceAccess `json:"capabilities,omitempty"`

	// Workaround for AT event tracker
	CredentialType string `json:"credentialType,omitempty"`

	// Map of the user's CRNs to their level of access
	CrnAccess ResourceAccess `json:"crnAccess,omitempty"`

	// User Email
	// Required: true
	Email *string `json:"email"`

	// User ID
	// Required: true
	ID *string `json:"id"`

	// Member of the following tenants
	MemberOf []string `json:"memberOf"`

	// User Name
	// Required: true
	Name *string `json:"name"`

	// OAuth2 Token
	// Required: true
	Token *Token `json:"token"`
}

UserAuthenticationInfo user authentication info

swagger:model UserAuthenticationInfo

func (*UserAuthenticationInfo) ContextValidate added in v1.1.10

func (m *UserAuthenticationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user authentication info based on the context it is used

func (*UserAuthenticationInfo) MarshalBinary added in v1.1.10

func (m *UserAuthenticationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAuthenticationInfo) UnmarshalBinary added in v1.1.10

func (m *UserAuthenticationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAuthenticationInfo) Validate added in v1.1.10

func (m *UserAuthenticationInfo) Validate(formats strfmt.Registry) error

Validate validates this user authentication info

type UserInfo

type UserInfo struct {

	// User Email
	// Required: true
	Email *string `json:"email"`

	// User ID
	// Required: true
	ID *string `json:"id"`

	// User Image URL
	ImageURL string `json:"imageURL,omitempty"`

	// Member of the following tenants
	MemberOf []string `json:"memberOf"`

	// User Name
	// Required: true
	Name *string `json:"name"`
}

UserInfo user info

swagger:model UserInfo

func (*UserInfo) ContextValidate added in v1.1.0

func (m *UserInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user info based on context it is used

func (*UserInfo) MarshalBinary

func (m *UserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserInfo) UnmarshalBinary

func (m *UserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserInfo) Validate

func (m *UserInfo) Validate(formats strfmt.Registry) error

Validate validates this user info

type VPMemVolumeAttach added in v1.14.0

type VPMemVolumeAttach struct {

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

	// Description of volumes to create
	// Required: true
	VpmemVolumes []*VPMemVolumeCreate `json:"vpmemVolumes"`
}

VPMemVolumeAttach v p mem volume attach

swagger:model VPMemVolumeAttach

func (*VPMemVolumeAttach) ContextValidate added in v1.14.0

func (m *VPMemVolumeAttach) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v p mem volume attach based on the context it is used

func (*VPMemVolumeAttach) MarshalBinary added in v1.14.0

func (m *VPMemVolumeAttach) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VPMemVolumeAttach) UnmarshalBinary added in v1.14.0

func (m *VPMemVolumeAttach) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VPMemVolumeAttach) Validate added in v1.14.0

func (m *VPMemVolumeAttach) Validate(formats strfmt.Registry) error

Validate validates this v p mem volume attach

type VPMemVolumeCreate added in v1.14.0

type VPMemVolumeCreate struct {

	// Volume base name
	// Required: true
	// Max Length: 20
	// Min Length: 1
	// Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-_]*$
	Name *string `json:"name"`

	// Volume size (GiB)
	// Required: true
	// Minimum: 1
	Size *int64 `json:"size"`
}

VPMemVolumeCreate v p mem volume create

swagger:model VPMemVolumeCreate

func (*VPMemVolumeCreate) ContextValidate added in v1.14.0

func (m *VPMemVolumeCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v p mem volume create based on context it is used

func (*VPMemVolumeCreate) MarshalBinary added in v1.14.0

func (m *VPMemVolumeCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VPMemVolumeCreate) UnmarshalBinary added in v1.14.0

func (m *VPMemVolumeCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VPMemVolumeCreate) Validate added in v1.14.0

func (m *VPMemVolumeCreate) Validate(formats strfmt.Registry) error

Validate validates this v p mem volume create

type VPMemVolumeReference added in v1.14.0

type VPMemVolumeReference struct {

	// The date and time when the volume was created
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// Error code for the vPMEM volume
	ErrorCode string `json:"errorCode,omitempty"`

	// Link to vPMEM volume resource
	// Required: true
	Href *string `json:"href"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// PVM Instance ID which the volume is attached to
	// Required: true
	PvmInstanceID *string `json:"pvmInstanceID"`

	// Reason for error
	Reason string `json:"reason,omitempty"`

	// Volume Size (GiB)
	// Required: true
	Size *float64 `json:"size"`

	// Status of the volume
	// Required: true
	Status *string `json:"status"`

	// The date and time when the volume was updated
	// Format: date-time
	UpdatedDate *strfmt.DateTime `json:"updatedDate,omitempty"`

	// Volume ID
	// Required: true
	UUID *string `json:"uuid"`
}

VPMemVolumeReference v p mem volume reference

swagger:model VPMemVolumeReference

func (*VPMemVolumeReference) ContextValidate added in v1.14.0

func (m *VPMemVolumeReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v p mem volume reference based on the context it is used

func (*VPMemVolumeReference) MarshalBinary added in v1.14.0

func (m *VPMemVolumeReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VPMemVolumeReference) UnmarshalBinary added in v1.14.0

func (m *VPMemVolumeReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VPMemVolumeReference) Validate added in v1.14.0

func (m *VPMemVolumeReference) Validate(formats strfmt.Registry) error

Validate validates this v p mem volume reference

type VPMemVolumeUpdate added in v1.16.0

type VPMemVolumeUpdate struct {

	// Volume base name
	// Required: true
	// Max Length: 20
	// Min Length: 1
	// Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-_]*$
	Name *string `json:"name"`
}

VPMemVolumeUpdate v p mem volume update

swagger:model VPMemVolumeUpdate

func (*VPMemVolumeUpdate) ContextValidate added in v1.16.0

func (m *VPMemVolumeUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v p mem volume update based on context it is used

func (*VPMemVolumeUpdate) MarshalBinary added in v1.16.0

func (m *VPMemVolumeUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VPMemVolumeUpdate) UnmarshalBinary added in v1.16.0

func (m *VPMemVolumeUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VPMemVolumeUpdate) Validate added in v1.16.0

func (m *VPMemVolumeUpdate) Validate(formats strfmt.Registry) error

Validate validates this v p mem volume update

type VPMemVolumes added in v1.14.0

type VPMemVolumes struct {

	// List of vPMEM volumes
	// Required: true
	Volumes []*VPMemVolumeReference `json:"volumes"`
}

VPMemVolumes v p mem volumes

swagger:model VPMemVolumes

func (*VPMemVolumes) ContextValidate added in v1.14.0

func (m *VPMemVolumes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v p mem volumes based on the context it is used

func (*VPMemVolumes) MarshalBinary added in v1.14.0

func (m *VPMemVolumes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VPMemVolumes) UnmarshalBinary added in v1.14.0

func (m *VPMemVolumes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VPMemVolumes) Validate added in v1.14.0

func (m *VPMemVolumes) Validate(formats strfmt.Registry) error

Validate validates this v p mem volumes

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

func (m *VPNConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VPNConnection) Validate added in v1.0.75

func (m *VPNConnection) Validate(formats strfmt.Registry) error

Validate validates this v p n connection

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

func (m *VPNConnectionCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VPNConnectionCreate) Validate added in v1.0.75

func (m *VPNConnectionCreate) Validate(formats strfmt.Registry) error

Validate validates this v p n connection create

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

func (*VPNConnectionCreateResponse) Validate added in v1.0.76

func (m *VPNConnectionCreateResponse) Validate(formats strfmt.Registry) error

Validate validates this v p n connection create response

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]any `json:"-"`
}

VPNConnectionUpdate VPN Connection object to send during the update

MinProperties: 1

swagger:model VPNConnectionUpdate

func (*VPNConnectionUpdate) ContextValidate added in v1.1.0

func (m *VPNConnectionUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VPNConnectionUpdate) Validate added in v1.0.75

func (m *VPNConnectionUpdate) Validate(formats strfmt.Registry) error

Validate validates this v p n connection update

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

func (m *VPNConnections) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*VPNConnections) Validate added in v1.0.75

func (m *VPNConnections) Validate(formats strfmt.Registry) error

Validate validates this v p n connections

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

func (m *Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this version based on context it is used

func (*Version) MarshalBinary

func (m *Version) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Version) UnmarshalBinary

func (m *Version) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Version) Validate

func (m *Version) Validate(formats strfmt.Registry) error

Validate validates this version

type VirtualCores 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

func (m *VirtualCores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this virtual cores based on context it is used

func (*VirtualCores) MarshalBinary 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

func (*VirtualCores) Validate added in v1.0.43

func (m *VirtualCores) Validate(formats strfmt.Registry) error

Validate validates this virtual cores

type VirtualSerialNumber added in v1.9.0

type VirtualSerialNumber struct {

	// Description of the Virtual Serial Number
	// Required: true
	Description *string `json:"description"`

	// ID of the PVM Instance Virtual Serial Number is attached to.
	// Required: true
	PvmInstanceID *string `json:"pvmInstanceID"`

	// Virtual Serial Number assigned to the PVM Instance
	// Required: true
	Serial *string `json:"serial"`

	// software tier
	SoftwareTier SoftwareTier `json:"softwareTier,omitempty"`
}

VirtualSerialNumber virtual serial number

swagger:model VirtualSerialNumber

func (*VirtualSerialNumber) ContextValidate added in v1.9.0

func (m *VirtualSerialNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual serial number based on the context it is used

func (*VirtualSerialNumber) MarshalBinary added in v1.9.0

func (m *VirtualSerialNumber) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualSerialNumber) UnmarshalBinary added in v1.9.0

func (m *VirtualSerialNumber) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualSerialNumber) Validate added in v1.9.0

func (m *VirtualSerialNumber) Validate(formats strfmt.Registry) error

Validate validates this virtual serial number

type VirtualSerialNumberList added in v1.9.0

type VirtualSerialNumberList []*VirtualSerialNumber

VirtualSerialNumberList List of all Virtual Serial Numbers

swagger:model VirtualSerialNumberList

func (VirtualSerialNumberList) ContextValidate added in v1.9.0

func (m VirtualSerialNumberList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual serial number list based on the context it is used

func (VirtualSerialNumberList) Validate added in v1.9.0

func (m VirtualSerialNumberList) Validate(formats strfmt.Registry) error

Validate validates this virtual serial number list

type Volume

type Volume struct {

	// Auxiliary volume name at storage host level
	AuxVolumeName string `json:"auxVolumeName,omitempty"`

	// true if volume is auxiliary otherwise false
	Auxiliary *bool `json:"auxiliary,omitempty"`

	// Indicates if the volume is the server's boot volume. Only returned when querying a server's attached volumes
	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"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// Indicates if the volume should be deleted when the server terminates. Only returned when querying a server's attached volumes
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`

	// Type of Disk
	DiskType string `json:"diskType,omitempty"`

	// Freeze time of remote copy relationship
	// Format: date-time
	FreezeTime *strfmt.DateTime `json:"freezeTime,omitempty"`

	// Volume Group ID
	GroupID string `json:"groupID,omitempty"`

	// Amount of iops assigned to the volume
	IoThrottleRate string `json:"ioThrottleRate,omitempty"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Master volume name at storage host level
	MasterVolumeName string `json:"masterVolumeName,omitempty"`

	// Mirroring state for replication enabled volume
	MirroringState string `json:"mirroringState,omitempty"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// true if volume does not exist on storage controller, as volume has been deleted by deleting its paired volume from the mapped replication site.
	OutOfBandDeleted bool `json:"outOfBandDeleted,omitempty"`

	// indicates whether master/aux volume is playing the primary role
	// Enum: ["master","aux"]
	PrimaryRole string `json:"primaryRole,omitempty"`

	// List of PCloud PVM Instance attached to the volume
	PvmInstanceIDs []string `json:"pvmInstanceIDs"`

	// True if volume is replication enabled otherwise false
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// List of replication site for volume replication
	ReplicationSites []string `json:"replicationSites,omitempty"`

	// Replication status of a volume
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// CRN of the replication targert workspace; for a primary replicated volume this is the target workspace that owns the auxiliary data; for an auxiliary replicated volume this is the target workspace that owns the primary data.
	ReplicationTargetCRN string `json:"replicationTargetCRN,omitempty"`

	// type of replication(metro,global)
	ReplicationType string `json:"replicationType,omitempty"`

	// Indicates if the volume is shareable between VMs
	Shareable *bool `json:"shareable,omitempty"`

	// Volume Size
	// Required: true
	Size *float64 `json:"size"`

	// Volume State
	State string `json:"state,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,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

func (m *Volume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume based on the context it is used

func (*Volume) MarshalBinary

func (m *Volume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Volume) UnmarshalBinary

func (m *Volume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Volume) Validate

func (m *Volume) Validate(formats strfmt.Registry) error

Validate validates this volume

type VolumeAction added in v1.0.76

type VolumeAction struct {

	// Indicates if the volume should be replication enabled or not
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// Target storage tier; used to change a volume's storage tier
	TargetStorageTier *string `json:"targetStorageTier,omitempty"`
}

VolumeAction volume action

swagger:model VolumeAction

func (*VolumeAction) ContextValidate added in v1.1.0

func (m *VolumeAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume action based on context it is used

func (*VolumeAction) MarshalBinary 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

func (*VolumeAction) Validate added in v1.0.76

func (m *VolumeAction) Validate(formats strfmt.Registry) error

Validate validates this volume action

type VolumeGroup added in v1.1.6

type VolumeGroup struct {

	// Indicates whether the volume group is for auxiliary volumes or master volumes
	Auxiliary *bool `json:"auxiliary,omitempty"`

	// The name of consistencyGroup at storage host level
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// The ID of the volume group
	// Required: true
	ID *string `json:"id"`

	// The name of the volume group
	// Required: true
	Name *string `json:"name"`

	// Indicates the replication site of the volume group
	ReplicationSites []string `json:"replicationSites"`

	// Replication status of volume group
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// Status of the volume group
	Status string `json:"status,omitempty"`

	// Status details of the volume group
	StatusDescription *StatusDescription `json:"statusDescription,omitempty"`

	// Indicates the storage pool of the volume group
	StoragePool string `json:"storagePool,omitempty"`
}

VolumeGroup volume group

swagger:model VolumeGroup

func (*VolumeGroup) ContextValidate added in v1.1.6

func (m *VolumeGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group based on the context it is used

func (*VolumeGroup) MarshalBinary added in v1.1.6

func (m *VolumeGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroup) UnmarshalBinary added in v1.1.6

func (m *VolumeGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroup) Validate added in v1.1.6

func (m *VolumeGroup) Validate(formats strfmt.Registry) error

Validate validates this volume group

type VolumeGroupAction added in v1.1.9

type VolumeGroupAction struct {

	// reset
	Reset *VolumeGroupActionReset `json:"reset,omitempty"`

	// start
	Start *VolumeGroupActionStart `json:"start,omitempty"`

	// stop
	Stop *VolumeGroupActionStop `json:"stop,omitempty"`

	// volume group action additional properties
	VolumeGroupActionAdditionalProperties map[string]any `json:"-"`
}

VolumeGroupAction Performs an action (start stop reset ) on a volume group(one at a time).

MinProperties: 1 MaxProperties: 1

swagger:model VolumeGroupAction

func (*VolumeGroupAction) ContextValidate added in v1.1.9

func (m *VolumeGroupAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group action based on the context it is used

func (*VolumeGroupAction) MarshalBinary added in v1.1.9

func (m *VolumeGroupAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (VolumeGroupAction) MarshalJSON added in v1.1.9

func (m VolumeGroupAction) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*VolumeGroupAction) UnmarshalBinary added in v1.1.9

func (m *VolumeGroupAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupAction) UnmarshalJSON added in v1.1.9

func (m *VolumeGroupAction) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*VolumeGroupAction) Validate added in v1.1.9

func (m *VolumeGroupAction) Validate(formats strfmt.Registry) error

Validate validates this volume group action

type VolumeGroupActionReset added in v1.1.9

type VolumeGroupActionReset struct {

	// New status to be set for a volume group
	// Required: true
	// Enum: ["available"]
	Status *string `json:"status"`
}

VolumeGroupActionReset Performs reset action on the volume group to update its status value

swagger:model VolumeGroupActionReset

func (*VolumeGroupActionReset) ContextValidate added in v1.1.10

func (m *VolumeGroupActionReset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group action reset based on context it is used

func (*VolumeGroupActionReset) MarshalBinary added in v1.1.10

func (m *VolumeGroupActionReset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupActionReset) UnmarshalBinary added in v1.1.10

func (m *VolumeGroupActionReset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupActionReset) Validate added in v1.1.10

func (m *VolumeGroupActionReset) Validate(formats strfmt.Registry) error

Validate validates this volume group action reset

type VolumeGroupActionStart added in v1.1.9

type VolumeGroupActionStart struct {

	// Indicates the source of the action
	// Required: true
	// Enum: ["master","aux"]
	Source *string `json:"source"`
}

VolumeGroupActionStart Performs start action on a volume group

swagger:model VolumeGroupActionStart

func (*VolumeGroupActionStart) ContextValidate added in v1.1.9

func (m *VolumeGroupActionStart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group action start based on context it is used

func (*VolumeGroupActionStart) MarshalBinary added in v1.1.9

func (m *VolumeGroupActionStart) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupActionStart) UnmarshalBinary added in v1.1.9

func (m *VolumeGroupActionStart) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupActionStart) Validate added in v1.1.9

func (m *VolumeGroupActionStart) Validate(formats strfmt.Registry) error

Validate validates this volume group action start

type VolumeGroupActionStop added in v1.1.9

type VolumeGroupActionStop struct {

	// Indicates the access mode of aux volumes
	// Required: true
	Access *bool `json:"access"`
}

VolumeGroupActionStop Performs stop action on a volume group

swagger:model VolumeGroupActionStop

func (*VolumeGroupActionStop) ContextValidate added in v1.1.9

func (m *VolumeGroupActionStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group action stop based on context it is used

func (*VolumeGroupActionStop) MarshalBinary added in v1.1.9

func (m *VolumeGroupActionStop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupActionStop) UnmarshalBinary added in v1.1.9

func (m *VolumeGroupActionStop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupActionStop) Validate added in v1.1.9

func (m *VolumeGroupActionStop) Validate(formats strfmt.Registry) error

Validate validates this volume group action stop

type VolumeGroupCreate added in v1.1.6

type VolumeGroupCreate struct {

	// The name of consistencyGroup at storage controller level. This is required to onboard existing volume group on the target site for DR set up; name and consistencyGroupName are mutually exclusive.
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// The name of the volume group. This field is required for creation of new volume group; name and consistencyGroupName are mutually exclusive.
	// Max Length: 120
	// Pattern: ^[\s]*[A-Za-z0-9:_.\-][A-Za-z0-9\s:_.\-]*$
	Name string `json:"name,omitempty"`

	// Target CRN of the secondary workspace where the auxiliary data resides; optional; if specified, the auxiliary volumes for the primary volumes getting added to the new volume group will be automatically onboarded into the secondary workspace and added to the corresponding auxiliary consistency group.
	TargetCRN string `json:"targetCRN,omitempty"`

	// List of volume IDs,members of VolumeGroup
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumeGroupCreate volume group create

swagger:model VolumeGroupCreate

func (*VolumeGroupCreate) ContextValidate added in v1.1.6

func (m *VolumeGroupCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group create based on context it is used

func (*VolumeGroupCreate) MarshalBinary added in v1.1.6

func (m *VolumeGroupCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupCreate) UnmarshalBinary added in v1.1.6

func (m *VolumeGroupCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupCreate) Validate added in v1.1.6

func (m *VolumeGroupCreate) Validate(formats strfmt.Registry) error

Validate validates this volume group create

type VolumeGroupCreateResponse added in v1.1.6

type VolumeGroupCreateResponse struct {

	// The ID of the volume group
	// Required: true
	ID *string `json:"id"`

	// The name of the volume group
	// Required: true
	Name *string `json:"name"`

	// Status of the volume group
	// Required: true
	Status *string `json:"status"`

	// Status details of the volume group
	StatusDetail string `json:"statusDetail,omitempty"`
}

VolumeGroupCreateResponse volume group create response

swagger:model VolumeGroupCreateResponse

func (*VolumeGroupCreateResponse) ContextValidate added in v1.1.6

func (m *VolumeGroupCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group create response based on context it is used

func (*VolumeGroupCreateResponse) MarshalBinary added in v1.1.6

func (m *VolumeGroupCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupCreateResponse) UnmarshalBinary added in v1.1.6

func (m *VolumeGroupCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupCreateResponse) Validate added in v1.1.6

func (m *VolumeGroupCreateResponse) Validate(formats strfmt.Registry) error

Validate validates this volume group create response

type VolumeGroupDetails added in v1.1.6

type VolumeGroupDetails struct {

	// Indicates whether the volume group is for auxiliary volumes or master volumes
	Auxiliary *bool `json:"auxiliary,omitempty"`

	// The name of volume group at storage host level
	ConsistencyGroupName string `json:"consistencyGroupName,omitempty"`

	// The ID of the volume group
	// Required: true
	ID *string `json:"id"`

	// The name of the volume group
	// Required: true
	Name *string `json:"name"`

	// Indicates the replication site of the volume group
	ReplicationSites []string `json:"replicationSites"`

	// Replication status of volume group
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// CRN of the replication targert workspace; for a primary replicated volume this is the target workspace that owns the auxiliary data; for an auxiliary replicated volume this is the target workspace that owns the primary data.
	ReplicationTargetCRN string `json:"replicationTargetCRN,omitempty"`

	// Status of the volume group
	Status string `json:"status,omitempty"`

	// Status details of the volume group
	StatusDescription *StatusDescription `json:"statusDescription,omitempty"`

	// Indicates the storage pool of the volume group
	StoragePool string `json:"storagePool,omitempty"`

	// List of volume IDs,member of VolumeGroup
	VolumeIDs []string `json:"volumeIDs"`
}

VolumeGroupDetails volume group details

swagger:model VolumeGroupDetails

func (*VolumeGroupDetails) ContextValidate added in v1.1.6

func (m *VolumeGroupDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group details based on the context it is used

func (*VolumeGroupDetails) MarshalBinary added in v1.1.6

func (m *VolumeGroupDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupDetails) UnmarshalBinary added in v1.1.6

func (m *VolumeGroupDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupDetails) Validate added in v1.1.6

func (m *VolumeGroupDetails) Validate(formats strfmt.Registry) error

Validate validates this volume group details

type VolumeGroupRemoteCopyRelationships added in v1.1.8

type VolumeGroupRemoteCopyRelationships struct {

	// The ID of the volume group
	ID string `json:"id,omitempty"`

	// List of remote copy relationships
	RemoteCopyRelationships []*RemoteCopyRelationship `json:"remoteCopyRelationships"`
}

VolumeGroupRemoteCopyRelationships volume group remote copy relationships

swagger:model VolumeGroupRemoteCopyRelationships

func (*VolumeGroupRemoteCopyRelationships) ContextValidate added in v1.1.8

func (m *VolumeGroupRemoteCopyRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group remote copy relationships based on the context it is used

func (*VolumeGroupRemoteCopyRelationships) MarshalBinary added in v1.1.8

func (m *VolumeGroupRemoteCopyRelationships) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupRemoteCopyRelationships) UnmarshalBinary added in v1.1.8

func (m *VolumeGroupRemoteCopyRelationships) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupRemoteCopyRelationships) Validate added in v1.1.8

Validate validates this volume group remote copy relationships

type VolumeGroupStorageDetails added in v1.1.8

type VolumeGroupStorageDetails struct {

	// The name of consistency group at storage controller level
	// Required: true
	ConsistencyGroupName *string `json:"consistencyGroupName"`

	// Indicates the minimum period in seconds between multiple cycles
	CyclePeriodSeconds int64 `json:"cyclePeriodSeconds,omitempty"`

	// Indicates the type of cycling mode used
	CyclingMode string `json:"cyclingMode,omitempty"`

	// Number of volumes in volume group
	NumOfvols int64 `json:"numOfvols,omitempty"`

	// Indicates whether master/aux volume is playing the primary role
	PrimaryRole string `json:"primaryRole,omitempty"`

	// List of remote-copy relationship names in a volume group
	RemoteCopyRelationshipNames []string `json:"remoteCopyRelationshipNames"`

	// Type of replication(metro,global)
	ReplicationType string `json:"replicationType,omitempty"`

	// Indicates the relationship state
	State string `json:"state,omitempty"`

	// Indicates whether the relationship is synchronized
	Sync string `json:"sync,omitempty"`
}

VolumeGroupStorageDetails volume group storage details

swagger:model VolumeGroupStorageDetails

func (*VolumeGroupStorageDetails) ContextValidate added in v1.1.8

func (m *VolumeGroupStorageDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group storage details based on context it is used

func (*VolumeGroupStorageDetails) MarshalBinary added in v1.1.8

func (m *VolumeGroupStorageDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupStorageDetails) UnmarshalBinary added in v1.1.8

func (m *VolumeGroupStorageDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupStorageDetails) Validate added in v1.1.8

func (m *VolumeGroupStorageDetails) Validate(formats strfmt.Registry) error

Validate validates this volume group storage details

type VolumeGroupUpdate added in v1.1.8

type VolumeGroupUpdate struct {

	// List of volume IDs to add to the volume-group
	AddVolumes []string `json:"addVolumes"`

	// List of volume IDs to remove from the volume-group
	RemoveVolumes []string `json:"removeVolumes"`

	// Target CRN of the secondary workspace where the auxiliary data resides; optional; if specified, the primary volume's corresponding auxiliary volume will be automatically added or removed from the auxiliary consistency group.
	TargetCRN string `json:"targetCRN,omitempty"`
}

VolumeGroupUpdate volume group update

swagger:model VolumeGroupUpdate

func (*VolumeGroupUpdate) ContextValidate added in v1.1.8

func (m *VolumeGroupUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume group update based on context it is used

func (*VolumeGroupUpdate) MarshalBinary added in v1.1.8

func (m *VolumeGroupUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupUpdate) UnmarshalBinary added in v1.1.8

func (m *VolumeGroupUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupUpdate) Validate added in v1.1.8

func (m *VolumeGroupUpdate) Validate(formats strfmt.Registry) error

Validate validates this volume group update

type VolumeGroups added in v1.1.6

type VolumeGroups struct {

	// The list of volume groups
	// Required: true
	VolumeGroups []*VolumeGroup `json:"volumeGroups"`
}

VolumeGroups volume groups

swagger:model VolumeGroups

func (*VolumeGroups) ContextValidate added in v1.1.6

func (m *VolumeGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume groups based on the context it is used

func (*VolumeGroups) MarshalBinary added in v1.1.10

func (m *VolumeGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroups) UnmarshalBinary added in v1.1.10

func (m *VolumeGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroups) Validate added in v1.1.6

func (m *VolumeGroups) Validate(formats strfmt.Registry) error

Validate validates this volume groups

type VolumeGroupsDetails added in v1.1.6

type VolumeGroupsDetails struct {

	// The list of volume groups with details
	// Required: true
	VolumeGroups []*VolumeGroupDetails `json:"volumeGroups"`
}

VolumeGroupsDetails volume groups details

swagger:model VolumeGroupsDetails

func (*VolumeGroupsDetails) ContextValidate added in v1.1.6

func (m *VolumeGroupsDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume groups details based on the context it is used

func (*VolumeGroupsDetails) MarshalBinary added in v1.1.10

func (m *VolumeGroupsDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupsDetails) UnmarshalBinary added in v1.1.10

func (m *VolumeGroupsDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupsDetails) Validate added in v1.1.6

func (m *VolumeGroupsDetails) Validate(formats strfmt.Registry) error

Validate validates this volume groups details

type VolumeInfo added in v1.0.48

type VolumeInfo struct {

	// crn
	Crn CRN `json:"crn,omitempty"`

	// 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

func (m *VolumeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume info based on the 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

func (*VolumeInfo) Validate added in v1.0.48

func (m *VolumeInfo) Validate(formats strfmt.Registry) error

Validate validates this volume info

type VolumeOnboarding added in v1.1.9

type VolumeOnboarding struct {
	VolumeOnboardingCommon

	// Indicates the create-time of volume onboarding operation
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// Indicates the progress of volume onboarding operation
	Progress float64 `json:"progress,omitempty"`

	// results
	Results *VolumeOnboardingResults `json:"results,omitempty"`
}

VolumeOnboarding volume onboarding

swagger:model VolumeOnboarding

func (*VolumeOnboarding) ContextValidate added in v1.1.9

func (m *VolumeOnboarding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume onboarding based on the context it is used

func (*VolumeOnboarding) MarshalBinary added in v1.1.9

func (m *VolumeOnboarding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (VolumeOnboarding) MarshalJSON added in v1.1.9

func (m VolumeOnboarding) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VolumeOnboarding) UnmarshalBinary added in v1.1.9

func (m *VolumeOnboarding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboarding) UnmarshalJSON added in v1.1.9

func (m *VolumeOnboarding) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VolumeOnboarding) Validate added in v1.1.9

func (m *VolumeOnboarding) Validate(formats strfmt.Registry) error

Validate validates this volume onboarding

type VolumeOnboardingCommon added in v1.1.9

type VolumeOnboardingCommon struct {

	// Description of the volume onboarding operation
	Description string `json:"description,omitempty"`

	// Indicates the volume onboarding operation id
	// Required: true
	ID *string `json:"id"`

	// List of volumes requested to be onboarded
	InputVolumes []string `json:"inputVolumes"`

	// Indicates the status of volume onboarding operation
	Status string `json:"status,omitempty"`
}

VolumeOnboardingCommon volume onboarding common

swagger:model VolumeOnboardingCommon

func (*VolumeOnboardingCommon) ContextValidate added in v1.1.9

func (m *VolumeOnboardingCommon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume onboarding common based on context it is used

func (*VolumeOnboardingCommon) MarshalBinary added in v1.1.9

func (m *VolumeOnboardingCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeOnboardingCommon) UnmarshalBinary added in v1.1.9

func (m *VolumeOnboardingCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboardingCommon) Validate added in v1.1.9

func (m *VolumeOnboardingCommon) Validate(formats strfmt.Registry) error

Validate validates this volume onboarding common

type VolumeOnboardingCreate added in v1.1.10

type VolumeOnboardingCreate struct {

	// volumes
	// Required: true
	Volumes []*AuxiliaryVolumesForOnboarding `json:"Volumes"`

	// Description of the volume onboarding operation
	Description string `json:"description,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

VolumeOnboardingCreate volume onboarding create

swagger:model VolumeOnboardingCreate

func (*VolumeOnboardingCreate) ContextValidate added in v1.1.10

func (m *VolumeOnboardingCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume onboarding create based on the context it is used

func (*VolumeOnboardingCreate) MarshalBinary added in v1.1.10

func (m *VolumeOnboardingCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeOnboardingCreate) UnmarshalBinary added in v1.1.10

func (m *VolumeOnboardingCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboardingCreate) Validate added in v1.1.10

func (m *VolumeOnboardingCreate) Validate(formats strfmt.Registry) error

Validate validates this volume onboarding create

type VolumeOnboardingCreateResponse added in v1.1.10

type VolumeOnboardingCreateResponse struct {

	// Description of the volume onboarding operation
	Description string `json:"description,omitempty"`

	// Indicates the volume onboarding operation id
	ID string `json:"id,omitempty"`
}

VolumeOnboardingCreateResponse volume onboarding create response

swagger:model VolumeOnboardingCreateResponse

func (*VolumeOnboardingCreateResponse) ContextValidate added in v1.1.10

func (m *VolumeOnboardingCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume onboarding create response based on context it is used

func (*VolumeOnboardingCreateResponse) MarshalBinary added in v1.1.10

func (m *VolumeOnboardingCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeOnboardingCreateResponse) UnmarshalBinary added in v1.1.10

func (m *VolumeOnboardingCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboardingCreateResponse) Validate added in v1.1.10

func (m *VolumeOnboardingCreateResponse) Validate(formats strfmt.Registry) error

Validate validates this volume onboarding create response

type VolumeOnboardingFailure added in v1.1.9

type VolumeOnboardingFailure struct {

	// The failure reason for the volumes which have failed to be onboarded
	FailureMessage string `json:"failureMessage,omitempty"`

	// List of volumes which have failed to be onboarded
	Volumes []string `json:"volumes"`
}

VolumeOnboardingFailure volume onboarding failure

swagger:model VolumeOnboardingFailure

func (*VolumeOnboardingFailure) ContextValidate added in v1.1.9

func (m *VolumeOnboardingFailure) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume onboarding failure based on context it is used

func (*VolumeOnboardingFailure) MarshalBinary added in v1.1.9

func (m *VolumeOnboardingFailure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeOnboardingFailure) UnmarshalBinary added in v1.1.9

func (m *VolumeOnboardingFailure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboardingFailure) Validate added in v1.1.9

func (m *VolumeOnboardingFailure) Validate(formats strfmt.Registry) error

Validate validates this volume onboarding failure

type VolumeOnboardingResults added in v1.1.9

type VolumeOnboardingResults struct {

	// List of volumes which are onboarded successfully
	OnboardedVolumes []string `json:"onboardedVolumes"`

	// volume onboarding failures
	VolumeOnboardingFailures []*VolumeOnboardingFailure `json:"volumeOnboardingFailures"`
}

VolumeOnboardingResults volume onboarding results

swagger:model VolumeOnboardingResults

func (*VolumeOnboardingResults) ContextValidate added in v1.1.9

func (m *VolumeOnboardingResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume onboarding results based on the context it is used

func (*VolumeOnboardingResults) MarshalBinary added in v1.1.9

func (m *VolumeOnboardingResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeOnboardingResults) UnmarshalBinary added in v1.1.9

func (m *VolumeOnboardingResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboardingResults) Validate added in v1.1.9

func (m *VolumeOnboardingResults) Validate(formats strfmt.Registry) error

Validate validates this volume onboarding results

type VolumeOnboardings added in v1.1.9

type VolumeOnboardings struct {

	// The list of volume onboardings
	// Required: true
	Onboardings []*VolumeOnboardingCommon `json:"onboardings"`
}

VolumeOnboardings volume onboardings

swagger:model VolumeOnboardings

func (*VolumeOnboardings) ContextValidate added in v1.1.9

func (m *VolumeOnboardings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume onboardings based on the context it is used

func (*VolumeOnboardings) MarshalBinary added in v1.1.10

func (m *VolumeOnboardings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeOnboardings) UnmarshalBinary added in v1.1.10

func (m *VolumeOnboardings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeOnboardings) Validate added in v1.1.9

func (m *VolumeOnboardings) Validate(formats strfmt.Registry) error

Validate validates this volume onboardings

type VolumeReference

type VolumeReference struct {

	// Auxiliary volume name at storage host level
	AuxVolumeName string `json:"auxVolumeName,omitempty"`

	// true if volume is auxiliary otherwise false
	Auxiliary *bool `json:"auxiliary,omitempty"`

	// Indicates if the volume is the server's boot volume.  Only returned when querying a server's attached volumes
	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"`

	// crn
	Crn CRN `json:"crn,omitempty"`

	// Indicates if the volume should be deleted when the server terminates. Only returned when querying a server's attached volumes
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`

	// Type of Disk
	// Required: true
	DiskType *string `json:"diskType"`

	// Freeze time of remote copy relationship
	// Format: date-time
	FreezeTime *strfmt.DateTime `json:"freezeTime,omitempty"`

	// Volume Group ID
	GroupID string `json:"groupID,omitempty"`

	// Link to Volume resource
	// Required: true
	Href *string `json:"href"`

	// Amount of iops assigned to the volume
	IoThrottleRate string `json:"ioThrottleRate,omitempty"`

	// Last Update Date
	// Required: true
	// Format: date-time
	LastUpdateDate *strfmt.DateTime `json:"lastUpdateDate"`

	// Master volume name at storage host level
	MasterVolumeName string `json:"masterVolumeName,omitempty"`

	// mirroring state for replication enabled volume
	MirroringState string `json:"mirroringState,omitempty"`

	// Volume Name
	// Required: true
	Name *string `json:"name"`

	// true if volume does not exist on storage controller, as volume has been deleted by deleting its paired volume from the mapped replication site.
	OutOfBandDeleted bool `json:"outOfBandDeleted,omitempty"`

	// indicates whether master/aux volume is playing the primary role
	// Enum: ["master","aux"]
	PrimaryRole string `json:"primaryRole,omitempty"`

	// List of PCloud PVM Instance attached to the volume
	PvmInstanceIDs []string `json:"pvmInstanceIDs"`

	// True if volume is replication enabled otherwise false
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty"`

	// List of replication site for volume replication
	ReplicationSites []string `json:"replicationSites,omitempty"`

	// shows the replication status of a volume
	ReplicationStatus string `json:"replicationStatus,omitempty"`

	// CRN of the replication targert workspace; for a primary replicated volume this is the target workspace that owns the auxiliary data; for an auxiliary replicated volume this is the target workspace that owns the primary data.
	ReplicationTargetCRN string `json:"replicationTargetCRN,omitempty"`

	// type of replication(metro, global)s
	ReplicationType string `json:"replicationType,omitempty"`

	// Indicates if the volume is shareable between VMs
	// Required: true
	Shareable *bool `json:"shareable"`

	// Volume Size
	// Required: true
	Size *float64 `json:"size"`

	// Volume State
	// Required: true
	State *string `json:"state"`

	// user tags
	UserTags Tags `json:"userTags,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
	// Required: true
	Wwn *string `json:"wwn"`
}

VolumeReference volume reference

swagger:model VolumeReference

func (*VolumeReference) ContextValidate added in v1.1.0

func (m *VolumeReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume reference based on the context it is used

func (*VolumeReference) MarshalBinary

func (m *VolumeReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeReference) UnmarshalBinary

func (m *VolumeReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeReference) Validate

func (m *VolumeReference) Validate(formats strfmt.Registry) error

Validate validates this volume reference

type VolumeRemoteCopyRelationship added in v1.1.8

type VolumeRemoteCopyRelationship struct {
	RemoteCopyRelationship

	// Indicates the minimum period in seconds between multiple cycles
	CyclePeriodSeconds int64 `json:"cyclePeriodSeconds,omitempty"`

	// Volume ID
	ID string `json:"id,omitempty"`
}

VolumeRemoteCopyRelationship volume remote copy relationship

swagger:model VolumeRemoteCopyRelationship

func (*VolumeRemoteCopyRelationship) ContextValidate added in v1.1.8

func (m *VolumeRemoteCopyRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume remote copy relationship based on the context it is used

func (*VolumeRemoteCopyRelationship) MarshalBinary added in v1.1.8

func (m *VolumeRemoteCopyRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (VolumeRemoteCopyRelationship) MarshalJSON added in v1.1.8

func (m VolumeRemoteCopyRelationship) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VolumeRemoteCopyRelationship) UnmarshalBinary added in v1.1.8

func (m *VolumeRemoteCopyRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeRemoteCopyRelationship) UnmarshalJSON added in v1.1.8

func (m *VolumeRemoteCopyRelationship) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VolumeRemoteCopyRelationship) Validate added in v1.1.8

func (m *VolumeRemoteCopyRelationship) Validate(formats strfmt.Registry) error

Validate validates this volume remote copy relationship

type VolumeSnapshotList added in v1.8.1

type VolumeSnapshotList struct {

	// The list of volume snapshots.
	VolumeSnapshots []*SnapshotV1 `json:"volumeSnapshots"`
}

VolumeSnapshotList volume snapshot list

swagger:model VolumeSnapshotList

func (*VolumeSnapshotList) ContextValidate added in v1.8.1

func (m *VolumeSnapshotList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume snapshot list based on the context it is used

func (*VolumeSnapshotList) MarshalBinary added in v1.8.1

func (m *VolumeSnapshotList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeSnapshotList) UnmarshalBinary added in v1.8.1

func (m *VolumeSnapshotList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeSnapshotList) Validate added in v1.8.1

func (m *VolumeSnapshotList) Validate(formats strfmt.Registry) error

Validate validates this volume snapshot list

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

func (m *Volumes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes based on the context it is used

func (*Volumes) MarshalBinary

func (m *Volumes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Volumes) UnmarshalBinary

func (m *Volumes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Volumes) Validate

func (m *Volumes) Validate(formats strfmt.Registry) error

Validate validates this volumes

type VolumesAttach added in v1.0.56

type VolumesAttach struct {

	// Primary Boot Volume Id
	BootVolumeID string `json:"bootVolumeID,omitempty"`

	// List of volumes to be attached to a PVM instance
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesAttach volumes attach

swagger:model volumesAttach

func (*VolumesAttach) ContextValidate added in v1.1.0

func (m *VolumesAttach) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes attach based on context it is used

func (*VolumesAttach) MarshalBinary 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

func (*VolumesAttach) Validate added in v1.0.56

func (m *VolumesAttach) Validate(formats strfmt.Registry) error

Validate validates this volumes attach

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

func (*VolumesAttachmentResponse) Validate added in v1.0.56

func (m *VolumesAttachmentResponse) Validate(formats strfmt.Registry) error

Validate validates this volumes attachment response

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

func (m *VolumesClone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone based on context it is used

func (*VolumesClone) MarshalBinary 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

func (*VolumesClone) Validate added in v1.0.48

func (m *VolumesClone) Validate(formats strfmt.Registry) error

Validate validates this volumes clone

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", ...
	// For multiple volume clone, the provided name will be truncated to the first 20 characters.
	//
	// Required: true
	Name *string `json:"name"`

	// Cloned volume will be non replication enabled if it is set to false. By default, the replication property of the source volume will be used to determine the replication property of the cloned target volume.
	TargetReplicationEnabled *bool `json:"targetReplicationEnabled,omitempty"`

	// Target storage tier for the cloned volumes. Use to clone a set of volumes from one storage tier
	// to a different storage tier. Cloned volumes must remain in the same storage pool as
	// the source volumes.
	//
	TargetStorageTier string `json:"targetStorageTier,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`

	// 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 validate this volumes clone async request based on the 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

func (*VolumesCloneAsyncRequest) Validate added in v1.0.46

func (m *VolumesCloneAsyncRequest) Validate(formats strfmt.Registry) error

Validate validates this volumes clone async request

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

func (m *VolumesCloneCancel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone cancel based on context it is used

func (*VolumesCloneCancel) MarshalBinary 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

func (*VolumesCloneCancel) Validate added in v1.0.48

func (m *VolumesCloneCancel) Validate(formats strfmt.Registry) error

Validate validates this volumes clone cancel

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

func (m *VolumesCloneCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone create based on context it is used

func (*VolumesCloneCreate) MarshalBinary 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

func (*VolumesCloneCreate) Validate added in v1.0.48

func (m *VolumesCloneCreate) Validate(formats strfmt.Registry) error

Validate validates this volumes clone create

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

func (m *VolumesCloneDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes clone detail based on the context it is used

func (*VolumesCloneDetail) MarshalBinary 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

func (*VolumesCloneDetail) Validate added in v1.0.48

func (m *VolumesCloneDetail) Validate(formats strfmt.Registry) error

Validate validates this volumes clone detail

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", ...
	// For multiple volume clone, the provided name will be truncated to the first 20 characters.
	//
	// 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"`

	// Cloned volume will be non replication enabled if it is set to false. By default, the replication property of the source volume will be used to determine the replication property of the cloned target volume.
	TargetReplicationEnabled *bool `json:"targetReplicationEnabled,omitempty"`

	// Target storage tier for the cloned volumes. Use to clone a set of volumes from one storage tier
	// to a different storage tier. Cloned volumes must remain in the same storage pool as
	// the source volumes.
	//
	TargetStorageTier string `json:"targetStorageTier,omitempty"`

	// user tags
	UserTags Tags `json:"userTags,omitempty"`
}

VolumesCloneExecute volumes clone execute

swagger:model VolumesCloneExecute

func (*VolumesCloneExecute) ContextValidate added in v1.1.0

func (m *VolumesCloneExecute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes clone execute based on the 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

func (*VolumesCloneExecute) Validate added in v1.0.48

func (m *VolumesCloneExecute) Validate(formats strfmt.Registry) error

Validate validates this volumes clone execute

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", ...
	// For multiple volume clone, the provided name will be truncated to the first 20 characters.
	//
	// 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

func (m *VolumesCloneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone request based on context it is used

func (*VolumesCloneRequest) MarshalBinary 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

func (*VolumesCloneRequest) Validate added in v1.0.6

func (m *VolumesCloneRequest) Validate(formats strfmt.Registry) error

Validate validates this volumes clone request

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 any `json:"clonedVolumes,omitempty"`
}

VolumesCloneResponse volumes clone response

swagger:model VolumesCloneResponse

func (*VolumesCloneResponse) ContextValidate added in v1.1.0

func (m *VolumesCloneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes clone response based on context it is used

func (*VolumesCloneResponse) MarshalBinary 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

func (*VolumesCloneResponse) Validate added in v1.0.6

func (m *VolumesCloneResponse) Validate(formats strfmt.Registry) error

Validate validates this volumes clone response

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

func (m *VolumesClones) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volumes clones based on the context it is used

func (*VolumesClones) MarshalBinary 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

func (*VolumesClones) Validate added in v1.0.48

func (m *VolumesClones) Validate(formats strfmt.Registry) error

Validate validates this volumes clones

type VolumesDelete added in v1.5.4

type VolumesDelete struct {

	// List of volumes to be deleted
	// Required: true
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesDelete volumes delete

swagger:model VolumesDelete

func (*VolumesDelete) ContextValidate added in v1.5.4

func (m *VolumesDelete) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes delete based on context it is used

func (*VolumesDelete) MarshalBinary added in v1.5.4

func (m *VolumesDelete) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesDelete) UnmarshalBinary added in v1.5.4

func (m *VolumesDelete) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesDelete) Validate added in v1.5.4

func (m *VolumesDelete) Validate(formats strfmt.Registry) error

Validate validates this volumes delete

type VolumesDeleteResponse added in v1.5.4

type VolumesDeleteResponse struct {

	// status summary for volumes deletion request
	Summary string `json:"summary,omitempty"`
}

VolumesDeleteResponse volumes delete response

swagger:model VolumesDeleteResponse

func (*VolumesDeleteResponse) ContextValidate added in v1.5.4

func (m *VolumesDeleteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes delete response based on context it is used

func (*VolumesDeleteResponse) MarshalBinary added in v1.5.4

func (m *VolumesDeleteResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesDeleteResponse) UnmarshalBinary added in v1.5.4

func (m *VolumesDeleteResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesDeleteResponse) Validate added in v1.5.4

func (m *VolumesDeleteResponse) Validate(formats strfmt.Registry) error

Validate validates this volumes delete response

type VolumesDetach added in v1.5.4

type VolumesDetach struct {

	// Indicates if all volumes, except primary boot volume, attached to the PVMInstance should be detached (default=false); required if volumeIDs is not provided
	DetachAllVolumes *bool `json:"detachAllVolumes,omitempty"`

	// Indicates if primary boot volume attached to the PVMInstance should be detached (default=false)
	DetachPrimaryBootVolume *bool `json:"detachPrimaryBootVolume,omitempty"`

	// List of volumes to be detached from a PVM instance; required if detachAllVolumes is not provided
	VolumeIDs []string `json:"volumeIDs"`
}

VolumesDetach volumes detach

swagger:model volumesDetach

func (*VolumesDetach) ContextValidate added in v1.5.4

func (m *VolumesDetach) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes detach based on context it is used

func (*VolumesDetach) MarshalBinary added in v1.5.4

func (m *VolumesDetach) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesDetach) UnmarshalBinary added in v1.5.4

func (m *VolumesDetach) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesDetach) Validate added in v1.5.4

func (m *VolumesDetach) Validate(formats strfmt.Registry) error

Validate validates this volumes detach

type VolumesDetachmentResponse added in v1.5.4

type VolumesDetachmentResponse struct {

	// status summary for volume detachment from a PVM Instance
	// Required: true
	Summary *string `json:"summary"`
}

VolumesDetachmentResponse volumes detachment response

swagger:model VolumesDetachmentResponse

func (*VolumesDetachmentResponse) ContextValidate added in v1.5.4

func (m *VolumesDetachmentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volumes detachment response based on context it is used

func (*VolumesDetachmentResponse) MarshalBinary added in v1.5.4

func (m *VolumesDetachmentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumesDetachmentResponse) UnmarshalBinary added in v1.5.4

func (m *VolumesDetachmentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumesDetachmentResponse) Validate added in v1.5.4

func (m *VolumesDetachmentResponse) Validate(formats strfmt.Registry) error

Validate validates this volumes detachment response

type Workspace added in v1.4.4

type Workspace struct {

	// Workspace Capabilities
	// Required: true
	Capabilities map[string]bool `json:"capabilities"`

	// The Workspace information
	// Required: true
	Details *WorkspaceDetails `json:"details"`

	// Workspace ID
	// Required: true
	ID *string `json:"id"`

	// The Workspace location
	// Required: true
	Location *WorkspaceLocation `json:"location"`

	// The Workspace name
	// Required: true
	Name *string `json:"name"`

	// The Workspace status
	// Required: true
	Status *string `json:"status"`

	// The Workspace type
	// Required: true
	// Enum: ["off-premises","on-premises"]
	Type *string `json:"type"`
}

Workspace workspace

swagger:model Workspace

func (*Workspace) ContextValidate added in v1.4.4

func (m *Workspace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this workspace based on the context it is used

func (*Workspace) MarshalBinary added in v1.4.4

func (m *Workspace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Workspace) UnmarshalBinary added in v1.4.4

func (m *Workspace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Workspace) Validate added in v1.4.4

func (m *Workspace) Validate(formats strfmt.Registry) error

Validate validates this workspace

type WorkspaceDetails added in v1.4.4

type WorkspaceDetails struct {

	// Workspace creation date
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// The Workspace crn
	// Required: true
	Crn *string `json:"crn"`

	// Link to Workspace Resource
	Href string `json:"href,omitempty"`

	// The Workspace Network Security Groups information
	NetworkSecurityGroups *WorkspaceNetworkSecurityGroupsDetails `json:"networkSecurityGroups,omitempty"`

	// The Workspace Power Edge Router information
	PowerEdgeRouter *WorkspacePowerEdgeRouterDetails `json:"powerEdgeRouter,omitempty"`
}

WorkspaceDetails workspace details

swagger:model WorkspaceDetails

func (*WorkspaceDetails) ContextValidate added in v1.4.4

func (m *WorkspaceDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this workspace details based on the context it is used

func (*WorkspaceDetails) MarshalBinary added in v1.4.4

func (m *WorkspaceDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspaceDetails) UnmarshalBinary added in v1.4.4

func (m *WorkspaceDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspaceDetails) Validate added in v1.4.4

func (m *WorkspaceDetails) Validate(formats strfmt.Registry) error

Validate validates this workspace details

type WorkspaceLocation added in v1.4.4

type WorkspaceLocation struct {

	// The Workspace location region zone
	// Required: true
	Region *string `json:"region"`

	// The Workspace location region type
	Type string `json:"type,omitempty"`

	// The Workspace location region url
	URL string `json:"url,omitempty"`
}

WorkspaceLocation workspace location

swagger:model WorkspaceLocation

func (*WorkspaceLocation) ContextValidate added in v1.4.4

func (m *WorkspaceLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workspace location based on context it is used

func (*WorkspaceLocation) MarshalBinary added in v1.4.4

func (m *WorkspaceLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspaceLocation) UnmarshalBinary added in v1.4.4

func (m *WorkspaceLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspaceLocation) Validate added in v1.4.4

func (m *WorkspaceLocation) Validate(formats strfmt.Registry) error

Validate validates this workspace location

type WorkspaceNetworkSecurityGroupsDetails added in v1.8.2

type WorkspaceNetworkSecurityGroupsDetails struct {

	// The state of a Network Security Groups configuration
	// Required: true
	// Enum: ["active","error","configuring","removing","inactive","inaccessible"]
	State *string `json:"state"`
}

WorkspaceNetworkSecurityGroupsDetails workspace network security groups details

swagger:model WorkspaceNetworkSecurityGroupsDetails

func (*WorkspaceNetworkSecurityGroupsDetails) ContextValidate added in v1.8.2

func (m *WorkspaceNetworkSecurityGroupsDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workspace network security groups details based on context it is used

func (*WorkspaceNetworkSecurityGroupsDetails) MarshalBinary added in v1.8.2

func (m *WorkspaceNetworkSecurityGroupsDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspaceNetworkSecurityGroupsDetails) UnmarshalBinary added in v1.8.2

func (m *WorkspaceNetworkSecurityGroupsDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspaceNetworkSecurityGroupsDetails) Validate added in v1.8.2

Validate validates this workspace network security groups details

type WorkspacePowerEdgeRouterDetails added in v1.5.5

type WorkspacePowerEdgeRouterDetails struct {

	// The migration status of a Power Edge Router
	// Enum: ["intializing","migrating","deleted","completed"]
	MigrationStatus string `json:"migrationStatus,omitempty"`

	// The state of a Power Edge Router
	// Required: true
	// Enum: ["active","error","warning","configuring","removing","inactive","user-validation","inaccessible"]
	State *string `json:"state"`

	// The Power Edge Router type
	// Required: true
	// Enum: ["automated","manual"]
	Type *string `json:"type"`
}

WorkspacePowerEdgeRouterDetails workspace power edge router details

swagger:model WorkspacePowerEdgeRouterDetails

func (*WorkspacePowerEdgeRouterDetails) ContextValidate added in v1.5.5

func (m *WorkspacePowerEdgeRouterDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workspace power edge router details based on context it is used

func (*WorkspacePowerEdgeRouterDetails) MarshalBinary added in v1.5.5

func (m *WorkspacePowerEdgeRouterDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspacePowerEdgeRouterDetails) UnmarshalBinary added in v1.5.5

func (m *WorkspacePowerEdgeRouterDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspacePowerEdgeRouterDetails) Validate added in v1.5.5

Validate validates this workspace power edge router details

type WorkspaceSSHKey added in v1.12.0

type WorkspaceSSHKey struct {

	// Date/Time of sshkey creation
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate,omitempty" datastore:"creationDate"`

	// Description of the sshkey
	Description string `json:"description" datastore:"description"`

	// Unique id of ssh-key
	// Required: true
	ID *string `json:"id" datastore:"id"`

	// User defined name for the SSH key
	// Required: true
	// Max Length: 128
	// Pattern: ^[A-Za-z0-9-_]+(?: +[A-Za-z0-9-_]+)*$
	Name *string `json:"name" datastore:"name"`

	// Indicates if the current workspace owns the ssh key or not
	// Required: true
	PrimaryWorkspace *bool `json:"primaryWorkspace"`

	// SSH RSA key
	// Required: true
	SSHKey *string `json:"sshKey" datastore:"sshKey"`

	// Visibility of the sshkey; workspace suggests ssh-key is only accessible in a workspace, account suggests ssh-key is accessible throughout an account
	// Enum: ["account","workspace"]
	Visibility *string `json:"visibility,omitempty" datastore:"visibility"`
}

WorkspaceSSHKey workspace SSH key

swagger:model WorkspaceSSHKey

func (*WorkspaceSSHKey) ContextValidate added in v1.12.0

func (m *WorkspaceSSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workspace SSH key based on context it is used

func (*WorkspaceSSHKey) MarshalBinary added in v1.12.0

func (m *WorkspaceSSHKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspaceSSHKey) UnmarshalBinary added in v1.12.0

func (m *WorkspaceSSHKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspaceSSHKey) Validate added in v1.12.0

func (m *WorkspaceSSHKey) Validate(formats strfmt.Registry) error

Validate validates this workspace SSH key

type WorkspaceSSHKeys added in v1.12.0

type WorkspaceSSHKeys struct {

	// SSH Keys
	// Required: true
	SSHKeys []*WorkspaceSSHKey `json:"sshKeys"`
}

WorkspaceSSHKeys workspace SSH keys

swagger:model WorkspaceSSHKeys

func (*WorkspaceSSHKeys) ContextValidate added in v1.12.0

func (m *WorkspaceSSHKeys) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this workspace SSH keys based on the context it is used

func (*WorkspaceSSHKeys) MarshalBinary added in v1.12.0

func (m *WorkspaceSSHKeys) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspaceSSHKeys) UnmarshalBinary added in v1.12.0

func (m *WorkspaceSSHKeys) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspaceSSHKeys) Validate added in v1.12.0

func (m *WorkspaceSSHKeys) Validate(formats strfmt.Registry) error

Validate validates this workspace SSH keys

type Workspaces added in v1.4.4

type Workspaces struct {

	// The list of available workspaces
	// Required: true
	Workspaces []*Workspace `json:"workspaces"`
}

Workspaces workspaces

swagger:model Workspaces

func (*Workspaces) ContextValidate added in v1.4.4

func (m *Workspaces) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this workspaces based on the context it is used

func (*Workspaces) MarshalBinary added in v1.4.4

func (m *Workspaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Workspaces) UnmarshalBinary added in v1.4.4

func (m *Workspaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Workspaces) Validate added in v1.4.4

func (m *Workspaces) Validate(formats strfmt.Registry) error

Validate validates this workspaces

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址