models

package
v0.0.0-...-6f249fe Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ErrorTargetTypeField captures enum value "field"
	ErrorTargetTypeField string = "field"

	// ErrorTargetTypeHeader captures enum value "header"
	ErrorTargetTypeHeader string = "header"

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

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

	// FloatingIPStatusAvailable captures enum value "available"
	FloatingIPStatusAvailable string = "available"

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

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

	// HealthMonitorTemplateTypeHTTP captures enum value "http"
	HealthMonitorTemplateTypeHTTP string = "http"

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

	// IKEPolicyAuthenticationAlgorithmMd5 captures enum value "md5"
	IKEPolicyAuthenticationAlgorithmMd5 string = "md5"

	// IKEPolicyAuthenticationAlgorithmSha1 captures enum value "sha1"
	IKEPolicyAuthenticationAlgorithmSha1 string = "sha1"

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

	// IKEPolicyEncryptionAlgorithmNr3des captures enum value "3des"
	IKEPolicyEncryptionAlgorithmNr3des string = "3des"

	// IKEPolicyEncryptionAlgorithmAes128 captures enum value "aes128"
	IKEPolicyEncryptionAlgorithmAes128 string = "aes128"

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

	// IKEPolicyPatchAuthenticationAlgorithmMd5 captures enum value "md5"
	IKEPolicyPatchAuthenticationAlgorithmMd5 string = "md5"

	// IKEPolicyPatchAuthenticationAlgorithmSha1 captures enum value "sha1"
	IKEPolicyPatchAuthenticationAlgorithmSha1 string = "sha1"

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

	// IKEPolicyPatchEncryptionAlgorithmNr3des captures enum value "3des"
	IKEPolicyPatchEncryptionAlgorithmNr3des string = "3des"

	// IKEPolicyPatchEncryptionAlgorithmAes128 captures enum value "aes128"
	IKEPolicyPatchEncryptionAlgorithmAes128 string = "aes128"

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

	// IKEPolicyTemplateAuthenticationAlgorithmMd5 captures enum value "md5"
	IKEPolicyTemplateAuthenticationAlgorithmMd5 string = "md5"

	// IKEPolicyTemplateAuthenticationAlgorithmSha1 captures enum value "sha1"
	IKEPolicyTemplateAuthenticationAlgorithmSha1 string = "sha1"

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

	// IKEPolicyTemplateEncryptionAlgorithmNr3des captures enum value "3des"
	IKEPolicyTemplateEncryptionAlgorithmNr3des string = "3des"

	// IKEPolicyTemplateEncryptionAlgorithmAes128 captures enum value "aes128"
	IKEPolicyTemplateEncryptionAlgorithmAes128 string = "aes128"

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

	// ImageArchitectureAmd64 captures enum value "amd64"
	ImageArchitectureAmd64 string = "amd64"

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

	// ImageFormatRaw captures enum value "raw"
	ImageFormatRaw string = "raw"

	// ImageFormatQcow2 captures enum value "qcow2"
	ImageFormatQcow2 string = "qcow2"

	// ImageFormatVMDK captures enum value "vmdk"
	ImageFormatVMDK string = "vmdk"

	// ImageFormatVhdx captures enum value "vhdx"
	ImageFormatVhdx string = "vhdx"

	// ImageFormatVdi captures enum value "vdi"
	ImageFormatVdi string = "vdi"

	// ImageFormatOva captures enum value "ova"
	ImageFormatOva string = "ova"

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

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

	// ImageStatusAvailable captures enum value "available"
	ImageStatusAvailable string = "available"

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

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

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

	// InstanceStatusStopped captures enum value "stopped"
	InstanceStatusStopped string = "stopped"

	// InstanceStatusStarting captures enum value "starting"
	InstanceStatusStarting string = "starting"

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

	// InstanceStatusPausing captures enum value "pausing"
	InstanceStatusPausing string = "pausing"

	// InstanceStatusPaused captures enum value "paused"
	InstanceStatusPaused string = "paused"

	// InstanceStatusResuming captures enum value "resuming"
	InstanceStatusResuming string = "resuming"

	// InstanceStatusStopping captures enum value "stopping"
	InstanceStatusStopping string = "stopping"

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

	// InstanceGpuModelK40 captures enum value "k40"
	InstanceGpuModelK40 string = "k40"

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

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

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

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

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

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

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

	// InstanceActionTypeReboot captures enum value "reboot"
	InstanceActionTypeReboot string = "reboot"

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

	// InstanceNetworkInterfaceStatusAvailable captures enum value "available"
	InstanceNetworkInterfaceStatusAvailable string = "available"

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

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

	// InstanceNetworkInterfaceTypePrimary captures enum value "primary"
	InstanceNetworkInterfaceTypePrimary string = "primary"

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

	// InstanceVolumeAttachmentStatusAttaching captures enum value "attaching"
	InstanceVolumeAttachmentStatusAttaching string = "attaching"

	// InstanceVolumeAttachmentStatusAttached captures enum value "attached"
	InstanceVolumeAttachmentStatusAttached string = "attached"

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

	// InstanceVolumeAttachmentTypeBoot captures enum value "boot"
	InstanceVolumeAttachmentTypeBoot string = "boot"

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

	// IpsecPolicyAuthenticationAlgorithmMd5 captures enum value "md5"
	IpsecPolicyAuthenticationAlgorithmMd5 string = "md5"

	// IpsecPolicyAuthenticationAlgorithmSha1 captures enum value "sha1"
	IpsecPolicyAuthenticationAlgorithmSha1 string = "sha1"

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

	// IpsecPolicyEncryptionAlgorithmNr3des captures enum value "3des"
	IpsecPolicyEncryptionAlgorithmNr3des string = "3des"

	// IpsecPolicyEncryptionAlgorithmAes128 captures enum value "aes128"
	IpsecPolicyEncryptionAlgorithmAes128 string = "aes128"

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

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

	// IpsecPolicyPfsGroup2 captures enum value "group_2"
	IpsecPolicyPfsGroup2 string = "group_2"

	// IpsecPolicyPfsGroup5 captures enum value "group_5"
	IpsecPolicyPfsGroup5 string = "group_5"

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

	// IpsecPolicyPatchAuthenticationAlgorithmMd5 captures enum value "md5"
	IpsecPolicyPatchAuthenticationAlgorithmMd5 string = "md5"

	// IpsecPolicyPatchAuthenticationAlgorithmSha1 captures enum value "sha1"
	IpsecPolicyPatchAuthenticationAlgorithmSha1 string = "sha1"

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

	// IpsecPolicyPatchEncryptionAlgorithmNr3des captures enum value "3des"
	IpsecPolicyPatchEncryptionAlgorithmNr3des string = "3des"

	// IpsecPolicyPatchEncryptionAlgorithmAes128 captures enum value "aes128"
	IpsecPolicyPatchEncryptionAlgorithmAes128 string = "aes128"

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

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

	// IpsecPolicyPatchPfsGroup2 captures enum value "group_2"
	IpsecPolicyPatchPfsGroup2 string = "group_2"

	// IpsecPolicyPatchPfsGroup5 captures enum value "group_5"
	IpsecPolicyPatchPfsGroup5 string = "group_5"

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

	// IpsecPolicyTemplateAuthenticationAlgorithmMd5 captures enum value "md5"
	IpsecPolicyTemplateAuthenticationAlgorithmMd5 string = "md5"

	// IpsecPolicyTemplateAuthenticationAlgorithmSha1 captures enum value "sha1"
	IpsecPolicyTemplateAuthenticationAlgorithmSha1 string = "sha1"

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

	// IpsecPolicyTemplateEncryptionAlgorithmNr3des captures enum value "3des"
	IpsecPolicyTemplateEncryptionAlgorithmNr3des string = "3des"

	// IpsecPolicyTemplateEncryptionAlgorithmAes128 captures enum value "aes128"
	IpsecPolicyTemplateEncryptionAlgorithmAes128 string = "aes128"

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

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

	// IpsecPolicyTemplatePfsGroup2 captures enum value "group_2"
	IpsecPolicyTemplatePfsGroup2 string = "group_2"

	// IpsecPolicyTemplatePfsGroup5 captures enum value "group_5"
	IpsecPolicyTemplatePfsGroup5 string = "group_5"

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

	// ListenerProtocolHTTP captures enum value "http"
	ListenerProtocolHTTP string = "http"

	// ListenerProtocolHTTPS captures enum value "https"
	ListenerProtocolHTTPS string = "https"

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

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

	// ListenerProvisioningStatusCreatePending captures enum value "create_pending"
	ListenerProvisioningStatusCreatePending string = "create_pending"

	// ListenerProvisioningStatusUpdatePending captures enum value "update_pending"
	ListenerProvisioningStatusUpdatePending string = "update_pending"

	// ListenerProvisioningStatusDeletePending captures enum value "delete_pending"
	ListenerProvisioningStatusDeletePending string = "delete_pending"

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

	// ListenerPolicyActionForward captures enum value "forward"
	ListenerPolicyActionForward string = "forward"

	// ListenerPolicyActionRedirect captures enum value "redirect"
	ListenerPolicyActionRedirect string = "redirect"

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

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

	// ListenerPolicyProvisioningStatusCreatePending captures enum value "create_pending"
	ListenerPolicyProvisioningStatusCreatePending string = "create_pending"

	// ListenerPolicyProvisioningStatusUpdatePending captures enum value "update_pending"
	ListenerPolicyProvisioningStatusUpdatePending string = "update_pending"

	// ListenerPolicyProvisioningStatusDeletePending captures enum value "delete_pending"
	ListenerPolicyProvisioningStatusDeletePending string = "delete_pending"

	// ListenerPolicyProvisioningStatusMaintenancePending captures enum value "maintenance_pending"
	ListenerPolicyProvisioningStatusMaintenancePending string = "maintenance_pending"

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

	// ListenerPolicyRuleConditionContains captures enum value "contains"
	ListenerPolicyRuleConditionContains string = "contains"

	// ListenerPolicyRuleConditionEquals captures enum value "equals"
	ListenerPolicyRuleConditionEquals string = "equals"

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

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

	// ListenerPolicyRuleProvisioningStatusCreatePending captures enum value "create_pending"
	ListenerPolicyRuleProvisioningStatusCreatePending string = "create_pending"

	// ListenerPolicyRuleProvisioningStatusUpdatePending captures enum value "update_pending"
	ListenerPolicyRuleProvisioningStatusUpdatePending string = "update_pending"

	// ListenerPolicyRuleProvisioningStatusDeletePending captures enum value "delete_pending"
	ListenerPolicyRuleProvisioningStatusDeletePending string = "delete_pending"

	// ListenerPolicyRuleProvisioningStatusMaintenancePending captures enum value "maintenance_pending"
	ListenerPolicyRuleProvisioningStatusMaintenancePending string = "maintenance_pending"

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

	// ListenerPolicyRuleTypeHeader captures enum value "header"
	ListenerPolicyRuleTypeHeader string = "header"

	// ListenerPolicyRuleTypeHostname captures enum value "hostname"
	ListenerPolicyRuleTypeHostname string = "hostname"

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

	// ListenerPolicyRuleReferenceConditionContains captures enum value "contains"
	ListenerPolicyRuleReferenceConditionContains string = "contains"

	// ListenerPolicyRuleReferenceConditionEquals captures enum value "equals"
	ListenerPolicyRuleReferenceConditionEquals string = "equals"

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

	// ListenerPolicyRuleReferenceTypePath captures enum value "path"
	ListenerPolicyRuleReferenceTypePath string = "path"

	// ListenerPolicyRuleReferenceTypeHostname captures enum value "hostname"
	ListenerPolicyRuleReferenceTypeHostname string = "hostname"

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

	// ListenerPolicyRuleTemplateConditionContains captures enum value "contains"
	ListenerPolicyRuleTemplateConditionContains string = "contains"

	// ListenerPolicyRuleTemplateConditionEquals captures enum value "equals"
	ListenerPolicyRuleTemplateConditionEquals string = "equals"

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

	// ListenerPolicyRuleTemplateTypePath captures enum value "path"
	ListenerPolicyRuleTemplateTypePath string = "path"

	// ListenerPolicyRuleTemplateTypeHostname captures enum value "hostname"
	ListenerPolicyRuleTemplateTypeHostname string = "hostname"

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

	// ListenerPolicyRuleTemplatePatchConditionContains captures enum value "contains"
	ListenerPolicyRuleTemplatePatchConditionContains string = "contains"

	// ListenerPolicyRuleTemplatePatchConditionEquals captures enum value "equals"
	ListenerPolicyRuleTemplatePatchConditionEquals string = "equals"

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

	// ListenerPolicyRuleTemplatePatchTypeHeader captures enum value "header"
	ListenerPolicyRuleTemplatePatchTypeHeader string = "header"

	// ListenerPolicyRuleTemplatePatchTypeHostname captures enum value "hostname"
	ListenerPolicyRuleTemplatePatchTypeHostname string = "hostname"

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

	// ListenerPolicyTemplateActionForward captures enum value "forward"
	ListenerPolicyTemplateActionForward string = "forward"

	// ListenerPolicyTemplateActionRedirect captures enum value "redirect"
	ListenerPolicyTemplateActionRedirect string = "redirect"

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

	// ListenerTemplateProtocolHTTP captures enum value "http"
	ListenerTemplateProtocolHTTP string = "http"

	// ListenerTemplateProtocolHTTPS captures enum value "https"
	ListenerTemplateProtocolHTTPS string = "https"

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

	// ListenerTemplatePatchProtocolHTTP captures enum value "http"
	ListenerTemplatePatchProtocolHTTP string = "http"

	// ListenerTemplatePatchProtocolHTTPS captures enum value "https"
	ListenerTemplatePatchProtocolHTTPS string = "https"

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

	// ListenerTemplateWithPoolByNameProtocolHTTP captures enum value "http"
	ListenerTemplateWithPoolByNameProtocolHTTP string = "http"

	// ListenerTemplateWithPoolByNameProtocolHTTPS captures enum value "https"
	ListenerTemplateWithPoolByNameProtocolHTTPS string = "https"

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

	// LoadBalancerOperatingStatusOnline captures enum value "online"
	LoadBalancerOperatingStatusOnline string = "online"

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

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

	// LoadBalancerProvisioningStatusCreatePending captures enum value "create_pending"
	LoadBalancerProvisioningStatusCreatePending string = "create_pending"

	// LoadBalancerProvisioningStatusUpdatePending captures enum value "update_pending"
	LoadBalancerProvisioningStatusUpdatePending string = "update_pending"

	// LoadBalancerProvisioningStatusDeletePending captures enum value "delete_pending"
	LoadBalancerProvisioningStatusDeletePending string = "delete_pending"

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

	// MemberHealthOk captures enum value "ok"
	MemberHealthOk string = "ok"

	// MemberHealthFaulted captures enum value "faulted"
	MemberHealthFaulted string = "faulted"

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

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

	// MemberProvisioningStatusCreatePending captures enum value "create_pending"
	MemberProvisioningStatusCreatePending string = "create_pending"

	// MemberProvisioningStatusUpdatePending captures enum value "update_pending"
	MemberProvisioningStatusUpdatePending string = "update_pending"

	// MemberProvisioningStatusDeletePending captures enum value "delete_pending"
	MemberProvisioningStatusDeletePending string = "delete_pending"

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

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

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

	// NetworkACLRuleDirectionIngress captures enum value "ingress"
	NetworkACLRuleDirectionIngress string = "ingress"

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

	// NetworkACLRuleIPVersionIPV4 captures enum value "ipv4"
	NetworkACLRuleIPVersionIPV4 string = "ipv4"

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

	// PoolAlgorithmRoundRobin captures enum value "round_robin"
	PoolAlgorithmRoundRobin string = "round_robin"

	// PoolAlgorithmWeightedRoundRobin captures enum value "weighted_round_robin"
	PoolAlgorithmWeightedRoundRobin string = "weighted_round_robin"

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

	// PoolProtocolHTTP captures enum value "http"
	PoolProtocolHTTP string = "http"

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

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

	// PoolProvisioningStatusCreatePending captures enum value "create_pending"
	PoolProvisioningStatusCreatePending string = "create_pending"

	// PoolProvisioningStatusUpdatePending captures enum value "update_pending"
	PoolProvisioningStatusUpdatePending string = "update_pending"

	// PoolProvisioningStatusDeletePending captures enum value "delete_pending"
	PoolProvisioningStatusDeletePending string = "delete_pending"

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

	// PoolTemplateAlgorithmRoundRobin captures enum value "round_robin"
	PoolTemplateAlgorithmRoundRobin string = "round_robin"

	// PoolTemplateAlgorithmWeightedRoundRobin captures enum value "weighted_round_robin"
	PoolTemplateAlgorithmWeightedRoundRobin string = "weighted_round_robin"

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

	// PoolTemplateProtocolHTTP captures enum value "http"
	PoolTemplateProtocolHTTP string = "http"

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

	// PoolTemplatePatchAlgorithmRoundRobin captures enum value "round_robin"
	PoolTemplatePatchAlgorithmRoundRobin string = "round_robin"

	// PoolTemplatePatchAlgorithmWeightedRoundRobin captures enum value "weighted_round_robin"
	PoolTemplatePatchAlgorithmWeightedRoundRobin string = "weighted_round_robin"

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

	// PoolTemplatePatchProtocolHTTP captures enum value "http"
	PoolTemplatePatchProtocolHTTP string = "http"

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

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

	// PublicGatewayStatusAvailable captures enum value "available"
	PublicGatewayStatusAvailable string = "available"

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

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

	// RegionStatusAvailable captures enum value "available"
	RegionStatusAvailable string = "available"

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

	// RiaaserrorErrorsItems0TargetTypeField captures enum value "field"
	RiaaserrorErrorsItems0TargetTypeField string = "field"

	// RiaaserrorErrorsItems0TargetTypeParameter captures enum value "parameter"
	RiaaserrorErrorsItems0TargetTypeParameter string = "parameter"

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

	// SecurityGroupRuleDirectionIngress captures enum value "ingress"
	SecurityGroupRuleDirectionIngress string = "ingress"

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

	// SecurityGroupRuleIPVersionIPV4 captures enum value "ipv4"
	SecurityGroupRuleIPVersionIPV4 string = "ipv4"

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

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

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

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

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

	// ServerNetworkInterfaceStatusAvailable captures enum value "available"
	ServerNetworkInterfaceStatusAvailable string = "available"

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

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

	// ServerNetworkInterfaceTypePrimary captures enum value "primary"
	ServerNetworkInterfaceTypePrimary string = "primary"

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

	// ServerVolumeAttachmentStatusAttaching captures enum value "attaching"
	ServerVolumeAttachmentStatusAttaching string = "attaching"

	// ServerVolumeAttachmentStatusAttached captures enum value "attached"
	ServerVolumeAttachmentStatusAttached string = "attached"

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

	// SessionPersistenceTemplateTypeSourceIP captures enum value "source_ip"
	SessionPersistenceTemplateTypeSourceIP string = "source_ip"

	// SessionPersistenceTemplateTypeHTTPCookie captures enum value "http_cookie"
	SessionPersistenceTemplateTypeHTTPCookie string = "http_cookie"

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

	// ShareProfileGenerationGt captures enum value "gt"
	ShareProfileGenerationGt string = "gt"

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

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

	// SharetargetStatusAvailable captures enum value "available"
	SharetargetStatusAvailable string = "available"

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

	// SubnetIPVersionIPV4 captures enum value "ipv4"
	SubnetIPVersionIPV4 string = "ipv4"

	// SubnetIPVersionIPV6 captures enum value "ipv6"
	SubnetIPVersionIPV6 string = "ipv6"

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

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

	// SubnetStatusAvailable captures enum value "available"
	SubnetStatusAvailable string = "available"

	// SubnetStatusDeleting captures enum value "deleting"
	SubnetStatusDeleting string = "deleting"

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

	// VPNGatewayStatusAvailable captures enum value "available"
	VPNGatewayStatusAvailable string = "available"

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

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

	// VPNGatewayConnectionStatusUp captures enum value "up"
	VPNGatewayConnectionStatusUp string = "up"

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

	// VPNGatewayConnectionDPDActionRestart captures enum value "restart"
	VPNGatewayConnectionDPDActionRestart string = "restart"

	// VPNGatewayConnectionDPDActionClear captures enum value "clear"
	VPNGatewayConnectionDPDActionClear string = "clear"

	// VPNGatewayConnectionDPDActionHold captures enum value "hold"
	VPNGatewayConnectionDPDActionHold string = "hold"

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

	// VolumeEncryptionProviderManaged captures enum value "provider_managed"
	VolumeEncryptionProviderManaged string = "provider_managed"

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

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

	// VolumeStatusAvailable captures enum value "available"
	VolumeStatusAvailable string = "available"

	// VolumeStatusPendingDeletion captures enum value "pending_deletion"
	VolumeStatusPendingDeletion string = "pending_deletion"

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

	// VolumeVolumeAttachmentsItems0TypeBoot captures enum value "boot"
	VolumeVolumeAttachmentsItems0TypeBoot string = "boot"

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

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

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

	// VpcStatusAvailable captures enum value "available"
	VpcStatusAvailable string = "available"

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

	// VpcStatusDeleting captures enum value "deleting"
	VpcStatusDeleting string = "deleting"

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

	// ZoneStatusAvailable captures enum value "available"
	ZoneStatusAvailable string = "available"

	// ZoneStatusUnavailable captures enum value "unavailable"
	ZoneStatusUnavailable string = "unavailable"

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

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

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

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

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

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

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

	// VPNGatewayConnectionRouteModePolicy captures enum value "policy"
	VPNGatewayConnectionRouteModePolicy string = "policy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressPool

type AddressPool struct {

	// The date and time that the address pool was created
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// The CRN for this address pool
	Crn string `json:"crn,omitempty"`

	// The URL for this address pool
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The unique identifier for this address pool
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// The user-defined name for this address pool
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name *string `json:"name"`

	// vpc
	// Required: true
	Vpc *ResourceReference `json:"vpc"`
}

AddressPool AddressPool swagger:model address_pool

func (*AddressPool) MarshalBinary

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

MarshalBinary interface implementation

func (*AddressPool) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddressPool) Validate

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

Validate validates this address pool

type AddressPoolPrefix

type AddressPoolPrefix struct {

	// The CIDR block
	// Required: true
	Cidr *string `json:"cidr"`

	// The date and time that the prefix was created
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// Indicates whether subnets exist with addresses from this prefix.
	// Required: true
	HasSubnets *bool `json:"has_subnets"`

	// The URL for this prefix
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The unique identifier for this prefix
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// The user-defined name for this prefix. By default, the base IP address will be the name. For example, for 10.0.0.0/24 the name will be 10.0.0.0.
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name *string `json:"name"`

	// zone
	// Required: true
	Zone *AddressPoolPrefixZone `json:"zone"`
}

AddressPoolPrefix AddressPoolPrefix swagger:model address_pool_prefix

func (*AddressPoolPrefix) MarshalBinary

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

MarshalBinary interface implementation

func (*AddressPoolPrefix) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddressPoolPrefix) Validate

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

Validate validates this address pool prefix

type AddressPoolPrefixZone

type AddressPoolPrefixZone struct {

	// The URL for this zone
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The name for this zone
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name *string `json:"name"`
}

AddressPoolPrefixZone ZoneReference

The zone this address pool prefix is to belong to swagger:model AddressPoolPrefixZone

func (*AddressPoolPrefixZone) MarshalBinary

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

MarshalBinary interface implementation

func (*AddressPoolPrefixZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddressPoolPrefixZone) Validate

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

Validate validates this address pool prefix zone

type AddressPrefix

type AddressPrefix struct {

	// The CIDR block
	Cidr string `json:"cidr,omitempty"`

	// The date and time that the prefix was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Indicates whether subnets exist with addresses from this prefix.
	HasSubnets bool `json:"has_subnets,omitempty"`

	// The URL for this prefix
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this prefix
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Indicates whether this is the default prefix for this zone in this VPC.\nDefault prefixes cannot be deleted
	IsDefault bool `json:"is_default,omitempty"`

	// The user-defined name for this prefix.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// zone
	Zone *AddressPrefixZone `json:"zone,omitempty"`
}

AddressPrefix address prefix swagger:model address_prefix

func (*AddressPrefix) MarshalBinary

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

MarshalBinary interface implementation

func (*AddressPrefix) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddressPrefix) Validate

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

Validate validates this address prefix

type AddressPrefixZone

type AddressPrefixZone struct {

	// The URL for this zone
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

AddressPrefixZone ZoneReference swagger:model AddressPrefixZone

func (*AddressPrefixZone) MarshalBinary

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

MarshalBinary interface implementation

func (*AddressPrefixZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddressPrefixZone) Validate

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

Validate validates this address prefix zone

type CIDR

type CIDR string

CIDR c ID r swagger:model CIDR

func (CIDR) Validate

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

Validate validates this c ID r

type CIDRBlockIdentity

type CIDRBlockIdentity struct {

	// A range of IPv4 addresses, in CIDR format.
	// Required: true
	CidrBlock *string `json:"cidr_block"`
}

CIDRBlockIdentity CIDRBlockIdentity swagger:model CIDRBlockIdentity

func (*CIDRBlockIdentity) MarshalBinary

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

MarshalBinary interface implementation

func (*CIDRBlockIdentity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CIDRBlockIdentity) Validate

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

Validate validates this c ID r block identity

type DefaultSecurityGroup

type DefaultSecurityGroup struct {

	// The date and time that this security group was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The security group's CRN
	Crn string `json:"crn,omitempty"`

	// The security group's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The security group's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-assigned name of this security group. If the user does not provide a name, one will be automatically assigned. Security group names must be unique, within the scope of a user account.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// Collection of references to rules
	Rules []*SecurityGroupRule `json:"rules"`

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

DefaultSecurityGroup DefaultSecurityGroup swagger:model default_security_group

func (*DefaultSecurityGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*DefaultSecurityGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DefaultSecurityGroup) Validate

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

Validate validates this default security group

type DummyEmptyTemplate

type DummyEmptyTemplate struct {

	// Dummy property
	DumpProps string `json:"dumpProps,omitempty"`
}

DummyEmptyTemplate dummy empty template swagger:model DummyEmptyTemplate

func (*DummyEmptyTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*DummyEmptyTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DummyEmptyTemplate) Validate

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

Validate validates this dummy empty template

type Error

type Error struct {

	// A snake case string succinctly identifying the problem
	// Required: true
	// Pattern: ^[a-z]+(_[a-z]+)*$
	Code *string `json:"code"`

	// An explanation of the problem
	// Required: true
	Message *string `json:"message"`

	// Link to documentation about this error
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	MoreInfo string `json:"more_info,omitempty"`

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

Error Error swagger:model Error

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 ErrorContainer

type ErrorContainer struct {

	// Array of errors
	// Required: true
	Errors []*Error `json:"errors"`

	// Unique error identifier
	// Required: true
	// Max Length: 64
	// Min Length: 1
	// Pattern: ^[-0-9a-zA-Z_]+$
	Trace *string `json:"trace"`
}

ErrorContainer ErrorContainer swagger:model ErrorContainer

func (*ErrorContainer) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorContainer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorContainer) Validate

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

Validate validates this error container

type ErrorTarget

type ErrorTarget struct {

	// The name of the problematic field, query parameter, or header
	// Required: true
	Name *string `json:"name"`

	// The type of input where the problem was
	// Required: true
	// Enum: [field header parameter]
	Type *string `json:"type"`

	// If present, the problematic value within the field, query parameter, or header
	Value string `json:"value,omitempty"`
}

ErrorTarget ErrorTarget swagger:model ErrorTarget

func (*ErrorTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorTarget) Validate

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

Validate validates this error target

type FloatingIP

type FloatingIP struct {

	// The globally unique IP address
	Address string `json:"address,omitempty"`

	// The date and time that the floating IP was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this floating ip
	Crn string `json:"crn,omitempty"`

	// The URL for this floating ips
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this floating ip
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this floating ip
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The status of the floating ip
	// Enum: [pending available failed deleting]
	Status string `json:"status,omitempty"`

	// target
	Target *FloatingIPTarget `json:"target,omitempty"`

	// zone
	Zone *FloatingIPZone `json:"zone,omitempty"`
}

FloatingIP FloatingIP swagger:model floating_ip

func (*FloatingIP) MarshalBinary

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

MarshalBinary interface implementation

func (*FloatingIP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FloatingIP) Validate

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

Validate validates this floating ip

type FloatingIPTarget

type FloatingIPTarget struct {

	// The CRN for this public gateway
	Crn string `json:"crn,omitempty"`

	// The URL for this gateway
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this public gateway
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this public gateway
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The primary IPv4 address
	PrimaryIPV4Address string `json:"primary_ipv4_address,omitempty"`
}

FloatingIPTarget PublicGatewayReference

The target of this floating ip swagger:model FloatingIPTarget

func (*FloatingIPTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*FloatingIPTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FloatingIPTarget) Validate

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

Validate validates this floating IP target

type FloatingIPZone

type FloatingIPZone struct {

	// The URL for this zone
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

FloatingIPZone ZoneReference

The zone the floating ip resides in swagger:model FloatingIPZone

func (*FloatingIPZone) MarshalBinary

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

MarshalBinary interface implementation

func (*FloatingIPZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FloatingIPZone) Validate

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

Validate validates this floating IP zone

type Generation

type Generation string

Generation The platform generation of the subnet swagger:model generation

const (

	// GenerationGt captures enum value "gt"
	GenerationGt Generation = "gt"

	// GenerationGc captures enum value "gc"
	GenerationGc Generation = "gc"
)

func (Generation) Validate

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

Validate validates this generation

type HealthMonitorTemplate

type HealthMonitorTemplate struct {

	// The health check interval in seconds. Interval must be greater than timeout value.
	// Maximum: 60
	// Minimum: 2
	Delay int64 `json:"delay,omitempty"`

	// The health check max retries.
	// Maximum: 10
	// Minimum: 1
	MaxRetries int64 `json:"max_retries,omitempty"`

	// The health check port number
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// The health check timeout in seconds.
	// Maximum: 59
	// Minimum: 1
	Timeout int64 `json:"timeout,omitempty"`

	// The pool protocol.
	// Enum: [http tcp]
	Type string `json:"type,omitempty"`

	// The health check url. This is applicable only to `http` type of health monitor.
	URLPath string `json:"url_path,omitempty"`
}

HealthMonitorTemplate health monitor template swagger:model HealthMonitorTemplate

func (*HealthMonitorTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*HealthMonitorTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HealthMonitorTemplate) Validate

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

Validate validates this health monitor template

type IKEPolicy

type IKEPolicy struct {

	// The authentication algorithm
	// Enum: [md5 sha1 sha256]
	AuthenticationAlgorithm string `json:"authentication_algorithm,omitempty"`

	// Collection of references to VPN connections that use this IKE policy
	Connections []*VPNGatewayConnectionReference `json:"connections"`

	// The Diffie-Hellman group
	// Enum: [2 5 14]
	DhGroup int64 `json:"dh_group,omitempty"`

	// The encryption algorithm
	// Enum: [3des aes128 aes256]
	EncryptionAlgorithm string `json:"encryption_algorithm,omitempty"`

	// The IKE policy's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The IKE policy's unique identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The IKE protocol version
	// Enum: [1 2]
	IkeVersion int64 `json:"ike_version,omitempty"`

	// The key lifetime in seconds
	// Maximum: 86400
	// Minimum: 300
	KeyLifetime int64 `json:"key_lifetime,omitempty"`

	// The name given to this IKE policy
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The IKE negotiation mode. Only `main` is supported.
	// Enum: [main]
	NegotiationMode string `json:"negotiation_mode,omitempty"`

	// resource group
	ResourceGroup *IKEPolicyResourceGroup `json:"resource_group,omitempty"`
}

IKEPolicy i k e policy swagger:model IKEPolicy

func (*IKEPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicy) Validate

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

Validate validates this i k e policy

type IKEPolicyCollection

type IKEPolicyCollection struct {

	// first
	First *IKEPolicyCollectionFirst `json:"first,omitempty"`

	// Collection of IKE policies
	IkePolicies []*IKEPolicy `json:"ike_policies"`

	// The maximum number of resources can be returned by the request
	// Maximum: 100
	// Minimum: 1
	Limit int64 `json:"limit,omitempty"`

	// next
	Next *IKEPolicyCollectionNext `json:"next,omitempty"`
}

IKEPolicyCollection i k e policy collection swagger:model IKEPolicyCollection

func (*IKEPolicyCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyCollection) Validate

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

Validate validates this i k e policy collection

type IKEPolicyCollectionFirst

type IKEPolicyCollectionFirst struct {

	// The URL for the first page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

IKEPolicyCollectionFirst A reference to the first page of resources swagger:model IKEPolicyCollectionFirst

func (*IKEPolicyCollectionFirst) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyCollectionFirst) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyCollectionFirst) Validate

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

Validate validates this i k e policy collection first

type IKEPolicyCollectionNext

type IKEPolicyCollectionNext struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

IKEPolicyCollectionNext A reference to the next page of resources; this reference is included for all pages except the last page swagger:model IKEPolicyCollectionNext

func (*IKEPolicyCollectionNext) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyCollectionNext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyCollectionNext) Validate

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

Validate validates this i k e policy collection next

type IKEPolicyIdentity

type IKEPolicyIdentity struct {

	// The IKE policy's CRN
	Crn string `json:"crn,omitempty"`

	// The IKE policy's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The IKE policy's unique identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

IKEPolicyIdentity i k e policy identity swagger:model IKEPolicyIdentity

func (*IKEPolicyIdentity) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyIdentity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyIdentity) Validate

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

Validate validates this i k e policy identity

type IKEPolicyPatch

type IKEPolicyPatch struct {

	// The authentication algorithm
	// Enum: [md5 sha1 sha256]
	AuthenticationAlgorithm string `json:"authentication_algorithm,omitempty"`

	// The Diffie-Hellman group
	// Enum: [2 5 14]
	DhGroup int64 `json:"dh_group,omitempty"`

	// The encryption algorithm
	// Enum: [3des aes128 aes256]
	EncryptionAlgorithm string `json:"encryption_algorithm,omitempty"`

	// The IKE protocol version
	// Enum: [1 2]
	IkeVersion int64 `json:"ike_version,omitempty"`

	// The key lifetime in seconds
	// Maximum: 86400
	// Minimum: 300
	KeyLifetime int64 `json:"key_lifetime,omitempty"`

	// The name given to this IKE policy
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

IKEPolicyPatch IKEPolicyPatch swagger:model IKEPolicyPatch

func (*IKEPolicyPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyPatch) Validate

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

Validate validates this i k e policy patch

type IKEPolicyResourceGroup

type IKEPolicyResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

IKEPolicyResourceGroup ResourceGroupIdentity swagger:model IKEPolicyResourceGroup

func (*IKEPolicyResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyResourceGroup) Validate

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

Validate validates this i k e policy resource group

type IKEPolicyTemplate

type IKEPolicyTemplate struct {

	// The authentication algorithm
	// Enum: [md5 sha1 sha256]
	AuthenticationAlgorithm string `json:"authentication_algorithm,omitempty"`

	// The Diffie-Hellman group
	// Enum: [2 5 14]
	DhGroup int64 `json:"dh_group,omitempty"`

	// The encryption algorithm
	// Enum: [3des aes128 aes256]
	EncryptionAlgorithm string `json:"encryption_algorithm,omitempty"`

	// The IKE protocol version
	// Enum: [1 2]
	IkeVersion int64 `json:"ike_version,omitempty"`

	// The key lifetime in seconds
	// Maximum: 86400
	// Minimum: 300
	KeyLifetime int64 `json:"key_lifetime,omitempty"`

	// The name given to this IKE policy
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *IKEPolicyTemplateResourceGroup `json:"resource_group,omitempty"`
}

IKEPolicyTemplate i k e policy template swagger:model IKEPolicyTemplate

func (*IKEPolicyTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyTemplate) Validate

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

Validate validates this i k e policy template

type IKEPolicyTemplateResourceGroup

type IKEPolicyTemplateResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

IKEPolicyTemplateResourceGroup ResourceGroupIdentity swagger:model IKEPolicyTemplateResourceGroup

func (*IKEPolicyTemplateResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*IKEPolicyTemplateResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IKEPolicyTemplateResourceGroup) Validate

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

Validate validates this i k e policy template resource group

type IP

type IP struct {

	// address
	// Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
	Address string `json:"address,omitempty"`
}

IP IP swagger:model IP

func (*IP) MarshalBinary

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

MarshalBinary interface implementation

func (*IP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IP) Validate

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

Validate validates this IP

type Image

type Image struct {

	// The image architecture
	// Enum: [amd64 powerpc]
	Architecture string `json:"architecture,omitempty"`

	// The date and time that the image was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this image
	Crn string `json:"crn,omitempty"`

	// file
	File *ImageFile `json:"file,omitempty"`

	// format
	// Enum: [raw qcow2 vmdk vhdx vdi ova box]
	Format string `json:"format,omitempty"`

	// The URL for this image
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this image
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this image
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// operating system
	OperatingSystem *ImageOperatingSystem `json:"operating_system,omitempty"`

	// resource group
	ResourceGroup *ResourceReferenceWithOutCrn `json:"resource_group,omitempty"`

	// status
	// Enum: [pending available corrupt]
	Status string `json:"status,omitempty"`

	// Whether the image is publicly visible or private to the account
	// Enum: [public private]
	Visibility string `json:"visibility,omitempty"`
}

Image Image swagger:model image

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 ImageFile

type ImageFile struct {

	// A SHA-3 checksum of the image file
	Checksum string `json:"checksum,omitempty"`

	// The location of the image file
	Href string `json:"href,omitempty"`

	// The size of the stored image file rounded up to the next gigabyte
	Size int64 `json:"size,omitempty"`
}

ImageFile ImageFile

The checksum and download location of the image file swagger:model ImageFile

func (*ImageFile) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageFile) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageFile) Validate

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

Validate validates this image file

type ImageFileTemplate

type ImageFileTemplate struct {

	// The Cloud Object Store (COS) location of the image file
	// Required: true
	// Pattern: ^cos:\/\/([^\/?#]*)([^?#]*)$
	Href *string `json:"href"`
}

ImageFileTemplate ImageFileTemplate swagger:model ImageFileTemplate

func (*ImageFileTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageFileTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageFileTemplate) Validate

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

Validate validates this image file template

type ImageOperatingSystem

type ImageOperatingSystem struct {

	// The operating system architecture
	Architecture string `json:"architecture,omitempty"`

	// A unique, display-friendly name for the operating system
	// Max Length: 120
	// Min Length: 1
	// Pattern: ^[-A-Za-z0-9 !$@#%&*'=_+:;,?\./\(\)\[\]]+$
	DisplayName string `json:"display_name,omitempty"`

	// The name of the software family this operating system belongs to
	Family string `json:"family,omitempty"`

	// The URL for this operating system
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique name of the operating system
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// The vendor of the operating system
	Vendor string `json:"vendor,omitempty"`

	// The major release version of this operating system
	Version string `json:"version,omitempty"`
}

ImageOperatingSystem OperatingSystem

The operating system included in this image swagger:model ImageOperatingSystem

func (*ImageOperatingSystem) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageOperatingSystem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageOperatingSystem) Validate

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

Validate validates this image operating system

type ImagePatch

type ImagePatch struct {

	// The unique user-defined name for this image. Names starting with "ibm-" are not allowed.
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`
}

ImagePatch ImagePatch swagger:model ImagePatch

func (*ImagePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagePatch) Validate

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

Validate validates this image patch

type ImageTemplate

type ImageTemplate struct {

	// Details for the image file to be imported
	// Required: true
	File *ImageFileTemplate `json:"file"`

	// The unique user-defined name for this image. Names starting with \"ibm-\" are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// operating system
	// Required: true
	OperatingSystem *OperatingSystemIdentity `json:"operating_system"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`
}

ImageTemplate ImageTemplate swagger:model ImageTemplate

func (*ImageTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageTemplate) Validate

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

Validate validates this image template

type Instance

type Instance struct {

	// boot volume attachment
	BootVolumeAttachment *VolumeAttachmentReference `json:"boot_volume_attachment,omitempty"`

	// The date and time that the instance was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this instance
	Crn string `json:"crn,omitempty"`

	// gpu
	Gpu *InstanceGpu `json:"gpu,omitempty"`

	// The URL for this instance
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this instance
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// image
	Image *ResourceReference `json:"image,omitempty"`

	// The amount of memory in megabytes
	// Maximum: 524288
	// Minimum: 512
	// Multiple Of: 256
	Memory int64 `json:"memory,omitempty"`

	// The user-defined name for this instance
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// Collection of the instance's network interfaces, not including the primary network interface
	NetworkInterfaces []*NetworkInterfaceReference `json:"network_interfaces,omitempty"`

	// primary network interface
	PrimaryNetworkInterface *NetworkInterfaceReference `json:"primary_network_interface,omitempty"`

	// profile
	Profile *ResourceReference `json:"profile,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The status of the instance
	// Enum: [stopped starting running pausing paused resuming stopping restarting]
	Status string `json:"status,omitempty"`

	// vcpu
	Vcpu *InstanceVcpu `json:"vcpu,omitempty"`

	// Collection of volume interfaces
	VolumeAttachments []*VolumeAttachmentReference `json:"volume_attachments,omitempty"`

	// vpc
	Vpc *ResourceReference `json:"vpc,omitempty"`

	// zone
	Zone *InstanceZone `json:"zone,omitempty"`
}

Instance instance swagger:model instance

func (*Instance) MarshalBinary

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

MarshalBinary interface implementation

func (*Instance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Instance) Validate

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

Validate validates this instance

type InstanceAction

type InstanceAction struct {

	// The date and time that the action was completed
	// Format: date-time
	CompletedAt strfmt.DateTime `json:"completed_at,omitempty"`

	// The date and time that the action was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The URL for this action
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The identifier for this action
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The date and time that the action was started
	// Format: date-time
	StartedAt strfmt.DateTime `json:"started_at,omitempty"`

	// The current status of this action
	// Enum: [pending running failed completed]
	Status string `json:"status,omitempty"`

	// The type of action
	// Enum: [start stop reboot reset]
	Type string `json:"type,omitempty"`
}

InstanceAction instanceAction swagger:model instance_action

func (*InstanceAction) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceAction) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceAction) Validate

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

Validate validates this instance action

type InstanceGpu

type InstanceGpu struct {

	// The number of logical GPU cores per GPU
	// Minimum: 1
	Cores int64 `json:"cores,omitempty"`

	// The number of GPUs
	// Minimum: 1
	Count int64 `json:"count,omitempty"`

	// The manufacturer of the GPU
	// Enum: [nvidia]
	Manufacturer string `json:"manufacturer,omitempty"`

	// The amount of memory in megabytes
	// Maximum: 524288
	// Minimum: 512
	// Multiple Of: 256
	Memory int64 `json:"memory,omitempty"`

	// The model number of the GPU
	// Enum: [k40 k80]
	Model string `json:"model,omitempty"`
}

InstanceGpu GPU swagger:model InstanceGpu

func (*InstanceGpu) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceGpu) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceGpu) Validate

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

Validate validates this instance gpu

type InstanceInitialization

type InstanceInitialization struct {

	// Collection of keys used at initialization of instance
	Keys []*InstanceInitializationKeysItems0 `json:"keys"`

	// password
	Password *InstanceInitializationPassword `json:"password,omitempty"`
}

InstanceInitialization initialization swagger:model InstanceInitialization

func (*InstanceInitialization) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceInitialization) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceInitialization) Validate

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

Validate validates this instance initialization

type InstanceInitializationKeysItems0

type InstanceInitializationKeysItems0 struct {

	// The CRN for this key
	Crn string `json:"crn,omitempty"`

	// The SHA256 fingerprint of the public key
	Fingerprint string `json:"fingerprint,omitempty"`

	// The unique identifier for this key
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this key
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

InstanceInitializationKeysItems0 KeyIdentityByFingerprint swagger:model InstanceInitializationKeysItems0

func (*InstanceInitializationKeysItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceInitializationKeysItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceInitializationKeysItems0) Validate

Validate validates this instance initialization keys items0

type InstanceInitializationPassword

type InstanceInitializationPassword struct {

	// The administrator password at initialization, encrypted using the first initialized SSH key
	// Format: byte
	EncryptedPassword strfmt.Base64 `json:"encrypted_password,omitempty"`

	// encryption key
	EncryptionKey *InstanceInitializationPasswordEncryptionKey `json:"encryption_key,omitempty"`
}

InstanceInitializationPassword InstanceEncryptedPassword swagger:model InstanceInitializationPassword

func (*InstanceInitializationPassword) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceInitializationPassword) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceInitializationPassword) Validate

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

Validate validates this instance initialization password

type InstanceInitializationPasswordEncryptionKey

type InstanceInitializationPasswordEncryptionKey struct {

	// The CRN for this key
	Crn string `json:"crn,omitempty"`

	// The SHA256 fingerprint of the public key
	Fingerprint string `json:"fingerprint,omitempty"`

	// The unique identifier for this key
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this key
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

InstanceInitializationPasswordEncryptionKey KeyIdentityByFingerprint swagger:model InstanceInitializationPasswordEncryptionKey

func (*InstanceInitializationPasswordEncryptionKey) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceInitializationPasswordEncryptionKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceInitializationPasswordEncryptionKey) Validate

Validate validates this instance initialization password encryption key

type InstanceNetworkInterface

type InstanceNetworkInterface struct {

	// The date and time that the network interface was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this network interface
	Crn string `json:"crn,omitempty"`

	// Array of references to floating IPs associated with this network interface
	FloatingIps []*ResourceReference `json:"floating_ips,omitempty"`

	// The URL for this network interface
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this network interface
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this network interface
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The network interface port speed in Mbps
	PortSpeed int64 `json:"port_speed,omitempty"`

	// The primary IPv4 address
	PrimaryIPV4Address string `json:"primary_ipv4_address,omitempty"`

	// Collection seconary IP addresses
	SecondaryAddresses []string `json:"secondary_addresses,omitempty"`

	// Collection of security groups
	SecurityGroups []*ResourceReference `json:"security_groups,omitempty"`

	// The status of the volume
	// Enum: [available failed pending]
	Status string `json:"status,omitempty"`

	// subnet
	Subnet *ResourceReference `json:"subnet,omitempty"`

	// The type of this network interface as it relates to a instance
	// Enum: [primary secondary]
	Type string `json:"type,omitempty"`
}

InstanceNetworkInterface NetworkInterface swagger:model instance_network_interface

func (*InstanceNetworkInterface) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceNetworkInterface) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceNetworkInterface) Validate

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

Validate validates this instance network interface

type InstanceProfile

type InstanceProfile struct {

	// The CRN for this instanceprofile
	Crn string `json:"crn,omitempty"`

	// family
	Family string `json:"family,omitempty"`

	// The URL for this instance profile
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The user-defined name for this instance profile
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

InstanceProfile instancePackage swagger:model instance_profile

func (*InstanceProfile) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceProfile) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceProfile) Validate

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

Validate validates this instance profile

type InstanceVcpu

type InstanceVcpu struct {

	// The VCPU architecture
	// Required: true
	Architecture *string `json:"architecture"`

	// The number of VCPUs assigned to the instance
	// Minimum: 1
	Cores int64 `json:"cores,omitempty"`

	// The number of VCPUs assigned to the instance
	// Required: true
	// Minimum: 1
	Count *int64 `json:"count"`
}

InstanceVcpu VCPU swagger:model InstanceVcpu

func (*InstanceVcpu) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceVcpu) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceVcpu) Validate

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

Validate validates this instance vcpu

type InstanceVolumeAttachment

type InstanceVolumeAttachment struct {

	// The date and time that the volume was attached
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this volume
	Crn string `json:"crn,omitempty"`

	// If set to true, when deleting the instance the volume will also be deleted
	DeleteVolumeOnInstanceDelete bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The URL for this volume interface
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this volume interface
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this volume interface
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// status
	// Enum: [attaching attached detaching]
	Status string `json:"status,omitempty"`

	// The type of volume attachment
	// Enum: [boot data]
	Type string `json:"type,omitempty"`

	// volume
	Volume *ResourceReference `json:"volume,omitempty"`
}

InstanceVolumeAttachment VolumeAttachment swagger:model instance_volume_attachment

func (*InstanceVolumeAttachment) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceVolumeAttachment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceVolumeAttachment) Validate

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

Validate validates this instance volume attachment

type InstanceZone

type InstanceZone struct {

	// The URL for this zone
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

InstanceZone ZoneReference

The zone the instance resides in swagger:model InstanceZone

func (*InstanceZone) MarshalBinary

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

MarshalBinary interface implementation

func (*InstanceZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InstanceZone) Validate

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

Validate validates this instance zone

type IpsecPolicy

type IpsecPolicy struct {

	// The authentication algorithm
	// Enum: [md5 sha1 sha256]
	AuthenticationAlgorithm string `json:"authentication_algorithm,omitempty"`

	// Collection of references to VPN connections that use this IPsec policy
	Connections []*VPNGatewayConnectionReference `json:"connections"`

	// The IPsec policy's CRN
	Crn string `json:"crn,omitempty"`

	// The encapsulation mode used. Only `tunnel` is supported.
	// Enum: [tunnel]
	EncapsulationMode string `json:"encapsulation_mode,omitempty"`

	// The encryption algorithm
	// Enum: [3des aes128 aes256]
	EncryptionAlgorithm string `json:"encryption_algorithm,omitempty"`

	// The IPsec policy's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The IPsec policy's unique identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The key lifetime in seconds
	// Maximum: 86400
	// Minimum: 300
	KeyLifetime int64 `json:"key_lifetime,omitempty"`

	// The name given to this IPsec policy
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// Perfect Forward Secrecy
	// Enum: [disabled group_2 group_5 group_14]
	Pfs string `json:"pfs,omitempty"`

	// resource group
	ResourceGroup *IpsecPolicyResourceGroup `json:"resource_group,omitempty"`

	// The transform protocol used. Only `esp` is supported.
	// Enum: [esp]
	TransformProtocol string `json:"transform_protocol,omitempty"`
}

IpsecPolicy ipsec policy swagger:model IPsecPolicy

func (*IpsecPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicy) Validate

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

Validate validates this ipsec policy

type IpsecPolicyCollection

type IpsecPolicyCollection struct {

	// first
	First *IpsecPolicyCollectionFirst `json:"first,omitempty"`

	// Collection of IPsec policies
	IpsecPolicies []*IpsecPolicy `json:"ipsec_policies"`

	// The maximum number of resources can be returned by the request
	// Maximum: 100
	// Minimum: 1
	Limit int64 `json:"limit,omitempty"`

	// next
	Next *IpsecPolicyCollectionNext `json:"next,omitempty"`
}

IpsecPolicyCollection ipsec policy collection swagger:model IPsecPolicyCollection

func (*IpsecPolicyCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyCollection) Validate

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

Validate validates this ipsec policy collection

type IpsecPolicyCollectionFirst

type IpsecPolicyCollectionFirst struct {

	// The URL for the first page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

IpsecPolicyCollectionFirst A reference to the first page of resources swagger:model IpsecPolicyCollectionFirst

func (*IpsecPolicyCollectionFirst) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyCollectionFirst) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyCollectionFirst) Validate

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

Validate validates this ipsec policy collection first

type IpsecPolicyCollectionNext

type IpsecPolicyCollectionNext struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

IpsecPolicyCollectionNext A reference to the next page of resources; this reference is included for all pages except the last page swagger:model IpsecPolicyCollectionNext

func (*IpsecPolicyCollectionNext) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyCollectionNext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyCollectionNext) Validate

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

Validate validates this ipsec policy collection next

type IpsecPolicyIdentity

type IpsecPolicyIdentity struct {

	// The IPsec policy's CRN
	Crn string `json:"crn,omitempty"`

	// The IPsec policy's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The IPsec policy's unique identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

IpsecPolicyIdentity ipsec policy identity swagger:model IPsecPolicyIdentity

func (*IpsecPolicyIdentity) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyIdentity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyIdentity) Validate

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

Validate validates this ipsec policy identity

type IpsecPolicyPatch

type IpsecPolicyPatch struct {

	// The authentication algorithm
	// Enum: [md5 sha1 sha256]
	AuthenticationAlgorithm string `json:"authentication_algorithm,omitempty"`

	// The encryption algorithm
	// Enum: [3des aes128 aes256]
	EncryptionAlgorithm string `json:"encryption_algorithm,omitempty"`

	// The key lifetime in seconds
	// Maximum: 86400
	// Minimum: 300
	KeyLifetime int64 `json:"key_lifetime,omitempty"`

	// The name given to this IPsec policy
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// Perfect Forward Secrecy
	// Enum: [disabled group_2 group_5 group_14]
	Pfs string `json:"pfs,omitempty"`
}

IpsecPolicyPatch IPsecPolicyPatch swagger:model IPsecPolicyPatch

func (*IpsecPolicyPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyPatch) Validate

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

Validate validates this ipsec policy patch

type IpsecPolicyResourceGroup

type IpsecPolicyResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

IpsecPolicyResourceGroup ResourceGroupIdentity swagger:model IpsecPolicyResourceGroup

func (*IpsecPolicyResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyResourceGroup) Validate

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

Validate validates this ipsec policy resource group

type IpsecPolicyTemplate

type IpsecPolicyTemplate struct {

	// The authentication algorithm
	// Enum: [md5 sha1 sha256]
	AuthenticationAlgorithm string `json:"authentication_algorithm,omitempty"`

	// The encryption algorithm
	// Enum: [3des aes128 aes256]
	EncryptionAlgorithm string `json:"encryption_algorithm,omitempty"`

	// The key lifetime in seconds
	// Maximum: 86400
	// Minimum: 300
	KeyLifetime int64 `json:"key_lifetime,omitempty"`

	// The name given to this IPsec policy
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// Perfect Forward Secrecy
	// Enum: [disabled group_2 group_5 group_14]
	Pfs string `json:"pfs,omitempty"`

	// resource group
	ResourceGroup *IpsecPolicyTemplateResourceGroup `json:"resource_group,omitempty"`
}

IpsecPolicyTemplate ipsec policy template swagger:model IPsecPolicyTemplate

func (*IpsecPolicyTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyTemplate) Validate

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

Validate validates this ipsec policy template

type IpsecPolicyTemplateResourceGroup

type IpsecPolicyTemplateResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

IpsecPolicyTemplateResourceGroup ResourceGroupIdentity swagger:model IpsecPolicyTemplateResourceGroup

func (*IpsecPolicyTemplateResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*IpsecPolicyTemplateResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpsecPolicyTemplateResourceGroup) Validate

Validate validates this ipsec policy template resource group

type Key

type Key struct {

	// The date and time that the key was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this key
	Crn string `json:"crn,omitempty"`

	// The SHA256 fingerprint of the public key
	Fingerprint string `json:"fingerprint,omitempty"`

	// The URL for this key
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this key
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The length of this key
	// Enum: [2048 4096]
	Length int32 `json:"length,omitempty"`

	// The user-defined name for this key
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The public SSH key
	PublicKey string `json:"public_key,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The cryptosystem used by this key
	// Enum: [rsa]
	Type string `json:"type,omitempty"`
}

Key Key swagger:model key

func (*Key) MarshalBinary

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

MarshalBinary interface implementation

func (*Key) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Key) Validate

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

Validate validates this key

type LifecycleState

type LifecycleState string

LifecycleState lifecycle state swagger:model LifecycleState

const (

	// LifecycleStateDeleted captures enum value "deleted"
	LifecycleStateDeleted LifecycleState = "deleted"

	// LifecycleStateDeleting captures enum value "deleting"
	LifecycleStateDeleting LifecycleState = "deleting"

	// LifecycleStateFailed captures enum value "failed"
	LifecycleStateFailed LifecycleState = "failed"

	// LifecycleStatePending captures enum value "pending"
	LifecycleStatePending LifecycleState = "pending"

	// LifecycleStateStable captures enum value "stable"
	LifecycleStateStable LifecycleState = "stable"

	// LifecycleStateUpdating captures enum value "updating"
	LifecycleStateUpdating LifecycleState = "updating"

	// LifecycleStateWaiting captures enum value "waiting"
	LifecycleStateWaiting LifecycleState = "waiting"
)

func (LifecycleState) Validate

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

Validate validates this lifecycle state

type Listener

type Listener struct {

	// certificate instance
	CertificateInstance *ListenerCertificateInstance `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	// Maximum: 15000
	// Minimum: 1
	ConnectionLimit int64 `json:"connection_limit,omitempty"`

	// The date and time that this listener was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The default pool associated with the listener.
	DefaultPool *PoolReference `json:"default_pool,omitempty"`

	// The listener's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The listener's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The list of policies of this listener
	Policies []*ListenerPolicyReference `json:"policies"`

	// The listener port number.
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// The listener protocol.
	// Enum: [http https tcp]
	Protocol string `json:"protocol,omitempty"`

	// The provisioning status of this listener
	// Enum: [active create_pending update_pending delete_pending maintenance_pending]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`
}

Listener listener swagger:model Listener

func (*Listener) MarshalBinary

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

MarshalBinary interface implementation

func (*Listener) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Listener) Validate

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

Validate validates this listener

type ListenerCertificateInstance

type ListenerCertificateInstance struct {

	// The ceritificate instance's CRN
	Crn string `json:"crn,omitempty"`
}

ListenerCertificateInstance The certificate instance used for SSL termination. It is applicable only to `https` protocol. swagger:model ListenerCertificateInstance

func (*ListenerCertificateInstance) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerCertificateInstance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerCertificateInstance) Validate

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

Validate validates this listener certificate instance

type ListenerCollection

type ListenerCollection struct {

	// Collection of listeners
	// Required: true
	Listeners []*Listener `json:"listeners"`
}

ListenerCollection ListenerCollection swagger:model ListenerCollection

func (*ListenerCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerCollection) Validate

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

Validate validates this listener collection

type ListenerPolicy

type ListenerPolicy struct {

	// The policy action.
	// Enum: [forward redirect reject]
	Action string `json:"action,omitempty"`

	// The date and time that this policy was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The listener policy's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The policys unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this policy
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// Priority of the policy. Lower value indicates higher priority.
	Priority int64 `json:"priority,omitempty"`

	// The provisioning status of this policy
	// Enum: [active create_pending update_pending delete_pending maintenance_pending failed]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// The rules of this policy
	Rules []*ListenerPolicyRuleReference `json:"rules"`

	// PoolReference is in the response if action is forward. ListenerPolicyRedirectUrl is in the response if action is redirect.
	Target *ListenerPolicyTargetReference `json:"target,omitempty"`
}

ListenerPolicy listener policy swagger:model ListenerPolicy

func (*ListenerPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicy) Validate

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

Validate validates this listener policy

type ListenerPolicyCollection

type ListenerPolicyCollection struct {

	// Collection of policies
	Policies []*ListenerPolicy `json:"policies"`
}

ListenerPolicyCollection listener policy collection swagger:model ListenerPolicyCollection

func (*ListenerPolicyCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyCollection) Validate

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

Validate validates this listener policy collection

type ListenerPolicyReference

type ListenerPolicyReference struct {

	// The listener policy's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The policy's unique identifier.
	// Pattern: ^[-0-9a-z_]+$
	ID string `json:"id,omitempty"`
}

ListenerPolicyReference listener policy reference swagger:model ListenerPolicyReference

func (*ListenerPolicyReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyReference) Validate

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

Validate validates this listener policy reference

type ListenerPolicyRule

type ListenerPolicyRule struct {

	// The condition of the rule.
	// Enum: [contains equals matches_regex]
	Condition string `json:"condition,omitempty"`

	// The date and time that this rule was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// HTTP header field. This is only applicable to "header" rule type.
	Field string `json:"field,omitempty"`

	// The rule's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The rule's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this policy
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// The provisioning status of this rule
	// Enum: [active create_pending update_pending delete_pending maintenance_pending failed]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// The type of the rule.
	// Enum: [header hostname path]
	Type string `json:"type,omitempty"`

	// Value to be matched for rule condition
	Value string `json:"value,omitempty"`
}

ListenerPolicyRule listener policy rule swagger:model ListenerPolicyRule

func (*ListenerPolicyRule) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyRule) Validate

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

Validate validates this listener policy rule

type ListenerPolicyRuleCollection

type ListenerPolicyRuleCollection struct {

	// Collection of rules
	// Required: true
	Rules []*ListenerPolicyRule `json:"rules"`
}

ListenerPolicyRuleCollection ListenerPolicyRuleCollection swagger:model ListenerPolicyRuleCollection

func (*ListenerPolicyRuleCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyRuleCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyRuleCollection) Validate

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

Validate validates this listener policy rule collection

type ListenerPolicyRuleReference

type ListenerPolicyRuleReference struct {

	// The condition of the rule.
	// Enum: [contains equals matches_regex]
	Condition string `json:"condition,omitempty"`

	// HTTP header field. This is only applicable to "header" rule type.
	Field string `json:"field,omitempty"`

	// The rule's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The policy's unique identifier.
	// Pattern: ^[-0-9a-z_]+$
	ID string `json:"id,omitempty"`

	// The type of the rule.
	// Enum: [path hostname header]
	Type string `json:"type,omitempty"`

	// Value to be matched for rule condition
	Value string `json:"value,omitempty"`
}

ListenerPolicyRuleReference listener policy rule reference swagger:model ListenerPolicyRuleReference

func (*ListenerPolicyRuleReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyRuleReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyRuleReference) Validate

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

Validate validates this listener policy rule reference

type ListenerPolicyRuleTemplate

type ListenerPolicyRuleTemplate struct {

	// The condition of the rule.
	// Enum: [contains equals matches_regex]
	Condition string `json:"condition,omitempty"`

	// HTTP header field. This is only applicable to "header" rule type.
	Field string `json:"field,omitempty"`

	// The type of the rule.
	// Enum: [path hostname header]
	Type string `json:"type,omitempty"`

	// Value to be matched for rule condition
	Value string `json:"value,omitempty"`
}

ListenerPolicyRuleTemplate listener policy rule template swagger:model ListenerPolicyRuleTemplate

func (*ListenerPolicyRuleTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyRuleTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyRuleTemplate) Validate

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

Validate validates this listener policy rule template

type ListenerPolicyRuleTemplatePatch

type ListenerPolicyRuleTemplatePatch struct {

	// The condition of the rule.
	// Enum: [contains equals matches_regex]
	Condition string `json:"condition,omitempty"`

	// HTTP header field. This is only applicable to "header" rule type.
	Field string `json:"field,omitempty"`

	// The type of the rule.
	// Enum: [header hostname path]
	Type string `json:"type,omitempty"`

	// Value to be matched for rule condition
	Value string `json:"value,omitempty"`
}

ListenerPolicyRuleTemplatePatch ListenerPolicyRuleTemplatePatch swagger:model ListenerPolicyRuleTemplatePatch

func (*ListenerPolicyRuleTemplatePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyRuleTemplatePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyRuleTemplatePatch) Validate

Validate validates this listener policy rule template patch

type ListenerPolicyTargetReference

type ListenerPolicyTargetReference struct {

	// The pool's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The http status code in the redirect response.
	// Enum: [301 302 303 307 308]
	HTTPStatusCode int64 `json:"http_status_code,omitempty"`

	// The unique identifier for this load balancer pool
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this load balancer pool
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// The redirect target URL.
	URL string `json:"url,omitempty"`
}

ListenerPolicyTargetReference listener policy target reference swagger:model ListenerPolicyTargetReference

func (*ListenerPolicyTargetReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyTargetReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyTargetReference) Validate

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

Validate validates this listener policy target reference

type ListenerPolicyTemplate

type ListenerPolicyTemplate struct {

	// The policy action.
	// Enum: [forward redirect reject]
	Action string `json:"action,omitempty"`

	// The unique user-defined name for this policy
	Name string `json:"name,omitempty"`

	// Priority of the policy. Lower value indicates higher priority.
	Priority int64 `json:"priority,omitempty"`

	// The list of rules of this policy
	Rules []*ListenerPolicyRuleTemplate `json:"rules"`

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

ListenerPolicyTemplate listener policy template swagger:model ListenerPolicyTemplate

func (*ListenerPolicyTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyTemplate) Validate

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

Validate validates this listener policy template

type ListenerPolicyTemplatePatch

type ListenerPolicyTemplatePatch struct {

	// The user-defined name for this policy. Names must be unique within the load balancer listener the policy resides in.
	Name string `json:"name,omitempty"`

	// Priority of the policy. Lower value indicates higher priority.
	Priority int64 `json:"priority,omitempty"`

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

ListenerPolicyTemplatePatch ListenerPolicyTemplatePatch swagger:model ListenerPolicyTemplatePatch

func (*ListenerPolicyTemplatePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyTemplatePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyTemplatePatch) Validate

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

Validate validates this listener policy template patch

type ListenerPolicyTemplatePatchTarget

type ListenerPolicyTemplatePatchTarget struct {

	// The pool's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The http status code in the redirect response.
	// Enum: [301 302 303 307 308]
	HTTPStatusCode int64 `json:"http_status_code,omitempty"`

	// The unique identifier for this load balancer pool
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The redirect target URL.
	URL string `json:"url,omitempty"`
}

ListenerPolicyTemplatePatchTarget listener policy template patch target swagger:model ListenerPolicyTemplatePatchTarget

func (*ListenerPolicyTemplatePatchTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyTemplatePatchTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyTemplatePatchTarget) Validate

Validate validates this listener policy template patch target

type ListenerPolicyTemplateTarget

type ListenerPolicyTemplateTarget struct {

	// The pool's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The http status code in the redirect response.
	// Enum: [301 302 303 307 308]
	HTTPStatusCode int64 `json:"http_status_code,omitempty"`

	// The unique identifier for this load balancer pool
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The redirect target URL.
	URL string `json:"url,omitempty"`
}

ListenerPolicyTemplateTarget listener policy template target swagger:model ListenerPolicyTemplateTarget

func (*ListenerPolicyTemplateTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerPolicyTemplateTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerPolicyTemplateTarget) Validate

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

Validate validates this listener policy template target

type ListenerReference

type ListenerReference struct {

	// The listener's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The listener's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

ListenerReference listener reference swagger:model ListenerReference

func (*ListenerReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerReference) Validate

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

Validate validates this listener reference

type ListenerTemplate

type ListenerTemplate struct {

	// certificate instance
	CertificateInstance *ListenerTemplateCertificateInstance `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	// Maximum: 15000
	// Minimum: 1
	ConnectionLimit int64 `json:"connection_limit,omitempty"`

	// default pool
	DefaultPool *ListenerTemplateDefaultPool `json:"default_pool,omitempty"`

	// The list of policies of this listener
	Policies []*ListenerPolicyTemplate `json:"policies"`

	// The listener port number.
	// Required: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port"`

	// The listener protocol.
	// Required: true
	// Enum: [http https tcp]
	Protocol *string `json:"protocol"`
}

ListenerTemplate listener template swagger:model ListenerTemplate

func (*ListenerTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplate) Validate

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

Validate validates this listener template

type ListenerTemplateCertificateInstance

type ListenerTemplateCertificateInstance struct {

	// The ceritificate instance's CRN
	Crn string `json:"crn,omitempty"`
}

ListenerTemplateCertificateInstance The certificate instance used for SSL termination. It is applicable only to `https` protocol. swagger:model ListenerTemplateCertificateInstance

func (*ListenerTemplateCertificateInstance) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplateCertificateInstance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplateCertificateInstance) Validate

Validate validates this listener template certificate instance

type ListenerTemplateDefaultPool

type ListenerTemplateDefaultPool struct {

	// The pool's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The pool's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

ListenerTemplateDefaultPool The default pool associated with the listener. swagger:model ListenerTemplateDefaultPool

func (*ListenerTemplateDefaultPool) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplateDefaultPool) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplateDefaultPool) Validate

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

Validate validates this listener template default pool

type ListenerTemplatePatch

type ListenerTemplatePatch struct {

	// certificate instance
	CertificateInstance *ListenerTemplatePatchCertificateInstance `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	// Maximum: 15000
	// Minimum: 1
	ConnectionLimit int64 `json:"connection_limit,omitempty"`

	// default pool
	DefaultPool *ListenerTemplatePatchDefaultPool `json:"default_pool,omitempty"`

	// The listener port number.
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// The listener protocol.
	// Enum: [http https tcp]
	Protocol string `json:"protocol,omitempty"`
}

ListenerTemplatePatch listener template patch swagger:model ListenerTemplatePatch

func (*ListenerTemplatePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplatePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplatePatch) Validate

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

Validate validates this listener template patch

type ListenerTemplatePatchCertificateInstance

type ListenerTemplatePatchCertificateInstance struct {

	// The ceritificate instance's CRN
	Crn string `json:"crn,omitempty"`
}

ListenerTemplatePatchCertificateInstance The certificate instance used for SSL termination. It is applicable only to `https` protocol. swagger:model ListenerTemplatePatchCertificateInstance

func (*ListenerTemplatePatchCertificateInstance) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplatePatchCertificateInstance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplatePatchCertificateInstance) Validate

Validate validates this listener template patch certificate instance

type ListenerTemplatePatchDefaultPool

type ListenerTemplatePatchDefaultPool struct {

	// The pool's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The pool's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

ListenerTemplatePatchDefaultPool The default pool associated with the listener. swagger:model ListenerTemplatePatchDefaultPool

func (*ListenerTemplatePatchDefaultPool) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplatePatchDefaultPool) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplatePatchDefaultPool) Validate

Validate validates this listener template patch default pool

type ListenerTemplateWithPoolByName

type ListenerTemplateWithPoolByName struct {

	// certificate instance
	CertificateInstance *ListenerTemplateWithPoolByNameCertificateInstance `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	// Maximum: 15000
	// Minimum: 1
	ConnectionLimit int64 `json:"connection_limit,omitempty"`

	// default pool
	DefaultPool *ListenerTemplateWithPoolByNameDefaultPool `json:"default_pool,omitempty"`

	// The listener port number.
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// The listener protocol.
	// Enum: [http https tcp]
	Protocol string `json:"protocol,omitempty"`
}

ListenerTemplateWithPoolByName listener template with pool by name swagger:model ListenerTemplateWithPoolByName

func (*ListenerTemplateWithPoolByName) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplateWithPoolByName) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplateWithPoolByName) Validate

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

Validate validates this listener template with pool by name

type ListenerTemplateWithPoolByNameCertificateInstance

type ListenerTemplateWithPoolByNameCertificateInstance struct {

	// The ceritificate instance's CRN
	Crn string `json:"crn,omitempty"`
}

ListenerTemplateWithPoolByNameCertificateInstance listener template with pool by name certificate instance swagger:model ListenerTemplateWithPoolByNameCertificateInstance

func (*ListenerTemplateWithPoolByNameCertificateInstance) MarshalBinary

MarshalBinary interface implementation

func (*ListenerTemplateWithPoolByNameCertificateInstance) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListenerTemplateWithPoolByNameCertificateInstance) Validate

Validate validates this listener template with pool by name certificate instance

type ListenerTemplateWithPoolByNameDefaultPool

type ListenerTemplateWithPoolByNameDefaultPool struct {

	// The pool's user-defined name.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ListenerTemplateWithPoolByNameDefaultPool listener template with pool by name default pool swagger:model ListenerTemplateWithPoolByNameDefaultPool

func (*ListenerTemplateWithPoolByNameDefaultPool) MarshalBinary

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

MarshalBinary interface implementation

func (*ListenerTemplateWithPoolByNameDefaultPool) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListenerTemplateWithPoolByNameDefaultPool) Validate

Validate validates this listener template with pool by name default pool

type LoadBalancer

type LoadBalancer struct {

	// The date and time that this load balancer was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this load balancer
	Crn string `json:"crn,omitempty"`

	// Fully qualified domain name assigned to this load balancer
	Hostname string `json:"hostname,omitempty"`

	// The load balancer's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The load balancer's unique identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The type of this load balancer, public or private
	IsPublic bool `json:"is_public,omitempty"`

	// The listeners of this load balancer
	Listeners []*ListenerReference `json:"listeners"`

	// The load balancer's user-defined name. Load balancer names must be unique. within the scope of a user account. Load balancer names are part of FQDN auto-assigned to the load balancer.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The operating status of this load balancer
	// Enum: [online offline]
	OperatingStatus string `json:"operating_status,omitempty"`

	// The pools of this load balancer
	Pools []*PoolReference `json:"pools"`

	// The private IP addresses assigned to this load balancer.
	PrivateIps []*LoadBalancerIP `json:"private_ips"`

	// The provisioning status of this load balancer
	// Enum: [active create_pending update_pending delete_pending maintenance_pending]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// The public IP addresses assigned to this load balancer. These are applicable only for public load balancers.
	PublicIps []*LoadBalancerIP `json:"public_ips"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// SubnetReference
	Subnets []*LoadBalancerSubnetsItems0 `json:"subnets"`
}

LoadBalancer load balancer swagger:model LoadBalancer

func (*LoadBalancer) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancer) Validate

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

Validate validates this load balancer

type LoadBalancerCollection

type LoadBalancerCollection struct {

	// first
	First *LoadBalancerCollectionFirst `json:"first,omitempty"`

	// The maximum number of resources can be returned by the request
	// Maximum: 100
	// Minimum: 1
	Limit int64 `json:"limit,omitempty"`

	// Collection of load balancers
	LoadBalancers []*LoadBalancer `json:"load_balancers"`

	// next
	Next *LoadBalancerCollectionNext `json:"next,omitempty"`
}

LoadBalancerCollection load balancer collection swagger:model LoadBalancerCollection

func (*LoadBalancerCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerCollection) Validate

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

Validate validates this load balancer collection

type LoadBalancerCollectionFirst

type LoadBalancerCollectionFirst struct {

	// href
	Href interface{} `json:"href,omitempty"`
}

LoadBalancerCollectionFirst load balancer collection first swagger:model LoadBalancerCollectionFirst

func (*LoadBalancerCollectionFirst) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerCollectionFirst) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerCollectionFirst) Validate

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

Validate validates this load balancer collection first

type LoadBalancerCollectionNext

type LoadBalancerCollectionNext struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

LoadBalancerCollectionNext A reference to the next page of resources; this reference is included for all pages except the last page swagger:model LoadBalancerCollectionNext

func (*LoadBalancerCollectionNext) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerCollectionNext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerCollectionNext) Validate

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

Validate validates this load balancer collection next

type LoadBalancerIP

type LoadBalancerIP struct {

	// The IP address assigned to this load balancer
	Address string `json:"address,omitempty"`
}

LoadBalancerIP LoadBalancerIp swagger:model LoadBalancerIp

func (*LoadBalancerIP) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerIP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerIP) Validate

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

Validate validates this load balancer Ip

type LoadBalancerStatistics

type LoadBalancerStatistics struct {

	// Number of active connnections of this load balancer
	ActiveConnections int64 `json:"active_connections,omitempty"`

	// Current connection rate (connections per second) of this load balancer
	ConnectionRate float32 `json:"connection_rate,omitempty"`

	// Total number of data processed (bytes) of this load balancer within current calendar month
	DataProcessedThisMonth int64 `json:"data_processed_this_month,omitempty"`

	// Current throughput (Mbps) of this load balancer
	Throughput float32 `json:"throughput,omitempty"`
}

LoadBalancerStatistics load balancer statistics swagger:model LoadBalancerStatistics

func (*LoadBalancerStatistics) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerStatistics) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerStatistics) Validate

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

Validate validates this load balancer statistics

type LoadBalancerSubnetsItems0

type LoadBalancerSubnetsItems0 struct {

	// The CRN for this subnet
	Crn string `json:"crn,omitempty"`

	// The unique identifier for this subnet
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this subnet
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

LoadBalancerSubnetsItems0 load balancer subnets items0 swagger:model LoadBalancerSubnetsItems0

func (*LoadBalancerSubnetsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerSubnetsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerSubnetsItems0) Validate

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

Validate validates this load balancer subnets items0

type LoadBalancerTemplate

type LoadBalancerTemplate struct {

	// The type of this load balancer, public or private
	// Required: true
	IsPublic *bool `json:"is_public"`

	// The listeners of this load balancer
	Listeners []*ListenerTemplateWithPoolByName `json:"listeners,omitempty"`

	// The load balancer's user-defined name. Load balancer names must be unique. within the scope of a user account. Load balancer names are part of FQDN auto-assigned to the load balancer.
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// The pools of this load balancer
	Pools []*PoolTemplate `json:"pools,omitempty"`

	// resource group
	ResourceGroup *LoadBalancerTemplateResourceGroup `json:"resource_group,omitempty"`

	// The subnets to provision this load balancer
	Subnets []*SubnetIdentity `json:"subnets"`
}

LoadBalancerTemplate load balancer template swagger:model LoadBalancerTemplate

func (*LoadBalancerTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerTemplate) Validate

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

Validate validates this load balancer template

type LoadBalancerTemplatePatch

type LoadBalancerTemplatePatch struct {

	// The load balancer's user-defined name. Load balancer names must be unique. within the scope of a user account. Load balancer names are part of FQDN auto-assigned to the load balancer.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

LoadBalancerTemplatePatch LoadBalancerTemplatePatch swagger:model LoadBalancerTemplatePatch

func (*LoadBalancerTemplatePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerTemplatePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerTemplatePatch) Validate

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

Validate validates this load balancer template patch

type LoadBalancerTemplateResourceGroup

type LoadBalancerTemplateResourceGroup struct {

	// The unique identifier for this resource group
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

LoadBalancerTemplateResourceGroup The resource group for this load balancer swagger:model LoadBalancerTemplateResourceGroup

func (*LoadBalancerTemplateResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerTemplateResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerTemplateResourceGroup) Validate

Validate validates this load balancer template resource group

type LoadBalancerWithAddresses

type LoadBalancerWithAddresses struct {

	// The private IP addresses assigned to this load balancer.
	PrivateIps []*LoadBalancerIP `json:"private_ips"`

	// The public IP addresses assigned to this load balancer. These are applicable only for public load balancers.
	PublicIps []*LoadBalancerIP `json:"public_ips"`
}

LoadBalancerWithAddresses load balancer with addresses swagger:model LoadBalancerWithAddresses

func (*LoadBalancerWithAddresses) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadBalancerWithAddresses) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadBalancerWithAddresses) Validate

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

Validate validates this load balancer with addresses

type Member

type Member struct {

	// The date and time that this member was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Health of the server member in the pool.
	// Enum: [ok faulted unknown]
	Health string `json:"health,omitempty"`

	// The member's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The member's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The port number of the application running in the server member.
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// The provisioning status of this member
	// Enum: [active create_pending update_pending delete_pending maintenance_pending]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// target
	Target *MemberTarget `json:"target,omitempty"`

	// Weight of the server member. This takes effect only when the load balancing algorithm of its belonging pool is `weighted_round_robin`.
	// Maximum: 100
	// Minimum: 1
	Weight int64 `json:"weight,omitempty"`
}

Member member swagger:model Member

func (*Member) MarshalBinary

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

MarshalBinary interface implementation

func (*Member) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Member) Validate

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

Validate validates this member

type MemberCollection

type MemberCollection struct {

	// first
	First *MemberCollectionFirst `json:"first,omitempty"`

	// The maximum number of resources can be returned by the request
	// Maximum: 100
	// Minimum: 1
	Limit int64 `json:"limit,omitempty"`

	// Collection of members
	Members []*Member `json:"members"`

	// next
	Next *MemberCollectionNext `json:"next,omitempty"`
}

MemberCollection member collection swagger:model MemberCollection

func (*MemberCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberCollection) Validate

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

Validate validates this member collection

type MemberCollectionFirst

type MemberCollectionFirst struct {

	// href
	Href interface{} `json:"href,omitempty"`
}

MemberCollectionFirst member collection first swagger:model MemberCollectionFirst

func (*MemberCollectionFirst) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberCollectionFirst) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberCollectionFirst) Validate

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

Validate validates this member collection first

type MemberCollectionNext

type MemberCollectionNext struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

MemberCollectionNext A reference to the next page of resources; this reference is included for all pages except the last page swagger:model MemberCollectionNext

func (*MemberCollectionNext) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberCollectionNext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberCollectionNext) Validate

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

Validate validates this member collection next

type MemberCollectionTemplate

type MemberCollectionTemplate struct {

	// Member collection
	// Required: true
	Members []*MemberTemplateCommon `json:"members"`
}

MemberCollectionTemplate MemberCollectionTemplate swagger:model MemberCollectionTemplate

func (*MemberCollectionTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberCollectionTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberCollectionTemplate) Validate

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

Validate validates this member collection template

type MemberReference

type MemberReference struct {

	// The member's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The member's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

MemberReference member reference swagger:model MemberReference

func (*MemberReference) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberReference) Validate

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

Validate validates this member reference

type MemberTarget

type MemberTarget struct {

	// The IP address of the pool member.
	Address string `json:"address,omitempty"`
}

MemberTarget MemberAddressTarget swagger:model MemberTarget

func (*MemberTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberTarget) Validate

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

Validate validates this member target

type MemberTemplate

type MemberTemplate struct {

	// The port number of the application running in the server member.
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// target
	Target *MemberTemplateTarget `json:"target,omitempty"`

	// Weight of the server member. This takes effect only when the load balancing algorithm of its belonging pool is `weighted_round_robin`.
	// Maximum: 100
	// Minimum: 1
	Weight int64 `json:"weight,omitempty"`
}

MemberTemplate member template swagger:model MemberTemplate

func (*MemberTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberTemplate) Validate

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

Validate validates this member template

type MemberTemplateCommon

type MemberTemplateCommon struct {

	// The port number of the application running in the server member.
	// Maximum: 65535
	// Minimum: 1
	Port int64 `json:"port,omitempty"`

	// target
	Target *MemberTemplateCommonTarget `json:"target,omitempty"`

	// Weight of the server member. This takes effect only when the load balancing algorithm of its belonging pool is `weighted_round_robin`.
	// Maximum: 100
	// Minimum: 1
	Weight int64 `json:"weight,omitempty"`
}

MemberTemplateCommon MemberTemplateCommon swagger:model MemberTemplateCommon

func (*MemberTemplateCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberTemplateCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberTemplateCommon) Validate

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

Validate validates this member template common

type MemberTemplateCommonTarget

type MemberTemplateCommonTarget struct {

	// The IP address of the pool member.
	Address string `json:"address,omitempty"`
}

MemberTemplateCommonTarget MemberAddressTarget swagger:model MemberTemplateCommonTarget

func (*MemberTemplateCommonTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberTemplateCommonTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberTemplateCommonTarget) Validate

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

Validate validates this member template common target

type MemberTemplatePatch

type MemberTemplatePatch struct {
	MemberTemplateCommon
}

MemberTemplatePatch MemberTemplatePatch swagger:model MemberTemplatePatch

func (*MemberTemplatePatch) MarshalBinary

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

MarshalBinary interface implementation

func (MemberTemplatePatch) MarshalJSON

func (m MemberTemplatePatch) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*MemberTemplatePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberTemplatePatch) UnmarshalJSON

func (m *MemberTemplatePatch) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*MemberTemplatePatch) Validate

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

Validate validates this member template patch

type MemberTemplateTarget

type MemberTemplateTarget struct {

	// The IP address of the pool member.
	Address string `json:"address,omitempty"`
}

MemberTemplateTarget MemberAddressTarget swagger:model MemberTemplateTarget

func (*MemberTemplateTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberTemplateTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberTemplateTarget) Validate

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

Validate validates this member template target

type NameReference

type NameReference struct {

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

NameReference NameIdentity

The name identity of the resource swagger:model NameReference

func (*NameReference) MarshalBinary

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

MarshalBinary interface implementation

func (*NameReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameReference) Validate

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

Validate validates this name reference

type NetworkACL

type NetworkACL struct {

	// The date and time that the network ACL was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this network ACL
	Crn string `json:"crn,omitempty"`

	// The URL for this network ACL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this network ACL
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this network ACL
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The resource group for this network ACL
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The rules for this network ACL
	Rules []*NetworkACLRule `json:"rules"`

	// The subnets to which this network ACL is attached
	Subnets []*ResourceReference `json:"subnets"`

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

NetworkACL NetworkACL swagger:model network_acl

func (*NetworkACL) MarshalBinary

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

MarshalBinary interface implementation

func (*NetworkACL) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NetworkACL) Validate

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

Validate validates this network acl

type NetworkACLRule

type NetworkACLRule struct {

	// Whether to allow or deny matching traffic
	// Enum: [allow deny]
	Action string `json:"action,omitempty"`

	// before
	Before *ResourceReference `json:"before,omitempty"`

	// The ICMP traffic code to allow. Valid values from 0 to 255. If unspecified, all codes are allowed. This can only be specified if type is also specified.
	Code *int64 `json:"code,omitempty"`

	// The date and time that the network ACL Rule was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The destination IP address or CIDR block
	Destination string `json:"destination,omitempty"`

	// The inclusive upper bound of TCP/UDP destination port range
	// Maximum: 65535
	// Minimum: 1
	DestinationPortMax int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range
	// Maximum: 65535
	// Minimum: 1
	DestinationPortMin int64 `json:"destination_port_min,omitempty"`

	// Whether the traffic to be matched is ingress or egress
	// Enum: [ingress egress]
	Direction string `json:"direction,omitempty"`

	// The URL for this network ACL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this network ACL rule
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The IP version for this rule
	// Enum: [ipv4 ipv6]
	IPVersion string `json:"ip_version,omitempty"`

	// The user-defined name for this network ACL
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The inclusive upper bound of TCP/UDP destination port range
	// Maximum: 65535
	// Minimum: 1
	PortMax int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range
	// Maximum: 65535
	// Minimum: 1
	PortMin int64 `json:"port_min,omitempty"`

	// Must be `all` to match all protocols.
	Protocol string `json:"protocol,omitempty"`

	// The source IP address or CIDR block
	Source string `json:"source,omitempty"`

	// The inclusive upper bound of TCP/UDP source port range
	// Maximum: 65535
	// Minimum: 1
	SourcePortMax int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range
	// Maximum: 65535
	// Minimum: 1
	SourcePortMin int64 `json:"source_port_min,omitempty"`

	// The ICMP traffic type to allow. Valid values from 0 to 254. If unspecified, all types are allowed by this rule.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRule TupleRule swagger:model network_acl_rule

func (*NetworkACLRule) MarshalBinary

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

MarshalBinary interface implementation

func (*NetworkACLRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NetworkACLRule) Validate

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

Validate validates this network acl rule

type NetworkInterfaceReference

type NetworkInterfaceReference struct {
	ResourceReference

	// The primary IPv4 address
	PrimaryIPV4Address string `json:"primary_ipv4_address,omitempty"`
}

NetworkInterfaceReference NetworkInterfaceReference swagger:model network_interface_reference

func (*NetworkInterfaceReference) MarshalBinary

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

MarshalBinary interface implementation

func (NetworkInterfaceReference) MarshalJSON

func (m NetworkInterfaceReference) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*NetworkInterfaceReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NetworkInterfaceReference) UnmarshalJSON

func (m *NetworkInterfaceReference) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*NetworkInterfaceReference) Validate

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

Validate validates this network interface reference

type Next

type Next struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

Next A reference to the next page of resources; this reference is included for all pages except the last page swagger:model Next

func (*Next) MarshalBinary

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

MarshalBinary interface implementation

func (*Next) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Next) Validate

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

Validate validates this next

type OperatingSystem

type OperatingSystem struct {

	// The operating system architecture
	// Required: true
	Architecture *string `json:"architecture"`

	// A unique, display-friendly name for the operating system
	// Required: true
	// Max Length: 120
	// Min Length: 1
	// Pattern: ^[-A-Za-z0-9 !$@#%&*'=_+:;,?\./\(\)\[\]]+$
	DisplayName *string `json:"display_name"`

	// The name of the software family this operating system belongs to
	// Required: true
	Family *string `json:"family"`

	// The URL for this operating system
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The unique name of the operating system
	// Required: true
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name *string `json:"name"`

	// The vendor of the operating system
	// Required: true
	Vendor *string `json:"vendor"`

	// The major release version of this operating system
	// Required: true
	Version *string `json:"version"`
}

OperatingSystem OperatingSystem swagger:model OperatingSystem

func (*OperatingSystem) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingSystem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingSystem) Validate

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

Validate validates this operating system

type OperatingSystemCollection

type OperatingSystemCollection struct {

	// first
	// Required: true
	First *OperatingSystemCollectionFirst `json:"first"`

	// The maximum number of resources that can be returned by the request
	// Required: true
	// Maximum: 100
	// Minimum: 1
	Limit *int64 `json:"limit"`

	// next
	Next *OperatingSystemCollectionNext `json:"next,omitempty"`

	// Collection of operating systems
	// Required: true
	OperatingSystems []*OperatingSystem `json:"operating_systems"`
}

OperatingSystemCollection OperatingSystemCollection swagger:model OperatingSystemCollection

func (*OperatingSystemCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingSystemCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingSystemCollection) Validate

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

Validate validates this operating system collection

type OperatingSystemCollectionFirst

type OperatingSystemCollectionFirst struct {

	// The URL for the first page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

OperatingSystemCollectionFirst A reference to the first page of resources swagger:model OperatingSystemCollectionFirst

func (*OperatingSystemCollectionFirst) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingSystemCollectionFirst) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingSystemCollectionFirst) Validate

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

Validate validates this operating system collection first

type OperatingSystemCollectionNext

type OperatingSystemCollectionNext struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

OperatingSystemCollectionNext A reference to the next page of resources; this reference is included for all pages except the last page swagger:model OperatingSystemCollectionNext

func (*OperatingSystemCollectionNext) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingSystemCollectionNext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingSystemCollectionNext) Validate

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

Validate validates this operating system collection next

type OperatingSystemIdentity

type OperatingSystemIdentity struct {

	// The unique name of the operating system
	// Required: true
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name *string `json:"name"`
}

OperatingSystemIdentity OperatingSystemIdentity swagger:model OperatingSystemIdentity

func (*OperatingSystemIdentity) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingSystemIdentity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingSystemIdentity) Validate

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

Validate validates this operating system identity

type Pool

type Pool struct {

	// The load balancing algorithm.
	// Enum: [round_robin weighted_round_robin least_connections]
	Algorithm string `json:"algorithm,omitempty"`

	// The date and time that this pool was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The health monitor of this pool.
	HealthMonitor *HealthMonitorTemplate `json:"health_monitor,omitempty"`

	// The pool's canonical URL..
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The pool's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The backend server members of the pool
	Members []*MemberReference `json:"members"`

	// The name of the pool.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The pool protocol.
	// Enum: [http tcp]
	Protocol string `json:"protocol,omitempty"`

	// The provisioning status of this pool
	// Enum: [active create_pending update_pending delete_pending maintenance_pending]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// The session persistence of this pool.
	SessionPersistence *SessionPersistenceTemplate `json:"session_persistence,omitempty"`
}

Pool Pool swagger:model Pool

func (*Pool) MarshalBinary

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

MarshalBinary interface implementation

func (*Pool) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Pool) Validate

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

Validate validates this pool

type PoolCollection

type PoolCollection struct {

	// Collection of pools
	// Required: true
	Pools []*Pool `json:"pools"`
}

PoolCollection PoolCollection swagger:model PoolCollection

func (*PoolCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*PoolCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoolCollection) Validate

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

Validate validates this pool collection

type PoolReference

type PoolReference struct {

	// The pool's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The pool's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The pool's user-defined name
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

PoolReference pool reference swagger:model PoolReference

func (*PoolReference) MarshalBinary

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

MarshalBinary interface implementation

func (*PoolReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoolReference) Validate

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

Validate validates this pool reference

type PoolTemplate

type PoolTemplate struct {

	// The load balancing algorithm.
	// Enum: [round_robin weighted_round_robin least_connections]
	Algorithm string `json:"algorithm,omitempty"`

	// The health monitor of this pool.
	HealthMonitor *HealthMonitorTemplate `json:"health_monitor,omitempty"`

	// The backend server members of this pool.
	Members []*MemberTemplate `json:"members,omitempty"`

	// The name of the pool.
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// The pool protocol.
	// Enum: [http tcp]
	Protocol string `json:"protocol,omitempty"`

	// The session persistence of this pool.
	SessionPersistence *SessionPersistenceTemplate `json:"session_persistence,omitempty"`
}

PoolTemplate pool template swagger:model PoolTemplate

func (*PoolTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*PoolTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoolTemplate) Validate

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

Validate validates this pool template

type PoolTemplatePatch

type PoolTemplatePatch struct {

	// The load balancing algorithm.
	// Enum: [round_robin weighted_round_robin least_connections]
	Algorithm string `json:"algorithm,omitempty"`

	// The health monitor of this pool.
	HealthMonitor *HealthMonitorTemplate `json:"health_monitor,omitempty"`

	// The name of the pool.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The pool protocol.
	// Enum: [http tcp]
	Protocol string `json:"protocol,omitempty"`

	// The session persistence of this pool.
	SessionPersistence *SessionPersistenceTemplate `json:"session_persistence,omitempty"`
}

PoolTemplatePatch pool template patch swagger:model PoolTemplatePatch

func (*PoolTemplatePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*PoolTemplatePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoolTemplatePatch) Validate

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

Validate validates this pool template patch

type PublicGateway

type PublicGateway struct {

	// The date and time that the public gateway was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this public gateway
	Crn string `json:"crn,omitempty"`

	// floating ip
	FloatingIP *PublicGatewayFloatingIP `json:"floating_ip,omitempty"`

	// The URL for this gateway
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this public gateway
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this public gateway
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The resource group for this public gateway
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// status
	// Enum: [pending available failed deleting]
	Status string `json:"status,omitempty"`

	// vpc
	Vpc *ResourceReference `json:"vpc,omitempty"`

	// zone
	Zone *PublicGatewayZone `json:"zone,omitempty"`
}

PublicGateway PublicGateway swagger:model public_gateway

func (*PublicGateway) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicGateway) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicGateway) Validate

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

Validate validates this public gateway

type PublicGatewayFloatingIP

type PublicGatewayFloatingIP struct {

	// The globally unique IP address
	Address string `json:"address,omitempty"`

	// The CRN for this floating ip
	Crn string `json:"crn,omitempty"`

	// The URL for this floating ips
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this floating ip
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this floating IP
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

PublicGatewayFloatingIP FloatingIPReference

Reference to the floating ip which is bound to this public gateway swagger:model PublicGatewayFloatingIP

func (*PublicGatewayFloatingIP) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicGatewayFloatingIP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicGatewayFloatingIP) Validate

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

Validate validates this public gateway floating IP

type PublicGatewayZone

type PublicGatewayZone struct {

	// The URL for this zone
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

PublicGatewayZone ZoneReference

The zone where this public gateway lives swagger:model PublicGatewayZone

func (*PublicGatewayZone) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicGatewayZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicGatewayZone) Validate

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

Validate validates this public gateway zone

type Region

type Region struct {

	// The API endpoint for this region.
	// Required: true
	Endpoint string `json:"endpoint"`

	// The URL for this region
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href"`

	// The name for this region
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name"`

	// status
	// Required: true
	// Enum: [available unavailable]
	Status string `json:"status"`
}

Region Region swagger:model region

func (*Region) MarshalBinary

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

MarshalBinary interface implementation

func (*Region) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Region) Validate

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

Validate validates this region

type RegionReference

type RegionReference struct {

	// The URL for this region
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The name for this region
	// Required: true
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name *string `json:"name"`
}

RegionReference RegionReference swagger:model RegionReference

func (*RegionReference) MarshalBinary

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

MarshalBinary interface implementation

func (*RegionReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RegionReference) Validate

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

Validate validates this region reference

type ResourceReference

type ResourceReference struct {

	// The CRN for this snapshot
	Crn string `json:"crn,omitempty"`

	// The URL for this resource
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this resource
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ResourceReference reference swagger:model resource_reference

func (*ResourceReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ResourceReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResourceReference) Validate

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

Validate validates this resource reference

type ResourceReferenceWithOutCrn

type ResourceReferenceWithOutCrn struct {

	// The URL for this resource
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this resource
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ResourceReferenceWithOutCrn reference swagger:model ResourceReferenceWithOutCrn

func (*ResourceReferenceWithOutCrn) MarshalBinary

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

MarshalBinary interface implementation

func (*ResourceReferenceWithOutCrn) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResourceReferenceWithOutCrn) Validate

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

Validate validates this resource reference with out crn

type Riaaserror

type Riaaserror struct {

	// Array of errors
	// Required: true
	Errors []*RiaaserrorErrorsItems0 `json:"errors"`

	// Unique error identifier
	// Pattern: ^[-0-9a-zA-Z_]+$
	Trace string `json:"trace,omitempty"`
}

Riaaserror ErrorContainer swagger:model riaaserror

func (*Riaaserror) MarshalBinary

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

MarshalBinary interface implementation

func (*Riaaserror) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Riaaserror) Validate

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

Validate validates this riaaserror

type RiaaserrorErrorsItems0

type RiaaserrorErrorsItems0 struct {

	// A snake case string succinctly identifying the problem
	// Pattern: ^[a-z]+(_[a-z]+)*$
	Code string `json:"code,omitempty"`

	// An explanation of the solution to the problem
	Message string `json:"message,omitempty"`

	// Link to documentation about this error
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	MoreInfo string `json:"more_info,omitempty"`

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

RiaaserrorErrorsItems0 Error swagger:model RiaaserrorErrorsItems0

func (*RiaaserrorErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*RiaaserrorErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RiaaserrorErrorsItems0) Validate

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

Validate validates this riaaserror errors items0

type RiaaserrorErrorsItems0Target

type RiaaserrorErrorsItems0Target struct {

	// The name of the problematic field, query parameter, or header
	// Required: true
	Name string `json:"name"`

	// The type of input where the problem was
	// Required: true
	// Enum: [field parameter header]
	Type string `json:"type"`
}

RiaaserrorErrorsItems0Target ErrorTarget swagger:model RiaaserrorErrorsItems0Target

func (*RiaaserrorErrorsItems0Target) MarshalBinary

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

MarshalBinary interface implementation

func (*RiaaserrorErrorsItems0Target) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RiaaserrorErrorsItems0Target) Validate

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

Validate validates this riaaserror errors items0 target

type Route

type Route struct {

	// The date and time that the route was created
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// destination
	// Required: true
	Destination CIDR `json:"destination"`

	// The URL for this route
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The unique identifier for this route
	// Required: true
	// Max Length: 64
	// Min Length: 1
	// Pattern: ^[-0-9a-z_]+$
	ID *string `json:"id"`

	// lifecycle state
	// Required: true
	LifecycleState LifecycleState `json:"lifecycle_state"`

	// The user-defined name for this route
	// Required: true
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name *string `json:"name"`

	// The next hop packets will be routed to
	// Required: true
	NextHop *IP `json:"next_hop"`

	// zone
	// Required: true
	Zone *ZoneReference `json:"zone"`
}

Route Route swagger:model Route

func (*Route) MarshalBinary

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

MarshalBinary interface implementation

func (*Route) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Route) Validate

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

Validate validates this route

type RouteCollection

type RouteCollection struct {

	// Collection of routes
	// Required: true
	Routes []*Route `json:"routes"`
}

RouteCollection RouteCollection swagger:model RouteCollection

func (*RouteCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*RouteCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouteCollection) Validate

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

Validate validates this route collection

type RouteNextHopIP

type RouteNextHopIP struct {
	IP
}

RouteNextHopIP The IP address of the next hop to which to route packets swagger:model RouteNextHopIP

func (*RouteNextHopIP) MarshalBinary

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

MarshalBinary interface implementation

func (RouteNextHopIP) MarshalJSON

func (m RouteNextHopIP) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*RouteNextHopIP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouteNextHopIP) UnmarshalJSON

func (m *RouteNextHopIP) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*RouteNextHopIP) Validate

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

Validate validates this route next hop IP

type RoutePatch

type RoutePatch struct {

	// The user-defined name for this route. Names must be unique within the VPC the route resides in.
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`
}

RoutePatch RoutePatch swagger:model RoutePatch

func (*RoutePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*RoutePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoutePatch) Validate

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

Validate validates this route patch

type RouteTemplate

type RouteTemplate struct {

	// destination
	// Required: true
	Destination CIDR `json:"destination"`

	// The user-defined name for this route. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPC the route resides in.
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name string `json:"name,omitempty"`

	// next hop
	// Required: true
	NextHop RouteNextHopIP `json:"next_hop"`

	// The zone for which this route applies.
	// Required: true
	Zone *ZoneIdentityByName `json:"zone"`
}

RouteTemplate RouteTemplate swagger:model RouteTemplate

func (*RouteTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*RouteTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouteTemplate) Validate

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

Validate validates this route template

type SecurityGroup

type SecurityGroup struct {

	// The date and time that this security group was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The security group's CRN
	Crn string `json:"crn,omitempty"`

	// The security group's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The security group's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-assigned name of this security group. If the user does not provide a name, one will be automatically assigned. Security group names must be unique, within the scope of a user account.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// Collection of references to network interfaces
	NetworkInterfaces []*SecurityGroupNetworkInterfacesItems0 `json:"network_interfaces"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// Collection of references to rules
	Rules []*SecurityGroupRule `json:"rules"`

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

SecurityGroup SecurityGroup swagger:model security_group

func (*SecurityGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*SecurityGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecurityGroup) Validate

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

Validate validates this security group

type SecurityGroupNetworkInterfacesItems0

type SecurityGroupNetworkInterfacesItems0 struct {

	// The CRN for this network interface
	Crn string `json:"crn,omitempty"`

	// The URL for this network interface
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this network interface
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this network interface
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The primary IPv4 address
	PrimaryIPV4Address string `json:"primary_ipv4_address,omitempty"`
}

SecurityGroupNetworkInterfacesItems0 NetworkInterfaceReference swagger:model SecurityGroupNetworkInterfacesItems0

func (*SecurityGroupNetworkInterfacesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*SecurityGroupNetworkInterfacesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecurityGroupNetworkInterfacesItems0) Validate

Validate validates this security group network interfaces items0

type SecurityGroupRule

type SecurityGroupRule struct {

	// The ICMP code to to allow. Valid values from 0 to 255. If missing, allow all codes.
	// Required: true
	Code *int64 `json:"code"`

	// The direction of traffic to enforce (ingress, egress)
	// Enum: [ingress egress]
	Direction string `json:"direction,omitempty"`

	// The unique identifier for a security group rule
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The IP version to enforce (ipv4, ipv6). The format of 'remote.address' or 'remote.cidr_block' must match this field, if they are used. Also, if 'remote' references another security group (ie. using remote.id, remote.name, remote.crn) then this rule will only apply to IP addresses (network interfaces) in that group which match this ip_version.
	// Enum: [ipv4 ipv6]
	IPVersion string `json:"ip_version,omitempty"`

	// The inclusive upper TCP/UDP port bound to enforce. For a single port, set port_min and port_max to5606 the same value. Valid values from 1 to 65535.
	// Required: true
	PortMax *int64 `json:"port_max"`

	// The inclusive lower TCP/UDP port bound to enforce. For a single port, set port_min and port_max to the same value. Valid values from 1 to 65535.
	// Required: true
	PortMin *int64 `json:"port_min"`

	// The protocol to enforce. Must be one of (icmp, tcp, udp, all). Defaults to 'all' if omitted.
	// Enum: [all icmp tcp udp]
	Protocol *string `json:"protocol,omitempty"`

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

	// The ICMP type to allow. Valid values from 0 to 255. If missing, allow all types.
	// Required: true
	Type *int64 `json:"type"`
}

SecurityGroupRule SecurityGroupRule

When 'protocol' is either of 'tcp' or 'udp', then the rule may also contain fields to specify a port range. swagger:model security_group_rule

func (*SecurityGroupRule) MarshalBinary

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

MarshalBinary interface implementation

func (*SecurityGroupRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecurityGroupRule) Validate

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

Validate validates this security group rule

type SecurityGroupRuleRemote

type SecurityGroupRuleRemote struct {

	// A single IPv4 or IPv6 address.
	Address string `json:"address,omitempty"`

	// A range of IPv4 or IPv6 addresses, in CIDR format.
	CidrBlock string `json:"cidr_block,omitempty"`

	// The security group's CRN
	Crn string `json:"crn,omitempty"`

	// The security group's canonical URL.
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The security group's unique identifier.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The security group's user-defined name.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

SecurityGroupRuleRemote SecurityGroupReference

Describe the set of network interfaces from which this rule allows traffic (or to which, for egress rules.) swagger:model SecurityGroupRuleRemote

func (*SecurityGroupRuleRemote) MarshalBinary

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

MarshalBinary interface implementation

func (*SecurityGroupRuleRemote) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecurityGroupRuleRemote) Validate

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

Validate validates this security group rule remote

type ServerNetworkInterface

type ServerNetworkInterface struct {

	// The date and time that the network interface was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this network interface
	Crn string `json:"crn,omitempty"`

	// Array of references to floating ips associated with this network interface
	FloatingIps []*ResourceReference `json:"floating_ips"`

	// The URL for this network interface
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this network interface
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this network interface
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The network interface port speed in Mbps
	PortSpeed int64 `json:"port_speed,omitempty"`

	// The primary IPv4 address
	PrimaryIPV4Address string `json:"primary_ipv4_address,omitempty"`

	// Collection seconary IP addresses
	SecondaryAddresses []string `json:"secondary_addresses"`

	// Collection of security groups
	SecurityGroups []*ResourceReference `json:"security_groups"`

	// The status of the volume
	// Enum: [available failed pending]
	Status string `json:"status,omitempty"`

	// subnet
	Subnet *ResourceReference `json:"subnet,omitempty"`

	// The type of this network interface as it relates to a server
	// Enum: [primary secondary]
	Type string `json:"type,omitempty"`
}

ServerNetworkInterface NetworkInterface swagger:model server_network_interface

func (*ServerNetworkInterface) MarshalBinary

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

MarshalBinary interface implementation

func (*ServerNetworkInterface) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServerNetworkInterface) Validate

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

Validate validates this server network interface

type ServerVolumeAttachment

type ServerVolumeAttachment struct {

	// The date and time that the volume was attached
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this volume
	Crn string `json:"crn,omitempty"`

	// The URL for this volume interface
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this volume interface
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this volume interface
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *ResourceReferenceWithOutCrn `json:"resource_group,omitempty"`

	// status
	// Enum: [attaching attached detaching]
	Status string `json:"status,omitempty"`

	// volume
	Volume *ResourceReference `json:"volume,omitempty"`
}

ServerVolumeAttachment VolumeAttachment swagger:model server_volume_attachment

func (*ServerVolumeAttachment) MarshalBinary

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

MarshalBinary interface implementation

func (*ServerVolumeAttachment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServerVolumeAttachment) Validate

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

Validate validates this server volume attachment

type SessionPersistenceTemplate

type SessionPersistenceTemplate struct {

	// Session persistence cookie name. This is applicable only to app_cookie type.
	CookieName string `json:"cookie_name,omitempty"`

	// The session persistence type.
	// Enum: [source_ip http_cookie app_cookie]
	Type string `json:"type,omitempty"`
}

SessionPersistenceTemplate session persistence template swagger:model SessionPersistenceTemplate

func (*SessionPersistenceTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionPersistenceTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionPersistenceTemplate) Validate

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

Validate validates this session persistence template

type Share

type Share struct {

	// The date and time that the server was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this share
	Crn string `json:"crn,omitempty"`

	// The URL for this share
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this share
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this file profile.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// profile
	Profile *ResourceReference `json:"profile,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// Mount targets for the file share
	Targets []*ResourceReference `json:"targets"`

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

Share share swagger:model share

func (*Share) MarshalBinary

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

MarshalBinary interface implementation

func (*Share) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Share) Validate

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

Validate validates this share

type ShareProfile

type ShareProfile struct {

	// The CRN for this profile
	Crn string `json:"crn,omitempty"`

	// family
	Family string `json:"family,omitempty"`

	// The platform generation of the share profile
	// Enum: [gt gc]
	Generation *string `json:"generation,omitempty"`

	// The URL for this share profile
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The user-defined name for share profile.
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ShareProfile share profile swagger:model ShareProfile

func (*ShareProfile) MarshalBinary

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

MarshalBinary interface implementation

func (*ShareProfile) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShareProfile) Validate

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

Validate validates this share profile

type ShareTargetWithZoneTemplate

type ShareTargetWithZoneTemplate struct {

	// A single IPv4 or IPv6 address.
	Address string `json:"address,omitempty"`

	// The user-defined name for this file share mount target
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *ShareTargetWithZoneTemplateResourceGroup `json:"resource_group,omitempty"`

	// security groups
	SecurityGroups []*ShareTargetWithZoneTemplateSecurityGroupsItems0 `json:"security_groups"`

	// subnet
	Subnet *ShareTargetWithZoneTemplateSubnet `json:"subnet,omitempty"`

	// zone
	Zone *ShareTargetWithZoneTemplateZone `json:"zone,omitempty"`
}

ShareTargetWithZoneTemplate share target with zone template swagger:model ShareTargetWithZoneTemplate

func (*ShareTargetWithZoneTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ShareTargetWithZoneTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShareTargetWithZoneTemplate) Validate

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

Validate validates this share target with zone template

type ShareTargetWithZoneTemplateResourceGroup

type ShareTargetWithZoneTemplateResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

ShareTargetWithZoneTemplateResourceGroup ResourceGroupIdentity swagger:model ShareTargetWithZoneTemplateResourceGroup

func (*ShareTargetWithZoneTemplateResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateResourceGroup) Validate

Validate validates this share target with zone template resource group

type ShareTargetWithZoneTemplateSecurityGroupsItems0

type ShareTargetWithZoneTemplateSecurityGroupsItems0 struct {

	// The CRN for this snapshot
	Crn string `json:"crn,omitempty"`

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this resource
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ShareTargetWithZoneTemplateSecurityGroupsItems0 reference swagger:model ShareTargetWithZoneTemplateSecurityGroupsItems0

func (*ShareTargetWithZoneTemplateSecurityGroupsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateSecurityGroupsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateSecurityGroupsItems0) Validate

Validate validates this share target with zone template security groups items0

type ShareTargetWithZoneTemplateSubnet

type ShareTargetWithZoneTemplateSubnet struct {

	// The CRN for this snapshot
	Crn string `json:"crn,omitempty"`

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this resource
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ShareTargetWithZoneTemplateSubnet reference swagger:model ShareTargetWithZoneTemplateSubnet

func (*ShareTargetWithZoneTemplateSubnet) MarshalBinary

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

MarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateSubnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateSubnet) Validate

Validate validates this share target with zone template subnet

type ShareTargetWithZoneTemplateZone

type ShareTargetWithZoneTemplateZone struct {

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ShareTargetWithZoneTemplateZone ZoneIdentity

The zone to place the file share mount target in swagger:model ShareTargetWithZoneTemplateZone

func (*ShareTargetWithZoneTemplateZone) MarshalBinary

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

MarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShareTargetWithZoneTemplateZone) Validate

Validate validates this share target with zone template zone

type Sharetarget

type Sharetarget struct {

	// A single IPv4 or IPv6 address.
	Address string `json:"address,omitempty"`

	// The date and time that the mount target was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this file share mount target
	Crn string `json:"crn,omitempty"`

	// The URL for this file share mount target
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this file share mount target
	// Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
	ID string `json:"id,omitempty"`

	// The user-defined name for this file share mount target
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// Collection of security groups
	SecurityGroups []*ResourceReference `json:"security_groups"`

	// The status of the mount target
	// Enum: [pending available failed]
	Status string `json:"status,omitempty"`

	// subnet
	Subnet *SharetargetSubnet `json:"subnet,omitempty"`

	// zone
	Zone *SharetargetZone `json:"zone,omitempty"`
}

Sharetarget sharetarget swagger:model sharetarget

func (*Sharetarget) MarshalBinary

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

MarshalBinary interface implementation

func (*Sharetarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Sharetarget) Validate

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

Validate validates this sharetarget

type SharetargetSubnet

type SharetargetSubnet struct {

	// The CRN for this snapshot
	Crn string `json:"crn,omitempty"`

	// The URL for this file share mount target
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this resource
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

SharetargetSubnet reference swagger:model SharetargetSubnet

func (*SharetargetSubnet) MarshalBinary

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

MarshalBinary interface implementation

func (*SharetargetSubnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SharetargetSubnet) Validate

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

Validate validates this sharetarget subnet

type SharetargetZone

type SharetargetZone struct {

	// The URL for this zone
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The name for this zone
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name *string `json:"name"`
}

SharetargetZone ZoneReference

The zone where this public gateway lives swagger:model SharetargetZone

func (*SharetargetZone) MarshalBinary

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

MarshalBinary interface implementation

func (*SharetargetZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SharetargetZone) Validate

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

Validate validates this sharetarget zone

type Subnet

type Subnet struct {

	// The number of available IPv4 addresses in this subnet
	AvailableIPV4AddressCount int64 `json:"available_ipv4_address_count,omitempty"`

	// The date and time that the subnet was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this subnet
	Crn string `json:"crn,omitempty"`

	// The URL for this subnet
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this subnet
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The IP version(s) supported by this subnet
	// Enum: [ipv4 ipv6 both]
	IPVersion string `json:"ip_version,omitempty"`

	// The IPv4 range of the subnet, expressed in CIDR format
	IPV4CidrBlock string `json:"ipv4_cidr_block,omitempty"`

	// The IPv6 range of the subnet, expressed in CIDR format
	IPV6CidrBlock string `json:"ipv6_cidr_block,omitempty"`

	// The user-defined name for this subnet
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// network acl
	NetworkACL *ResourceReference `json:"network_acl,omitempty"`

	// public gateway
	PublicGateway *ResourceReference `json:"public_gateway,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The status of the subnet
	// Enum: [pending available deleting failed]
	Status string `json:"status,omitempty"`

	// The total number of IPv4 addresses in this subnet
	TotalIPV4AddressCount int64 `json:"total_ipv4_address_count,omitempty"`

	// vpc
	Vpc *ResourceReference `json:"vpc,omitempty"`

	// zone
	Zone *SubnetZone `json:"zone,omitempty"`
}

Subnet Subnet swagger:model subnet

func (*Subnet) MarshalBinary

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

MarshalBinary interface implementation

func (*Subnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Subnet) Validate

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

Validate validates this subnet

type SubnetIdentity

type SubnetIdentity struct {

	// The CRN for this snapshot
	Crn string `json:"crn,omitempty"`

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this resource
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

SubnetIdentity SubnetIdentity swagger:model SubnetIdentity

func (*SubnetIdentity) MarshalBinary

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

MarshalBinary interface implementation

func (*SubnetIdentity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubnetIdentity) Validate

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

Validate validates this subnet identity

type SubnetZone

type SubnetZone struct {

	// The URL for this zone
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

SubnetZone ZoneReference

The zone this subnet resides in swagger:model SubnetZone

func (*SubnetZone) MarshalBinary

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

MarshalBinary interface implementation

func (*SubnetZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubnetZone) Validate

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

Validate validates this subnet zone

type VPCCSESourceIP

type VPCCSESourceIP interface{}

VPCCSESourceIP VPCCSESourceIP swagger:model VPCCSESourceIP

type VPNGateway

type VPNGateway struct {

	// Collection of references to VPN connections
	Connections []*VPNGatewayConnectionReference `json:"connections"`

	// The date and time that this VPN gateway was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The VPN gateway's CRN
	Crn string `json:"crn,omitempty"`

	// The VPN gateway's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The VPN gateway's unique identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The name given to this VPN gateway
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// public ip
	PublicIP *VPNGatewayPublicIP `json:"public_ip,omitempty"`

	// resource group
	ResourceGroup *VPNGatewayResourceGroup `json:"resource_group,omitempty"`

	// The status of the VPN gateway
	// Enum: [available failed pending]
	Status string `json:"status,omitempty"`

	// subnet
	Subnet *VPNGatewaySubnet `json:"subnet,omitempty"`
}

VPNGateway v p n gateway swagger:model VPNGateway

func (*VPNGateway) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGateway) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGateway) Validate

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

Validate validates this v p n gateway

type VPNGatewayCollection

type VPNGatewayCollection struct {

	// first
	First *VPNGatewayCollectionFirst `json:"first,omitempty"`

	// The maximum number of resources can be returned by the request
	// Maximum: 100
	// Minimum: 1
	Limit int64 `json:"limit,omitempty"`

	// next
	Next *VPNGatewayCollectionNext `json:"next,omitempty"`

	// Collection of VPN gateways
	VpnGateways []*VPNGateway `json:"vpn_gateways"`
}

VPNGatewayCollection v p n gateway collection swagger:model VPNGatewayCollection

func (*VPNGatewayCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayCollection) Validate

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

Validate validates this v p n gateway collection

type VPNGatewayCollectionFirst

type VPNGatewayCollectionFirst struct {

	// The URL for the first page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

VPNGatewayCollectionFirst A reference to the first page of resources swagger:model VPNGatewayCollectionFirst

func (*VPNGatewayCollectionFirst) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayCollectionFirst) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayCollectionFirst) Validate

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

Validate validates this v p n gateway collection first

type VPNGatewayCollectionNext

type VPNGatewayCollectionNext struct {

	// The URL for the next page of resources
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`
}

VPNGatewayCollectionNext A reference to the next page of resources; this reference is included for all pages except the last page swagger:model VPNGatewayCollectionNext

func (*VPNGatewayCollectionNext) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayCollectionNext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayCollectionNext) Validate

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

Validate validates this v p n gateway collection next

type VPNGatewayConnection

type VPNGatewayConnection struct {

	// If set to false, the VPN connection is shut down
	AdminStateUp bool `json:"admin_state_up,omitempty"`

	// The authentication mode. Only `psk` is currently supported.
	// Enum: [psk]
	AuthenticationMode string `json:"authentication_mode,omitempty"`

	// The date and time that this VPN connection was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// dead peer detection
	DeadPeerDetection *VPNGatewayConnectionDPD `json:"dead_peer_detection,omitempty"`

	// The VPN connection's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier of a VPN connection
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// ike policy
	IkePolicy *IKEPolicyIdentity `json:"ike_policy,omitempty"`

	// ipsec policy
	IpsecPolicy *IpsecPolicyIdentity `json:"ipsec_policy,omitempty"`

	// A collection of local CIDRs for this resource
	LocalCidrs []string `json:"local_cidrs"`

	// The name given to this VPN connection
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The IP address of the peer VPN gateway
	PeerAddress string `json:"peer_address,omitempty"`

	// A collection of peer CIDRs for this resource
	PeerCidrs []string `json:"peer_cidrs"`

	// The preshared key
	Psk string `json:"psk,omitempty"`

	// The routing mode. Only `policy` is currently supported.
	// Enum: [policy]
	RouteMode string `json:"route_mode,omitempty"`

	// The status of a VPN connection
	// Enum: [up down]
	Status string `json:"status,omitempty"`
}

VPNGatewayConnection v p n gateway connection swagger:model VPNGatewayConnection

func (*VPNGatewayConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnection) Validate

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

Validate validates this v p n gateway connection

type VPNGatewayConnectionCollection

type VPNGatewayConnectionCollection struct {

	// Array of VPN connections
	// Required: true
	Connections []*VPNGatewayConnection `json:"connections"`
}

VPNGatewayConnectionCollection VPNGatewayConnectionCollection

Collection of VPN connections in a VPN gateway swagger:model VPNGatewayConnectionCollection

func (*VPNGatewayConnectionCollection) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionCollection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionCollection) Validate

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

Validate validates this v p n gateway connection collection

type VPNGatewayConnectionDPD

type VPNGatewayConnectionDPD struct {

	// Dead Peer Detection actions
	// Enum: [restart clear hold none]
	Action *string `json:"action,omitempty"`

	// Dead Peer Detection interval in seconds
	Interval *int64 `json:"interval,omitempty"`

	// Dead Peer Detection timeout in seconds
	Timeout *int64 `json:"timeout,omitempty"`
}

VPNGatewayConnectionDPD v p n gateway connection d p d swagger:model VPNGatewayConnectionDPD

func (*VPNGatewayConnectionDPD) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionDPD) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionDPD) Validate

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

Validate validates this v p n gateway connection d p d

type VPNGatewayConnectionLocalCIDRs

type VPNGatewayConnectionLocalCIDRs struct {

	// A collection of local CIDRs for this resource
	LocalCidrs []string `json:"local_cidrs"`
}

VPNGatewayConnectionLocalCIDRs v p n gateway connection local c ID rs swagger:model VPNGatewayConnectionLocalCIDRs

func (*VPNGatewayConnectionLocalCIDRs) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionLocalCIDRs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionLocalCIDRs) Validate

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

Validate validates this v p n gateway connection local c ID rs

type VPNGatewayConnectionPatch

type VPNGatewayConnectionPatch struct {

	// If set to false, the VPN connection is shut down
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// dead peer detection
	DeadPeerDetection *VPNGatewayConnectionDPD `json:"dead_peer_detection,omitempty"`

	// ike policy
	IkePolicy *IKEPolicyIdentity `json:"ike_policy,omitempty"`

	// ipsec policy
	IpsecPolicy *IpsecPolicyIdentity `json:"ipsec_policy,omitempty"`

	// The name given to this VPN connection
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The IP address of the peer VPN gateway
	PeerAddress string `json:"peer_address,omitempty"`

	// The preshared key
	Psk string `json:"psk,omitempty"`
}

VPNGatewayConnectionPatch v p n gateway connection patch swagger:model VPNGatewayConnectionPatch

func (*VPNGatewayConnectionPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionPatch) Validate

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

Validate validates this v p n gateway connection patch

type VPNGatewayConnectionPeerCIDRs

type VPNGatewayConnectionPeerCIDRs struct {

	// A collection of peer CIDRs for this resource
	PeerCidrs []string `json:"peer_cidrs"`
}

VPNGatewayConnectionPeerCIDRs v p n gateway connection peer c ID rs swagger:model VPNGatewayConnectionPeerCIDRs

func (*VPNGatewayConnectionPeerCIDRs) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionPeerCIDRs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionPeerCIDRs) Validate

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

Validate validates this v p n gateway connection peer c ID rs

type VPNGatewayConnectionReference

type VPNGatewayConnectionReference struct {

	// The VPN connection's canonical URL
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier of a VPN connection
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The name given to this VPN connection
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

VPNGatewayConnectionReference reference swagger:model VPNGatewayConnectionReference

func (*VPNGatewayConnectionReference) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionReference) Validate

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

Validate validates this v p n gateway connection reference

type VPNGatewayConnectionTemplate

type VPNGatewayConnectionTemplate struct {

	// If set to false, the VPN connection is shut down
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// dead peer detection
	DeadPeerDetection *VPNGatewayConnectionDPD `json:"dead_peer_detection,omitempty"`

	// ike policy
	IkePolicy *IKEPolicyIdentity `json:"ike_policy,omitempty"`

	// ipsec policy
	IpsecPolicy *IpsecPolicyIdentity `json:"ipsec_policy,omitempty"`

	// A collection of local CIDRs for this resource
	LocalCidrs []string `json:"local_cidrs,omitempty"`

	// The name given to this VPN connection
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The IP address of the peer VPN gateway
	PeerAddress string `json:"peer_address,omitempty"`

	// A collection of peer CIDRs for this resource
	PeerCidrs []string `json:"peer_cidrs,omitempty"`

	// The preshared key
	Psk string `json:"psk,omitempty"`
}

VPNGatewayConnectionTemplate v p n gateway connection template swagger:model VPNGatewayConnectionTemplate

func (*VPNGatewayConnectionTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayConnectionTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayConnectionTemplate) Validate

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

Validate validates this v p n gateway connection template

type VPNGatewayPatch

type VPNGatewayPatch struct {

	// The name given to this VPN gateway
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

VPNGatewayPatch v p n gateway patch swagger:model VPNGatewayPatch

func (*VPNGatewayPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayPatch) Validate

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

Validate validates this v p n gateway patch

type VPNGatewayPublicIP

type VPNGatewayPublicIP struct {

	// The IP address assigned to this VPN gateway
	Address string `json:"address,omitempty"`
}

VPNGatewayPublicIP v p n gateway public IP swagger:model VPNGatewayPublicIP

func (*VPNGatewayPublicIP) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayPublicIP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayPublicIP) Validate

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

Validate validates this v p n gateway public IP

type VPNGatewayResourceGroup

type VPNGatewayResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

VPNGatewayResourceGroup ResourceGroupIdentity swagger:model VPNGatewayResourceGroup

func (*VPNGatewayResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayResourceGroup) Validate

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

Validate validates this v p n gateway resource group

type VPNGatewaySubnet

type VPNGatewaySubnet struct {

	// The CRN for this subnet
	Crn string `json:"crn,omitempty"`

	// The unique identifier for this subnet
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this subnet
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

VPNGatewaySubnet SubnetReference swagger:model VPNGatewaySubnet

func (*VPNGatewaySubnet) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewaySubnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewaySubnet) Validate

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

Validate validates this v p n gateway subnet

type VPNGatewayTemplate

type VPNGatewayTemplate struct {

	// The name given to this VPN gateway
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *VPNGatewayTemplateResourceGroup `json:"resource_group,omitempty"`

	// subnet
	Subnet *VPNGatewayTemplateSubnet `json:"subnet,omitempty"`
}

VPNGatewayTemplate v p n gateway template swagger:model VPNGatewayTemplate

func (*VPNGatewayTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayTemplate) Validate

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

Validate validates this v p n gateway template

type VPNGatewayTemplateResourceGroup

type VPNGatewayTemplateResourceGroup struct {

	// The unique identifier for this resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

VPNGatewayTemplateResourceGroup ResourceGroupIdentity swagger:model VPNGatewayTemplateResourceGroup

func (*VPNGatewayTemplateResourceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayTemplateResourceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayTemplateResourceGroup) Validate

Validate validates this v p n gateway template resource group

type VPNGatewayTemplateSubnet

type VPNGatewayTemplateSubnet struct {

	// The CRN for this subnet
	Crn string `json:"crn,omitempty"`

	// The unique identifier for this subnet
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this subnet
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

VPNGatewayTemplateSubnet SubnetReference swagger:model VPNGatewayTemplateSubnet

func (*VPNGatewayTemplateSubnet) MarshalBinary

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

MarshalBinary interface implementation

func (*VPNGatewayTemplateSubnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VPNGatewayTemplateSubnet) Validate

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

Validate validates this v p n gateway template subnet

type Volume

type Volume struct {

	// If set to true, this volume will be automatically deleted if the only server it is attached to is deleted
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The capacity of the volume in gigabytes
	// Maximum: 64000
	// Minimum: 10
	Capacity int64 `json:"capacity,omitempty"`

	// The date and time that the volume was created
	CreatedAt string `json:"created_at,omitempty"`

	// The CRN for this volume
	Crn string `json:"crn,omitempty"`

	// This field defines the type of encryption used on the volume.
	// Enum: [provider_managed user_managed]
	Encryption string `json:"encryption,omitempty"`

	// encryption key
	EncryptionKey *VolumeEncryptionKey `json:"encryption_key,omitempty"`

	// The URL for this volume
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this volume
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The bandwidth for the volume
	// Enum: [1000 10000 100000]
	Iops int64 `json:"iops,omitempty"`

	// The user-defined name for this volume
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// profile
	Profile *ResourceReference `json:"profile,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The status of the volume
	// Enum: [pending available pending_deletion failed]
	Status string `json:"status,omitempty"`

	// volume attachments
	VolumeAttachments []*VolumeVolumeAttachmentsItems0 `json:"volume_attachments"`

	// zone
	Zone *VolumeZone `json:"zone,omitempty"`
}

Volume Volume swagger:model volume

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 VolumeAttachmentReference

type VolumeAttachmentReference struct {
	ResourceReference

	// volume
	Volume *ResourceReference `json:"volume,omitempty"`
}

VolumeAttachmentReference VolumeAttachmentVolumeReference swagger:model volume_attachment_reference

func (*VolumeAttachmentReference) MarshalBinary

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

MarshalBinary interface implementation

func (VolumeAttachmentReference) MarshalJSON

func (m VolumeAttachmentReference) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VolumeAttachmentReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeAttachmentReference) UnmarshalJSON

func (m *VolumeAttachmentReference) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VolumeAttachmentReference) Validate

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

Validate validates this volume attachment reference

type VolumeEncryptionKey

type VolumeEncryptionKey struct {

	// The CRN for this key
	Crn string `json:"crn,omitempty"`
}

VolumeEncryptionKey VolumeEncryptionKey swagger:model VolumeEncryptionKey

func (*VolumeEncryptionKey) MarshalBinary

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

MarshalBinary interface implementation

func (*VolumeEncryptionKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeEncryptionKey) Validate

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

Validate validates this volume encryption key

type VolumeProfile

type VolumeProfile struct {

	// The CRN for this volume profile
	Crn string `json:"crn,omitempty"`

	// family
	Family string `json:"family,omitempty"`

	// The URL for this volume profile
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this volume profile
	// Pattern: ^[A-Za-z].*[-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

VolumeProfile volume profile swagger:model volume_profile

func (*VolumeProfile) MarshalBinary

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

MarshalBinary interface implementation

func (*VolumeProfile) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeProfile) Validate

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

Validate validates this volume profile

type VolumeSnapshot

type VolumeSnapshot struct {

	// The date and time that the snapshot was created
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// The CRN for this snapshot
	Crn string `json:"crn,omitempty"`

	// The URL for this snapshot
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The unique identifier for this snapshot
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// The user-defined name for this snapshot
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name *string `json:"name"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// The status of the snapshot
	// Required: true
	// Enum: [pending complete]
	Status *string `json:"status"`
}

VolumeSnapshot Snapshot swagger:model volume_snapshot

func (*VolumeSnapshot) MarshalBinary

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

MarshalBinary interface implementation

func (*VolumeSnapshot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeSnapshot) Validate

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

Validate validates this volume snapshot

type VolumeVolumeAttachmentsItems0

type VolumeVolumeAttachmentsItems0 struct {

	// If set to true, when deleting the instance the volume will also be deleted
	DeleteVolumeOnInstanceDelete bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The URL for this volume attachment
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this volume attachment
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// instance
	Instance *VolumeVolumeAttachmentsItems0Instance `json:"instance,omitempty"`

	// The user-defined name for this volume attachment
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// The type of volume attachment
	// Enum: [boot data]
	Type string `json:"type,omitempty"`
}

VolumeVolumeAttachmentsItems0 volume volume attachments items0 swagger:model VolumeVolumeAttachmentsItems0

func (*VolumeVolumeAttachmentsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*VolumeVolumeAttachmentsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeVolumeAttachmentsItems0) Validate

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

Validate validates this volume volume attachments items0

type VolumeVolumeAttachmentsItems0Instance

type VolumeVolumeAttachmentsItems0Instance struct {

	// The URL for this vvirtual server instance
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this virtual server instance
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this virtual server instance
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

VolumeVolumeAttachmentsItems0Instance volume volume attachments items0 instance swagger:model VolumeVolumeAttachmentsItems0Instance

func (*VolumeVolumeAttachmentsItems0Instance) MarshalBinary

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

MarshalBinary interface implementation

func (*VolumeVolumeAttachmentsItems0Instance) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeVolumeAttachmentsItems0Instance) Validate

Validate validates this volume volume attachments items0 instance

type VolumeZone

type VolumeZone struct {

	// The URL for this zone
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The name for this zone
	// Required: true
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name *string `json:"name"`
}

VolumeZone ZoneReference swagger:model VolumeZone

func (*VolumeZone) MarshalBinary

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

MarshalBinary interface implementation

func (*VolumeZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VolumeZone) Validate

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

Validate validates this volume zone

type Vpc

type Vpc struct {

	// Indicates whether this VPC is connected to Classic Infrastructure. If true, this VPC's
	// resources have private network connectivity to the account's Classice Infrastructure
	// resources. Only one VPC on an account may be connected in this way. This value is set at
	// creation and subsequently immutable.
	//
	ClassicAccess bool `json:"classic_access,omitempty"`

	// The date and time that the VPC was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The CRN for this VPC
	Crn string `json:"crn,omitempty"`

	// Array of CSE ([Cloud Service Endpoint](https://cloud.ibm.com/docs/resources?topic=resources-service-endpoints)) source IP addresses for the VPC. The VPC will have one CSE source IP address per zone.
	CseSourceIps []VPCCSESourceIP `json:"cse_source_ips"`

	// default network acl
	DefaultNetworkACL *ResourceReference `json:"default_network_acl,omitempty"`

	// default security group
	DefaultSecurityGroup *ResourceReference `json:"default_security_group,omitempty"`

	// The URL for this VPC
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The unique identifier for this VPC
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The user-defined name for this VPC
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// resource group
	ResourceGroup *ResourceReference `json:"resource_group,omitempty"`

	// status
	// Enum: [available pending deleting failed]
	Status string `json:"status,omitempty"`
}

Vpc VPC swagger:model vpc

func (*Vpc) MarshalBinary

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

MarshalBinary interface implementation

func (*Vpc) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Vpc) Validate

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

Validate validates this vpc

type Zone

type Zone struct {

	// The URL for this zone
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this zone
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`

	// region
	Region *ZoneRegion `json:"region,omitempty"`

	// status
	// Enum: [available unavailable impaired]
	Status string `json:"status,omitempty"`
}

Zone Zone swagger:model zone

func (*Zone) MarshalBinary

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

MarshalBinary interface implementation

func (*Zone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Zone) Validate

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

Validate validates this zone

type ZoneIdentityByName

type ZoneIdentityByName struct {

	// The name for this zone
	// Required: true
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name *string `json:"name"`
}

ZoneIdentityByName ZoneIdentityByName swagger:model ZoneIdentityByName

func (*ZoneIdentityByName) MarshalBinary

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

MarshalBinary interface implementation

func (*ZoneIdentityByName) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ZoneIdentityByName) Validate

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

Validate validates this zone identity by name

type ZoneReference

type ZoneReference struct {

	// The URL for this zone
	// Required: true
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href *string `json:"href"`

	// The name for this zone
	// Required: true
	// Max Length: 63
	// Min Length: 1
	// Pattern: ^([a-z]|[a-z][-a-z0-9]*[a-z0-9])$
	Name *string `json:"name"`
}

ZoneReference ZoneReference swagger:model ZoneReference

func (*ZoneReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ZoneReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ZoneReference) Validate

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

Validate validates this zone reference

type ZoneRegion

type ZoneRegion struct {

	// The URL for this region
	// Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$
	Href string `json:"href,omitempty"`

	// The name for this region
	// Pattern: ^[A-Za-z][-A-Za-z0-9_]*$
	Name string `json:"name,omitempty"`
}

ZoneRegion RegionReference

The region this zone belongs to swagger:model ZoneRegion

func (*ZoneRegion) MarshalBinary

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

MarshalBinary interface implementation

func (*ZoneRegion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ZoneRegion) Validate

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

Validate validates this zone region

Source Files

Jump to

Keyboard shortcuts

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