Documentation ¶
Index ¶
- Constants
- type AddressPool
- type AddressPoolPrefix
- type AddressPoolPrefixZone
- type AddressPrefix
- type AddressPrefixZone
- type CIDR
- type CIDRBlockIdentity
- type DefaultSecurityGroup
- type DummyEmptyTemplate
- type Error
- type ErrorContainer
- type ErrorTarget
- type FloatingIP
- type FloatingIPTarget
- type FloatingIPZone
- type Generation
- type HealthMonitorTemplate
- type IKEPolicy
- type IKEPolicyCollection
- type IKEPolicyCollectionFirst
- type IKEPolicyCollectionNext
- type IKEPolicyIdentity
- type IKEPolicyPatch
- type IKEPolicyResourceGroup
- type IKEPolicyTemplate
- type IKEPolicyTemplateResourceGroup
- type IP
- type Image
- type ImageFile
- type ImageFileTemplate
- type ImageOperatingSystem
- type ImagePatch
- type ImageTemplate
- type Instance
- type InstanceAction
- type InstanceGpu
- type InstanceInitialization
- type InstanceInitializationKeysItems0
- type InstanceInitializationPassword
- type InstanceInitializationPasswordEncryptionKey
- type InstanceNetworkInterface
- type InstanceProfile
- type InstanceVcpu
- type InstanceVolumeAttachment
- type InstanceZone
- type IpsecPolicy
- type IpsecPolicyCollection
- type IpsecPolicyCollectionFirst
- type IpsecPolicyCollectionNext
- type IpsecPolicyIdentity
- type IpsecPolicyPatch
- type IpsecPolicyResourceGroup
- type IpsecPolicyTemplate
- type IpsecPolicyTemplateResourceGroup
- type Key
- type LifecycleState
- type Listener
- type ListenerCertificateInstance
- type ListenerCollection
- type ListenerPolicy
- type ListenerPolicyCollection
- type ListenerPolicyReference
- type ListenerPolicyRule
- type ListenerPolicyRuleCollection
- type ListenerPolicyRuleReference
- type ListenerPolicyRuleTemplate
- type ListenerPolicyRuleTemplatePatch
- type ListenerPolicyTargetReference
- type ListenerPolicyTemplate
- type ListenerPolicyTemplatePatch
- type ListenerPolicyTemplatePatchTarget
- type ListenerPolicyTemplateTarget
- type ListenerReference
- type ListenerTemplate
- type ListenerTemplateCertificateInstance
- type ListenerTemplateDefaultPool
- type ListenerTemplatePatch
- type ListenerTemplatePatchCertificateInstance
- type ListenerTemplatePatchDefaultPool
- type ListenerTemplateWithPoolByName
- type ListenerTemplateWithPoolByNameCertificateInstance
- type ListenerTemplateWithPoolByNameDefaultPool
- type LoadBalancer
- type LoadBalancerCollection
- type LoadBalancerCollectionFirst
- type LoadBalancerCollectionNext
- type LoadBalancerIP
- type LoadBalancerStatistics
- type LoadBalancerSubnetsItems0
- type LoadBalancerTemplate
- type LoadBalancerTemplatePatch
- type LoadBalancerTemplateResourceGroup
- type LoadBalancerWithAddresses
- type Member
- type MemberCollection
- type MemberCollectionFirst
- type MemberCollectionNext
- type MemberCollectionTemplate
- type MemberReference
- type MemberTarget
- type MemberTemplate
- type MemberTemplateCommon
- type MemberTemplateCommonTarget
- type MemberTemplatePatch
- func (m *MemberTemplatePatch) MarshalBinary() ([]byte, error)
- func (m MemberTemplatePatch) MarshalJSON() ([]byte, error)
- func (m *MemberTemplatePatch) UnmarshalBinary(b []byte) error
- func (m *MemberTemplatePatch) UnmarshalJSON(raw []byte) error
- func (m *MemberTemplatePatch) Validate(formats strfmt.Registry) error
- type MemberTemplateTarget
- type NameReference
- type NetworkACL
- type NetworkACLRule
- type NetworkInterfaceReference
- func (m *NetworkInterfaceReference) MarshalBinary() ([]byte, error)
- func (m NetworkInterfaceReference) MarshalJSON() ([]byte, error)
- func (m *NetworkInterfaceReference) UnmarshalBinary(b []byte) error
- func (m *NetworkInterfaceReference) UnmarshalJSON(raw []byte) error
- func (m *NetworkInterfaceReference) Validate(formats strfmt.Registry) error
- type Next
- type OperatingSystem
- type OperatingSystemCollection
- type OperatingSystemCollectionFirst
- type OperatingSystemCollectionNext
- type OperatingSystemIdentity
- type Pool
- type PoolCollection
- type PoolReference
- type PoolTemplate
- type PoolTemplatePatch
- type PublicGateway
- type PublicGatewayFloatingIP
- type PublicGatewayZone
- type Region
- type RegionReference
- type ResourceReference
- type ResourceReferenceWithOutCrn
- type Riaaserror
- type RiaaserrorErrorsItems0
- type RiaaserrorErrorsItems0Target
- type Route
- type RouteCollection
- type RouteNextHopIP
- type RoutePatch
- type RouteTemplate
- type SecurityGroup
- type SecurityGroupNetworkInterfacesItems0
- type SecurityGroupRule
- type SecurityGroupRuleRemote
- type ServerNetworkInterface
- type ServerVolumeAttachment
- type SessionPersistenceTemplate
- type Share
- type ShareProfile
- type ShareTargetWithZoneTemplate
- type ShareTargetWithZoneTemplateResourceGroup
- type ShareTargetWithZoneTemplateSecurityGroupsItems0
- type ShareTargetWithZoneTemplateSubnet
- type ShareTargetWithZoneTemplateZone
- type Sharetarget
- type SharetargetSubnet
- type SharetargetZone
- type Subnet
- type SubnetIdentity
- type SubnetZone
- type VPCCSESourceIP
- type VPNGateway
- type VPNGatewayCollection
- type VPNGatewayCollectionFirst
- type VPNGatewayCollectionNext
- type VPNGatewayConnection
- type VPNGatewayConnectionCollection
- type VPNGatewayConnectionDPD
- type VPNGatewayConnectionLocalCIDRs
- type VPNGatewayConnectionPatch
- type VPNGatewayConnectionPeerCIDRs
- type VPNGatewayConnectionReference
- type VPNGatewayConnectionTemplate
- type VPNGatewayPatch
- type VPNGatewayPublicIP
- type VPNGatewayResourceGroup
- type VPNGatewaySubnet
- type VPNGatewayTemplate
- type VPNGatewayTemplateResourceGroup
- type VPNGatewayTemplateSubnet
- type Volume
- type VolumeAttachmentReference
- func (m *VolumeAttachmentReference) MarshalBinary() ([]byte, error)
- func (m VolumeAttachmentReference) MarshalJSON() ([]byte, error)
- func (m *VolumeAttachmentReference) UnmarshalBinary(b []byte) error
- func (m *VolumeAttachmentReference) UnmarshalJSON(raw []byte) error
- func (m *VolumeAttachmentReference) Validate(formats strfmt.Registry) error
- type VolumeEncryptionKey
- type VolumeProfile
- type VolumeSnapshot
- type VolumeVolumeAttachmentsItems0
- type VolumeVolumeAttachmentsItems0Instance
- type VolumeZone
- type Vpc
- type Zone
- type ZoneIdentityByName
- type ZoneReference
- type ZoneRegion
Constants ¶
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" )
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" )
const ( // HealthMonitorTemplateTypeHTTP captures enum value "http" HealthMonitorTemplateTypeHTTP string = "http" // HealthMonitorTemplateTypeTCP captures enum value "tcp" HealthMonitorTemplateTypeTCP string = "tcp" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // ImageArchitectureAmd64 captures enum value "amd64" ImageArchitectureAmd64 string = "amd64" // ImageArchitecturePowerpc captures enum value "powerpc" ImageArchitecturePowerpc string = "powerpc" )
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" )
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" )
const ( // ImageVisibilityPublic captures enum value "public" ImageVisibilityPublic string = "public" // ImageVisibilityPrivate captures enum value "private" ImageVisibilityPrivate string = "private" )
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" )
const ( // InstanceGpuModelK40 captures enum value "k40" InstanceGpuModelK40 string = "k40" // InstanceGpuModelK80 captures enum value "k80" InstanceGpuModelK80 string = "k80" )
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" )
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" )
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" )
const ( // InstanceNetworkInterfaceTypePrimary captures enum value "primary" InstanceNetworkInterfaceTypePrimary string = "primary" // InstanceNetworkInterfaceTypeSecondary captures enum value "secondary" InstanceNetworkInterfaceTypeSecondary string = "secondary" )
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" )
const ( // InstanceVolumeAttachmentTypeBoot captures enum value "boot" InstanceVolumeAttachmentTypeBoot string = "boot" // InstanceVolumeAttachmentTypeData captures enum value "data" InstanceVolumeAttachmentTypeData string = "data" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // LoadBalancerOperatingStatusOnline captures enum value "online" LoadBalancerOperatingStatusOnline string = "online" // LoadBalancerOperatingStatusOffline captures enum value "offline" LoadBalancerOperatingStatusOffline string = "offline" )
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" )
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" )
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" )
const ( // NetworkACLRuleActionAllow captures enum value "allow" NetworkACLRuleActionAllow string = "allow" // NetworkACLRuleActionDeny captures enum value "deny" NetworkACLRuleActionDeny string = "deny" )
const ( // NetworkACLRuleDirectionIngress captures enum value "ingress" NetworkACLRuleDirectionIngress string = "ingress" // NetworkACLRuleDirectionEgress captures enum value "egress" NetworkACLRuleDirectionEgress string = "egress" )
const ( // NetworkACLRuleIPVersionIPV4 captures enum value "ipv4" NetworkACLRuleIPVersionIPV4 string = "ipv4" // NetworkACLRuleIPVersionIPV6 captures enum value "ipv6" NetworkACLRuleIPVersionIPV6 string = "ipv6" )
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" )
const ( // PoolProtocolHTTP captures enum value "http" PoolProtocolHTTP string = "http" // PoolProtocolTCP captures enum value "tcp" PoolProtocolTCP string = "tcp" )
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" )
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" )
const ( // PoolTemplateProtocolHTTP captures enum value "http" PoolTemplateProtocolHTTP string = "http" // PoolTemplateProtocolTCP captures enum value "tcp" PoolTemplateProtocolTCP string = "tcp" )
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" )
const ( // PoolTemplatePatchProtocolHTTP captures enum value "http" PoolTemplatePatchProtocolHTTP string = "http" // PoolTemplatePatchProtocolTCP captures enum value "tcp" PoolTemplatePatchProtocolTCP string = "tcp" )
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" )
const ( // RegionStatusAvailable captures enum value "available" RegionStatusAvailable string = "available" RegionStatusUnavailable string = "unavailable" )
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" )
const ( // SecurityGroupRuleDirectionIngress captures enum value "ingress" SecurityGroupRuleDirectionIngress string = "ingress" // SecurityGroupRuleDirectionEgress captures enum value "egress" SecurityGroupRuleDirectionEgress string = "egress" )
const ( // SecurityGroupRuleIPVersionIPV4 captures enum value "ipv4" SecurityGroupRuleIPVersionIPV4 string = "ipv4" // SecurityGroupRuleIPVersionIPV6 captures enum value "ipv6" SecurityGroupRuleIPVersionIPV6 string = "ipv6" )
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" )
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" )
const ( // ServerNetworkInterfaceTypePrimary captures enum value "primary" ServerNetworkInterfaceTypePrimary string = "primary" // ServerNetworkInterfaceTypeSecondary captures enum value "secondary" ServerNetworkInterfaceTypeSecondary string = "secondary" )
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" )
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" )
const ( string = "gt" ShareProfileGenerationGc string = "gc" )ShareProfileGenerationGt
const ( string = "pending" SharetargetStatusAvailable string = "available" SharetargetStatusFailed string = "failed" )SharetargetStatusPending
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" )
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" )
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" )
const ( // VPNGatewayConnectionStatusUp captures enum value "up" VPNGatewayConnectionStatusUp string = "up" // VPNGatewayConnectionStatusDown captures enum value "down" VPNGatewayConnectionStatusDown string = "down" )
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" )
const ( // VolumeEncryptionProviderManaged captures enum value "provider_managed" VolumeEncryptionProviderManaged string = "provider_managed" // VolumeEncryptionUserManaged captures enum value "user_managed" VolumeEncryptionUserManaged string = "user_managed" )
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" )
const ( // VolumeVolumeAttachmentsItems0TypeBoot captures enum value "boot" VolumeVolumeAttachmentsItems0TypeBoot string = "boot" // VolumeVolumeAttachmentsItems0TypeData captures enum value "data" VolumeVolumeAttachmentsItems0TypeData string = "data" )
const ( // VolumeSnapshotStatusPending captures enum value "pending" VolumeSnapshotStatusPending string = "pending" // VolumeSnapshotStatusComplete captures enum value "complete" VolumeSnapshotStatusComplete string = "complete" )
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" )
const ( // ZoneStatusAvailable captures enum value "available" ZoneStatusAvailable string = "available" ZoneStatusUnavailable string = "unavailable" // ZoneStatusImpaired captures enum value "impaired" ZoneStatusImpaired string = "impaired" )
const ( // IKEPolicyNegotiationModeMain captures enum value "main" IKEPolicyNegotiationModeMain string = "main" )
const ( // InstanceGpuManufacturerNvidia captures enum value "nvidia" InstanceGpuManufacturerNvidia string = "nvidia" )
const ( // IpsecPolicyEncapsulationModeTunnel captures enum value "tunnel" IpsecPolicyEncapsulationModeTunnel string = "tunnel" )
const ( // IpsecPolicyTransformProtocolEsp captures enum value "esp" IpsecPolicyTransformProtocolEsp string = "esp" )
const ( // KeyTypeRsa captures enum value "rsa" KeyTypeRsa string = "rsa" )
const ( // VPNGatewayConnectionAuthenticationModePsk captures enum value "psk" VPNGatewayConnectionAuthenticationModePsk string = "psk" )
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
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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" )
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
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 ¶
MarshalBinary interface implementation
func (*IKEPolicy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*IP) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*ImageFile) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Instance) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Key) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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" )
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 ¶
MarshalBinary interface implementation
func (*Listener) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ¶
func (m *ListenerTemplateWithPoolByNameCertificateInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListenerTemplateWithPoolByNameCertificateInstance) UnmarshalBinary ¶
func (m *ListenerTemplateWithPoolByNameCertificateInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Member) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Next) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Pool) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Region) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Route) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
type Share ¶
type Share struct { // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` Crn string `json:"crn,omitempty"` // Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$ Href string `json:"href,omitempty"` // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` Profile *ResourceReference `json:"profile,omitempty"` ResourceGroup *ResourceReference `json:"resource_group,omitempty"` Targets []*ResourceReference `json:"targets"` Vpc *ResourceReference `json:"vpc,omitempty"` }
Share share swagger:model share
func (*Share) MarshalBinary ¶
MarshalBinary interface implementation
func (*Share) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ShareProfile ¶
type ShareProfile struct { string `json:"crn,omitempty"` Family string `json:"family,omitempty"` // Enum: [gt gc] Generation *string `json:"generation,omitempty"` // Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$ Href string `json:"href,omitempty"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` }Crn
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
type ShareTargetWithZoneTemplate ¶
type ShareTargetWithZoneTemplate struct { string `json:"address,omitempty"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` ResourceGroup *ShareTargetWithZoneTemplateResourceGroup `json:"resource_group,omitempty"` SecurityGroups []*ShareTargetWithZoneTemplateSecurityGroupsItems0 `json:"security_groups"` Subnet *ShareTargetWithZoneTemplateSubnet `json:"subnet,omitempty"` Zone *ShareTargetWithZoneTemplateZone `json:"zone,omitempty"` }Address
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
type ShareTargetWithZoneTemplateResourceGroup ¶
type ShareTargetWithZoneTemplateResourceGroup struct { // 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
type ShareTargetWithZoneTemplateSecurityGroupsItems0 ¶
type ShareTargetWithZoneTemplateSecurityGroupsItems0 struct { string `json:"crn,omitempty"` // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` }Crn
ShareTargetWithZoneTemplateSecurityGroupsItems0 reference swagger:model ShareTargetWithZoneTemplateSecurityGroupsItems0
func (*ShareTargetWithZoneTemplateSecurityGroupsItems0) MarshalBinary ¶
func (m *ShareTargetWithZoneTemplateSecurityGroupsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareTargetWithZoneTemplateSecurityGroupsItems0) UnmarshalBinary ¶
func (m *ShareTargetWithZoneTemplateSecurityGroupsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShareTargetWithZoneTemplateSubnet ¶
type ShareTargetWithZoneTemplateSubnet struct { string `json:"crn,omitempty"` // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` }Crn
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
type ShareTargetWithZoneTemplateZone ¶
type ShareTargetWithZoneTemplateZone struct { // 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
type Sharetarget ¶
type Sharetarget struct { string `json:"address,omitempty"` // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` Crn string `json:"crn,omitempty"` // Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$ Href string `json:"href,omitempty"` // 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"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` ResourceGroup *ResourceReference `json:"resource_group,omitempty"` SecurityGroups []*ResourceReference `json:"security_groups"` // Enum: [pending available failed] Status string `json:"status,omitempty"` Subnet *SharetargetSubnet `json:"subnet,omitempty"` Zone *SharetargetZone `json:"zone,omitempty"` }Address
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
type SharetargetSubnet ¶
type SharetargetSubnet struct { string `json:"crn,omitempty"` // Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$ Href string `json:"href,omitempty"` // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Pattern: ^[A-Za-z][-A-Za-z0-9_]*$ Name string `json:"name,omitempty"` }Crn
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
type SharetargetZone ¶
type SharetargetZone struct { // Required: true // Pattern: ^http(s)?:\/\/([^\/?#]*)([^?#]*)(\?([^#]*))?(#(.*))?$ Href *string `json:"href"` // 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
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 ¶
MarshalBinary interface implementation
func (*Subnet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Volume) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Vpc) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Zone) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
Source Files ¶
- address_pool.go
- address_pool_prefix.go
- address_prefix.go
- c_id_r.go
- c_id_r_block_identity.go
- default_security_group.go
- dummy_empty_template.go
- error.go
- error_container.go
- error_target.go
- floating_ip.go
- generation.go
- health_monitor_template.go
- i_k_e_policy.go
- i_k_e_policy_collection.go
- i_k_e_policy_identity.go
- i_k_e_policy_patch.go
- i_k_e_policy_template.go
- image.go
- image_file_template.go
- image_patch.go
- image_template.go
- instance.go
- instance_action.go
- instance_initialization.go
- instance_network_interface.go
- instance_profile.go
- instance_volume_attachment.go
- ip.go
- ipsec_policy.go
- ipsec_policy_collection.go
- ipsec_policy_identity.go
- ipsec_policy_patch.go
- ipsec_policy_template.go
- key.go
- lifecycle_state.go
- listener.go
- listener_collection.go
- listener_policy.go
- listener_policy_collection.go
- listener_policy_reference.go
- listener_policy_rule.go
- listener_policy_rule_collection.go
- listener_policy_rule_reference.go
- listener_policy_rule_template.go
- listener_policy_rule_template_patch.go
- listener_policy_target_reference.go
- listener_policy_template.go
- listener_policy_template_patch.go
- listener_reference.go
- listener_template.go
- listener_template_patch.go
- listener_template_with_pool_by_name.go
- load_balancer.go
- load_balancer_collection.go
- load_balancer_ip.go
- load_balancer_statistics.go
- load_balancer_template.go
- load_balancer_template_patch.go
- load_balancer_with_addresses.go
- member.go
- member_collection.go
- member_collection_template.go
- member_reference.go
- member_template.go
- member_template_common.go
- member_template_patch.go
- name_reference.go
- network_acl.go
- network_acl_rule.go
- network_interface_reference.go
- next.go
- operating_system.go
- operating_system_collection.go
- operating_system_identity.go
- pool.go
- pool_collection.go
- pool_reference.go
- pool_template.go
- pool_template_patch.go
- public_gateway.go
- region.go
- region_reference.go
- resource_reference.go
- resource_reference_with_out_crn.go
- riaaserror.go
- route.go
- route_collection.go
- route_next_hop_ip.go
- route_patch.go
- route_template.go
- security_group.go
- security_group_rule.go
- server_network_interface.go
- server_volume_attachment.go
- session_persistence_template.go
- share.go
- share_profile.go
- share_target_with_zone_template.go
- sharetarget.go
- subnet.go
- subnet_identity.go
- v_p_c_c_s_e_source_ip.go
- v_p_n_gateway.go
- v_p_n_gateway_collection.go
- v_p_n_gateway_connection.go
- v_p_n_gateway_connection_collection.go
- v_p_n_gateway_connection_d_p_d.go
- v_p_n_gateway_connection_local_c_id_rs.go
- v_p_n_gateway_connection_patch.go
- v_p_n_gateway_connection_peer_c_id_rs.go
- v_p_n_gateway_connection_reference.go
- v_p_n_gateway_connection_template.go
- v_p_n_gateway_patch.go
- v_p_n_gateway_template.go
- volume.go
- volume_attachment_reference.go
- volume_profile.go
- volume_snapshot.go
- vpc.go
- zone.go
- zone_identity_by_name.go
- zone_reference.go