vpcv1

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 54

Documentation

Overview

Package vpcv1 : Operations and models for the VpcV1 service

Index

Constants

View Source
const (
	BackupPolicyHealthStateDegradedConst     = "degraded"
	BackupPolicyHealthStateFaultedConst      = "faulted"
	BackupPolicyHealthStateInapplicableConst = "inapplicable"
	BackupPolicyHealthStateOkConst           = "ok"
)

Constants associated with the BackupPolicy.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	BackupPolicyLifecycleStateDeletingConst  = "deleting"
	BackupPolicyLifecycleStateFailedConst    = "failed"
	BackupPolicyLifecycleStatePendingConst   = "pending"
	BackupPolicyLifecycleStateStableConst    = "stable"
	BackupPolicyLifecycleStateSuspendedConst = "suspended"
	BackupPolicyLifecycleStateUpdatingConst  = "updating"
	BackupPolicyLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BackupPolicy.LifecycleState property. The lifecycle state of the backup policy.

View Source
const (
	BackupPolicyMatchResourceTypeInstanceConst = "instance"
	BackupPolicyMatchResourceTypeVolumeConst   = "volume"
)

Constants associated with the BackupPolicy.MatchResourceType property. The resource type this backup policy applies to. Resources that have both a matching type and a matching user tag will be subject to the backup policy.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BackupPolicyIncludedContentBootVolumeConst  = "boot_volume"
	BackupPolicyIncludedContentDataVolumesConst = "data_volumes"
)

Constants associated with the BackupPolicy.IncludedContent property. An item to include.

View Source
const (
	BackupPolicyJobJobTypeCreationConst = "creation"
	BackupPolicyJobJobTypeDeletionConst = "deletion"
)

Constants associated with the BackupPolicyJob.JobType property. The type of backup policy job.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BackupPolicyJobStatusFailedConst    = "failed"
	BackupPolicyJobStatusRunningConst   = "running"
	BackupPolicyJobStatusSucceededConst = "succeeded"
)

Constants associated with the BackupPolicyJob.Status property. The status of the backup policy job.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BackupPolicyJobStatusReasonCodeInternalErrorConst       = "internal_error"
	BackupPolicyJobStatusReasonCodeSnapshotPendingConst     = "snapshot_pending"
	BackupPolicyJobStatusReasonCodeSnapshotVolumeLimitConst = "snapshot_volume_limit"
	BackupPolicyJobStatusReasonCodeSourceVolumeBusyConst    = "source_volume_busy"
)

Constants associated with the BackupPolicyJobStatusReason.Code property. A reason code for the status: - `internal_error`: Internal error (contact IBM support) - `snapshot_pending`: Cannot delete backup (snapshot) in the `pending` lifecycle state - `snapshot_volume_limit`: The snapshot limit for the source volume has been reached - `source_volume_busy`: The source volume has `busy` set (after multiple retries)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BackupPolicyPatchIncludedContentBootVolumeConst  = "boot_volume"
	BackupPolicyPatchIncludedContentDataVolumesConst = "data_volumes"
)

Constants associated with the BackupPolicyPatch.IncludedContent property. An item to include.

View Source
const (
	BackupPolicyPlanLifecycleStateDeletingConst  = "deleting"
	BackupPolicyPlanLifecycleStateFailedConst    = "failed"
	BackupPolicyPlanLifecycleStatePendingConst   = "pending"
	BackupPolicyPlanLifecycleStateStableConst    = "stable"
	BackupPolicyPlanLifecycleStateSuspendedConst = "suspended"
	BackupPolicyPlanLifecycleStateUpdatingConst  = "updating"
	BackupPolicyPlanLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BackupPolicyPlan.LifecycleState property. The lifecycle state of this backup policy plan.

View Source
const (
	BackupPolicyPrototypeMatchResourceTypeInstanceConst = "instance"
	BackupPolicyPrototypeMatchResourceTypeVolumeConst   = "volume"
)

Constants associated with the BackupPolicyPrototype.MatchResourceType property. The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy.

View Source
const (
	BackupPolicyPrototypeIncludedContentBootVolumeConst  = "boot_volume"
	BackupPolicyPrototypeIncludedContentDataVolumesConst = "data_volumes"
)

Constants associated with the BackupPolicyPrototype.IncludedContent property. An item to include.

View Source
const (
	BareMetalServerLifecycleStateDeletingConst  = "deleting"
	BareMetalServerLifecycleStateFailedConst    = "failed"
	BareMetalServerLifecycleStatePendingConst   = "pending"
	BareMetalServerLifecycleStateStableConst    = "stable"
	BareMetalServerLifecycleStateSuspendedConst = "suspended"
	BareMetalServerLifecycleStateUpdatingConst  = "updating"
	BareMetalServerLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BareMetalServer.LifecycleState property. The lifecycle state of the bare metal server.

View Source
const (
	BareMetalServerStatusDeletingConst    = "deleting"
	BareMetalServerStatusFailedConst      = "failed"
	BareMetalServerStatusMaintenanceConst = "maintenance"
	BareMetalServerStatusPendingConst     = "pending"
	BareMetalServerStatusRestartingConst  = "restarting"
	BareMetalServerStatusRunningConst     = "running"
	BareMetalServerStatusStartingConst    = "starting"
	BareMetalServerStatusStoppedConst     = "stopped"
)

Constants associated with the BareMetalServer.Status property. The status of this bare metal server: - `deleting`: server is undergoing deletion - `failed`: server is failed and not usable (see `status_reasons`) - `maintenance`: server is undergoing maintenance (not usable) - `pending`: server is being provisioned and not yet usable - `restarting`: server is restarting and not yet usable - `running`: server is powered on - `starting`: server is starting and not yet usable - `stopped`: server is powered off

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerConsoleAccessTokenConsoleTypeSerialConst = "serial"
	BareMetalServerConsoleAccessTokenConsoleTypeVncConst    = "vnc"
)

Constants associated with the BareMetalServerConsoleAccessToken.ConsoleType property. The bare metal server console type for which this token may be used.

View Source
const (
	BareMetalServerDiskInterfaceTypeFcpConst  = "fcp"
	BareMetalServerDiskInterfaceTypeNvmeConst = "nvme"
	BareMetalServerDiskInterfaceTypeSataConst = "sata"
)

Constants associated with the BareMetalServerDisk.InterfaceType property. The disk interface used for attaching the disk: - `fcp`: Attached using Fiber Channel Protocol - `sata`: Attached using Serial Advanced Technology Attachment - `nvme`: Attached using Non-Volatile Memory Express

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerLifecycleReasonCodeInternalErrorConst               = "internal_error"
	BareMetalServerLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the BareMetalServerLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerNetworkAttachmentInterfaceTypePciConst  = "pci"
	BareMetalServerNetworkAttachmentInterfaceTypeVlanConst = "vlan"
)

Constants associated with the BareMetalServerNetworkAttachment.InterfaceType property. The network attachment's interface type:

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI attachment
  • Cannot directly use an IEEE 802.1Q tag.
  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerNetworkAttachmentLifecycleStateDeletingConst  = "deleting"
	BareMetalServerNetworkAttachmentLifecycleStateFailedConst    = "failed"
	BareMetalServerNetworkAttachmentLifecycleStatePendingConst   = "pending"
	BareMetalServerNetworkAttachmentLifecycleStateStableConst    = "stable"
	BareMetalServerNetworkAttachmentLifecycleStateSuspendedConst = "suspended"
	BareMetalServerNetworkAttachmentLifecycleStateUpdatingConst  = "updating"
	BareMetalServerNetworkAttachmentLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BareMetalServerNetworkAttachment.LifecycleState property. The lifecycle state of the bare metal server network attachment.

View Source
const (
	BareMetalServerNetworkAttachmentTypePrimaryConst   = "primary"
	BareMetalServerNetworkAttachmentTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkAttachment.Type property. The bare metal server network attachment type.

View Source
const (
	BareMetalServerNetworkAttachmentPrototypeInterfaceTypePciConst  = "pci"
	BareMetalServerNetworkAttachmentPrototypeInterfaceTypeVlanConst = "vlan"
)

Constants associated with the BareMetalServerNetworkAttachmentPrototype.InterfaceType property. The network attachment's interface type:

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI attachment
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`
  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerNetworkInterfaceInterfaceTypeHipersocketConst = "hipersocket"
	BareMetalServerNetworkInterfaceInterfaceTypePciConst         = "pci"
	BareMetalServerNetworkInterfaceInterfaceTypeVlanConst        = "vlan"
)

Constants associated with the BareMetalServerNetworkInterface.InterfaceType property. The interface type:

  • `hipersocket`: a virtual device that provides high-speed TCP/IP connectivity within a `s390x` based system
  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI interface
  • Cannot directly use an IEEE 802.1Q tag.
  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
  • Has its own security groups and does not inherit those of the PCI device through which traffic flows.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the interface type is that of the corresponding network attachment.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerNetworkInterfaceStatusAvailableConst = "available"
	BareMetalServerNetworkInterfaceStatusDeletingConst  = "deleting"
	BareMetalServerNetworkInterfaceStatusFailedConst    = "failed"
	BareMetalServerNetworkInterfaceStatusPendingConst   = "pending"
)

Constants associated with the BareMetalServerNetworkInterface.Status property. The status of the bare metal server network interface.

If this bare metal server has network attachments, this network interface is a read-only representation of its corresponding network attachment and its attached virtual network interface, and the status is [computed from them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).

View Source
const (
	BareMetalServerNetworkInterfaceTypePrimaryConst   = "primary"
	BareMetalServerNetworkInterfaceTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkInterface.Type property. The bare metal server network interface type.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the type is that of its corresponding network attachment.

View Source
const (
	BareMetalServerNetworkInterfacePrototypeInterfaceTypeHipersocketConst = "hipersocket"
	BareMetalServerNetworkInterfacePrototypeInterfaceTypePciConst         = "pci"
	BareMetalServerNetworkInterfacePrototypeInterfaceTypeVlanConst        = "vlan"
)

Constants associated with the BareMetalServerNetworkInterfacePrototype.InterfaceType property. The interface type:

  • `hipersocket`: a virtual device that provides high-speed TCP/IP connectivity within a `s390x` based system
  • Not supported on bare metal servers with a `cpu.architecture` of `amd64`
  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI interface
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`
  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
  • Has its own security groups and does not inherit those of the PCI device through which traffic flows.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerPrimaryNetworkInterfacePrototypeInterfaceTypeHipersocketConst = "hipersocket"
	BareMetalServerPrimaryNetworkInterfacePrototypeInterfaceTypePciConst         = "pci"
)

Constants associated with the BareMetalServerPrimaryNetworkInterfacePrototype.InterfaceType property. The interface type:

  • `hipersocket`: a virtual device that provides high-speed TCP/IP connectivity within a `s390x` based system.
  • Not supported on bare metal servers with a `cpu.architecture` of `amd64`
  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI interface
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerProfileConsoleTypesValuesSerialConst = "serial"
	BareMetalServerProfileConsoleTypesValuesVncConst    = "vnc"
)

Constants associated with the BareMetalServerProfileConsoleTypes.Values property. A console type.

View Source
const (
	BareMetalServerProfileDiskSupportedInterfacesDefaultFcpConst  = "fcp"
	BareMetalServerProfileDiskSupportedInterfacesDefaultNvmeConst = "nvme"
	BareMetalServerProfileDiskSupportedInterfacesDefaultSataConst = "sata"
)

Constants associated with the BareMetalServerProfileDiskSupportedInterfaces.Default property. The disk interface used for attaching the disk: - `fcp`: Attached using Fiber Channel Protocol - `sata`: Attached using Serial Advanced Technology Attachment - `nvme`: Attached using Non-Volatile Memory Express

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerProfileDiskSupportedInterfacesValuesFcpConst  = "fcp"
	BareMetalServerProfileDiskSupportedInterfacesValuesNvmeConst = "nvme"
	BareMetalServerProfileDiskSupportedInterfacesValuesSataConst = "sata"
)

Constants associated with the BareMetalServerProfileDiskSupportedInterfaces.Values property. The disk interface used for attaching the disk: - `fcp`: Attached using Fiber Channel Protocol - `sata`: Attached using Serial Advanced Technology Attachment - `nvme`: Attached using Non-Volatile Memory Express

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerProfileSupportedTrustedPlatformModuleModesValuesDisabledConst = "disabled"
	BareMetalServerProfileSupportedTrustedPlatformModuleModesValuesTpm2Const     = "tpm_2"
)

Constants associated with the BareMetalServerProfileSupportedTrustedPlatformModuleModes.Values property. The trusted platform module (TPM) mode: - `disabled`: No TPM functionality - `tpm_2`: TPM 2.0

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerStatusReasonCodeCannotStartConst          = "cannot_start"
	BareMetalServerStatusReasonCodeCannotStartCapacityConst  = "cannot_start_capacity"
	BareMetalServerStatusReasonCodeCannotStartComputeConst   = "cannot_start_compute"
	BareMetalServerStatusReasonCodeCannotStartIPAddressConst = "cannot_start_ip_address"
	BareMetalServerStatusReasonCodeCannotStartNetworkConst   = "cannot_start_network"
)

Constants associated with the BareMetalServerStatusReason.Code property. The status reason code: - `cannot_start`: Failed to start due to an internal error - `cannot_start_capacity`: Insufficient capacity within the selected zone - `cannot_start_compute`: An error occurred while allocating compute resources - `cannot_start_ip_address`: An error occurred while allocating an IP address - `cannot_start_network`: An error occurred while allocating network resources

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerTrustedPlatformModuleModeDisabledConst = "disabled"
	BareMetalServerTrustedPlatformModuleModeTpm2Const     = "tpm_2"
)

Constants associated with the BareMetalServerTrustedPlatformModule.Mode property. The trusted platform module (TPM) mode: - `disabled`: No TPM functionality - `tpm_2`: TPM 2.0

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerTrustedPlatformModuleSupportedModesDisabledConst = "disabled"
	BareMetalServerTrustedPlatformModuleSupportedModesTpm2Const     = "tpm_2"
)

Constants associated with the BareMetalServerTrustedPlatformModule.SupportedModes property. The trusted platform module (TPM) mode: - `disabled`: No TPM functionality - `tpm_2`: TPM 2.0

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BareMetalServerTrustedPlatformModulePatchModeDisabledConst = "disabled"
	BareMetalServerTrustedPlatformModulePatchModeTpm2Const     = "tpm_2"
)

Constants associated with the BareMetalServerTrustedPlatformModulePatch.Mode property. The trusted platform module mode to use. The specified value must be listed in the bare metal server's `supported_modes`.

For the trusted platform module mode to be changed, the bare metal server `status` must be `stopped`.

View Source
const (
	BareMetalServerTrustedPlatformModulePrototypeModeDisabledConst = "disabled"
	BareMetalServerTrustedPlatformModulePrototypeModeTpm2Const     = "tpm_2"
)

Constants associated with the BareMetalServerTrustedPlatformModulePrototype.Mode property. The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's `supported_trusted_platform_module_modes`.

View Source
const (
	CreateBareMetalServerConsoleAccessTokenOptionsConsoleTypeSerialConst = "serial"
	CreateBareMetalServerConsoleAccessTokenOptionsConsoleTypeVncConst    = "vnc"
)

Constants associated with the CreateBareMetalServerConsoleAccessTokenOptions.ConsoleType property. The bare metal server console type for which this token may be used

Must be `serial` for bare metal servers with a `cpu.architecture` of `s390x`.

View Source
const (
	CreateDedicatedHostGroupOptionsFamilyBalancedConst = "balanced"
	CreateDedicatedHostGroupOptionsFamilyComputeConst  = "compute"
	CreateDedicatedHostGroupOptionsFamilyMemoryConst   = "memory"
)

Constants associated with the CreateDedicatedHostGroupOptions.Family property. The dedicated host profile family for hosts in this group.

View Source
const (
	CreateIkePolicyOptionsAuthenticationAlgorithmSha256Const = "sha256"
	CreateIkePolicyOptionsAuthenticationAlgorithmSha384Const = "sha384"
	CreateIkePolicyOptionsAuthenticationAlgorithmSha512Const = "sha512"
)

Constants associated with the CreateIkePolicyOptions.AuthenticationAlgorithm property. The authentication algorithm.

View Source
const (
	CreateIkePolicyOptionsEncryptionAlgorithmAes128Const = "aes128"
	CreateIkePolicyOptionsEncryptionAlgorithmAes192Const = "aes192"
	CreateIkePolicyOptionsEncryptionAlgorithmAes256Const = "aes256"
)

Constants associated with the CreateIkePolicyOptions.EncryptionAlgorithm property. The encryption algorithm.

View Source
const (
	CreateImageExportJobOptionsFormatQcow2Const = "qcow2"
	CreateImageExportJobOptionsFormatVhdConst   = "vhd"
)

Constants associated with the CreateImageExportJobOptions.Format property. The format to use for the exported image. If the image is encrypted, only `qcow2` is supported.

View Source
const (
	CreateInstanceActionOptionsTypeRebootConst = "reboot"
	CreateInstanceActionOptionsTypeStartConst  = "start"
	CreateInstanceActionOptionsTypeStopConst   = "stop"
)

Constants associated with the CreateInstanceActionOptions.Type property. The type of action.

View Source
const (
	CreateInstanceConsoleAccessTokenOptionsConsoleTypeSerialConst = "serial"
	CreateInstanceConsoleAccessTokenOptionsConsoleTypeVncConst    = "vnc"
)

Constants associated with the CreateInstanceConsoleAccessTokenOptions.ConsoleType property. The instance console type for which this token may be used.

View Source
const (
	CreateIpsecPolicyOptionsAuthenticationAlgorithmDisabledConst = "disabled"
	CreateIpsecPolicyOptionsAuthenticationAlgorithmSha256Const   = "sha256"
	CreateIpsecPolicyOptionsAuthenticationAlgorithmSha384Const   = "sha384"
	CreateIpsecPolicyOptionsAuthenticationAlgorithmSha512Const   = "sha512"
)

Constants associated with the CreateIpsecPolicyOptions.AuthenticationAlgorithm property. The authentication algorithm

Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.

View Source
const (
	CreateIpsecPolicyOptionsEncryptionAlgorithmAes128Const      = "aes128"
	CreateIpsecPolicyOptionsEncryptionAlgorithmAes128gcm16Const = "aes128gcm16"
	CreateIpsecPolicyOptionsEncryptionAlgorithmAes192Const      = "aes192"
	CreateIpsecPolicyOptionsEncryptionAlgorithmAes192gcm16Const = "aes192gcm16"
	CreateIpsecPolicyOptionsEncryptionAlgorithmAes256Const      = "aes256"
	CreateIpsecPolicyOptionsEncryptionAlgorithmAes256gcm16Const = "aes256gcm16"
)

Constants associated with the CreateIpsecPolicyOptions.EncryptionAlgorithm property. The encryption algorithm

The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.

View Source
const (
	CreateIpsecPolicyOptionsPfsDisabledConst = "disabled"
	CreateIpsecPolicyOptionsPfsGroup14Const  = "group_14"
	CreateIpsecPolicyOptionsPfsGroup15Const  = "group_15"
	CreateIpsecPolicyOptionsPfsGroup16Const  = "group_16"
	CreateIpsecPolicyOptionsPfsGroup17Const  = "group_17"
	CreateIpsecPolicyOptionsPfsGroup18Const  = "group_18"
	CreateIpsecPolicyOptionsPfsGroup19Const  = "group_19"
	CreateIpsecPolicyOptionsPfsGroup20Const  = "group_20"
	CreateIpsecPolicyOptionsPfsGroup21Const  = "group_21"
	CreateIpsecPolicyOptionsPfsGroup22Const  = "group_22"
	CreateIpsecPolicyOptionsPfsGroup23Const  = "group_23"
	CreateIpsecPolicyOptionsPfsGroup24Const  = "group_24"
	CreateIpsecPolicyOptionsPfsGroup31Const  = "group_31"
)

Constants associated with the CreateIpsecPolicyOptions.Pfs property. Perfect Forward Secrecy.

View Source
const (
	CreateKeyOptionsTypeEd25519Const = "ed25519"
	CreateKeyOptionsTypeRsaConst     = "rsa"
)

Constants associated with the CreateKeyOptions.Type property. The crypto-system used by this key.

View Source
const (
	CreateLoadBalancerListenerOptionsProtocolHTTPConst  = "http"
	CreateLoadBalancerListenerOptionsProtocolHTTPSConst = "https"
	CreateLoadBalancerListenerOptionsProtocolTCPConst   = "tcp"
	CreateLoadBalancerListenerOptionsProtocolUDPConst   = "udp"
)

Constants associated with the CreateLoadBalancerListenerOptions.Protocol property. The listener protocol. Each listener in the load balancer must have a unique `port` and `protocol` combination.

Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http` and `https`.

Additional restrictions:

  • If `default_pool` is set, the pool's protocol must match, or be compatible with the listener's protocol. At present, the compatible protocols are `http` and `https`.
  • If `https_redirect` is set, the protocol must be `http`.
View Source
const (
	CreateLoadBalancerListenerPolicyOptionsActionForwardConst       = "forward"
	CreateLoadBalancerListenerPolicyOptionsActionHTTPSRedirectConst = "https_redirect"
	CreateLoadBalancerListenerPolicyOptionsActionRedirectConst      = "redirect"
	CreateLoadBalancerListenerPolicyOptionsActionRejectConst        = "reject"
)

Constants associated with the CreateLoadBalancerListenerPolicyOptions.Action property. The policy action.

  • `forward`: Requests will be forwarded to the specified `target` pool
  • `https_redirect`: Requests will be redirected to the specified target listener. The listener must have a `protocol` of `http`, and the target listener must have a `protocol` of `https`
  • `redirect`: Requests will be redirected to the specified `target.url`
  • `reject`: Requests will be rejected with a `403` status code

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	CreateLoadBalancerListenerPolicyRuleOptionsConditionContainsConst     = "contains"
	CreateLoadBalancerListenerPolicyRuleOptionsConditionEqualsConst       = "equals"
	CreateLoadBalancerListenerPolicyRuleOptionsConditionMatchesRegexConst = "matches_regex"
)

Constants associated with the CreateLoadBalancerListenerPolicyRuleOptions.Condition property. The condition of the rule.

View Source
const (
	CreateLoadBalancerListenerPolicyRuleOptionsTypeBodyConst     = "body"
	CreateLoadBalancerListenerPolicyRuleOptionsTypeHeaderConst   = "header"
	CreateLoadBalancerListenerPolicyRuleOptionsTypeHostnameConst = "hostname"
	CreateLoadBalancerListenerPolicyRuleOptionsTypePathConst     = "path"
	CreateLoadBalancerListenerPolicyRuleOptionsTypeQueryConst    = "query"
)

Constants associated with the CreateLoadBalancerListenerPolicyRuleOptions.Type property. The type of the rule.

Body rules are applied to form-encoded request bodies using the `UTF-8` character set.

View Source
const (
	CreateLoadBalancerPoolOptionsAlgorithmLeastConnectionsConst   = "least_connections"
	CreateLoadBalancerPoolOptionsAlgorithmRoundRobinConst         = "round_robin"
	CreateLoadBalancerPoolOptionsAlgorithmWeightedRoundRobinConst = "weighted_round_robin"
)

Constants associated with the CreateLoadBalancerPoolOptions.Algorithm property. The load balancing algorithm.

View Source
const (
	CreateLoadBalancerPoolOptionsProtocolHTTPConst  = "http"
	CreateLoadBalancerPoolOptionsProtocolHTTPSConst = "https"
	CreateLoadBalancerPoolOptionsProtocolTCPConst   = "tcp"
	CreateLoadBalancerPoolOptionsProtocolUDPConst   = "udp"
)

Constants associated with the CreateLoadBalancerPoolOptions.Protocol property. The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`.

View Source
const (
	CreateLoadBalancerPoolOptionsProxyProtocolDisabledConst = "disabled"
	CreateLoadBalancerPoolOptionsProxyProtocolV1Const       = "v1"
	CreateLoadBalancerPoolOptionsProxyProtocolV2Const       = "v2"
)

Constants associated with the CreateLoadBalancerPoolOptions.ProxyProtocol property. The PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled

Supported by load balancers in the `application` family (otherwise always `disabled`).

View Source
const (
	CreatePlacementGroupOptionsStrategyHostSpreadConst  = "host_spread"
	CreatePlacementGroupOptionsStrategyPowerSpreadConst = "power_spread"
)

Constants associated with the CreatePlacementGroupOptions.Strategy property. The strategy for this placement group: - `host_spread`: place on different compute hosts - `power_spread`: place on compute hosts that use different power sources

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	CreateVPCOptionsAddressPrefixManagementAutoConst   = "auto"
	CreateVPCOptionsAddressPrefixManagementManualConst = "manual"
)

Constants associated with the CreateVPCOptions.AddressPrefixManagement property. Indicates whether a [default address prefix](https://cloud.ibm.com/docs/vpc?topic=vpc-configuring-address-prefixes) will be automatically created for each zone in this VPC. If `manual`, this VPC will be created with no default address prefixes.

Since address prefixes are managed identically regardless of whether they were automatically created, the value is not preserved as a VPC property.

View Source
const (
	CreateVPCRouteOptionsActionDelegateConst    = "delegate"
	CreateVPCRouteOptionsActionDelegateVPCConst = "delegate_vpc"
	CreateVPCRouteOptionsActionDeliverConst     = "deliver"
	CreateVPCRouteOptionsActionDropConst        = "drop"
)

Constants associated with the CreateVPCRouteOptions.Action property. The action to perform with a packet matching the route: - `delegate`: delegate to system-provided routes - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes - `deliver`: deliver the packet to the specified `next_hop` - `drop`: drop the packet.

View Source
const (
	CreateVPCRoutingTableOptionsAdvertiseRoutesToDirectLinkConst     = "direct_link"
	CreateVPCRoutingTableOptionsAdvertiseRoutesToTransitGatewayConst = "transit_gateway"
)

Constants associated with the CreateVPCRoutingTableOptions.AdvertiseRoutesTo property. An ingress source that routes can be advertised to:

- `direct_link` (requires `route_direct_link_ingress` be set to `true`) - `transit_gateway` (requires `route_transit_gateway_ingress` be set to `true`).

View Source
const (
	CreateVPCRoutingTableRouteOptionsActionDelegateConst    = "delegate"
	CreateVPCRoutingTableRouteOptionsActionDelegateVPCConst = "delegate_vpc"
	CreateVPCRoutingTableRouteOptionsActionDeliverConst     = "deliver"
	CreateVPCRoutingTableRouteOptionsActionDropConst        = "drop"
)

Constants associated with the CreateVPCRoutingTableRouteOptions.Action property. The action to perform with a packet matching the route: - `delegate`: delegate to system-provided routes - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes - `deliver`: deliver the packet to the specified `next_hop` - `drop`: drop the packet.

View Source
const (
	CreateVPNServerOptionsProtocolTCPConst = "tcp"
	CreateVPNServerOptionsProtocolUDPConst = "udp"
)

Constants associated with the CreateVPNServerOptions.Protocol property. The transport protocol to use for this VPN server.

View Source
const (
	CreateVPNServerRouteOptionsActionDeliverConst   = "deliver"
	CreateVPNServerRouteOptionsActionDropConst      = "drop"
	CreateVPNServerRouteOptionsActionTranslateConst = "translate"
)

Constants associated with the CreateVPNServerRouteOptions.Action property. The action to perform with a packet matching the VPN route:

  • `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target.
  • `deliver`: deliver the packet to the target.
  • `drop`: drop the packet.
View Source
const (
	DedicatedHostLifecycleStateDeletingConst  = "deleting"
	DedicatedHostLifecycleStateFailedConst    = "failed"
	DedicatedHostLifecycleStatePendingConst   = "pending"
	DedicatedHostLifecycleStateStableConst    = "stable"
	DedicatedHostLifecycleStateSuspendedConst = "suspended"
	DedicatedHostLifecycleStateUpdatingConst  = "updating"
	DedicatedHostLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the DedicatedHost.LifecycleState property. The lifecycle state of the dedicated host.

View Source
const (
	DedicatedHostStateAvailableConst   = "available"
	DedicatedHostStateDegradedConst    = "degraded"
	DedicatedHostStateMigratingConst   = "migrating"
	DedicatedHostStateUnavailableConst = "unavailable"
)

Constants associated with the DedicatedHost.State property. The administrative state of the dedicated host.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DedicatedHostDiskLifecycleStateDeletingConst  = "deleting"
	DedicatedHostDiskLifecycleStateFailedConst    = "failed"
	DedicatedHostDiskLifecycleStatePendingConst   = "pending"
	DedicatedHostDiskLifecycleStateStableConst    = "stable"
	DedicatedHostDiskLifecycleStateSuspendedConst = "suspended"
	DedicatedHostDiskLifecycleStateUpdatingConst  = "updating"
	DedicatedHostDiskLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the DedicatedHostDisk.LifecycleState property. The lifecycle state of this dedicated host disk.

View Source
const (
	DedicatedHostDiskSupportedInstanceInterfaceTypesNvmeConst      = "nvme"
	DedicatedHostDiskSupportedInstanceInterfaceTypesVirtioBlkConst = "virtio_blk"
)

Constants associated with the DedicatedHostDisk.SupportedInstanceInterfaceTypes property. The disk interface used for attaching the disk.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DedicatedHostGroupFamilyBalancedConst = "balanced"
	DedicatedHostGroupFamilyComputeConst  = "compute"
	DedicatedHostGroupFamilyMemoryConst   = "memory"
)

Constants associated with the DedicatedHostGroup.Family property. The dedicated host profile family for hosts in this group.

View Source
const (
	DedicatedHostProfileFamilyBalancedConst = "balanced"
	DedicatedHostProfileFamilyComputeConst  = "compute"
	DedicatedHostProfileFamilyMemoryConst   = "memory"
)

Constants associated with the DedicatedHostProfile.Family property. The product family this dedicated host profile belongs to

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DedicatedHostProfileStatusCurrentConst  = "current"
	DedicatedHostProfileStatusPreviousConst = "previous"
)

Constants associated with the DedicatedHostProfile.Status property. The status of the dedicated host profile:

  • `previous`: This dedicated host profile is an older revision, but remains provisionable and usable.
  • `current`: This dedicated host profile is the latest revision.

Revisions are indicated by the generation of a dedicated host profile. Refer to the [profile naming conventions] (https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles&interface=ui#profiles-naming-rule) for information on how generations are defined within a dedicated host profile.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DedicatedHostProfileDiskSupportedInterfacesValueNvmeConst      = "nvme"
	DedicatedHostProfileDiskSupportedInterfacesValueVirtioBlkConst = "virtio_blk"
)

Constants associated with the DedicatedHostProfileDiskSupportedInterfaces.Value property. The disk interface used for attaching the disk.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DefaultRoutingTableAdvertiseRoutesToDirectLinkConst     = "direct_link"
	DefaultRoutingTableAdvertiseRoutesToTransitGatewayConst = "transit_gateway"
)

Constants associated with the DefaultRoutingTable.AdvertiseRoutesTo property. An ingress source that routes can be advertised to:

- `direct_link` (requires `route_direct_link_ingress` be set to `true`) - `transit_gateway` (requires `route_transit_gateway_ingress` be set to `true`).

View Source
const (
	DefaultRoutingTableLifecycleStateDeletingConst  = "deleting"
	DefaultRoutingTableLifecycleStateFailedConst    = "failed"
	DefaultRoutingTableLifecycleStatePendingConst   = "pending"
	DefaultRoutingTableLifecycleStateStableConst    = "stable"
	DefaultRoutingTableLifecycleStateSuspendedConst = "suspended"
	DefaultRoutingTableLifecycleStateUpdatingConst  = "updating"
	DefaultRoutingTableLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the DefaultRoutingTable.LifecycleState property. The lifecycle state of the routing table.

View Source
const (
	EndpointGatewayHealthStateDegradedConst     = "degraded"
	EndpointGatewayHealthStateFaultedConst      = "faulted"
	EndpointGatewayHealthStateInapplicableConst = "inapplicable"
	EndpointGatewayHealthStateOkConst           = "ok"
)

Constants associated with the EndpointGateway.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	EndpointGatewayLifecycleStateDeletingConst  = "deleting"
	EndpointGatewayLifecycleStateFailedConst    = "failed"
	EndpointGatewayLifecycleStatePendingConst   = "pending"
	EndpointGatewayLifecycleStateStableConst    = "stable"
	EndpointGatewayLifecycleStateSuspendedConst = "suspended"
	EndpointGatewayLifecycleStateUpdatingConst  = "updating"
	EndpointGatewayLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the EndpointGateway.LifecycleState property. The lifecycle state of the endpoint gateway.

View Source
const (
	EndpointGatewayLifecycleReasonCodeDnsResolutionBindingPendingConst = "dns_resolution_binding_pending"
	EndpointGatewayLifecycleReasonCodeInternalErrorConst               = "internal_error"
	EndpointGatewayLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the EndpointGatewayLifecycleReason.Code property. A reason code for this lifecycle state:

  • `dns_resolution_binding_pending`: the DNS resolution binding is being set up
  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	EndpointGatewayTargetPrototypeResourceTypeProviderCloudServiceConst          = "provider_cloud_service"
	EndpointGatewayTargetPrototypeResourceTypeProviderInfrastructureServiceConst = "provider_infrastructure_service"
)

Constants associated with the EndpointGatewayTargetPrototype.ResourceType property. The type of target for this endpoint gateway.

View Source
const (
	FailoverShareOptionsFallbackPolicyFailConst  = "fail"
	FailoverShareOptionsFallbackPolicySplitConst = "split"
)

Constants associated with the FailoverShareOptions.FallbackPolicy property. The action to take if the failover request is accepted but cannot be performed or times out:

  • `fail`: Fail the operation, resulting in the replication relationship being unchanged.
  • `split`: Split the replica from its source, resulting in two individual read-write file shares. Because the final sync was not completed, the replica may be out-of-date. This occurs in disaster recovery scenarios where the source is known to be unreachable.
View Source
const (
	FloatingIPStatusAvailableConst = "available"
	FloatingIPStatusDeletingConst  = "deleting"
	FloatingIPStatusFailedConst    = "failed"
	FloatingIPStatusPendingConst   = "pending"
)

Constants associated with the FloatingIP.Status property. The status of the floating IP.

View Source
const (
	FlowLogCollectorLifecycleStateDeletingConst  = "deleting"
	FlowLogCollectorLifecycleStateFailedConst    = "failed"
	FlowLogCollectorLifecycleStatePendingConst   = "pending"
	FlowLogCollectorLifecycleStateStableConst    = "stable"
	FlowLogCollectorLifecycleStateSuspendedConst = "suspended"
	FlowLogCollectorLifecycleStateUpdatingConst  = "updating"
	FlowLogCollectorLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the FlowLogCollector.LifecycleState property. The lifecycle state of the flow log collector.

View Source
const (
	IkePolicyAuthenticationAlgorithmMd5Const    = "md5"
	IkePolicyAuthenticationAlgorithmSha1Const   = "sha1"
	IkePolicyAuthenticationAlgorithmSha256Const = "sha256"
	IkePolicyAuthenticationAlgorithmSha384Const = "sha384"
	IkePolicyAuthenticationAlgorithmSha512Const = "sha512"
)

Constants associated with the IkePolicy.AuthenticationAlgorithm property. The authentication algorithm

The `md5` and `sha1` algorithms have been deprecated.

View Source
const (
	IkePolicyEncryptionAlgorithmAes128Const    = "aes128"
	IkePolicyEncryptionAlgorithmAes192Const    = "aes192"
	IkePolicyEncryptionAlgorithmAes256Const    = "aes256"
	IkePolicyEncryptionAlgorithmTripleDesConst = "triple_des"
)

Constants associated with the IkePolicy.EncryptionAlgorithm property. The encryption algorithm

The `triple_des` algorithm has been deprecated.

View Source
const (
	IkePolicyPatchAuthenticationAlgorithmSha256Const = "sha256"
	IkePolicyPatchAuthenticationAlgorithmSha384Const = "sha384"
	IkePolicyPatchAuthenticationAlgorithmSha512Const = "sha512"
)

Constants associated with the IkePolicyPatch.AuthenticationAlgorithm property. The authentication algorithm.

View Source
const (
	IkePolicyPatchEncryptionAlgorithmAes128Const = "aes128"
	IkePolicyPatchEncryptionAlgorithmAes192Const = "aes192"
	IkePolicyPatchEncryptionAlgorithmAes256Const = "aes256"
)

Constants associated with the IkePolicyPatch.EncryptionAlgorithm property. The encryption algorithm.

View Source
const (
	IPsecPolicyAuthenticationAlgorithmDisabledConst = "disabled"
	IPsecPolicyAuthenticationAlgorithmMd5Const      = "md5"
	IPsecPolicyAuthenticationAlgorithmSha1Const     = "sha1"
	IPsecPolicyAuthenticationAlgorithmSha256Const   = "sha256"
	IPsecPolicyAuthenticationAlgorithmSha384Const   = "sha384"
	IPsecPolicyAuthenticationAlgorithmSha512Const   = "sha512"
)

Constants associated with the IPsecPolicy.AuthenticationAlgorithm property. The authentication algorithm

The `md5` and `sha1` algorithms have been deprecated

Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.

View Source
const (
	IPsecPolicyEncryptionAlgorithmAes128Const      = "aes128"
	IPsecPolicyEncryptionAlgorithmAes128gcm16Const = "aes128gcm16"
	IPsecPolicyEncryptionAlgorithmAes192Const      = "aes192"
	IPsecPolicyEncryptionAlgorithmAes192gcm16Const = "aes192gcm16"
	IPsecPolicyEncryptionAlgorithmAes256Const      = "aes256"
	IPsecPolicyEncryptionAlgorithmAes256gcm16Const = "aes256gcm16"
	IPsecPolicyEncryptionAlgorithmTripleDesConst   = "triple_des"
)

Constants associated with the IPsecPolicy.EncryptionAlgorithm property. The encryption algorithm

The `triple_des` algorithm has been deprecated

The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.

View Source
const (
	IPsecPolicyPfsDisabledConst = "disabled"
	IPsecPolicyPfsGroup14Const  = "group_14"
	IPsecPolicyPfsGroup15Const  = "group_15"
	IPsecPolicyPfsGroup16Const  = "group_16"
	IPsecPolicyPfsGroup17Const  = "group_17"
	IPsecPolicyPfsGroup18Const  = "group_18"
	IPsecPolicyPfsGroup19Const  = "group_19"
	IPsecPolicyPfsGroup2Const   = "group_2"
	IPsecPolicyPfsGroup20Const  = "group_20"
	IPsecPolicyPfsGroup21Const  = "group_21"
	IPsecPolicyPfsGroup22Const  = "group_22"
	IPsecPolicyPfsGroup23Const  = "group_23"
	IPsecPolicyPfsGroup24Const  = "group_24"
	IPsecPolicyPfsGroup31Const  = "group_31"
	IPsecPolicyPfsGroup5Const   = "group_5"
)

Constants associated with the IPsecPolicy.Pfs property. Perfect Forward Secrecy

Groups `group_2` and `group_5` have been deprecated.

View Source
const (
	IPsecPolicyPatchAuthenticationAlgorithmDisabledConst = "disabled"
	IPsecPolicyPatchAuthenticationAlgorithmSha256Const   = "sha256"
	IPsecPolicyPatchAuthenticationAlgorithmSha384Const   = "sha384"
	IPsecPolicyPatchAuthenticationAlgorithmSha512Const   = "sha512"
)

Constants associated with the IPsecPolicyPatch.AuthenticationAlgorithm property. The authentication algorithm

Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.

View Source
const (
	IPsecPolicyPatchEncryptionAlgorithmAes128Const      = "aes128"
	IPsecPolicyPatchEncryptionAlgorithmAes128gcm16Const = "aes128gcm16"
	IPsecPolicyPatchEncryptionAlgorithmAes192Const      = "aes192"
	IPsecPolicyPatchEncryptionAlgorithmAes192gcm16Const = "aes192gcm16"
	IPsecPolicyPatchEncryptionAlgorithmAes256Const      = "aes256"
	IPsecPolicyPatchEncryptionAlgorithmAes256gcm16Const = "aes256gcm16"
)

Constants associated with the IPsecPolicyPatch.EncryptionAlgorithm property. The encryption algorithm

The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.

View Source
const (
	IPsecPolicyPatchPfsDisabledConst = "disabled"
	IPsecPolicyPatchPfsGroup14Const  = "group_14"
	IPsecPolicyPatchPfsGroup15Const  = "group_15"
	IPsecPolicyPatchPfsGroup16Const  = "group_16"
	IPsecPolicyPatchPfsGroup17Const  = "group_17"
	IPsecPolicyPatchPfsGroup18Const  = "group_18"
	IPsecPolicyPatchPfsGroup19Const  = "group_19"
	IPsecPolicyPatchPfsGroup20Const  = "group_20"
	IPsecPolicyPatchPfsGroup21Const  = "group_21"
	IPsecPolicyPatchPfsGroup22Const  = "group_22"
	IPsecPolicyPatchPfsGroup23Const  = "group_23"
	IPsecPolicyPatchPfsGroup24Const  = "group_24"
	IPsecPolicyPatchPfsGroup31Const  = "group_31"
)

Constants associated with the IPsecPolicyPatch.Pfs property. Perfect Forward Secrecy.

View Source
const (
	ImageEncryptionNoneConst        = "none"
	ImageEncryptionUserManagedConst = "user_managed"
)

Constants associated with the Image.Encryption property. The type of encryption used on the image.

View Source
const (
	ImageStatusAvailableConst  = "available"
	ImageStatusDeletingConst   = "deleting"
	ImageStatusDeprecatedConst = "deprecated"
	ImageStatusFailedConst     = "failed"
	ImageStatusObsoleteConst   = "obsolete"
	ImageStatusPendingConst    = "pending"
	ImageStatusUnusableConst   = "unusable"
)

Constants associated with the Image.Status property. The status of this image:

  • available: image can be used (provisionable)
  • deleting: image is being deleted, and can no longer be used to provision new resources
  • deprecated: image is administratively slated to become `obsolete`
  • failed: image is corrupt or did not pass validation
  • obsolete: image administratively set to not be used for new resources
  • pending: image is being imported and is not yet `available`
  • unusable: image cannot be used (see `status_reasons[]` for possible remediation)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ImageVisibilityPrivateConst = "private"
	ImageVisibilityPublicConst  = "public"
)

Constants associated with the Image.Visibility property. The visibility of this image. - `private`: Visible only to this account - `public`: Visible to all accounts.

View Source
const (
	ImageExportJobFormatQcow2Const = "qcow2"
	ImageExportJobFormatVhdConst   = "vhd"
)

Constants associated with the ImageExportJob.Format property. The format of the exported image.

View Source
const (
	ImageExportJobStatusDeletingConst  = "deleting"
	ImageExportJobStatusFailedConst    = "failed"
	ImageExportJobStatusQueuedConst    = "queued"
	ImageExportJobStatusRunningConst   = "running"
	ImageExportJobStatusSucceededConst = "succeeded"
)

Constants associated with the ImageExportJob.Status property. The status of this image export job: - `deleting`: Export job is being deleted - `failed`: Export job could not be completed successfully - `queued`: Export job is queued - `running`: Export job is in progress - `succeeded`: Export job was completed successfully

The exported image object is automatically deleted for `failed` jobs.

View Source
const (
	ImageExportJobStatusReasonCodeCannotAccessStorageBucketConst = "cannot_access_storage_bucket"
	ImageExportJobStatusReasonCodeInternalErrorConst             = "internal_error"
)

Constants associated with the ImageExportJobStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ImageStatusReasonCodeEncryptedDataKeyInvalidConst         = "encrypted_data_key_invalid"
	ImageStatusReasonCodeEncryptionKeyDeletedConst            = "encryption_key_deleted"
	ImageStatusReasonCodeEncryptionKeyDisabledConst           = "encryption_key_disabled"
	ImageStatusReasonCodeImageDataCorruptedConst              = "image_data_corrupted"
	ImageStatusReasonCodeImageProvisionedSizeUnsupportedConst = "image_provisioned_size_unsupported"
	ImageStatusReasonCodeImageRequestInProgressConst          = "image_request_in_progress"
	ImageStatusReasonCodeImageRequestQueuedConst              = "image_request_queued"
)

Constants associated with the ImageStatusReason.Code property. A reason code for the status:

  • `encrypted_data_key_invalid`: image cannot be decrypted with the specified `encryption_key`
  • `encryption_key_deleted`: image unusable because its `encryption_key` was deleted
  • `encryption_key_disabled`: image unusable until its `encryption_key` is re-enabled
  • `image_data_corrupted`: image data is corrupt, or is not in the specified format
  • `image_provisioned_size_unsupported`: image requires a boot volume size greater than the maximum supported value
  • `image_request_in_progress`: image operation is in progress (such as an import from Cloud Object Storage)
  • `image_request_queued`: image request has been accepted but the requested operation has not started

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceHealthStateDegradedConst     = "degraded"
	InstanceHealthStateFaultedConst      = "faulted"
	InstanceHealthStateInapplicableConst = "inapplicable"
	InstanceHealthStateOkConst           = "ok"
)

Constants associated with the Instance.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	InstanceLifecycleStateDeletingConst  = "deleting"
	InstanceLifecycleStateFailedConst    = "failed"
	InstanceLifecycleStatePendingConst   = "pending"
	InstanceLifecycleStateStableConst    = "stable"
	InstanceLifecycleStateSuspendedConst = "suspended"
	InstanceLifecycleStateUpdatingConst  = "updating"
	InstanceLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the Instance.LifecycleState property. The lifecycle state of the virtual server instance.

View Source
const (
	InstanceStatusDeletingConst   = "deleting"
	InstanceStatusFailedConst     = "failed"
	InstanceStatusPendingConst    = "pending"
	InstanceStatusRestartingConst = "restarting"
	InstanceStatusRunningConst    = "running"
	InstanceStatusStartingConst   = "starting"
	InstanceStatusStoppedConst    = "stopped"
	InstanceStatusStoppingConst   = "stopping"
)

Constants associated with the Instance.Status property. The status of the virtual server instance.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceActionStatusCompletedConst = "completed"
	InstanceActionStatusFailedConst    = "failed"
	InstanceActionStatusPendingConst   = "pending"
	InstanceActionStatusRunningConst   = "running"
)

Constants associated with the InstanceAction.Status property. The current status of this action.

View Source
const (
	InstanceActionTypeRebootConst = "reboot"
	InstanceActionTypeStartConst  = "start"
	InstanceActionTypeStopConst   = "stop"
)

Constants associated with the InstanceAction.Type property. The type of action.

View Source
const (
	InstanceAvailabilityPolicyHostFailureRestartConst = "restart"
	InstanceAvailabilityPolicyHostFailureStopConst    = "stop"
)

Constants associated with the InstanceAvailabilityPolicy.HostFailure property. The action to perform if the compute host experiences a failure: - `restart`: Automatically restart the virtual server instance after host failure - `stop`: Leave the virtual server instance stopped after host failure

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceAvailabilityPolicyPatchHostFailureRestartConst = "restart"
	InstanceAvailabilityPolicyPatchHostFailureStopConst    = "stop"
)

Constants associated with the InstanceAvailabilityPolicyPatch.HostFailure property. The action to perform if the compute host experiences a failure. - `restart`: Automatically restart the virtual server instance after host failure - `stop`: Leave the virtual server instance stopped after host failure.

View Source
const (
	InstanceAvailabilityPolicyPrototypeHostFailureRestartConst = "restart"
	InstanceAvailabilityPolicyPrototypeHostFailureStopConst    = "stop"
)

Constants associated with the InstanceAvailabilityPolicyPrototype.HostFailure property. The action to perform if the compute host experiences a failure. - `restart`: Automatically restart the virtual server instance after host failure - `stop`: Leave the virtual server instance stopped after host failure.

View Source
const (
	InstanceConsoleAccessTokenConsoleTypeSerialConst = "serial"
	InstanceConsoleAccessTokenConsoleTypeVncConst    = "vnc"
)

Constants associated with the InstanceConsoleAccessToken.ConsoleType property. The instance console type for which this token may be used.

View Source
const (
	InstanceDiskInterfaceTypeNvmeConst      = "nvme"
	InstanceDiskInterfaceTypeVirtioBlkConst = "virtio_blk"
)

Constants associated with the InstanceDisk.InterfaceType property. The disk interface used for attaching the disk.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceGroupLifecycleStateDeletingConst  = "deleting"
	InstanceGroupLifecycleStateFailedConst    = "failed"
	InstanceGroupLifecycleStatePendingConst   = "pending"
	InstanceGroupLifecycleStateStableConst    = "stable"
	InstanceGroupLifecycleStateSuspendedConst = "suspended"
	InstanceGroupLifecycleStateUpdatingConst  = "updating"
	InstanceGroupLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the InstanceGroup.LifecycleState property. The lifecycle state of the instance group.

View Source
const (
	InstanceGroupStatusDeletingConst  = "deleting"
	InstanceGroupStatusHealthyConst   = "healthy"
	InstanceGroupStatusScalingConst   = "scaling"
	InstanceGroupStatusUnhealthyConst = "unhealthy"
)

Constants associated with the InstanceGroup.Status property. The status of the instance group

  • `deleting`: Group is being deleted
  • `healthy`: Group has `membership_count` instances
  • `scaling`: Instances in the group are being created or deleted to reach `membership_count`
  • `unhealthy`: Group is unable to reach `membership_count` instances.
View Source
const (
	InstanceGroupLifecycleReasonCodeInternalErrorConst               = "internal_error"
	InstanceGroupLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the InstanceGroupLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceGroupManagerActionStatusActiveConst       = "active"
	InstanceGroupManagerActionStatusCompletedConst    = "completed"
	InstanceGroupManagerActionStatusFailedConst       = "failed"
	InstanceGroupManagerActionStatusIncompatibleConst = "incompatible"
	InstanceGroupManagerActionStatusOmittedConst      = "omitted"
)

Constants associated with the InstanceGroupManagerAction.Status property. The status of the instance group action - `active`: Action is ready to be run - `completed`: Action was completed successfully - `failed`: Action could not be completed successfully - `incompatible`: Action parameters are not compatible with the group or manager - `omitted`: Action was not applied because this action's manager was disabled.

View Source
const (
	InstanceGroupManagerPolicyMetricTypeCpuConst        = "cpu"
	InstanceGroupManagerPolicyMetricTypeMemoryConst     = "memory"
	InstanceGroupManagerPolicyMetricTypeNetworkInConst  = "network_in"
	InstanceGroupManagerPolicyMetricTypeNetworkOutConst = "network_out"
)

Constants associated with the InstanceGroupManagerPolicy.MetricType property. The type of metric to be evaluated.

View Source
const (
	InstanceGroupManagerPolicyPatchMetricTypeCpuConst        = "cpu"
	InstanceGroupManagerPolicyPatchMetricTypeMemoryConst     = "memory"
	InstanceGroupManagerPolicyPatchMetricTypeNetworkInConst  = "network_in"
	InstanceGroupManagerPolicyPatchMetricTypeNetworkOutConst = "network_out"
)

Constants associated with the InstanceGroupManagerPolicyPatch.MetricType property. The type of metric to be evaluated.

View Source
const (
	InstanceGroupManagerPolicyPrototypeMetricTypeCpuConst        = "cpu"
	InstanceGroupManagerPolicyPrototypeMetricTypeMemoryConst     = "memory"
	InstanceGroupManagerPolicyPrototypeMetricTypeNetworkInConst  = "network_in"
	InstanceGroupManagerPolicyPrototypeMetricTypeNetworkOutConst = "network_out"
)

Constants associated with the InstanceGroupManagerPolicyPrototype.MetricType property. The type of metric to be evaluated.

View Source
const (
	InstanceGroupMembershipStatusDeletingConst  = "deleting"
	InstanceGroupMembershipStatusFailedConst    = "failed"
	InstanceGroupMembershipStatusHealthyConst   = "healthy"
	InstanceGroupMembershipStatusPendingConst   = "pending"
	InstanceGroupMembershipStatusUnhealthyConst = "unhealthy"
)

Constants associated with the InstanceGroupMembership.Status property. The status of the instance group membership - `deleting`: Membership is deleting dependent resources - `failed`: Membership was unable to maintain dependent resources - `healthy`: Membership is active and serving in the group - `pending`: Membership is waiting for dependent resources - `unhealthy`: Membership has unhealthy dependent resources.

View Source
const (
	InstanceHealthReasonCodeReservationCapacityUnavailableConst = "reservation_capacity_unavailable"
	InstanceHealthReasonCodeReservationDeletedConst             = "reservation_deleted"
	InstanceHealthReasonCodeReservationExpiredConst             = "reservation_expired"
	InstanceHealthReasonCodeReservationFailedConst              = "reservation_failed"
)

Constants associated with the InstanceHealthReason.Code property. A reason code for this health state:

  • `reservation_capacity_unavailable`: The reservation affinity pool has no available capacity.
  • `reservation_deleted`: The reservation affinity pool has a deleted reservation.
  • `reservation_expired`: The reservation affinity pool has an expired reservation.
  • `reservation_failed`: The reservation affinity pool has a failed reservation.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceLifecycleReasonCodeInternalErrorConst               = "internal_error"
	InstanceLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the InstanceLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceMetadataServiceProtocolHTTPConst  = "http"
	InstanceMetadataServiceProtocolHTTPSConst = "https"
)

Constants associated with the InstanceMetadataService.Protocol property. The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. - `http`: HTTP protocol (unencrypted) - `https`: HTTP Secure protocol.

View Source
const (
	InstanceMetadataServicePatchProtocolHTTPConst  = "http"
	InstanceMetadataServicePatchProtocolHTTPSConst = "https"
)

Constants associated with the InstanceMetadataServicePatch.Protocol property. The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. - `http`: HTTP protocol (unencrypted) - `https`: HTTP Secure protocol.

View Source
const (
	InstanceMetadataServicePrototypeProtocolHTTPConst  = "http"
	InstanceMetadataServicePrototypeProtocolHTTPSConst = "https"
)

Constants associated with the InstanceMetadataServicePrototype.Protocol property. The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. - `http`: HTTP protocol (unencrypted) - `https`: HTTP Secure protocol.

View Source
const (
	InstanceNetworkAttachmentLifecycleStateDeletingConst  = "deleting"
	InstanceNetworkAttachmentLifecycleStateFailedConst    = "failed"
	InstanceNetworkAttachmentLifecycleStatePendingConst   = "pending"
	InstanceNetworkAttachmentLifecycleStateStableConst    = "stable"
	InstanceNetworkAttachmentLifecycleStateSuspendedConst = "suspended"
	InstanceNetworkAttachmentLifecycleStateUpdatingConst  = "updating"
	InstanceNetworkAttachmentLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the InstanceNetworkAttachment.LifecycleState property. The lifecycle state of the instance network attachment.

View Source
const (
	InstanceNetworkAttachmentTypePrimaryConst   = "primary"
	InstanceNetworkAttachmentTypeSecondaryConst = "secondary"
)

Constants associated with the InstanceNetworkAttachment.Type property. The instance network attachment type.

View Source
const (
	InstanceProfileStatusCurrentConst  = "current"
	InstanceProfileStatusPreviousConst = "previous"
)

Constants associated with the InstanceProfile.Status property. The status of the instance profile:

  • `previous`: This instance profile is an older revision, but remains provisionable and usable.
  • `current`: This profile is the latest revision.

Revisions are indicated by the generation of an instance profile. Refer to the [profile naming conventions] (https://cloud.ibm.com/docs/vpc?topic=vpc-profiles&interface=ui#profiles-naming-rule) for information on how generations are defined within an instance profile.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceProfileDiskSupportedInterfacesDefaultNvmeConst      = "nvme"
	InstanceProfileDiskSupportedInterfacesDefaultVirtioBlkConst = "virtio_blk"
)

Constants associated with the InstanceProfileDiskSupportedInterfaces.Default property. The disk interface used for attaching the disk.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceProfileDiskSupportedInterfacesValuesNvmeConst      = "nvme"
	InstanceProfileDiskSupportedInterfacesValuesVirtioBlkConst = "virtio_blk"
)

Constants associated with the InstanceProfileDiskSupportedInterfaces.Values property. The disk interface used for attaching the disk.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	InstanceProfileReservationTermsValuesOneYearConst   = "one_year"
	InstanceProfileReservationTermsValuesThreeYearConst = "three_year"
)

Constants associated with the InstanceProfileReservationTerms.Values property.

View Source
const (
	InstanceReservationAffinityPolicyDisabledConst = "disabled"
	InstanceReservationAffinityPolicyManualConst   = "manual"
)

Constants associated with the InstanceReservationAffinity.Policy property. The reservation affinity policy to use for this virtual server instance: - `disabled`: Reservations will not be used - `manual`: Reservations in `pool` are available for use.

View Source
const (
	InstanceReservationAffinityPatchPolicyDisabledConst = "disabled"
	InstanceReservationAffinityPatchPolicyManualConst   = "manual"
)

Constants associated with the InstanceReservationAffinityPatch.Policy property. The reservation affinity policy to use for this virtual server instance: - `disabled`: Reservations will not be used - `manual`: Reservations in `pool` are available for use.

View Source
const (
	InstanceReservationAffinityPrototypePolicyDisabledConst = "disabled"
	InstanceReservationAffinityPrototypePolicyManualConst   = "manual"
)

Constants associated with the InstanceReservationAffinityPrototype.Policy property. The reservation affinity policy to use for this virtual server instance: - `disabled`: Reservations will not be used - `manual`: Reservations in `pool` will be available for use

The policy will default to `manual` if `pool` is not empty, and `disabled` otherwise.

View Source
const (
	InstanceStatusReasonCodeCannotStartConst                    = "cannot_start"
	InstanceStatusReasonCodeCannotStartCapacityConst            = "cannot_start_capacity"
	InstanceStatusReasonCodeCannotStartComputeConst             = "cannot_start_compute"
	InstanceStatusReasonCodeCannotStartIPAddressConst           = "cannot_start_ip_address"
	InstanceStatusReasonCodeCannotStartNetworkConst             = "cannot_start_network"
	InstanceStatusReasonCodeCannotStartPlacementGroupConst      = "cannot_start_placement_group"
	InstanceStatusReasonCodeCannotStartReservationCapacityConst = "cannot_start_reservation_capacity"
	InstanceStatusReasonCodeCannotStartReservationExpiredConst  = "cannot_start_reservation_expired"
	InstanceStatusReasonCodeCannotStartStorageConst             = "cannot_start_storage"
	InstanceStatusReasonCodeEncryptionKeyDeletedConst           = "encryption_key_deleted"
	InstanceStatusReasonCodeStoppedByHostFailureConst           = "stopped_by_host_failure"
	InstanceStatusReasonCodeStoppedForImageCreationConst        = "stopped_for_image_creation"
)

Constants associated with the InstanceStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	KeyTypeEd25519Const = "ed25519"
	KeyTypeRsaConst     = "rsa"
)

Constants associated with the Key.Type property. The crypto-system used by this key.

View Source
const (
	ListBackupPolicyJobsOptionsStatusFailedConst    = "failed"
	ListBackupPolicyJobsOptionsStatusRunningConst   = "running"
	ListBackupPolicyJobsOptionsStatusSucceededConst = "succeeded"
)

Constants associated with the ListBackupPolicyJobsOptions.Status property. Filters the collection to backup policy jobs with a `status` property matching the specified value.

View Source
const (
	ListBackupPolicyJobsOptionsSortCreatedAtConst = "created_at"
	ListBackupPolicyJobsOptionsSortNameConst      = "name"
)

Constants associated with the ListBackupPolicyJobsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListEndpointGatewayIpsOptionsSortAddressConst   = "address"
	ListEndpointGatewayIpsOptionsSortCreatedAtConst = "created_at"
	ListEndpointGatewayIpsOptionsSortNameConst      = "name"
)

Constants associated with the ListEndpointGatewayIpsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListFloatingIpsOptionsSortCreatedAtConst = "created_at"
	ListFloatingIpsOptionsSortNameConst      = "name"
)

Constants associated with the ListFloatingIpsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListImagesOptionsStatusAvailableConst  = "available"
	ListImagesOptionsStatusDeletingConst   = "deleting"
	ListImagesOptionsStatusDeprecatedConst = "deprecated"
	ListImagesOptionsStatusFailedConst     = "failed"
	ListImagesOptionsStatusObsoleteConst   = "obsolete"
	ListImagesOptionsStatusPendingConst    = "pending"
	ListImagesOptionsStatusUnusableConst   = "unusable"
)

Constants associated with the ListImagesOptions.Status property.

View Source
const (
	ListImagesOptionsVisibilityPrivateConst = "private"
	ListImagesOptionsVisibilityPublicConst  = "public"
)

Constants associated with the ListImagesOptions.Visibility property. Filters the collection to images with a `visibility` property matching the specified value.

View Source
const (
	ListNetworkACLRulesOptionsDirectionInboundConst  = "inbound"
	ListNetworkACLRulesOptionsDirectionOutboundConst = "outbound"
)

Constants associated with the ListNetworkACLRulesOptions.Direction property. Filters the collection to rules with a `direction` property matching the specified value.

View Source
const (
	ListNetworkInterfaceFloatingIpsOptionsSortAddressConst = "address"
	ListNetworkInterfaceFloatingIpsOptionsSortNameConst    = "name"
)

Constants associated with the ListNetworkInterfaceFloatingIpsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-name` sorts the collection by the `name` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListShareProfilesOptionsSortCreatedAtConst = "created_at"
	ListShareProfilesOptionsSortNameConst      = "name"
)

Constants associated with the ListShareProfilesOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListSharesOptionsSortCreatedAtConst = "created_at"
	ListSharesOptionsSortNameConst      = "name"
)

Constants associated with the ListSharesOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListSharesOptionsReplicationRoleNoneConst    = "none"
	ListSharesOptionsReplicationRoleReplicaConst = "replica"
	ListSharesOptionsReplicationRoleSourceConst  = "source"
)

Constants associated with the ListSharesOptions.ReplicationRole property. Filters the collection to file shares with a `replication_role` property matching the specified value.

View Source
const (
	ListSnapshotConsistencyGroupsOptionsSortCreatedAtConst = "created_at"
	ListSnapshotConsistencyGroupsOptionsSortNameConst      = "name"
)

Constants associated with the ListSnapshotConsistencyGroupsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListSnapshotsOptionsSortCreatedAtConst = "created_at"
	ListSnapshotsOptionsSortNameConst      = "name"
)

Constants associated with the ListSnapshotsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListSubnetReservedIpsOptionsSortAddressConst   = "address"
	ListSubnetReservedIpsOptionsSortCreatedAtConst = "created_at"
	ListSubnetReservedIpsOptionsSortNameConst      = "name"
)

Constants associated with the ListSubnetReservedIpsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListVirtualNetworkInterfaceIpsOptionsSortAddressConst = "address"
	ListVirtualNetworkInterfaceIpsOptionsSortNameConst    = "name"
)

Constants associated with the ListVirtualNetworkInterfaceIpsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-name` sorts the collection by the `name` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListVolumesOptionsAttachmentStateAttachedConst   = "attached"
	ListVolumesOptionsAttachmentStateUnattachedConst = "unattached"
	ListVolumesOptionsAttachmentStateUnusableConst   = "unusable"
)

Constants associated with the ListVolumesOptions.AttachmentState property. Filters the collection to volumes with an `attachment_state` property matching the specified value.

View Source
const (
	ListVolumesOptionsEncryptionProviderManagedConst = "provider_managed"
	ListVolumesOptionsEncryptionUserManagedConst     = "user_managed"
)

Constants associated with the ListVolumesOptions.Encryption property. Filters the collection to resources with an `encryption` property matching the specified value.

View Source
const (
	ListVPCDnsResolutionBindingsOptionsSortCreatedAtConst = "created_at"
	ListVPCDnsResolutionBindingsOptionsSortNameConst      = "name"
)

Constants associated with the ListVPCDnsResolutionBindingsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListVPNGatewayConnectionsOptionsStatusDownConst = "down"
	ListVPNGatewayConnectionsOptionsStatusUpConst   = "up"
)

Constants associated with the ListVPNGatewayConnectionsOptions.Status property. Filters the collection to VPN gateway connections with a `status` property matching the specified value.

View Source
const (
	ListVPNGatewaysOptionsSortCreatedAtConst = "created_at"
	ListVPNGatewaysOptionsSortNameConst      = "name"
)

Constants associated with the ListVPNGatewaysOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListVPNGatewaysOptionsModePolicyConst = "policy"
	ListVPNGatewaysOptionsModeRouteConst  = "route"
)

Constants associated with the ListVPNGatewaysOptions.Mode property. Filters the collection to VPN gateways with a `mode` property matching the specified value.

View Source
const (
	ListVPNServerRoutesOptionsSortCreatedAtConst = "created_at"
	ListVPNServerRoutesOptionsSortNameConst      = "name"
)

Constants associated with the ListVPNServerRoutesOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	ListVPNServersOptionsSortCreatedAtConst = "created_at"
	ListVPNServersOptionsSortNameConst      = "name"
)

Constants associated with the ListVPNServersOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.

View Source
const (
	LoadBalancerOperatingStatusOfflineConst = "offline"
	LoadBalancerOperatingStatusOnlineConst  = "online"
)

Constants associated with the LoadBalancer.OperatingStatus property. The operating status of this load balancer.

View Source
const (
	LoadBalancerProvisioningStatusActiveConst             = "active"
	LoadBalancerProvisioningStatusCreatePendingConst      = "create_pending"
	LoadBalancerProvisioningStatusDeletePendingConst      = "delete_pending"
	LoadBalancerProvisioningStatusFailedConst             = "failed"
	LoadBalancerProvisioningStatusMaintenancePendingConst = "maintenance_pending"
	LoadBalancerProvisioningStatusMigratePendingConst     = "migrate_pending"
	LoadBalancerProvisioningStatusUpdatePendingConst      = "update_pending"
)

Constants associated with the LoadBalancer.ProvisioningStatus property. The provisioning status of this load balancer:

  • `active`: The load balancer is running.
  • `create_pending`: The load balancer is being created.
  • `delete_pending`: The load balancer is being deleted.
  • `maintenance_pending`: The load balancer is unavailable due to an internal error (contact IBM support).
  • `migrate_pending`: The load balancer is migrating to the requested configuration. Performance may be degraded.
  • `update_pending`: The load balancer is being updated to the requested configuration.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerProtocolHTTPConst  = "http"
	LoadBalancerListenerProtocolHTTPSConst = "https"
	LoadBalancerListenerProtocolTCPConst   = "tcp"
	LoadBalancerListenerProtocolUDPConst   = "udp"
)

Constants associated with the LoadBalancerListener.Protocol property. The listener protocol.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerProvisioningStatusActiveConst        = "active"
	LoadBalancerListenerProvisioningStatusCreatePendingConst = "create_pending"
	LoadBalancerListenerProvisioningStatusDeletePendingConst = "delete_pending"
	LoadBalancerListenerProvisioningStatusFailedConst        = "failed"
	LoadBalancerListenerProvisioningStatusUpdatePendingConst = "update_pending"
)

Constants associated with the LoadBalancerListener.ProvisioningStatus property. The provisioning status of this listener

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerPatchProtocolHTTPConst  = "http"
	LoadBalancerListenerPatchProtocolHTTPSConst = "https"
	LoadBalancerListenerPatchProtocolTCPConst   = "tcp"
	LoadBalancerListenerPatchProtocolUDPConst   = "udp"
)

Constants associated with the LoadBalancerListenerPatch.Protocol property. The listener protocol. Each listener in the load balancer must have a unique `port` and `protocol` combination.

Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http` and `https`.

Additional restrictions: - If `default_pool` is set, the protocol cannot be changed. - If `https_redirect` is set, the protocol must be `http`. - If another listener's `https_redirect` targets this listener, the protocol must be `https`.

View Source
const (
	LoadBalancerListenerPolicyActionForwardConst       = "forward"
	LoadBalancerListenerPolicyActionHTTPSRedirectConst = "https_redirect"
	LoadBalancerListenerPolicyActionRedirectConst      = "redirect"
	LoadBalancerListenerPolicyActionRejectConst        = "reject"
)

Constants associated with the LoadBalancerListenerPolicy.Action property. The policy action.

  • `forward`: Requests will be forwarded to the specified `target` pool
  • `https_redirect`: Requests will be redirected to the specified target listener. The listener must have a `protocol` of `http`, and the target listener must have a `protocol` of `https`
  • `redirect`: Requests will be redirected to the specified `target.url`
  • `reject`: Requests will be rejected with a `403` status code

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerPolicyProvisioningStatusActiveConst        = "active"
	LoadBalancerListenerPolicyProvisioningStatusCreatePendingConst = "create_pending"
	LoadBalancerListenerPolicyProvisioningStatusDeletePendingConst = "delete_pending"
	LoadBalancerListenerPolicyProvisioningStatusFailedConst        = "failed"
	LoadBalancerListenerPolicyProvisioningStatusUpdatePendingConst = "update_pending"
)

Constants associated with the LoadBalancerListenerPolicy.ProvisioningStatus property. The provisioning status of this policy

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerPolicyPrototypeActionForwardConst       = "forward"
	LoadBalancerListenerPolicyPrototypeActionHTTPSRedirectConst = "https_redirect"
	LoadBalancerListenerPolicyPrototypeActionRedirectConst      = "redirect"
	LoadBalancerListenerPolicyPrototypeActionRejectConst        = "reject"
)

Constants associated with the LoadBalancerListenerPolicyPrototype.Action property. The policy action.

  • `forward`: Requests will be forwarded to the specified `target` pool
  • `https_redirect`: Requests will be redirected to the specified target listener. The listener must have a `protocol` of `http`, and the target listener must have a `protocol` of `https`
  • `redirect`: Requests will be redirected to the specified `target.url`
  • `reject`: Requests will be rejected with a `403` status code

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerPolicyRuleConditionContainsConst     = "contains"
	LoadBalancerListenerPolicyRuleConditionEqualsConst       = "equals"
	LoadBalancerListenerPolicyRuleConditionMatchesRegexConst = "matches_regex"
)

Constants associated with the LoadBalancerListenerPolicyRule.Condition property. The condition of the rule.

View Source
const (
	LoadBalancerListenerPolicyRuleProvisioningStatusActiveConst        = "active"
	LoadBalancerListenerPolicyRuleProvisioningStatusCreatePendingConst = "create_pending"
	LoadBalancerListenerPolicyRuleProvisioningStatusDeletePendingConst = "delete_pending"
	LoadBalancerListenerPolicyRuleProvisioningStatusFailedConst        = "failed"
	LoadBalancerListenerPolicyRuleProvisioningStatusUpdatePendingConst = "update_pending"
)

Constants associated with the LoadBalancerListenerPolicyRule.ProvisioningStatus property. The provisioning status of this rule

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerListenerPolicyRuleTypeBodyConst     = "body"
	LoadBalancerListenerPolicyRuleTypeHeaderConst   = "header"
	LoadBalancerListenerPolicyRuleTypeHostnameConst = "hostname"
	LoadBalancerListenerPolicyRuleTypePathConst     = "path"
	LoadBalancerListenerPolicyRuleTypeQueryConst    = "query"
)

Constants associated with the LoadBalancerListenerPolicyRule.Type property. The type of the rule.

Body rules are applied to form-encoded request bodies using the `UTF-8` character set.

View Source
const (
	LoadBalancerListenerPolicyRulePatchConditionContainsConst     = "contains"
	LoadBalancerListenerPolicyRulePatchConditionEqualsConst       = "equals"
	LoadBalancerListenerPolicyRulePatchConditionMatchesRegexConst = "matches_regex"
)

Constants associated with the LoadBalancerListenerPolicyRulePatch.Condition property. The condition of the rule.

View Source
const (
	LoadBalancerListenerPolicyRulePatchTypeBodyConst     = "body"
	LoadBalancerListenerPolicyRulePatchTypeHeaderConst   = "header"
	LoadBalancerListenerPolicyRulePatchTypeHostnameConst = "hostname"
	LoadBalancerListenerPolicyRulePatchTypePathConst     = "path"
	LoadBalancerListenerPolicyRulePatchTypeQueryConst    = "query"
)

Constants associated with the LoadBalancerListenerPolicyRulePatch.Type property. The type of the rule.

Body rules are applied to form-encoded request bodies using the `UTF-8` character set.

View Source
const (
	LoadBalancerListenerPolicyRulePrototypeConditionContainsConst     = "contains"
	LoadBalancerListenerPolicyRulePrototypeConditionEqualsConst       = "equals"
	LoadBalancerListenerPolicyRulePrototypeConditionMatchesRegexConst = "matches_regex"
)

Constants associated with the LoadBalancerListenerPolicyRulePrototype.Condition property. The condition of the rule.

View Source
const (
	LoadBalancerListenerPolicyRulePrototypeTypeBodyConst     = "body"
	LoadBalancerListenerPolicyRulePrototypeTypeHeaderConst   = "header"
	LoadBalancerListenerPolicyRulePrototypeTypeHostnameConst = "hostname"
	LoadBalancerListenerPolicyRulePrototypeTypePathConst     = "path"
	LoadBalancerListenerPolicyRulePrototypeTypeQueryConst    = "query"
)

Constants associated with the LoadBalancerListenerPolicyRulePrototype.Type property. The type of the rule.

Body rules are applied to form-encoded request bodies using the `UTF-8` character set.

View Source
const (
	LoadBalancerListenerPrototypeLoadBalancerContextProtocolHTTPConst  = "http"
	LoadBalancerListenerPrototypeLoadBalancerContextProtocolHTTPSConst = "https"
	LoadBalancerListenerPrototypeLoadBalancerContextProtocolTCPConst   = "tcp"
	LoadBalancerListenerPrototypeLoadBalancerContextProtocolUDPConst   = "udp"
)

Constants associated with the LoadBalancerListenerPrototypeLoadBalancerContext.Protocol property. The listener protocol. Each listener in the load balancer must have a unique `port` and `protocol` combination.

Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http` and `https`.

Additional restrictions:

  • If `default_pool` is set, the pool's protocol must match, or be compatible with the listener's protocol. At present, the compatible protocols are `http` and `https`.
  • If `https_redirect` is set, the protocol must be `http`.
View Source
const (
	LoadBalancerPoolAlgorithmLeastConnectionsConst   = "least_connections"
	LoadBalancerPoolAlgorithmRoundRobinConst         = "round_robin"
	LoadBalancerPoolAlgorithmWeightedRoundRobinConst = "weighted_round_robin"
)

Constants associated with the LoadBalancerPool.Algorithm property. The load balancing algorithm.

View Source
const (
	LoadBalancerPoolProtocolHTTPConst  = "http"
	LoadBalancerPoolProtocolHTTPSConst = "https"
	LoadBalancerPoolProtocolTCPConst   = "tcp"
	LoadBalancerPoolProtocolUDPConst   = "udp"
)

Constants associated with the LoadBalancerPool.Protocol property. The protocol for this load balancer pool.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerPoolProvisioningStatusActiveConst        = "active"
	LoadBalancerPoolProvisioningStatusCreatePendingConst = "create_pending"
	LoadBalancerPoolProvisioningStatusDeletePendingConst = "delete_pending"
	LoadBalancerPoolProvisioningStatusFailedConst        = "failed"
	LoadBalancerPoolProvisioningStatusUpdatePendingConst = "update_pending"
)

Constants associated with the LoadBalancerPool.ProvisioningStatus property. The provisioning status of this pool

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerPoolProxyProtocolDisabledConst = "disabled"
	LoadBalancerPoolProxyProtocolV1Const       = "v1"
	LoadBalancerPoolProxyProtocolV2Const       = "v2"
)

Constants associated with the LoadBalancerPool.ProxyProtocol property. The PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled

Supported by load balancers in the `application` family (otherwise always `disabled`).

View Source
const (
	LoadBalancerPoolHealthMonitorTypeHTTPConst  = "http"
	LoadBalancerPoolHealthMonitorTypeHTTPSConst = "https"
	LoadBalancerPoolHealthMonitorTypeTCPConst   = "tcp"
)

Constants associated with the LoadBalancerPoolHealthMonitor.Type property. The protocol type to use for health checks.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerPoolHealthMonitorPatchTypeHTTPConst  = "http"
	LoadBalancerPoolHealthMonitorPatchTypeHTTPSConst = "https"
	LoadBalancerPoolHealthMonitorPatchTypeTCPConst   = "tcp"
)

Constants associated with the LoadBalancerPoolHealthMonitorPatch.Type property. The protocol type to use for health checks.

View Source
const (
	LoadBalancerPoolHealthMonitorPrototypeTypeHTTPConst  = "http"
	LoadBalancerPoolHealthMonitorPrototypeTypeHTTPSConst = "https"
	LoadBalancerPoolHealthMonitorPrototypeTypeTCPConst   = "tcp"
)

Constants associated with the LoadBalancerPoolHealthMonitorPrototype.Type property. The protocol type to use for health checks.

View Source
const (
	LoadBalancerPoolMemberHealthFaultedConst = "faulted"
	LoadBalancerPoolMemberHealthOkConst      = "ok"
	LoadBalancerPoolMemberHealthUnknownConst = "unknown"
)

Constants associated with the LoadBalancerPoolMember.Health property. Health of the server member in the pool.

View Source
const (
	LoadBalancerPoolMemberProvisioningStatusActiveConst        = "active"
	LoadBalancerPoolMemberProvisioningStatusCreatePendingConst = "create_pending"
	LoadBalancerPoolMemberProvisioningStatusDeletePendingConst = "delete_pending"
	LoadBalancerPoolMemberProvisioningStatusFailedConst        = "failed"
	LoadBalancerPoolMemberProvisioningStatusUpdatePendingConst = "update_pending"
)

Constants associated with the LoadBalancerPoolMember.ProvisioningStatus property. The provisioning status of this member

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerPoolPatchAlgorithmLeastConnectionsConst   = "least_connections"
	LoadBalancerPoolPatchAlgorithmRoundRobinConst         = "round_robin"
	LoadBalancerPoolPatchAlgorithmWeightedRoundRobinConst = "weighted_round_robin"
)

Constants associated with the LoadBalancerPoolPatch.Algorithm property. The load balancing algorithm.

View Source
const (
	LoadBalancerPoolPatchProtocolHTTPConst  = "http"
	LoadBalancerPoolPatchProtocolHTTPSConst = "https"
	LoadBalancerPoolPatchProtocolTCPConst   = "tcp"
	LoadBalancerPoolPatchProtocolUDPConst   = "udp"
)

Constants associated with the LoadBalancerPoolPatch.Protocol property. The protocol for this load balancer pool.

Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http` and `https`.

If this pool is associated with a load balancer listener, the specified protocol must match, or be compatible with the listener's protocol. At present, the compatible protocols are `http` and `https`.

View Source
const (
	LoadBalancerPoolPatchProxyProtocolDisabledConst = "disabled"
	LoadBalancerPoolPatchProxyProtocolV1Const       = "v1"
	LoadBalancerPoolPatchProxyProtocolV2Const       = "v2"
)

Constants associated with the LoadBalancerPoolPatch.ProxyProtocol property. The PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled

Supported by load balancers in the `application` family (otherwise always `disabled`).

View Source
const (
	LoadBalancerPoolPrototypeAlgorithmLeastConnectionsConst   = "least_connections"
	LoadBalancerPoolPrototypeAlgorithmRoundRobinConst         = "round_robin"
	LoadBalancerPoolPrototypeAlgorithmWeightedRoundRobinConst = "weighted_round_robin"
)

Constants associated with the LoadBalancerPoolPrototype.Algorithm property. The load balancing algorithm.

View Source
const (
	LoadBalancerPoolPrototypeProtocolHTTPConst  = "http"
	LoadBalancerPoolPrototypeProtocolHTTPSConst = "https"
	LoadBalancerPoolPrototypeProtocolTCPConst   = "tcp"
	LoadBalancerPoolPrototypeProtocolUDPConst   = "udp"
)

Constants associated with the LoadBalancerPoolPrototype.Protocol property. The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`.

View Source
const (
	LoadBalancerPoolPrototypeProxyProtocolDisabledConst = "disabled"
	LoadBalancerPoolPrototypeProxyProtocolV1Const       = "v1"
	LoadBalancerPoolPrototypeProxyProtocolV2Const       = "v2"
)

Constants associated with the LoadBalancerPoolPrototype.ProxyProtocol property. The PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled

Supported by load balancers in the `application` family (otherwise always `disabled`).

View Source
const (
	LoadBalancerPoolSessionPersistenceTypeAppCookieConst  = "app_cookie"
	LoadBalancerPoolSessionPersistenceTypeHTTPCookieConst = "http_cookie"
	LoadBalancerPoolSessionPersistenceTypeSourceIPConst   = "source_ip"
)

Constants associated with the LoadBalancerPoolSessionPersistence.Type property. The session persistence type. The `http_cookie` and `app_cookie` types are applicable only to the `http` and `https` protocols.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerPoolSessionPersistencePatchTypeAppCookieConst  = "app_cookie"
	LoadBalancerPoolSessionPersistencePatchTypeHTTPCookieConst = "http_cookie"
	LoadBalancerPoolSessionPersistencePatchTypeSourceIPConst   = "source_ip"
)

Constants associated with the LoadBalancerPoolSessionPersistencePatch.Type property. The session persistence type. The `http_cookie` and `app_cookie` types are applicable only to the `http` and `https` protocols.

View Source
const (
	LoadBalancerPoolSessionPersistencePrototypeTypeAppCookieConst  = "app_cookie"
	LoadBalancerPoolSessionPersistencePrototypeTypeHTTPCookieConst = "http_cookie"
	LoadBalancerPoolSessionPersistencePrototypeTypeSourceIPConst   = "source_ip"
)

Constants associated with the LoadBalancerPoolSessionPersistencePrototype.Type property. The session persistence type. The `http_cookie` and `app_cookie` types are applicable only to the `http` and `https` protocols.

View Source
const (
	LoadBalancerProfileFamilyApplicationConst = "application"
	LoadBalancerProfileFamilyNetworkConst     = "network"
)

Constants associated with the LoadBalancerProfile.Family property. The product family this load balancer profile belongs to.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	LoadBalancerProfileReferenceFamilyApplicationConst = "application"
	LoadBalancerProfileReferenceFamilyNetworkConst     = "network"
)

Constants associated with the LoadBalancerProfileReference.Family property. The product family this load balancer profile belongs to.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	NetworkACLRuleActionAllowConst = "allow"
	NetworkACLRuleActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRule.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleDirectionInboundConst  = "inbound"
	NetworkACLRuleDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRule.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleProtocolAllConst  = "all"
	NetworkACLRuleProtocolIcmpConst = "icmp"
	NetworkACLRuleProtocolTCPConst  = "tcp"
	NetworkACLRuleProtocolUDPConst  = "udp"
)

Constants associated with the NetworkACLRule.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRuleItemActionAllowConst = "allow"
	NetworkACLRuleItemActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleItem.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleItemDirectionInboundConst  = "inbound"
	NetworkACLRuleItemDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleItem.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleItemProtocolAllConst  = "all"
	NetworkACLRuleItemProtocolIcmpConst = "icmp"
	NetworkACLRuleItemProtocolTCPConst  = "tcp"
	NetworkACLRuleItemProtocolUDPConst  = "udp"
)

Constants associated with the NetworkACLRuleItem.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePatchActionAllowConst = "allow"
	NetworkACLRulePatchActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePatch.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePatchDirectionInboundConst  = "inbound"
	NetworkACLRulePatchDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePatch.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePatchProtocolAllConst  = "all"
	NetworkACLRulePatchProtocolIcmpConst = "icmp"
	NetworkACLRulePatchProtocolTCPConst  = "tcp"
	NetworkACLRulePatchProtocolUDPConst  = "udp"
)

Constants associated with the NetworkACLRulePatch.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeProtocolAllConst  = "all"
	NetworkACLRulePrototypeProtocolIcmpConst = "icmp"
	NetworkACLRulePrototypeProtocolTCPConst  = "tcp"
	NetworkACLRulePrototypeProtocolUDPConst  = "udp"
)

Constants associated with the NetworkACLRulePrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLContextActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContext.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLContextDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContext.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextProtocolAllConst  = "all"
	NetworkACLRulePrototypeNetworkACLContextProtocolIcmpConst = "icmp"
	NetworkACLRulePrototypeNetworkACLContextProtocolTCPConst  = "tcp"
	NetworkACLRulePrototypeNetworkACLContextProtocolUDPConst  = "udp"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContext.Protocol property. The protocol to enforce.

View Source
const (
	NetworkInterfaceStatusAvailableConst = "available"
	NetworkInterfaceStatusDeletingConst  = "deleting"
	NetworkInterfaceStatusFailedConst    = "failed"
	NetworkInterfaceStatusPendingConst   = "pending"
)

Constants associated with the NetworkInterface.Status property. The status of the instance network interface.

If this instance has network attachments, this network interface is a read-only representation of its corresponding network attachment and its attached virtual network interface, and the status is [computed from them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).

View Source
const (
	NetworkInterfaceTypePrimaryConst   = "primary"
	NetworkInterfaceTypeSecondaryConst = "secondary"
)

Constants associated with the NetworkInterface.Type property. The instance network interface type.

If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the type is that of its corresponding network attachment.

View Source
const (
	PlacementGroupLifecycleStateDeletingConst  = "deleting"
	PlacementGroupLifecycleStateFailedConst    = "failed"
	PlacementGroupLifecycleStatePendingConst   = "pending"
	PlacementGroupLifecycleStateStableConst    = "stable"
	PlacementGroupLifecycleStateSuspendedConst = "suspended"
	PlacementGroupLifecycleStateUpdatingConst  = "updating"
	PlacementGroupLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the PlacementGroup.LifecycleState property. The lifecycle state of the placement group.

View Source
const (
	PlacementGroupStrategyHostSpreadConst  = "host_spread"
	PlacementGroupStrategyPowerSpreadConst = "power_spread"
)

Constants associated with the PlacementGroup.Strategy property. The strategy for this placement group: - `host_spread`: place on different compute hosts - `power_spread`: place on compute hosts that use different power sources

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	PublicGatewayStatusAvailableConst = "available"
	PublicGatewayStatusDeletingConst  = "deleting"
	PublicGatewayStatusFailedConst    = "failed"
	PublicGatewayStatusPendingConst   = "pending"
)

Constants associated with the PublicGateway.Status property. The status of this public gateway.

View Source
const (
	RegionStatusAvailableConst   = "available"
	RegionStatusUnavailableConst = "unavailable"
)

Constants associated with the Region.Status property. The availability status of this region.

View Source
const (
	ReservationLifecycleStateDeletingConst  = "deleting"
	ReservationLifecycleStateFailedConst    = "failed"
	ReservationLifecycleStatePendingConst   = "pending"
	ReservationLifecycleStateStableConst    = "stable"
	ReservationLifecycleStateSuspendedConst = "suspended"
	ReservationLifecycleStateUpdatingConst  = "updating"
	ReservationLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the Reservation.LifecycleState property. The lifecycle state of this reservation.

View Source
const (
	ReservationStatusActivatingConst   = "activating"
	ReservationStatusActiveConst       = "active"
	ReservationStatusDeactivatingConst = "deactivating"
	ReservationStatusExpiredConst      = "expired"
	ReservationStatusFailedConst       = "failed"
	ReservationStatusInactiveConst     = "inactive"
)

Constants associated with the Reservation.Status property. The status of the reservation.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservationCapacityStatusAllocatedConst   = "allocated"
	ReservationCapacityStatusAllocatingConst  = "allocating"
	ReservationCapacityStatusDegradedConst    = "degraded"
	ReservationCapacityStatusUnallocatedConst = "unallocated"
)

Constants associated with the ReservationCapacity.Status property. The status of the capacity reservation:

  • `allocating`: The capacity reservation is being allocated for use
  • `allocated`: The total capacity of the reservation has been allocated for use
  • `degraded`: The capacity reservation has been allocated for use, but some of the capacity is not available. See https://cloud.ibm.com/docs/vpc?topic=vpc-capacity-status for more information.
  • `unallocated`: The capacity reservation is not allocated for use

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservationCommittedUseExpirationPolicyReleaseConst = "release"
	ReservationCommittedUseExpirationPolicyRenewConst   = "renew"
)

Constants associated with the ReservationCommittedUse.ExpirationPolicy property. The policy to apply when the committed use term expires:

  • `release`: Release any available capacity and let the reservation expire.
  • `renew`: Renew for another term, provided the term remains listed in the `reservation_terms` for the profile. Otherwise, let the reservation expire.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservationCommittedUsePatchExpirationPolicyReleaseConst = "release"
	ReservationCommittedUsePatchExpirationPolicyRenewConst   = "renew"
)

Constants associated with the ReservationCommittedUsePatch.ExpirationPolicy property. The policy to apply when the committed use term expires:

  • `release`: Release any available capacity and let the reservation expire.
  • `renew`: Renew for another term, provided the term remains listed in the `reservation_terms` for the profile. Otherwise, let the reservation expire.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservationCommittedUsePrototypeExpirationPolicyReleaseConst = "release"
	ReservationCommittedUsePrototypeExpirationPolicyRenewConst   = "renew"
)

Constants associated with the ReservationCommittedUsePrototype.ExpirationPolicy property. The policy to apply when the committed use term expires:

  • `release`: Release any available capacity and let the reservation expire.
  • `renew`: Renew for another term, provided the term remains listed in the `reservation_terms` for the profile. Otherwise, let the reservation expire.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservationStatusReasonCodeCannotActivateNoCapacityAvailableConst = "cannot_activate_no_capacity_available"
	ReservationStatusReasonCodeCannotRenewUnsupportedProfileTermConst = "cannot_renew_unsupported_profile_term"
)

Constants associated with the ReservationStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservedIPLifecycleStateDeletingConst  = "deleting"
	ReservedIPLifecycleStateFailedConst    = "failed"
	ReservedIPLifecycleStatePendingConst   = "pending"
	ReservedIPLifecycleStateStableConst    = "stable"
	ReservedIPLifecycleStateSuspendedConst = "suspended"
	ReservedIPLifecycleStateUpdatingConst  = "updating"
	ReservedIPLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the ReservedIP.LifecycleState property. The lifecycle state of the reserved IP.

View Source
const (
	ReservedIPOwnerProviderConst = "provider"
	ReservedIPOwnerUserConst     = "user"
)

Constants associated with the ReservedIP.Owner property. The owner of the reserved IP.

View Source
const (
	RouteActionDelegateConst    = "delegate"
	RouteActionDelegateVPCConst = "delegate_vpc"
	RouteActionDeliverConst     = "deliver"
	RouteActionDropConst        = "drop"
)

Constants associated with the Route.Action property. The action to perform with a packet matching the route: - `delegate`: delegate to system-provided routes - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes - `deliver`: deliver the packet to the specified `next_hop` - `drop`: drop the packet.

View Source
const (
	RouteLifecycleStateDeletingConst  = "deleting"
	RouteLifecycleStateFailedConst    = "failed"
	RouteLifecycleStatePendingConst   = "pending"
	RouteLifecycleStateStableConst    = "stable"
	RouteLifecycleStateSuspendedConst = "suspended"
	RouteLifecycleStateUpdatingConst  = "updating"
	RouteLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the Route.LifecycleState property. The lifecycle state of the route.

View Source
const (
	RouteOriginServiceConst = "service"
	RouteOriginUserConst    = "user"
)

Constants associated with the Route.Origin property. The origin of this route: - `service`: route was directly created by a service - `user`: route was directly created by a user

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	RouteCollectionVPCContextRoutesItemActionDelegateConst    = "delegate"
	RouteCollectionVPCContextRoutesItemActionDelegateVPCConst = "delegate_vpc"
	RouteCollectionVPCContextRoutesItemActionDeliverConst     = "deliver"
	RouteCollectionVPCContextRoutesItemActionDropConst        = "drop"
)

Constants associated with the RouteCollectionVPCContextRoutesItem.Action property. The action to perform with a packet matching the route: - `delegate`: delegate to system-provided routes - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes - `deliver`: deliver the packet to the specified `next_hop` - `drop`: drop the packet.

View Source
const (
	RouteCollectionVPCContextRoutesItemLifecycleStateDeletingConst  = "deleting"
	RouteCollectionVPCContextRoutesItemLifecycleStateFailedConst    = "failed"
	RouteCollectionVPCContextRoutesItemLifecycleStatePendingConst   = "pending"
	RouteCollectionVPCContextRoutesItemLifecycleStateStableConst    = "stable"
	RouteCollectionVPCContextRoutesItemLifecycleStateSuspendedConst = "suspended"
	RouteCollectionVPCContextRoutesItemLifecycleStateUpdatingConst  = "updating"
	RouteCollectionVPCContextRoutesItemLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the RouteCollectionVPCContextRoutesItem.LifecycleState property. The lifecycle state of the route.

View Source
const (
	RouteCollectionVPCContextRoutesItemOriginServiceConst = "service"
	RouteCollectionVPCContextRoutesItemOriginUserConst    = "user"
)

Constants associated with the RouteCollectionVPCContextRoutesItem.Origin property. The origin of this route: - `service`: route was directly created by a service - `user`: route was directly created by a user

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	RoutePrototypeActionDelegateConst    = "delegate"
	RoutePrototypeActionDelegateVPCConst = "delegate_vpc"
	RoutePrototypeActionDeliverConst     = "deliver"
	RoutePrototypeActionDropConst        = "drop"
)

Constants associated with the RoutePrototype.Action property. The action to perform with a packet matching the route: - `delegate`: delegate to system-provided routes - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes - `deliver`: deliver the packet to the specified `next_hop` - `drop`: drop the packet.

View Source
const (
	RoutingTableAdvertiseRoutesToDirectLinkConst     = "direct_link"
	RoutingTableAdvertiseRoutesToTransitGatewayConst = "transit_gateway"
)

Constants associated with the RoutingTable.AdvertiseRoutesTo property. An ingress source that routes can be advertised to:

- `direct_link` (requires `route_direct_link_ingress` be set to `true`) - `transit_gateway` (requires `route_transit_gateway_ingress` be set to `true`).

View Source
const (
	RoutingTableLifecycleStateDeletingConst  = "deleting"
	RoutingTableLifecycleStateFailedConst    = "failed"
	RoutingTableLifecycleStatePendingConst   = "pending"
	RoutingTableLifecycleStateStableConst    = "stable"
	RoutingTableLifecycleStateSuspendedConst = "suspended"
	RoutingTableLifecycleStateUpdatingConst  = "updating"
	RoutingTableLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the RoutingTable.LifecycleState property. The lifecycle state of the routing table.

View Source
const (
	RoutingTablePatchAdvertiseRoutesToDirectLinkConst     = "direct_link"
	RoutingTablePatchAdvertiseRoutesToTransitGatewayConst = "transit_gateway"
)

Constants associated with the RoutingTablePatch.AdvertiseRoutesTo property. An ingress source that routes can be advertised to:

- `direct_link` (requires `route_direct_link_ingress` be set to `true`) - `transit_gateway` (requires `route_transit_gateway_ingress` be set to `true`).

View Source
const (
	SecurityGroupRuleDirectionInboundConst  = "inbound"
	SecurityGroupRuleDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRule.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRuleProtocolAllConst  = "all"
	SecurityGroupRuleProtocolIcmpConst = "icmp"
	SecurityGroupRuleProtocolTCPConst  = "tcp"
	SecurityGroupRuleProtocolUDPConst  = "udp"
)

Constants associated with the SecurityGroupRule.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRulePatchDirectionInboundConst  = "inbound"
	SecurityGroupRulePatchDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRulePatch.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRulePrototypeDirectionInboundConst  = "inbound"
	SecurityGroupRulePrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRulePrototype.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRulePrototypeProtocolAllConst  = "all"
	SecurityGroupRulePrototypeProtocolIcmpConst = "icmp"
	SecurityGroupRulePrototypeProtocolTCPConst  = "tcp"
	SecurityGroupRulePrototypeProtocolUDPConst  = "udp"
)

Constants associated with the SecurityGroupRulePrototype.Protocol property. The protocol to enforce.

View Source
const (
	ShareAccessControlModeSecurityGroupConst = "security_group"
	ShareAccessControlModeVPCConst           = "vpc"
)

Constants associated with the Share.AccessControlMode property. The access control mode for the share:

  • `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target.
  • `vpc`: All clients in the VPC for a mount target have access to the mount target.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareEncryptionProviderManagedConst = "provider_managed"
	ShareEncryptionUserManagedConst     = "user_managed"
)

Constants associated with the Share.Encryption property. The type of encryption used for this file share.

View Source
const (
	ShareLifecycleStateDeletingConst  = "deleting"
	ShareLifecycleStateFailedConst    = "failed"
	ShareLifecycleStatePendingConst   = "pending"
	ShareLifecycleStateStableConst    = "stable"
	ShareLifecycleStateSuspendedConst = "suspended"
	ShareLifecycleStateUpdatingConst  = "updating"
	ShareLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the Share.LifecycleState property. The lifecycle state of the file share.

View Source
const (
	ShareReplicationRoleNoneConst    = "none"
	ShareReplicationRoleReplicaConst = "replica"
	ShareReplicationRoleSourceConst  = "source"
)

Constants associated with the Share.ReplicationRole property. The replication role of the file share: - `none`: This share is not participating in replication. - `replica`: This share is a replication target. - `source`: This share is a replication source.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareReplicationStatusActiveConst          = "active"
	ShareReplicationStatusDegradedConst        = "degraded"
	ShareReplicationStatusFailoverPendingConst = "failover_pending"
	ShareReplicationStatusInitializingConst    = "initializing"
	ShareReplicationStatusNoneConst            = "none"
	ShareReplicationStatusSplitPendingConst    = "split_pending"
)

Constants associated with the Share.ReplicationStatus property. The replication status of the file share: - `active`: This share is actively participating in replication, and the replica's data is up-to-date with the replication schedule. - `degraded`: This is share is participating in replication, but the replica's data has fallen behind the replication schedule. - `failover_pending`: This share is performing a replication failover. - `initializing`: This share is initializing replication. - `none`: This share is not participating in replication. - `split_pending`: This share is performing a replication split.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareJobStatusCancelledConst = "cancelled"
	ShareJobStatusFailedConst    = "failed"
	ShareJobStatusQueuedConst    = "queued"
	ShareJobStatusRunningConst   = "running"
	ShareJobStatusSucceededConst = "succeeded"
)

Constants associated with the ShareJob.Status property. The status of the file share job: - `cancelled`: This job has been cancelled. - `failed`: This job has failed. - `queued`: This job is queued. - `running`: This job is running. - `succeeded`: This job completed successfully.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareJobTypeReplicationFailoverConst = "replication_failover"
	ShareJobTypeReplicationInitConst     = "replication_init"
	ShareJobTypeReplicationSplitConst    = "replication_split"
)

Constants associated with the ShareJob.Type property. The type of the file share job: - `replication_failover`: This is a share replication failover job. - `replication_init`: This is a share replication is initialization job. - `replication_split`: This is a share replication split job.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareJobStatusReasonCodeCannotInitializeReplicationConst = "cannot_initialize_replication"
	ShareJobStatusReasonCodeCannotReachReplicaShareConst     = "cannot_reach_replica_share"
	ShareJobStatusReasonCodeCannotReachSourceShareConst      = "cannot_reach_source_share"
)

Constants associated with the ShareJobStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareMountTargetAccessControlModeSecurityGroupConst = "security_group"
	ShareMountTargetAccessControlModeVPCConst           = "vpc"
)

Constants associated with the ShareMountTarget.AccessControlMode property. The access control mode for the share:

  • `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target.
  • `vpc`: All clients in the VPC for a mount target have access to the mount target.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareMountTargetLifecycleStateDeletingConst  = "deleting"
	ShareMountTargetLifecycleStateFailedConst    = "failed"
	ShareMountTargetLifecycleStatePendingConst   = "pending"
	ShareMountTargetLifecycleStateStableConst    = "stable"
	ShareMountTargetLifecycleStateSuspendedConst = "suspended"
	ShareMountTargetLifecycleStateUpdatingConst  = "updating"
	ShareMountTargetLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the ShareMountTarget.LifecycleState property. The lifecycle state of the mount target.

View Source
const (
	ShareMountTargetTransitEncryptionNoneConst        = "none"
	ShareMountTargetTransitEncryptionUserManagedConst = "user_managed"
)

Constants associated with the ShareMountTarget.TransitEncryption property. The transit encryption mode for this share mount target: - `none`: Not encrypted in transit - `user_managed`: Encrypted in transit using an instance identity certificate

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ShareMountTargetPrototypeTransitEncryptionNoneConst        = "none"
	ShareMountTargetPrototypeTransitEncryptionUserManagedConst = "user_managed"
)

Constants associated with the ShareMountTargetPrototype.TransitEncryption property. The transit encryption mode to use for this share mount target:

  • `none`: Not encrypted in transit.
  • `user_managed`: Encrypted in transit using an instance identity certificate. The `access_control_mode` for the share must be `security_group`.
View Source
const (
	SharePatchAccessControlModeSecurityGroupConst = "security_group"
	SharePatchAccessControlModeVPCConst           = "vpc"
)

Constants associated with the SharePatch.AccessControlMode property. The access control mode for the share:

  • `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target.
  • `vpc`: All clients in the VPC for a mount target have access to the mount target.

For this property to be changed, the share must have no mount targets and `replication_role` must be `none`.

View Source
const (
	SharePrototypeAccessControlModeSecurityGroupConst = "security_group"
	SharePrototypeAccessControlModeVPCConst           = "vpc"
)

Constants associated with the SharePrototype.AccessControlMode property. The access control mode for the share:

  • `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. Mount targets for this share require a virtual network interface.
  • `vpc`: All clients in the VPC for a mount target have access to the mount target. Mount targets for this share require a VPC.
View Source
const (
	ShareReplicationStatusReasonCodeCannotInitializeReplicationConst = "cannot_initialize_replication"
	ShareReplicationStatusReasonCodeCannotReachReplicaShareConst     = "cannot_reach_replica_share"
	ShareReplicationStatusReasonCodeCannotReachSourceShareConst      = "cannot_reach_source_share"
)

Constants associated with the ShareReplicationStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	SnapshotEncryptionProviderManagedConst = "provider_managed"
	SnapshotEncryptionUserManagedConst     = "user_managed"
)

Constants associated with the Snapshot.Encryption property. The type of encryption used on the source volume.

View Source
const (
	SnapshotLifecycleStateDeletingConst  = "deleting"
	SnapshotLifecycleStateFailedConst    = "failed"
	SnapshotLifecycleStatePendingConst   = "pending"
	SnapshotLifecycleStateStableConst    = "stable"
	SnapshotLifecycleStateSuspendedConst = "suspended"
	SnapshotLifecycleStateUpdatingConst  = "updating"
	SnapshotLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the Snapshot.LifecycleState property. The lifecycle state of this snapshot.

View Source
const (
	SnapshotConsistencyGroupLifecycleStateDeletingConst  = "deleting"
	SnapshotConsistencyGroupLifecycleStateFailedConst    = "failed"
	SnapshotConsistencyGroupLifecycleStatePendingConst   = "pending"
	SnapshotConsistencyGroupLifecycleStateStableConst    = "stable"
	SnapshotConsistencyGroupLifecycleStateSuspendedConst = "suspended"
	SnapshotConsistencyGroupLifecycleStateUpdatingConst  = "updating"
	SnapshotConsistencyGroupLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the SnapshotConsistencyGroup.LifecycleState property. The lifecycle state of this snapshot consistency group.

View Source
const (
	StopBareMetalServerOptionsTypeHardConst = "hard"
	StopBareMetalServerOptionsTypeSoftConst = "soft"
)

Constants associated with the StopBareMetalServerOptions.Type property. The type of stop operation: - `soft`: signal running operating system to quiesce and shutdown cleanly - `hard`: immediately stop the server.

View Source
const (
	SubnetStatusAvailableConst = "available"
	SubnetStatusDeletingConst  = "deleting"
	SubnetStatusFailedConst    = "failed"
	SubnetStatusPendingConst   = "pending"
)

Constants associated with the Subnet.Status property. The status of the subnet.

View Source
const (
	VPCHealthStateDegradedConst     = "degraded"
	VPCHealthStateFaultedConst      = "faulted"
	VPCHealthStateInapplicableConst = "inapplicable"
	VPCHealthStateOkConst           = "ok"
)

Constants associated with the VPC.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPCStatusAvailableConst = "available"
	VPCStatusDeletingConst  = "deleting"
	VPCStatusFailedConst    = "failed"
	VPCStatusPendingConst   = "pending"
)

Constants associated with the VPC.Status property. The status of this VPC.

View Source
const (
	VpcdnsResolutionBindingHealthStateDegradedConst     = "degraded"
	VpcdnsResolutionBindingHealthStateFaultedConst      = "faulted"
	VpcdnsResolutionBindingHealthStateInapplicableConst = "inapplicable"
	VpcdnsResolutionBindingHealthStateOkConst           = "ok"
)

Constants associated with the VpcdnsResolutionBinding.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VpcdnsResolutionBindingLifecycleStateDeletingConst  = "deleting"
	VpcdnsResolutionBindingLifecycleStateFailedConst    = "failed"
	VpcdnsResolutionBindingLifecycleStatePendingConst   = "pending"
	VpcdnsResolutionBindingLifecycleStateStableConst    = "stable"
	VpcdnsResolutionBindingLifecycleStateSuspendedConst = "suspended"
	VpcdnsResolutionBindingLifecycleStateUpdatingConst  = "updating"
	VpcdnsResolutionBindingLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VpcdnsResolutionBinding.LifecycleState property. The lifecycle state of the DNS resolution binding.

View Source
const (
	VpcdnsResolutionBindingHealthReasonCodeDisconnectedFromBoundVPCConst = "disconnected_from_bound_vpc"
	VpcdnsResolutionBindingHealthReasonCodeInternalErrorConst            = "internal_error"
)

Constants associated with the VpcdnsResolutionBindingHealthReason.Code property. A reason code for this health state.

View Source
const (
	VpcdnsResolverTypeDelegatedConst = "delegated"
	VpcdnsResolverTypeManualConst    = "manual"
	VpcdnsResolverTypeSystemConst    = "system"
)

Constants associated with the VpcdnsResolver.Type property. The type of the DNS resolver used for the VPC.

  • `delegated`: DNS server addresses are provided by the DNS resolver of the VPC specified in `dns.resolver.vpc`.
  • `manual`: DNS server addresses are specified in `dns.resolver.manual_servers`.
  • `system`: DNS server addresses are provided by the system.
View Source
const (
	VpcdnsResolverConfigurationCustomResolverConst  = "custom_resolver"
	VpcdnsResolverConfigurationDefaultConst         = "default"
	VpcdnsResolverConfigurationPrivateResolverConst = "private_resolver"
)

Constants associated with the VpcdnsResolver.Configuration property. The configuration of the system DNS resolver for this VPC.

- `custom_resolver`: A custom DNS resolver is configured for this VPC.

  • `private_resolver`: A private DNS resolver is configured for this VPC. Applicable when the VPC has either or both of the following:

  • at least one endpoint gateway residing in it

  • a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it

- `default`: The provider default DNS resolvers are configured for this VPC.

This system DNS resolver configuration is used when the VPC has:

- no custom DNS resolver configured for it, and
- no endpoint gateways residing in it, and
- no [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it.
View Source
const (
	VpcdnsResolverPatchTypeDelegatedConst = "delegated"
	VpcdnsResolverPatchTypeManualConst    = "manual"
	VpcdnsResolverPatchTypeSystemConst    = "system"
)

Constants associated with the VpcdnsResolverPatch.Type property. The type of the DNS resolver to use.

  • `delegated`: DNS server addresses will be provided by the resolver for the VPC specified in `dns.resolver.vpc`. Requires `dns.enable_hub` to be `false`.
  • `manual`: DNS server addresses are specified in `dns.resolver.manual_servers`.
  • `system`: DNS server addresses will be provided by the system and depend on the configuration.

Updating from `manual` requires `dns.resolver.manual_servers` to be specified as `null`.

Updating to `manual` requires `dns.resolver.manual_servers` to be specified and not empty.

Updating from `delegated` requires `dns.resolver.vpc` to be specified as `null`.

View Source
const (
	VpcdnsResolverPrototypeTypeManualConst = "manual"
	VpcdnsResolverPrototypeTypeSystemConst = "system"
)

Constants associated with the VpcdnsResolverPrototype.Type property. The type of the DNS resolver to use.

  • `manual`: DNS server addresses are specified in `dns.resolver.manual_servers`.
  • `system`: DNS server addresses will be provided by the system and depend on the configuration.
View Source
const (
	VPCHealthReasonCodeDnsResolutionBindingFailedConst = "dns_resolution_binding_failed"
	VPCHealthReasonCodeInternalErrorConst              = "internal_error"
)

Constants associated with the VPCHealthReason.Code property. A reason code for this health state.

View Source
const (
	VPNGatewayHealthStateDegradedConst     = "degraded"
	VPNGatewayHealthStateFaultedConst      = "faulted"
	VPNGatewayHealthStateInapplicableConst = "inapplicable"
	VPNGatewayHealthStateOkConst           = "ok"
)

Constants associated with the VPNGateway.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPNGatewayLifecycleStateDeletingConst  = "deleting"
	VPNGatewayLifecycleStateFailedConst    = "failed"
	VPNGatewayLifecycleStatePendingConst   = "pending"
	VPNGatewayLifecycleStateStableConst    = "stable"
	VPNGatewayLifecycleStateSuspendedConst = "suspended"
	VPNGatewayLifecycleStateUpdatingConst  = "updating"
	VPNGatewayLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VPNGateway.LifecycleState property. The lifecycle state of the VPN gateway.

View Source
const (
	VPNGatewayConnectionEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnection.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionModePolicyConst = "policy"
	VPNGatewayConnectionModeRouteConst  = "route"
)

Constants associated with the VPNGatewayConnection.Mode property. The mode of the VPN gateway.

View Source
const (
	VPNGatewayConnectionStatusDownConst = "down"
	VPNGatewayConnectionStatusUpConst   = "up"
)

Constants associated with the VPNGatewayConnection.Status property. The status of a VPN gateway connection.

View Source
const (
	VPNGatewayConnectionDpdActionClearConst   = "clear"
	VPNGatewayConnectionDpdActionHoldConst    = "hold"
	VPNGatewayConnectionDpdActionNoneConst    = "none"
	VPNGatewayConnectionDpdActionRestartConst = "restart"
)

Constants associated with the VPNGatewayConnectionDpd.Action property. Dead Peer Detection actions.

View Source
const (
	VPNGatewayConnectionDpdPatchActionClearConst   = "clear"
	VPNGatewayConnectionDpdPatchActionHoldConst    = "hold"
	VPNGatewayConnectionDpdPatchActionNoneConst    = "none"
	VPNGatewayConnectionDpdPatchActionRestartConst = "restart"
)

Constants associated with the VPNGatewayConnectionDpdPatch.Action property. Dead Peer Detection actions.

View Source
const (
	VPNGatewayConnectionDpdPrototypeActionClearConst   = "clear"
	VPNGatewayConnectionDpdPrototypeActionHoldConst    = "hold"
	VPNGatewayConnectionDpdPrototypeActionNoneConst    = "none"
	VPNGatewayConnectionDpdPrototypeActionRestartConst = "restart"
)

Constants associated with the VPNGatewayConnectionDpdPrototype.Action property. Dead Peer Detection actions.

View Source
const (
	VPNGatewayConnectionIkeIdentityTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentity.Type property. The IKE identity type.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayConnectionIkeIdentityPrototypeTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityPrototypeTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityPrototypeTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityPrototypeTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityPrototype.Type property. The IKE identity type.

View Source
const (
	VPNGatewayConnectionPatchEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionPatchEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionPatch.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionPolicyModePeerTypeAddressConst = "address"
	VPNGatewayConnectionPolicyModePeerTypeFqdnConst    = "fqdn"
)

Constants associated with the VPNGatewayConnectionPolicyModePeer.Type property. Indicates whether `peer.address` or `peer.fqdn` is used.

View Source
const (
	VPNGatewayConnectionPrototypeEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionPrototypeEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionPrototype.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionStaticRouteModePeerTypeAddressConst = "address"
	VPNGatewayConnectionStaticRouteModePeerTypeFqdnConst    = "fqdn"
)

Constants associated with the VPNGatewayConnectionStaticRouteModePeer.Type property. Indicates whether `peer.address` or `peer.fqdn` is used.

View Source
const (
	VPNGatewayConnectionStaticRouteModeTunnelStatusDownConst = "down"
	VPNGatewayConnectionStaticRouteModeTunnelStatusUpConst   = "up"
)

Constants associated with the VPNGatewayConnectionStaticRouteModeTunnel.Status property. The status of the VPN Tunnel.

View Source
const (
	VPNGatewayConnectionStatusReasonCodeCannotAuthenticateConnectionConst   = "cannot_authenticate_connection"
	VPNGatewayConnectionStatusReasonCodeIkePolicyMismatchConst              = "ike_policy_mismatch"
	VPNGatewayConnectionStatusReasonCodeIkeV1IDLocalRemoteCIDRMismatchConst = "ike_v1_id_local_remote_cidr_mismatch"
	VPNGatewayConnectionStatusReasonCodeIkeV2LocalRemoteCIDRMismatchConst   = "ike_v2_local_remote_cidr_mismatch"
	VPNGatewayConnectionStatusReasonCodeInternalErrorConst                  = "internal_error"
	VPNGatewayConnectionStatusReasonCodeIpsecPolicyMismatchConst            = "ipsec_policy_mismatch"
	VPNGatewayConnectionStatusReasonCodePeerNotRespondingConst              = "peer_not_responding"
)

Constants associated with the VPNGatewayConnectionStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayConnectionTunnelStatusReasonCodeCannotAuthenticateConnectionConst   = "cannot_authenticate_connection"
	VPNGatewayConnectionTunnelStatusReasonCodeIkePolicyMismatchConst              = "ike_policy_mismatch"
	VPNGatewayConnectionTunnelStatusReasonCodeIkeV1IDLocalRemoteCIDRMismatchConst = "ike_v1_id_local_remote_cidr_mismatch"
	VPNGatewayConnectionTunnelStatusReasonCodeIkeV2LocalRemoteCIDRMismatchConst   = "ike_v2_local_remote_cidr_mismatch"
	VPNGatewayConnectionTunnelStatusReasonCodeInternalErrorConst                  = "internal_error"
	VPNGatewayConnectionTunnelStatusReasonCodeIpsecPolicyMismatchConst            = "ipsec_policy_mismatch"
	VPNGatewayConnectionTunnelStatusReasonCodePeerNotRespondingConst              = "peer_not_responding"
)

Constants associated with the VPNGatewayConnectionTunnelStatusReason.Code property. A reason code for this status:

  • `cannot_authenticate_connection`: Failed to authenticate a connection because of mismatched IKE ID and PSK (check IKE ID and PSK in peer VPN configuration)
  • `internal_error`: Internal error (contact IBM support)
  • `ike_policy_mismatch`: None of the proposed IKE crypto suites was acceptable (check the IKE policies on both sides of the VPN)
  • `ike_v1_id_local_remote_cidr_mismatch`: Invalid IKE ID or mismatched local CIDRs and remote CIDRs in IKE V1 (check the IKE ID or the local CIDRs and remote CIDRs in IKE V1 configuration)
  • `ike_v2_local_remote_cidr_mismatch`: Mismatched local CIDRs and remote CIDRs in IKE V2 (check the local CIDRs and remote CIDRs in IKE V2 configuration)
  • `ipsec_policy_mismatch`: None of the proposed IPsec crypto suites was acceptable (check the IPsec policies on both sides of the VPN)
  • `peer_not_responding`: No response from peer (check network ACL configuration, peer availability, and on-premise firewall configuration)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayHealthReasonCodeCannotCreateVPCRouteConst   = "cannot_create_vpc_route"
	VPNGatewayHealthReasonCodeCannotReserveIPAddressConst = "cannot_reserve_ip_address"
	VPNGatewayHealthReasonCodeInternalErrorConst          = "internal_error"
)

Constants associated with the VPNGatewayHealthReason.Code property. A reason code for this health state:

  • `cannot_create_vpc_route`: VPN cannot create route (check for conflict)
  • `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's subnet)
  • `internal_error`: Internal error (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayLifecycleReasonCodeInternalErrorConst               = "internal_error"
	VPNGatewayLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the VPNGatewayLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayMemberHealthStateDegradedConst     = "degraded"
	VPNGatewayMemberHealthStateFaultedConst      = "faulted"
	VPNGatewayMemberHealthStateInapplicableConst = "inapplicable"
	VPNGatewayMemberHealthStateOkConst           = "ok"
)

Constants associated with the VPNGatewayMember.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPNGatewayMemberLifecycleStateDeletingConst  = "deleting"
	VPNGatewayMemberLifecycleStateFailedConst    = "failed"
	VPNGatewayMemberLifecycleStatePendingConst   = "pending"
	VPNGatewayMemberLifecycleStateStableConst    = "stable"
	VPNGatewayMemberLifecycleStateSuspendedConst = "suspended"
	VPNGatewayMemberLifecycleStateUpdatingConst  = "updating"
	VPNGatewayMemberLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VPNGatewayMember.LifecycleState property. The lifecycle state of the VPN gateway member.

View Source
const (
	VPNGatewayMemberRoleActiveConst  = "active"
	VPNGatewayMemberRoleStandbyConst = "standby"
)

Constants associated with the VPNGatewayMember.Role property. The high availability role assigned to the VPN gateway member.

View Source
const (
	VPNGatewayMemberHealthReasonCodeCannotReserveIPAddressConst = "cannot_reserve_ip_address"
	VPNGatewayMemberHealthReasonCodeInternalErrorConst          = "internal_error"
)

Constants associated with the VPNGatewayMemberHealthReason.Code property. A reason code for this health state:

  • `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's subnet)
  • `internal_error`: Internal error (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayMemberLifecycleReasonCodeInternalErrorConst               = "internal_error"
	VPNGatewayMemberLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the VPNGatewayMemberLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerHealthStateDegradedConst     = "degraded"
	VPNServerHealthStateFaultedConst      = "faulted"
	VPNServerHealthStateInapplicableConst = "inapplicable"
	VPNServerHealthStateOkConst           = "ok"
)

Constants associated with the VPNServer.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPNServerLifecycleStateDeletingConst  = "deleting"
	VPNServerLifecycleStateFailedConst    = "failed"
	VPNServerLifecycleStatePendingConst   = "pending"
	VPNServerLifecycleStateStableConst    = "stable"
	VPNServerLifecycleStateSuspendedConst = "suspended"
	VPNServerLifecycleStateUpdatingConst  = "updating"
	VPNServerLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VPNServer.LifecycleState property. The lifecycle state of the VPN server.

View Source
const (
	VPNServerProtocolTCPConst = "tcp"
	VPNServerProtocolUDPConst = "udp"
)

Constants associated with the VPNServer.Protocol property. The transport protocol used by this VPN server.

View Source
const (
	VPNServerAuthenticationMethodCertificateConst = "certificate"
	VPNServerAuthenticationMethodUsernameConst    = "username"
)

Constants associated with the VPNServerAuthentication.Method property. The type of authentication.

View Source
const (
	VPNServerAuthenticationPrototypeMethodCertificateConst = "certificate"
	VPNServerAuthenticationPrototypeMethodUsernameConst    = "username"
)

Constants associated with the VPNServerAuthenticationPrototype.Method property. The type of authentication.

View Source
const (
	VPNServerClientStatusConnectedConst    = "connected"
	VPNServerClientStatusDisconnectedConst = "disconnected"
)

Constants associated with the VPNServerClient.Status property. The status of the VPN client: - `connected`: the VPN client is `connected` to this VPN server. - `disconnected`: the VPN client is `disconnected` from this VPN server.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerHealthReasonCodeCannotAccessClientCertificateConst = "cannot_access_client_certificate"
	VPNServerHealthReasonCodeCannotAccessServerCertificateConst = "cannot_access_server_certificate"
	VPNServerHealthReasonCodeCannotCreateVPCRouteConst          = "cannot_create_vpc_route"
	VPNServerHealthReasonCodeCannotReserveIPAddressConst        = "cannot_reserve_ip_address"
	VPNServerHealthReasonCodeInternalErrorConst                 = "internal_error"
)

Constants associated with the VPNServerHealthReason.Code property. A reason code for this health state:

  • `cannot_access_client_certificate`: VPN server's client certificate is inaccessible (verify certificate exists and that IAM policies grant `VPN server for VPC` access to `Secrets Manager`)
  • `cannot_access_server_certificate`: VPN server's server certificate is inaccessible (verify certificate exists and that IAM policies grant `VPN server for VPC` access to `Secrets Manager`)
  • `cannot_create_vpc_route`: VPN cannot create route (check for conflict)
  • `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's subnet)
  • `internal_error`: Internal error (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerLifecycleReasonCodeInternalErrorConst               = "internal_error"
	VPNServerLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the VPNServerLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerPatchProtocolTCPConst = "tcp"
	VPNServerPatchProtocolUDPConst = "udp"
)

Constants associated with the VPNServerPatch.Protocol property. The transport protocol used by this VPN server.

View Source
const (
	VPNServerRouteActionDeliverConst   = "deliver"
	VPNServerRouteActionDropConst      = "drop"
	VPNServerRouteActionTranslateConst = "translate"
)

Constants associated with the VPNServerRoute.Action property. The action to perform with a packet matching the VPN route:

  • `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target.
  • `deliver`: deliver the packet into the VPC.
  • `drop`: drop the packet

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerRouteHealthStateDegradedConst     = "degraded"
	VPNServerRouteHealthStateFaultedConst      = "faulted"
	VPNServerRouteHealthStateInapplicableConst = "inapplicable"
	VPNServerRouteHealthStateOkConst           = "ok"
)

Constants associated with the VPNServerRoute.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPNServerRouteLifecycleStateDeletingConst  = "deleting"
	VPNServerRouteLifecycleStateFailedConst    = "failed"
	VPNServerRouteLifecycleStatePendingConst   = "pending"
	VPNServerRouteLifecycleStateStableConst    = "stable"
	VPNServerRouteLifecycleStateSuspendedConst = "suspended"
	VPNServerRouteLifecycleStateUpdatingConst  = "updating"
	VPNServerRouteLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VPNServerRoute.LifecycleState property. The lifecycle state of the VPN route.

View Source
const (
	VPNServerRouteLifecycleReasonCodeInternalErrorConst               = "internal_error"
	VPNServerRouteLifecycleReasonCodeResourceSuspendedByProviderConst = "resource_suspended_by_provider"
)

Constants associated with the VPNServerRouteLifecycleReason.Code property. A reason code for this lifecycle state:

  • `internal_error`: internal error (contact IBM support)
  • `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VirtualNetworkInterfaceLifecycleStateDeletingConst  = "deleting"
	VirtualNetworkInterfaceLifecycleStateFailedConst    = "failed"
	VirtualNetworkInterfaceLifecycleStatePendingConst   = "pending"
	VirtualNetworkInterfaceLifecycleStateStableConst    = "stable"
	VirtualNetworkInterfaceLifecycleStateSuspendedConst = "suspended"
	VirtualNetworkInterfaceLifecycleStateUpdatingConst  = "updating"
	VirtualNetworkInterfaceLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VirtualNetworkInterface.LifecycleState property. The lifecycle state of the virtual network interface.

View Source
const (
	VolumeAttachmentStateAttachedConst   = "attached"
	VolumeAttachmentStateUnattachedConst = "unattached"
	VolumeAttachmentStateUnusableConst   = "unusable"
)

Constants associated with the Volume.AttachmentState property. The attachment state of the volume - `unattached`: Not attached to any virtual server instances - `attached`: Attached to a virtual server instance (even if the instance is stopped) - `unusable`: Not able to be attached to any virtual server instances.

View Source
const (
	VolumeEncryptionProviderManagedConst = "provider_managed"
	VolumeEncryptionUserManagedConst     = "user_managed"
)

Constants associated with the Volume.Encryption property. The type of encryption used on the volume.

View Source
const (
	VolumeHealthStateDegradedConst     = "degraded"
	VolumeHealthStateFaultedConst      = "faulted"
	VolumeHealthStateInapplicableConst = "inapplicable"
	VolumeHealthStateOkConst           = "ok"
)

Constants associated with the Volume.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VolumeStatusAvailableConst       = "available"
	VolumeStatusFailedConst          = "failed"
	VolumeStatusPendingConst         = "pending"
	VolumeStatusPendingDeletionConst = "pending_deletion"
	VolumeStatusUnusableConst        = "unusable"
	VolumeStatusUpdatingConst        = "updating"
)

Constants associated with the Volume.Status property. The status of the volume.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VolumeAttachmentStatusAttachedConst  = "attached"
	VolumeAttachmentStatusAttachingConst = "attaching"
	VolumeAttachmentStatusDeletingConst  = "deleting"
	VolumeAttachmentStatusDetachingConst = "detaching"
)

Constants associated with the VolumeAttachment.Status property. The status of this volume attachment.

View Source
const (
	VolumeAttachmentTypeBootConst = "boot"
	VolumeAttachmentTypeDataConst = "data"
)

Constants associated with the VolumeAttachment.Type property. The type of volume attachment.

View Source
const (
	VolumeAttachmentReferenceVolumeContextTypeBootConst = "boot"
	VolumeAttachmentReferenceVolumeContextTypeDataConst = "data"
)

Constants associated with the VolumeAttachmentReferenceVolumeContext.Type property. The type of volume attachment.

View Source
const (
	VolumeProfileFamilyCustomConst = "custom"
	VolumeProfileFamilyTieredConst = "tiered"
)

Constants associated with the VolumeProfile.Family property. The product family this volume profile belongs to.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ZoneStatusAvailableConst   = "available"
	ZoneStatusImpairedConst    = "impaired"
	ZoneStatusUnavailableConst = "unavailable"
)

Constants associated with the Zone.Status property. The availability status of this zone.

View Source
const (
	BackupPolicyMatchResourceTypeInstanceHealthStateDegradedConst     = "degraded"
	BackupPolicyMatchResourceTypeInstanceHealthStateFaultedConst      = "faulted"
	BackupPolicyMatchResourceTypeInstanceHealthStateInapplicableConst = "inapplicable"
	BackupPolicyMatchResourceTypeInstanceHealthStateOkConst           = "ok"
)

Constants associated with the BackupPolicyMatchResourceTypeInstance.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	BackupPolicyMatchResourceTypeInstanceLifecycleStateDeletingConst  = "deleting"
	BackupPolicyMatchResourceTypeInstanceLifecycleStateFailedConst    = "failed"
	BackupPolicyMatchResourceTypeInstanceLifecycleStatePendingConst   = "pending"
	BackupPolicyMatchResourceTypeInstanceLifecycleStateStableConst    = "stable"
	BackupPolicyMatchResourceTypeInstanceLifecycleStateSuspendedConst = "suspended"
	BackupPolicyMatchResourceTypeInstanceLifecycleStateUpdatingConst  = "updating"
	BackupPolicyMatchResourceTypeInstanceLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BackupPolicyMatchResourceTypeInstance.LifecycleState property. The lifecycle state of the backup policy.

View Source
const (
	BackupPolicyMatchResourceTypeInstanceIncludedContentBootVolumeConst  = "boot_volume"
	BackupPolicyMatchResourceTypeInstanceIncludedContentDataVolumesConst = "data_volumes"
)

Constants associated with the BackupPolicyMatchResourceTypeInstance.IncludedContent property. An item to include.

View Source
const (
	BackupPolicyMatchResourceTypeVolumeHealthStateDegradedConst     = "degraded"
	BackupPolicyMatchResourceTypeVolumeHealthStateFaultedConst      = "faulted"
	BackupPolicyMatchResourceTypeVolumeHealthStateInapplicableConst = "inapplicable"
	BackupPolicyMatchResourceTypeVolumeHealthStateOkConst           = "ok"
)

Constants associated with the BackupPolicyMatchResourceTypeVolume.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	BackupPolicyMatchResourceTypeVolumeLifecycleStateDeletingConst  = "deleting"
	BackupPolicyMatchResourceTypeVolumeLifecycleStateFailedConst    = "failed"
	BackupPolicyMatchResourceTypeVolumeLifecycleStatePendingConst   = "pending"
	BackupPolicyMatchResourceTypeVolumeLifecycleStateStableConst    = "stable"
	BackupPolicyMatchResourceTypeVolumeLifecycleStateSuspendedConst = "suspended"
	BackupPolicyMatchResourceTypeVolumeLifecycleStateUpdatingConst  = "updating"
	BackupPolicyMatchResourceTypeVolumeLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BackupPolicyMatchResourceTypeVolume.LifecycleState property. The lifecycle state of the backup policy.

View Source
const (
	BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototypeIncludedContentBootVolumeConst  = "boot_volume"
	BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototypeIncludedContentDataVolumesConst = "data_volumes"
)

Constants associated with the BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype.IncludedContent property. An item to include.

View Source
const (
	BareMetalServerNetworkAttachmentByPciLifecycleStateDeletingConst  = "deleting"
	BareMetalServerNetworkAttachmentByPciLifecycleStateFailedConst    = "failed"
	BareMetalServerNetworkAttachmentByPciLifecycleStatePendingConst   = "pending"
	BareMetalServerNetworkAttachmentByPciLifecycleStateStableConst    = "stable"
	BareMetalServerNetworkAttachmentByPciLifecycleStateSuspendedConst = "suspended"
	BareMetalServerNetworkAttachmentByPciLifecycleStateUpdatingConst  = "updating"
	BareMetalServerNetworkAttachmentByPciLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BareMetalServerNetworkAttachmentByPci.LifecycleState property. The lifecycle state of the bare metal server network attachment.

View Source
const (
	BareMetalServerNetworkAttachmentByPciTypePrimaryConst   = "primary"
	BareMetalServerNetworkAttachmentByPciTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkAttachmentByPci.Type property. The bare metal server network attachment type.

View Source
const (
	BareMetalServerNetworkAttachmentByVlanLifecycleStateDeletingConst  = "deleting"
	BareMetalServerNetworkAttachmentByVlanLifecycleStateFailedConst    = "failed"
	BareMetalServerNetworkAttachmentByVlanLifecycleStatePendingConst   = "pending"
	BareMetalServerNetworkAttachmentByVlanLifecycleStateStableConst    = "stable"
	BareMetalServerNetworkAttachmentByVlanLifecycleStateSuspendedConst = "suspended"
	BareMetalServerNetworkAttachmentByVlanLifecycleStateUpdatingConst  = "updating"
	BareMetalServerNetworkAttachmentByVlanLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the BareMetalServerNetworkAttachmentByVlan.LifecycleState property. The lifecycle state of the bare metal server network attachment.

View Source
const (
	BareMetalServerNetworkAttachmentByVlanTypePrimaryConst   = "primary"
	BareMetalServerNetworkAttachmentByVlanTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkAttachmentByVlan.Type property. The bare metal server network attachment type.

View Source
const (
	BareMetalServerNetworkInterfaceByHiperSocketStatusAvailableConst = "available"
	BareMetalServerNetworkInterfaceByHiperSocketStatusDeletingConst  = "deleting"
	BareMetalServerNetworkInterfaceByHiperSocketStatusFailedConst    = "failed"
	BareMetalServerNetworkInterfaceByHiperSocketStatusPendingConst   = "pending"
)

Constants associated with the BareMetalServerNetworkInterfaceByHiperSocket.Status property. The status of the bare metal server network interface.

If this bare metal server has network attachments, this network interface is a read-only representation of its corresponding network attachment and its attached virtual network interface, and the status is [computed from them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).

View Source
const (
	BareMetalServerNetworkInterfaceByHiperSocketTypePrimaryConst   = "primary"
	BareMetalServerNetworkInterfaceByHiperSocketTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkInterfaceByHiperSocket.Type property. The bare metal server network interface type.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the type is that of its corresponding network attachment.

View Source
const (
	BareMetalServerNetworkInterfaceByPciStatusAvailableConst = "available"
	BareMetalServerNetworkInterfaceByPciStatusDeletingConst  = "deleting"
	BareMetalServerNetworkInterfaceByPciStatusFailedConst    = "failed"
	BareMetalServerNetworkInterfaceByPciStatusPendingConst   = "pending"
)

Constants associated with the BareMetalServerNetworkInterfaceByPci.Status property. The status of the bare metal server network interface.

If this bare metal server has network attachments, this network interface is a read-only representation of its corresponding network attachment and its attached virtual network interface, and the status is [computed from them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).

View Source
const (
	BareMetalServerNetworkInterfaceByPciTypePrimaryConst   = "primary"
	BareMetalServerNetworkInterfaceByPciTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkInterfaceByPci.Type property. The bare metal server network interface type.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the type is that of its corresponding network attachment.

View Source
const (
	BareMetalServerNetworkInterfaceByVlanStatusAvailableConst = "available"
	BareMetalServerNetworkInterfaceByVlanStatusDeletingConst  = "deleting"
	BareMetalServerNetworkInterfaceByVlanStatusFailedConst    = "failed"
	BareMetalServerNetworkInterfaceByVlanStatusPendingConst   = "pending"
)

Constants associated with the BareMetalServerNetworkInterfaceByVlan.Status property. The status of the bare metal server network interface.

If this bare metal server has network attachments, this network interface is a read-only representation of its corresponding network attachment and its attached virtual network interface, and the status is [computed from them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).

View Source
const (
	BareMetalServerNetworkInterfaceByVlanTypePrimaryConst   = "primary"
	BareMetalServerNetworkInterfaceByVlanTypeSecondaryConst = "secondary"
)

Constants associated with the BareMetalServerNetworkInterfaceByVlan.Type property. The bare metal server network interface type.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the type is that of its corresponding network attachment.

View Source
const (
	EndpointGatewayTargetPrototypeProviderCloudServiceIdentityResourceTypeProviderCloudServiceConst          = "provider_cloud_service"
	EndpointGatewayTargetPrototypeProviderCloudServiceIdentityResourceTypeProviderInfrastructureServiceConst = "provider_infrastructure_service"
)

Constants associated with the EndpointGatewayTargetPrototypeProviderCloudServiceIdentity.ResourceType property. The type of target for this endpoint gateway.

View Source
const (
	EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityResourceTypeProviderCloudServiceConst          = "provider_cloud_service"
	EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityResourceTypeProviderInfrastructureServiceConst = "provider_infrastructure_service"
)

Constants associated with the EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity.ResourceType property. The type of target for this endpoint gateway.

View Source
const (
	InstanceGroupManagerActionScheduledActionStatusActiveConst       = "active"
	InstanceGroupManagerActionScheduledActionStatusCompletedConst    = "completed"
	InstanceGroupManagerActionScheduledActionStatusFailedConst       = "failed"
	InstanceGroupManagerActionScheduledActionStatusIncompatibleConst = "incompatible"
	InstanceGroupManagerActionScheduledActionStatusOmittedConst      = "omitted"
)

Constants associated with the InstanceGroupManagerActionScheduledAction.Status property. The status of the instance group action - `active`: Action is ready to be run - `completed`: Action was completed successfully - `failed`: Action could not be completed successfully - `incompatible`: Action parameters are not compatible with the group or manager - `omitted`: Action was not applied because this action's manager was disabled.

View Source
const (
	InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototypeMetricTypeCpuConst        = "cpu"
	InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototypeMetricTypeMemoryConst     = "memory"
	InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototypeMetricTypeNetworkInConst  = "network_in"
	InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototypeMetricTypeNetworkOutConst = "network_out"
)

Constants associated with the InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype.MetricType property. The type of metric to be evaluated.

View Source
const (
	InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicyMetricTypeCpuConst        = "cpu"
	InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicyMetricTypeMemoryConst     = "memory"
	InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicyMetricTypeNetworkInConst  = "network_in"
	InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicyMetricTypeNetworkOutConst = "network_out"
)

Constants associated with the InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy.MetricType property. The type of metric to be evaluated.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolAllActionAllowConst = "allow"
	NetworkACLRuleItemNetworkACLRuleProtocolAllActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolAll.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolAllDirectionInboundConst  = "inbound"
	NetworkACLRuleItemNetworkACLRuleProtocolAllDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolAll.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolIcmpActionAllowConst = "allow"
	NetworkACLRuleItemNetworkACLRuleProtocolIcmpActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolIcmp.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolIcmpDirectionInboundConst  = "inbound"
	NetworkACLRuleItemNetworkACLRuleProtocolIcmpDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolIcmp.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpActionAllowConst = "allow"
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolTcpudp.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpDirectionInboundConst  = "inbound"
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolTcpudp.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpProtocolTCPConst = "tcp"
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpProtocolUDPConst = "udp"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolTcpudp.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeProtocolTCPConst = "tcp"
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeProtocolUDPConst = "udp"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeActionAllowConst = "allow"
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeDirectionInboundConst  = "inbound"
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeProtocolTCPConst = "tcp"
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeProtocolUDPConst = "udp"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolAllActionAllowConst = "allow"
	NetworkACLRuleNetworkACLRuleProtocolAllActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolAll.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolAllDirectionInboundConst  = "inbound"
	NetworkACLRuleNetworkACLRuleProtocolAllDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolAll.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolIcmpActionAllowConst = "allow"
	NetworkACLRuleNetworkACLRuleProtocolIcmpActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolIcmp.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolIcmpDirectionInboundConst  = "inbound"
	NetworkACLRuleNetworkACLRuleProtocolIcmpDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolIcmp.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolTcpudpActionAllowConst = "allow"
	NetworkACLRuleNetworkACLRuleProtocolTcpudpActionDenyConst  = "deny"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolTcpudp.Action property. The action to perform for a packet matching the rule.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolTcpudpDirectionInboundConst  = "inbound"
	NetworkACLRuleNetworkACLRuleProtocolTcpudpDirectionOutboundConst = "outbound"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolTcpudp.Direction property. The direction of traffic to match.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolTcpudpProtocolTCPConst = "tcp"
	NetworkACLRuleNetworkACLRuleProtocolTcpudpProtocolUDPConst = "udp"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolTcpudp.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolAllDirectionInboundConst  = "inbound"
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolAllDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmpDirectionInboundConst  = "inbound"
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmpDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudpDirectionInboundConst  = "inbound"
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudpDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudpProtocolTCPConst = "tcp"
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudpProtocolUDPConst = "udp"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolAllDirectionInboundConst  = "inbound"
	SecurityGroupRuleSecurityGroupRuleProtocolAllDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolAll.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolIcmpDirectionInboundConst  = "inbound"
	SecurityGroupRuleSecurityGroupRuleProtocolIcmpDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolIcmp.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolTcpudpDirectionInboundConst  = "inbound"
	SecurityGroupRuleSecurityGroupRuleProtocolTcpudpDirectionOutboundConst = "outbound"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolTcpudp.Direction property. The direction of traffic to enforce.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolTcpudpProtocolTCPConst = "tcp"
	SecurityGroupRuleSecurityGroupRuleProtocolTcpudpProtocolUDPConst = "udp"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolTcpudp.Protocol property. The protocol to enforce.

View Source
const (
	ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroupTransitEncryptionNoneConst        = "none"
	ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroupTransitEncryptionUserManagedConst = "user_managed"
)

Constants associated with the ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup.TransitEncryption property. The transit encryption mode to use for this share mount target:

  • `none`: Not encrypted in transit.
  • `user_managed`: Encrypted in transit using an instance identity certificate. The `access_control_mode` for the share must be `security_group`.
View Source
const (
	ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPCTransitEncryptionNoneConst        = "none"
	ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPCTransitEncryptionUserManagedConst = "user_managed"
)

Constants associated with the ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC.TransitEncryption property. The transit encryption mode to use for this share mount target:

  • `none`: Not encrypted in transit.
  • `user_managed`: Encrypted in transit using an instance identity certificate. The `access_control_mode` for the share must be `security_group`.
View Source
const (
	ShareProfileCapacityDependentRangeTypeDependentConst      = "dependent"
	ShareProfileCapacityDependentRangeTypeDependentRangeConst = "dependent_range"
)

Constants associated with the ShareProfileCapacityDependentRange.Type property. The type for this profile field.

View Source
const (
	ShareProfileIopsDependentRangeTypeDependentConst      = "dependent"
	ShareProfileIopsDependentRangeTypeDependentRangeConst = "dependent_range"
)

Constants associated with the ShareProfileIopsDependentRange.Type property. The type for this profile field.

View Source
const (
	SharePrototypeShareBySizeAccessControlModeSecurityGroupConst = "security_group"
	SharePrototypeShareBySizeAccessControlModeVPCConst           = "vpc"
)

Constants associated with the SharePrototypeShareBySize.AccessControlMode property. The access control mode for the share:

  • `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. Mount targets for this share require a virtual network interface.
  • `vpc`: All clients in the VPC for a mount target have access to the mount target. Mount targets for this share require a VPC.
View Source
const (
	VpcdnsResolverTypeSystemConfigurationCustomResolverConst  = "custom_resolver"
	VpcdnsResolverTypeSystemConfigurationDefaultConst         = "default"
	VpcdnsResolverTypeSystemConfigurationPrivateResolverConst = "private_resolver"
)

Constants associated with the VpcdnsResolverTypeSystem.Configuration property. The configuration of the system DNS resolver for this VPC.

- `custom_resolver`: A custom DNS resolver is configured for this VPC.

  • `private_resolver`: A private DNS resolver is configured for this VPC. Applicable when the VPC has either or both of the following:

  • at least one endpoint gateway residing in it

  • a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it

- `default`: The provider default DNS resolvers are configured for this VPC.

This system DNS resolver configuration is used when the VPC has:

- no custom DNS resolver configured for it, and
- no endpoint gateways residing in it, and
- no [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it.
View Source
const (
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdnTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdnTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdnTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdnTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn.Type property. The IKE identity type.

View Source
const (
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostnameTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostnameTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostnameTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostnameTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname.Type property. The IKE identity type.

View Source
const (
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4TypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4TypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4TypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4TypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4.Type property. The IKE identity type.

View Source
const (
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyIDTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyIDTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyIDTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyIDTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID.Type property. The IKE identity type.

View Source
const (
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdnTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdnTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdnTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdnTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn.Type property. The IKE identity type.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostnameTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostnameTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostnameTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostnameTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname.Type property. The IKE identity type.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4TypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4TypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4TypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4TypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4.Type property. The IKE identity type.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyIDTypeFqdnConst        = "fqdn"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyIDTypeHostnameConst    = "hostname"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyIDTypeIpv4AddressConst = "ipv4_address"
	VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyIDTypeKeyIDConst       = "key_id"
)

Constants associated with the VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID.Type property. The IKE identity type.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNGatewayConnectionPolicyModeEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionPolicyModeEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionPolicyMode.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionPolicyModeModePolicyConst = "policy"
	VPNGatewayConnectionPolicyModeModeRouteConst  = "route"
)

Constants associated with the VPNGatewayConnectionPolicyMode.Mode property. The mode of the VPN gateway.

View Source
const (
	VPNGatewayConnectionPolicyModeStatusDownConst = "down"
	VPNGatewayConnectionPolicyModeStatusUpConst   = "up"
)

Constants associated with the VPNGatewayConnectionPolicyMode.Status property. The status of a VPN gateway connection.

View Source
const (
	VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddressTypeAddressConst = "address"
	VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddressTypeFqdnConst    = "fqdn"
)

Constants associated with the VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress.Type property. Indicates whether `peer.address` or `peer.fqdn` is used.

View Source
const (
	VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdnTypeAddressConst = "address"
	VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdnTypeFqdnConst    = "fqdn"
)

Constants associated with the VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn.Type property. Indicates whether `peer.address` or `peer.fqdn` is used.

View Source
const (
	VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototypeEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototypeEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototypeEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototypeEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionRouteModeEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionRouteModeEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionRouteMode.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionRouteModeModePolicyConst = "policy"
	VPNGatewayConnectionRouteModeModeRouteConst  = "route"
)

Constants associated with the VPNGatewayConnectionRouteMode.Mode property. The mode of the VPN gateway.

View Source
const (
	VPNGatewayConnectionRouteModeStatusDownConst = "down"
	VPNGatewayConnectionRouteModeStatusUpConst   = "up"
)

Constants associated with the VPNGatewayConnectionRouteMode.Status property. The status of a VPN gateway connection.

View Source
const (
	VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddressTypeAddressConst = "address"
	VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddressTypeFqdnConst    = "fqdn"
)

Constants associated with the VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress.Type property. Indicates whether `peer.address` or `peer.fqdn` is used.

View Source
const (
	VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdnTypeAddressConst = "address"
	VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdnTypeFqdnConst    = "fqdn"
)

Constants associated with the VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn.Type property. Indicates whether `peer.address` or `peer.fqdn` is used.

View Source
const (
	VPNGatewayPolicyModeHealthStateDegradedConst     = "degraded"
	VPNGatewayPolicyModeHealthStateFaultedConst      = "faulted"
	VPNGatewayPolicyModeHealthStateInapplicableConst = "inapplicable"
	VPNGatewayPolicyModeHealthStateOkConst           = "ok"
)

Constants associated with the VPNGatewayPolicyMode.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPNGatewayPolicyModeLifecycleStateDeletingConst  = "deleting"
	VPNGatewayPolicyModeLifecycleStateFailedConst    = "failed"
	VPNGatewayPolicyModeLifecycleStatePendingConst   = "pending"
	VPNGatewayPolicyModeLifecycleStateStableConst    = "stable"
	VPNGatewayPolicyModeLifecycleStateSuspendedConst = "suspended"
	VPNGatewayPolicyModeLifecycleStateUpdatingConst  = "updating"
	VPNGatewayPolicyModeLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VPNGatewayPolicyMode.LifecycleState property. The lifecycle state of the VPN gateway.

View Source
const (
	VPNGatewayRouteModeHealthStateDegradedConst     = "degraded"
	VPNGatewayRouteModeHealthStateFaultedConst      = "faulted"
	VPNGatewayRouteModeHealthStateInapplicableConst = "inapplicable"
	VPNGatewayRouteModeHealthStateOkConst           = "ok"
)

Constants associated with the VPNGatewayRouteMode.HealthState property. The health of this resource:

  • `ok`: No abnormal behavior detected
  • `degraded`: Experiencing compromised performance, capacity, or connectivity
  • `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
  • `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.
View Source
const (
	VPNGatewayRouteModeLifecycleStateDeletingConst  = "deleting"
	VPNGatewayRouteModeLifecycleStateFailedConst    = "failed"
	VPNGatewayRouteModeLifecycleStatePendingConst   = "pending"
	VPNGatewayRouteModeLifecycleStateStableConst    = "stable"
	VPNGatewayRouteModeLifecycleStateSuspendedConst = "suspended"
	VPNGatewayRouteModeLifecycleStateUpdatingConst  = "updating"
	VPNGatewayRouteModeLifecycleStateWaitingConst   = "waiting"
)

Constants associated with the VPNGatewayRouteMode.LifecycleState property. The lifecycle state of the VPN gateway.

View Source
const (
	VPNServerAuthenticationByCertificateMethodCertificateConst = "certificate"
	VPNServerAuthenticationByCertificateMethodUsernameConst    = "username"
)

Constants associated with the VPNServerAuthenticationByCertificate.Method property. The type of authentication.

View Source
const (
	VPNServerAuthenticationByUsernameMethodCertificateConst = "certificate"
	VPNServerAuthenticationByUsernameMethodUsernameConst    = "username"
)

Constants associated with the VPNServerAuthenticationByUsername.Method property. The type of authentication.

View Source
const (
	VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototypeMethodCertificateConst = "certificate"
	VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototypeMethodUsernameConst    = "username"
)

Constants associated with the VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype.Method property. The type of authentication.

View Source
const (
	VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototypeMethodCertificateConst = "certificate"
	VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototypeMethodUsernameConst    = "username"
)

Constants associated with the VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Method property. The type of authentication.

View Source
const (
	EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRNResourceTypeProviderCloudServiceConst          = "provider_cloud_service"
	EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRNResourceTypeProviderInfrastructureServiceConst = "provider_infrastructure_service"
)

Constants associated with the EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN.ResourceType property. The type of target for this endpoint gateway.

View Source
const (
	EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByNameResourceTypeProviderCloudServiceConst          = "provider_cloud_service"
	EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByNameResourceTypeProviderInfrastructureServiceConst = "provider_infrastructure_service"
)

Constants associated with the EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName.ResourceType property. The type of target for this endpoint gateway.

View Source
const (
	InstanceGroupManagerActionScheduledActionGroupTargetStatusActiveConst       = "active"
	InstanceGroupManagerActionScheduledActionGroupTargetStatusCompletedConst    = "completed"
	InstanceGroupManagerActionScheduledActionGroupTargetStatusFailedConst       = "failed"
	InstanceGroupManagerActionScheduledActionGroupTargetStatusIncompatibleConst = "incompatible"
	InstanceGroupManagerActionScheduledActionGroupTargetStatusOmittedConst      = "omitted"
)

Constants associated with the InstanceGroupManagerActionScheduledActionGroupTarget.Status property. The status of the instance group action - `active`: Action is ready to be run - `completed`: Action was completed successfully - `failed`: Action could not be completed successfully - `incompatible`: Action parameters are not compatible with the group or manager - `omitted`: Action was not applied because this action's manager was disabled.

View Source
const (
	InstanceGroupManagerActionScheduledActionManagerTargetStatusActiveConst       = "active"
	InstanceGroupManagerActionScheduledActionManagerTargetStatusCompletedConst    = "completed"
	InstanceGroupManagerActionScheduledActionManagerTargetStatusFailedConst       = "failed"
	InstanceGroupManagerActionScheduledActionManagerTargetStatusIncompatibleConst = "incompatible"
	InstanceGroupManagerActionScheduledActionManagerTargetStatusOmittedConst      = "omitted"
)

Constants associated with the InstanceGroupManagerActionScheduledActionManagerTarget.Status property. The status of the instance group action - `active`: Action is ready to be run - `completed`: Action was completed successfully - `failed`: Action could not be completed successfully - `incompatible`: Action parameters are not compatible with the group or manager - `omitted`: Action was not applied because this action's manager was disabled.

View Source
const (
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeEstablishModeBidirectionalConst = "bidirectional"
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeEstablishModePeerOnlyConst      = "peer_only"
)

Constants associated with the VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode.EstablishMode property. The establish mode of the VPN gateway connection:

  • `bidirectional`: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.
  • `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires.
View Source
const (
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeModePolicyConst = "policy"
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeModeRouteConst  = "route"
)

Constants associated with the VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode.Mode property. The mode of the VPN gateway.

View Source
const (
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeStatusDownConst = "down"
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeStatusUpConst   = "up"
)

Constants associated with the VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode.Status property. The status of a VPN gateway connection.

View Source
const (
	AccountReferenceResourceTypeAccountConst = "account"
)

Constants associated with the AccountReference.ResourceType property. The resource type.

View Source
const (
	BackupPolicyHealthReasonCodeMissingServiceAuthorizationPoliciesConst = "missing_service_authorization_policies"
)

Constants associated with the BackupPolicyHealthReason.Code property. A reason code for this health state.

View Source
const (
	BackupPolicyJobResourceTypeBackupPolicyJobConst = "backup_policy_job"
)

Constants associated with the BackupPolicyJob.ResourceType property. The resource type.

View Source
const (
	BackupPolicyJobSourceResourceTypeVolumeConst = "volume"
)

Constants associated with the BackupPolicyJobSource.ResourceType property. The resource type.

View Source
const (
	BackupPolicyJobSourceVolumeReferenceResourceTypeVolumeConst = "volume"
)

Constants associated with the BackupPolicyJobSourceVolumeReference.ResourceType property. The resource type.

View Source
const (
	BackupPolicyMatchResourceTypeInstanceMatchResourceTypeInstanceConst = "instance"
)

Constants associated with the BackupPolicyMatchResourceTypeInstance.MatchResourceType property. The resource type this backup policy applies to. Resources that have both a matching type and a matching user tag will be subject to the backup policy.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BackupPolicyMatchResourceTypeInstanceResourceTypeBackupPolicyConst = "backup_policy"
)

Constants associated with the BackupPolicyMatchResourceTypeInstance.ResourceType property. The resource type.

View Source
const (
	BackupPolicyMatchResourceTypeVolumeMatchResourceTypeVolumeConst = "volume"
)

Constants associated with the BackupPolicyMatchResourceTypeVolume.MatchResourceType property. The resource type this backup policy applies to. Resources that have both a matching type and a matching user tag will be subject to the backup policy.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	BackupPolicyMatchResourceTypeVolumeResourceTypeBackupPolicyConst = "backup_policy"
)

Constants associated with the BackupPolicyMatchResourceTypeVolume.ResourceType property. The resource type.

View Source
const (
	BackupPolicyPlanReferenceResourceTypeBackupPolicyPlanConst = "backup_policy_plan"
)

Constants associated with the BackupPolicyPlanReference.ResourceType property. The resource type.

View Source
const (
	BackupPolicyPlanResourceTypeBackupPolicyPlanConst = "backup_policy_plan"
)

Constants associated with the BackupPolicyPlan.ResourceType property. The resource type.

View Source
const (
	BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototypeMatchResourceTypeInstanceConst = "instance"
)

Constants associated with the BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype.MatchResourceType property. The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy.

View Source
const (
	BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototypeMatchResourceTypeVolumeConst = "volume"
)

Constants associated with the BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype.MatchResourceType property. The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy.

View Source
const (
	BackupPolicyResourceTypeBackupPolicyConst = "backup_policy"
)

Constants associated with the BackupPolicy.ResourceType property. The resource type.

View Source
const (
	BackupPolicyScopeAccountReferenceResourceTypeAccountConst = "account"
)

Constants associated with the BackupPolicyScopeAccountReference.ResourceType property. The resource type.

View Source
const (
	BackupPolicyScopeEnterpriseReferenceResourceTypeEnterpriseConst = "enterprise"
)

Constants associated with the BackupPolicyScopeEnterpriseReference.ResourceType property. The resource type.

View Source
const (
	BackupPolicyScopeResourceTypeEnterpriseConst = "enterprise"
)

Constants associated with the BackupPolicyScope.ResourceType property. The resource type.

View Source
const (
	BareMetalServerBootTargetBareMetalServerDiskReferenceResourceTypeBareMetalServerDiskConst = "bare_metal_server_disk"
)

Constants associated with the BareMetalServerBootTargetBareMetalServerDiskReference.ResourceType property. The resource type.

View Source
const (
	BareMetalServerBootTargetResourceTypeBareMetalServerDiskConst = "bare_metal_server_disk"
)

Constants associated with the BareMetalServerBootTarget.ResourceType property. The resource type.

View Source
const (
	BareMetalServerDiskResourceTypeBareMetalServerDiskConst = "bare_metal_server_disk"
)

Constants associated with the BareMetalServerDisk.ResourceType property. The resource type.

View Source
const (
	BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccountResourceTypeHostUserAccountConst = "host_user_account"
)

Constants associated with the BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount.ResourceType property. The resource type.

View Source
const (
	BareMetalServerInitializationUserAccountResourceTypeHostUserAccountConst = "host_user_account"
)

Constants associated with the BareMetalServerInitializationUserAccount.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkAttachmentByPciInterfaceTypePciConst = "pci"
)

Constants associated with the BareMetalServerNetworkAttachmentByPci.InterfaceType property.

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI attachment
  • Cannot directly use an IEEE 802.1Q tag.
View Source
const (
	BareMetalServerNetworkAttachmentByPciResourceTypeBareMetalServerNetworkAttachmentConst = "bare_metal_server_network_attachment"
)

Constants associated with the BareMetalServerNetworkAttachmentByPci.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkAttachmentByVlanInterfaceTypeVlanConst = "vlan"
)

Constants associated with the BareMetalServerNetworkAttachmentByVlan.InterfaceType property.

  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
View Source
const (
	BareMetalServerNetworkAttachmentByVlanResourceTypeBareMetalServerNetworkAttachmentConst = "bare_metal_server_network_attachment"
)

Constants associated with the BareMetalServerNetworkAttachmentByVlan.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototypeInterfaceTypePciConst = "pci"
)

Constants associated with the BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype.InterfaceType property.

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI attachment
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototypeInterfaceTypeVlanConst = "vlan"
)

Constants associated with the BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype.InterfaceType property.

  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
View Source
const (
	BareMetalServerNetworkAttachmentReferenceResourceTypeBareMetalServerNetworkAttachmentConst = "bare_metal_server_network_attachment"
)

Constants associated with the BareMetalServerNetworkAttachmentReference.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkAttachmentResourceTypeBareMetalServerNetworkAttachmentConst = "bare_metal_server_network_attachment"
)

Constants associated with the BareMetalServerNetworkAttachment.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkInterfaceByHiperSocketInterfaceTypeHipersocketConst = "hipersocket"
)

Constants associated with the BareMetalServerNetworkInterfaceByHiperSocket.InterfaceType property.

  • `hipersocket`: a virtual network device that provides high-speed TCP/IP connectivity within a `s390x` based system.
View Source
const (
	BareMetalServerNetworkInterfaceByHiperSocketResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the BareMetalServerNetworkInterfaceByHiperSocket.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkInterfaceByPciInterfaceTypePciConst = "pci"
)

Constants associated with the BareMetalServerNetworkInterfaceByPci.InterfaceType property.

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI interface
  • Cannot directly use an IEEE 802.1Q tag.
View Source
const (
	BareMetalServerNetworkInterfaceByPciResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the BareMetalServerNetworkInterfaceByPci.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkInterfaceByVlanInterfaceTypeVlanConst = "vlan"
)

Constants associated with the BareMetalServerNetworkInterfaceByVlan.InterfaceType property.

  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
  • Has its own security groups and does not inherit those of the PCI device through which traffic flows.
View Source
const (
	BareMetalServerNetworkInterfaceByVlanResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the BareMetalServerNetworkInterfaceByVlan.ResourceType property. The resource type.

View Source
const (
	BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototypeInterfaceTypeHipersocketConst = "hipersocket"
)

Constants associated with the BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype.InterfaceType property.

  • `hipersocket`: a virtual network device that provides high-speed TCP/IP connectivity within a `s390x` based system.
  • Not supported on bare metal servers with a `cpu.architecture` of `amd64`.
View Source
const (
	BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototypeInterfaceTypePciConst = "pci"
)

Constants associated with the BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype.InterfaceType property.

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI interface
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototypeInterfaceTypeVlanConst = "vlan"
)

Constants associated with the BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype.InterfaceType property.

  • `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array of `allowed_vlans`.
  • Must use an IEEE 802.1Q tag.
  • Has its own security groups and does not inherit those of the PCI device through which traffic flows.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerNetworkInterfaceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the BareMetalServerNetworkInterface.ResourceType property. The resource type.

View Source
const (
	BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototypeInterfaceTypePciConst = "pci"
)

Constants associated with the BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype.InterfaceType property.

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI attachment
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerPrimaryNetworkAttachmentPrototypeInterfaceTypePciConst = "pci"
)

Constants associated with the BareMetalServerPrimaryNetworkAttachmentPrototype.InterfaceType property. The network attachment's interface type:

  • `pci`: a physical PCI device which can only be created or deleted when the bare metal server is stopped
  • Has an `allowed_vlans` property which controls the VLANs that will be permitted to use the PCI attachment
  • Cannot directly use an IEEE 802.1Q tag.
  • Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
View Source
const (
	BareMetalServerProfileBandwidthDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileBandwidthDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileBandwidthEnumTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileBandwidthEnum.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileBandwidthFixedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileBandwidthFixed.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileBandwidthRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileBandwidthRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileBandwidthTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileBandwidth.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileConsoleTypesTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileConsoleTypes.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuArchitectureTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileCpuArchitecture.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuCoreCountDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileCpuCoreCountDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuCoreCountEnumTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileCpuCoreCountEnum.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuCoreCountFixedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileCpuCoreCountFixed.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuCoreCountRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileCpuCoreCountRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuCoreCountTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileCpuCoreCount.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuSocketCountDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileCpuSocketCountDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuSocketCountEnumTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileCpuSocketCountEnum.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuSocketCountFixedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileCpuSocketCountFixed.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuSocketCountRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileCpuSocketCountRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileCpuSocketCountTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileCpuSocketCount.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskQuantityDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileDiskQuantityDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskQuantityEnumTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileDiskQuantityEnum.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskQuantityFixedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileDiskQuantityFixed.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskQuantityRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileDiskQuantityRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskQuantityTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileDiskQuantity.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskSizeDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileDiskSizeDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskSizeEnumTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileDiskSizeEnum.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskSizeFixedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileDiskSizeFixed.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskSizeRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileDiskSizeRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskSizeTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileDiskSize.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileDiskSupportedInterfacesTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileDiskSupportedInterfaces.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileMemoryDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileMemoryDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileMemoryEnumTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileMemoryEnum.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileMemoryFixedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileMemoryFixed.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileMemoryRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileMemoryRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileMemoryTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileMemory.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileNetworkAttachmentCountDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileNetworkAttachmentCountDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileNetworkAttachmentCountRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileNetworkAttachmentCountRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileNetworkAttachmentCountTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileNetworkAttachmentCount.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileNetworkInterfaceCountDependentTypeDependentConst = "dependent"
)

Constants associated with the BareMetalServerProfileNetworkInterfaceCountDependent.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileNetworkInterfaceCountRangeTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileNetworkInterfaceCountRange.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileNetworkInterfaceCountTypeRangeConst = "range"
)

Constants associated with the BareMetalServerProfileNetworkInterfaceCount.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileOsArchitectureTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileOsArchitecture.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileReferenceResourceTypeBareMetalServerProfileConst = "bare_metal_server_profile"
)

Constants associated with the BareMetalServerProfileReference.ResourceType property. The resource type.

View Source
const (
	BareMetalServerProfileResourceTypeBareMetalServerProfileConst = "bare_metal_server_profile"
)

Constants associated with the BareMetalServerProfile.ResourceType property. The resource type.

View Source
const (
	BareMetalServerProfileSupportedTrustedPlatformModuleModesTypeEnumConst = "enum"
)

Constants associated with the BareMetalServerProfileSupportedTrustedPlatformModuleModes.Type property. The type for this profile field.

View Source
const (
	BareMetalServerProfileVirtualNetworkInterfacesSupportedTypeFixedConst = "fixed"
)

Constants associated with the BareMetalServerProfileVirtualNetworkInterfacesSupported.Type property. The type for this profile field.

View Source
const (
	BareMetalServerResourceTypeBareMetalServerConst = "bare_metal_server"
)

Constants associated with the BareMetalServer.ResourceType property. The resource type.

View Source
const (
	CreateReservationOptionsAffinityPolicyRestrictedConst = "restricted"
)

Constants associated with the CreateReservationOptions.AffinityPolicy property. The affinity policy to use for this reservation: - `restricted`: The reservation must be manually requested.

View Source
const (
	DedicatedHostDiskInterfaceTypeNvmeConst = "nvme"
)

Constants associated with the DedicatedHostDisk.InterfaceType property. The disk interface used for attaching the disk

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DedicatedHostDiskResourceTypeDedicatedHostDiskConst = "dedicated_host_disk"
)

Constants associated with the DedicatedHostDisk.ResourceType property. The resource type.

View Source
const (
	DedicatedHostGroupReferenceResourceTypeDedicatedHostGroupConst = "dedicated_host_group"
)

Constants associated with the DedicatedHostGroupReference.ResourceType property. The resource type.

View Source
const (
	DedicatedHostGroupResourceTypeDedicatedHostGroupConst = "dedicated_host_group"
)

Constants associated with the DedicatedHostGroup.ResourceType property. The resource type.

View Source
const (
	DedicatedHostProfileDiskInterfaceTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileDiskInterface.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileDiskInterfaceValueNvmeConst = "nvme"
)

Constants associated with the DedicatedHostProfileDiskInterface.Value property. The interface of the disk for a dedicated host with this profile

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	DedicatedHostProfileDiskQuantityTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileDiskQuantity.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileDiskSizeTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileDiskSize.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileDiskSupportedInterfacesTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileDiskSupportedInterfaces.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileMemoryDependentTypeDependentConst = "dependent"
)

Constants associated with the DedicatedHostProfileMemoryDependent.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileMemoryEnumTypeEnumConst = "enum"
)

Constants associated with the DedicatedHostProfileMemoryEnum.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileMemoryFixedTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileMemoryFixed.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileMemoryRangeTypeRangeConst = "range"
)

Constants associated with the DedicatedHostProfileMemoryRange.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileMemoryTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileMemory.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileSocketDependentTypeDependentConst = "dependent"
)

Constants associated with the DedicatedHostProfileSocketDependent.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileSocketEnumTypeEnumConst = "enum"
)

Constants associated with the DedicatedHostProfileSocketEnum.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileSocketFixedTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileSocketFixed.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileSocketRangeTypeRangeConst = "range"
)

Constants associated with the DedicatedHostProfileSocketRange.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileSocketTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileSocket.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuArchitectureTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileVcpuArchitecture.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuDependentTypeDependentConst = "dependent"
)

Constants associated with the DedicatedHostProfileVcpuDependent.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuEnumTypeEnumConst = "enum"
)

Constants associated with the DedicatedHostProfileVcpuEnum.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuFixedTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileVcpuFixed.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuManufacturerTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileVcpuManufacturer.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuRangeTypeRangeConst = "range"
)

Constants associated with the DedicatedHostProfileVcpuRange.Type property. The type for this profile field.

View Source
const (
	DedicatedHostProfileVcpuTypeFixedConst = "fixed"
)

Constants associated with the DedicatedHostProfileVcpu.Type property. The type for this profile field.

View Source
const (
	DedicatedHostReferenceResourceTypeDedicatedHostConst = "dedicated_host"
)

Constants associated with the DedicatedHostReference.ResourceType property. The resource type.

View Source
const (
	DedicatedHostResourceTypeDedicatedHostConst = "dedicated_host"
)

Constants associated with the DedicatedHost.ResourceType property. The resource type.

View Source
const (
	DefaultRoutingTableResourceTypeRoutingTableConst = "routing_table"
)

Constants associated with the DefaultRoutingTable.ResourceType property. The resource type.

View Source
const DefaultServiceName = "vpc"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://us-south.iaas.cloud.ibm.com/v1"

DefaultServiceURL is the default URL to make service requests to.

View Source
const (
	EndpointGatewayReferenceRemoteResourceTypeEndpointGatewayConst = "endpoint_gateway"
)

Constants associated with the EndpointGatewayReferenceRemote.ResourceType property. The resource type.

View Source
const (
	EndpointGatewayResourceTypeEndpointGatewayConst = "endpoint_gateway"
)

Constants associated with the EndpointGateway.ResourceType property. The resource type.

View Source
const (
	EndpointGatewayTargetProviderCloudServiceReferenceResourceTypeProviderCloudServiceConst = "provider_cloud_service"
)

Constants associated with the EndpointGatewayTargetProviderCloudServiceReference.ResourceType property. The type of target.

View Source
const (
	EndpointGatewayTargetProviderInfrastructureServiceReferenceResourceTypeProviderInfrastructureServiceConst = "provider_infrastructure_service"
)

Constants associated with the EndpointGatewayTargetProviderInfrastructureServiceReference.ResourceType property. The type of target.

View Source
const (
	EndpointGatewayTargetResourceTypeProviderCloudServiceConst = "provider_cloud_service"
)

Constants associated with the EndpointGatewayTarget.ResourceType property. The type of target.

View Source
const (
	FloatingIPTargetBareMetalServerNetworkInterfaceReferenceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the FloatingIPTargetBareMetalServerNetworkInterfaceReference.ResourceType property. The resource type.

View Source
const (
	FloatingIPTargetNetworkInterfaceReferenceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the FloatingIPTargetNetworkInterfaceReference.ResourceType property. The resource type.

View Source
const (
	FloatingIPTargetPublicGatewayReferenceResourceTypePublicGatewayConst = "public_gateway"
)

Constants associated with the FloatingIPTargetPublicGatewayReference.ResourceType property. The resource type.

View Source
const (
	FloatingIPTargetResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the FloatingIPTarget.ResourceType property. The resource type.

View Source
const (
	FloatingIPTargetVirtualNetworkInterfaceReferenceResourceTypeVirtualNetworkInterfaceConst = "virtual_network_interface"
)

Constants associated with the FloatingIPTargetVirtualNetworkInterfaceReference.ResourceType property. The resource type.

View Source
const (
	FlowLogCollectorTargetInstanceNetworkAttachmentReferenceResourceTypeInstanceNetworkAttachmentConst = "instance_network_attachment"
)

Constants associated with the FlowLogCollectorTargetInstanceNetworkAttachmentReference.ResourceType property. The resource type.

View Source
const (
	FlowLogCollectorTargetNetworkInterfaceReferenceTargetContextResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext.ResourceType property. The resource type.

View Source
const (
	FlowLogCollectorTargetResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the FlowLogCollectorTarget.ResourceType property. The resource type.

View Source
const (
	FlowLogCollectorTargetSubnetReferenceResourceTypeSubnetConst = "subnet"
)

Constants associated with the FlowLogCollectorTargetSubnetReference.ResourceType property. The resource type.

View Source
const (
	FlowLogCollectorTargetVPCReferenceResourceTypeVPCConst = "vpc"
)

Constants associated with the FlowLogCollectorTargetVPCReference.ResourceType property. The resource type.

View Source
const (
	FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContextResourceTypeVirtualNetworkInterfaceConst = "virtual_network_interface"
)

Constants associated with the FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext.ResourceType property. The resource type.

View Source
const (
	IPsecPolicyEncapsulationModeTunnelConst = "tunnel"
)

Constants associated with the IPsecPolicy.EncapsulationMode property. The encapsulation mode used. Only `tunnel` is supported.

View Source
const (
	IPsecPolicyReferenceResourceTypeIpsecPolicyConst = "ipsec_policy"
)

Constants associated with the IPsecPolicyReference.ResourceType property. The resource type.

View Source
const (
	IPsecPolicyResourceTypeIpsecPolicyConst = "ipsec_policy"
)

Constants associated with the IPsecPolicy.ResourceType property. The resource type.

View Source
const (
	IPsecPolicyTransformProtocolEspConst = "esp"
)

Constants associated with the IPsecPolicy.TransformProtocol property. The transform protocol used. Only `esp` is supported.

View Source
const (
	IkePolicyNegotiationModeMainConst = "main"
)

Constants associated with the IkePolicy.NegotiationMode property. The IKE negotiation mode. Only `main` is supported.

View Source
const (
	IkePolicyReferenceResourceTypeIkePolicyConst = "ike_policy"
)

Constants associated with the IkePolicyReference.ResourceType property. The resource type.

View Source
const (
	IkePolicyResourceTypeIkePolicyConst = "ike_policy"
)

Constants associated with the IkePolicy.ResourceType property. The resource type.

View Source
const (
	ImageExportJobResourceTypeImageExportJobConst = "image_export_job"
)

Constants associated with the ImageExportJob.ResourceType property. The type of resource referenced.

View Source
const (
	ImageReferenceResourceTypeImageConst = "image"
)

Constants associated with the ImageReference.ResourceType property. The resource type.

View Source
const (
	ImageResourceTypeImageConst = "image"
)

Constants associated with the Image.ResourceType property. The resource type.

View Source
const (
	InstanceDiskReferenceResourceTypeInstanceDiskConst = "instance_disk"
)

Constants associated with the InstanceDiskReference.ResourceType property. The resource type.

View Source
const (
	InstanceDiskResourceTypeInstanceDiskConst = "instance_disk"
)

Constants associated with the InstanceDisk.ResourceType property. The resource type.

View Source
const (
	InstanceGroupManagerActionActionTypeScheduledConst = "scheduled"
)

Constants associated with the InstanceGroupManagerAction.ActionType property. The type of action for the instance group.

View Source
const (
	InstanceGroupManagerActionReferenceResourceTypeInstanceGroupManagerActionConst = "instance_group_manager_action"
)

Constants associated with the InstanceGroupManagerActionReference.ResourceType property. The resource type.

View Source
const (
	InstanceGroupManagerActionResourceTypeInstanceGroupManagerActionConst = "instance_group_manager_action"
)

Constants associated with the InstanceGroupManagerAction.ResourceType property. The resource type.

View Source
const (
	InstanceGroupManagerActionScheduledActionActionTypeScheduledConst = "scheduled"
)

Constants associated with the InstanceGroupManagerActionScheduledAction.ActionType property. The type of action for the instance group.

View Source
const (
	InstanceGroupManagerActionScheduledActionGroupTargetActionTypeScheduledConst = "scheduled"
)

Constants associated with the InstanceGroupManagerActionScheduledActionGroupTarget.ActionType property. The type of action for the instance group.

View Source
const (
	InstanceGroupManagerActionScheduledActionGroupTargetResourceTypeInstanceGroupManagerActionConst = "instance_group_manager_action"
)

Constants associated with the InstanceGroupManagerActionScheduledActionGroupTarget.ResourceType property. The resource type.

View Source
const (
	InstanceGroupManagerActionScheduledActionManagerTargetActionTypeScheduledConst = "scheduled"
)

Constants associated with the InstanceGroupManagerActionScheduledActionManagerTarget.ActionType property. The type of action for the instance group.

View Source
const (
	InstanceGroupManagerActionScheduledActionManagerTargetResourceTypeInstanceGroupManagerActionConst = "instance_group_manager_action"
)

Constants associated with the InstanceGroupManagerActionScheduledActionManagerTarget.ResourceType property. The resource type.

View Source
const (
	InstanceGroupManagerActionScheduledActionResourceTypeInstanceGroupManagerActionConst = "instance_group_manager_action"
)

Constants associated with the InstanceGroupManagerActionScheduledAction.ResourceType property. The resource type.

View Source
const (
	InstanceGroupManagerAutoScaleManagerTypeAutoscaleConst = "autoscale"
)

Constants associated with the InstanceGroupManagerAutoScale.ManagerType property. The type of instance group manager.

View Source
const (
	InstanceGroupManagerManagerTypeAutoscaleConst = "autoscale"
)

Constants associated with the InstanceGroupManager.ManagerType property. The type of instance group manager.

View Source
const (
	InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicyPolicyTypeTargetConst = "target"
)

Constants associated with the InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy.PolicyType property. The type of policy for the instance group.

View Source
const (
	InstanceGroupManagerPolicyPolicyTypeTargetConst = "target"
)

Constants associated with the InstanceGroupManagerPolicy.PolicyType property. The type of policy for the instance group.

View Source
const (
	InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototypePolicyTypeTargetConst = "target"
)

Constants associated with the InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype.PolicyType property. The type of policy for the instance group.

View Source
const (
	InstanceGroupManagerPolicyPrototypePolicyTypeTargetConst = "target"
)

Constants associated with the InstanceGroupManagerPolicyPrototype.PolicyType property. The type of policy for the instance group.

View Source
const (
	InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototypeManagerTypeAutoscaleConst = "autoscale"
)

Constants associated with the InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype.ManagerType property. The type of instance group manager.

View Source
const (
	InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototypeManagerTypeScheduledConst = "scheduled"
)

Constants associated with the InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype.ManagerType property. The type of instance group manager.

View Source
const (
	InstanceGroupManagerPrototypeManagerTypeAutoscaleConst = "autoscale"
)

Constants associated with the InstanceGroupManagerPrototype.ManagerType property. The type of instance group manager.

View Source
const (
	InstanceGroupManagerScheduledManagerTypeScheduledConst = "scheduled"
)

Constants associated with the InstanceGroupManagerScheduled.ManagerType property. The type of instance group manager.

View Source
const (
	InstanceNetworkAttachmentReferenceResourceTypeInstanceNetworkAttachmentConst = "instance_network_attachment"
)

Constants associated with the InstanceNetworkAttachmentReference.ResourceType property. The resource type.

View Source
const (
	InstanceNetworkAttachmentResourceTypeInstanceNetworkAttachmentConst = "instance_network_attachment"
)

Constants associated with the InstanceNetworkAttachment.ResourceType property. The resource type.

View Source
const (
	InstancePlacementTargetDedicatedHostGroupReferenceResourceTypeDedicatedHostGroupConst = "dedicated_host_group"
)

Constants associated with the InstancePlacementTargetDedicatedHostGroupReference.ResourceType property. The resource type.

View Source
const (
	InstancePlacementTargetDedicatedHostReferenceResourceTypeDedicatedHostConst = "dedicated_host"
)

Constants associated with the InstancePlacementTargetDedicatedHostReference.ResourceType property. The resource type.

View Source
const (
	InstancePlacementTargetPlacementGroupReferenceResourceTypePlacementGroupConst = "placement_group"
)

Constants associated with the InstancePlacementTargetPlacementGroupReference.ResourceType property. The resource type.

View Source
const (
	InstancePlacementTargetResourceTypeDedicatedHostGroupConst = "dedicated_host_group"
)

Constants associated with the InstancePlacementTarget.ResourceType property. The resource type.

View Source
const (
	InstanceProfileBandwidthDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileBandwidthDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileBandwidthEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileBandwidthEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileBandwidthFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileBandwidthFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileBandwidthRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileBandwidthRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileBandwidthTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileBandwidth.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskQuantityDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileDiskQuantityDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskQuantityEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileDiskQuantityEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskQuantityFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileDiskQuantityFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskQuantityRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileDiskQuantityRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskQuantityTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileDiskQuantity.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskSizeDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileDiskSizeDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskSizeEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileDiskSizeEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskSizeFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileDiskSizeFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskSizeRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileDiskSizeRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskSizeTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileDiskSize.Type property. The type for this profile field.

View Source
const (
	InstanceProfileDiskSupportedInterfacesTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileDiskSupportedInterfaces.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileGpuDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileGpuEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileGpuFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuManufacturerTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileGpuManufacturer.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuMemoryDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileGpuMemoryDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuMemoryEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileGpuMemoryEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuMemoryFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileGpuMemoryFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuMemoryRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileGpuMemoryRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuMemoryTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileGpuMemory.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuModelTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileGpuModel.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileGpuRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileGpuTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileGpu.Type property. The type for this profile field.

View Source
const (
	InstanceProfileMemoryDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileMemoryDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileMemoryEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileMemoryEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileMemoryFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileMemoryFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileMemoryRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileMemoryRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileMemoryTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileMemory.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNetworkAttachmentCountDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileNetworkAttachmentCountDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNetworkAttachmentCountRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileNetworkAttachmentCountRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNetworkAttachmentCountTypeRangeConst = "range"
)

Constants associated with the InstanceProfileNetworkAttachmentCount.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNetworkInterfaceCountDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileNetworkInterfaceCountDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNetworkInterfaceCountRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileNetworkInterfaceCountRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNetworkInterfaceCountTypeRangeConst = "range"
)

Constants associated with the InstanceProfileNetworkInterfaceCount.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNumaCountDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileNumaCountDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNumaCountFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileNumaCountFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileNumaCountTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileNumaCount.Type property. The type for this profile field.

View Source
const (
	InstanceProfileOsArchitectureTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileOsArchitecture.Type property. The type for this profile field.

View Source
const (
	InstanceProfilePortSpeedDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfilePortSpeedDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfilePortSpeedFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfilePortSpeedFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfilePortSpeedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfilePortSpeed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileReferenceResourceTypeInstanceProfileConst = "instance_profile"
)

Constants associated with the InstanceProfileReference.ResourceType property. The resource type.

View Source
const (
	InstanceProfileReservationTermsTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileReservationTerms.Type property. The type for this profile field.

View Source
const (
	InstanceProfileResourceTypeInstanceProfileConst = "instance_profile"
)

Constants associated with the InstanceProfile.ResourceType property. The resource type.

View Source
const (
	InstanceProfileVcpuArchitectureTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileVcpuArchitecture.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVcpuDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileVcpuDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVcpuEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileVcpuEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVcpuFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileVcpuFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVcpuManufacturerTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileVcpuManufacturer.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVcpuRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileVcpuRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVcpuTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileVcpu.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVolumeBandwidthDependentTypeDependentConst = "dependent"
)

Constants associated with the InstanceProfileVolumeBandwidthDependent.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVolumeBandwidthEnumTypeEnumConst = "enum"
)

Constants associated with the InstanceProfileVolumeBandwidthEnum.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVolumeBandwidthFixedTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileVolumeBandwidthFixed.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVolumeBandwidthRangeTypeRangeConst = "range"
)

Constants associated with the InstanceProfileVolumeBandwidthRange.Type property. The type for this profile field.

View Source
const (
	InstanceProfileVolumeBandwidthTypeFixedConst = "fixed"
)

Constants associated with the InstanceProfileVolumeBandwidth.Type property. The type for this profile field.

View Source
const (
	InstanceResourceTypeInstanceConst = "instance"
)

Constants associated with the Instance.ResourceType property. The resource type.

View Source
const (
	ListVPNServerClientsOptionsSortCreatedAtConst = "created_at"
)

Constants associated with the ListVPNServerClientsOptions.Sort property. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order.

View Source
const (
	LoadBalancerPrivateIpsItemResourceTypeSubnetReservedIPConst = "subnet_reserved_ip"
)

Constants associated with the LoadBalancerPrivateIpsItem.ResourceType property. The resource type.

View Source
const (
	LoadBalancerProfileInstanceGroupsSupportedDependentTypeDependentConst = "dependent"
)

Constants associated with the LoadBalancerProfileInstanceGroupsSupportedDependent.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileInstanceGroupsSupportedFixedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileInstanceGroupsSupportedFixed.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileInstanceGroupsSupportedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileInstanceGroupsSupported.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileLoggingSupportedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileLoggingSupported.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileRouteModeSupportedDependentTypeDependentConst = "dependent"
)

Constants associated with the LoadBalancerProfileRouteModeSupportedDependent.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileRouteModeSupportedFixedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileRouteModeSupportedFixed.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileRouteModeSupportedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileRouteModeSupported.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileSecurityGroupsSupportedDependentTypeDependentConst = "dependent"
)

Constants associated with the LoadBalancerProfileSecurityGroupsSupportedDependent.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileSecurityGroupsSupportedFixedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileSecurityGroupsSupportedFixed.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileSecurityGroupsSupportedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileSecurityGroupsSupported.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileUDPSupportedDependentTypeDependentConst = "dependent"
)

Constants associated with the LoadBalancerProfileUDPSupportedDependent.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileUDPSupportedFixedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileUDPSupportedFixed.Type property. The type for this profile field.

View Source
const (
	LoadBalancerProfileUDPSupportedTypeFixedConst = "fixed"
)

Constants associated with the LoadBalancerProfileUDPSupported.Type property. The type for this profile field.

View Source
const (
	LoadBalancerResourceTypeLoadBalancerConst = "load_balancer"
)

Constants associated with the LoadBalancer.ResourceType property. The resource type.

View Source
const (
	NetworkACLRuleIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRule.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleItemIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleItem.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolAllIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolAll.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolAllProtocolAllConst = "all"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolAll.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolIcmpIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolIcmp.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolIcmpProtocolIcmpConst = "icmp"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolIcmp.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRuleItemNetworkACLRuleProtocolTcpudpIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolTcpudp.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolAllIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolAll.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolAllProtocolAllConst = "all"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolAll.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolIcmpIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolIcmp.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolIcmpProtocolIcmpConst = "icmp"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolIcmp.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRuleNetworkACLRuleProtocolTcpudpIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRuleNetworkACLRuleProtocolTcpudp.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContext.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototypeProtocolAllConst = "all"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototypeProtocolIcmpConst = "icmp"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototypeProtocolAllConst = "all"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototypeProtocolIcmpConst = "icmp"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype.Protocol property. The protocol to enforce.

View Source
const (
	NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype.IPVersion property. The IP version for this rule.

View Source
const (
	NetworkInterfaceBareMetalServerContextReferenceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the NetworkInterfaceBareMetalServerContextReference.ResourceType property. The resource type.

View Source
const (
	NetworkInterfaceInstanceContextReferenceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the NetworkInterfaceInstanceContextReference.ResourceType property. The resource type.

View Source
const (
	NetworkInterfaceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the NetworkInterface.ResourceType property. The resource type.

View Source
const (
	PlacementGroupResourceTypePlacementGroupConst = "placement_group"
)

Constants associated with the PlacementGroup.ResourceType property. The resource type.

View Source
const (
	PublicGatewayReferenceResourceTypePublicGatewayConst = "public_gateway"
)

Constants associated with the PublicGatewayReference.ResourceType property. The resource type.

View Source
const (
	PublicGatewayResourceTypePublicGatewayConst = "public_gateway"
)

Constants associated with the PublicGateway.ResourceType property. The resource type.

View Source
const (
	ReservationAffinityPolicyRestrictedConst = "restricted"
)

Constants associated with the Reservation.AffinityPolicy property. The affinity policy to use for this reservation: - `restricted`: The reservation must be manually requested

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	ReservationProfilePatchResourceTypeInstanceProfileConst = "instance_profile"
)

Constants associated with the ReservationProfilePatch.ResourceType property. The resource type of the profile.

View Source
const (
	ReservationProfilePrototypeResourceTypeInstanceProfileConst = "instance_profile"
)

Constants associated with the ReservationProfilePrototype.ResourceType property. The resource type of the profile.

View Source
const (
	ReservationProfileResourceTypeInstanceProfileConst = "instance_profile"
)

Constants associated with the ReservationProfile.ResourceType property. The resource type.

View Source
const (
	ReservationReferenceResourceTypeReservationConst = "reservation"
)

Constants associated with the ReservationReference.ResourceType property. The resource type.

View Source
const (
	ReservationResourceTypeReservationConst = "reservation"
)

Constants associated with the Reservation.ResourceType property. The resource type.

View Source
const (
	ReservedIPReferenceResourceTypeSubnetReservedIPConst = "subnet_reserved_ip"
)

Constants associated with the ReservedIPReference.ResourceType property. The resource type.

View Source
const (
	ReservedIPResourceTypeSubnetReservedIPConst = "subnet_reserved_ip"
)

Constants associated with the ReservedIP.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContextResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetEndpointGatewayReferenceResourceTypeEndpointGatewayConst = "endpoint_gateway"
)

Constants associated with the ReservedIPTargetEndpointGatewayReference.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetGenericResourceReferenceResourceTypeCloudResourceConst = "cloud_resource"
)

Constants associated with the ReservedIPTargetGenericResourceReference.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetLoadBalancerReferenceResourceTypeLoadBalancerConst = "load_balancer"
)

Constants associated with the ReservedIPTargetLoadBalancerReference.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetNetworkInterfaceReferenceTargetContextResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the ReservedIPTargetNetworkInterfaceReferenceTargetContext.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetResourceTypeEndpointGatewayConst = "endpoint_gateway"
)

Constants associated with the ReservedIPTarget.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetVPNGatewayReferenceResourceTypeVPNGatewayConst = "vpn_gateway"
)

Constants associated with the ReservedIPTargetVPNGatewayReference.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetVPNServerReferenceResourceTypeVPNServerConst = "vpn_server"
)

Constants associated with the ReservedIPTargetVPNServerReference.ResourceType property. The resource type.

View Source
const (
	ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContextResourceTypeVirtualNetworkInterfaceConst = "virtual_network_interface"
)

Constants associated with the ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext.ResourceType property. The resource type.

View Source
const (
	RouteCreatorResourceTypeVPNGatewayConst = "vpn_gateway"
)

Constants associated with the RouteCreator.ResourceType property. The resource type.

View Source
const (
	RouteCreatorVPNGatewayReferenceResourceTypeVPNGatewayConst = "vpn_gateway"
)

Constants associated with the RouteCreatorVPNGatewayReference.ResourceType property. The resource type.

View Source
const (
	RouteCreatorVPNServerReferenceResourceTypeVPNServerConst = "vpn_server"
)

Constants associated with the RouteCreatorVPNServerReference.ResourceType property. The resource type.

View Source
const (
	RouteNextHopResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the RouteNextHop.ResourceType property. The resource type.

View Source
const (
	RouteNextHopVPNGatewayConnectionReferenceResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the RouteNextHopVPNGatewayConnectionReference.ResourceType property. The resource type.

View Source
const (
	RoutingTableReferenceResourceTypeRoutingTableConst = "routing_table"
)

Constants associated with the RoutingTableReference.ResourceType property. The resource type.

View Source
const (
	RoutingTableResourceTypeRoutingTableConst = "routing_table"
)

Constants associated with the RoutingTable.ResourceType property. The resource type.

View Source
const (
	SecurityGroupRuleIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRule.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRulePatchIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRulePatch.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRulePrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRulePrototype.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolAllIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolAllProtocolAllConst = "all"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmpIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmpProtocolIcmpConst = "icmp"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudpIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolAllIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolAll.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolAllProtocolAllConst = "all"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolAll.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolIcmpIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolIcmp.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolIcmpProtocolIcmpConst = "icmp"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolIcmp.Protocol property. The protocol to enforce.

View Source
const (
	SecurityGroupRuleSecurityGroupRuleProtocolTcpudpIPVersionIpv4Const = "ipv4"
)

Constants associated with the SecurityGroupRuleSecurityGroupRuleProtocolTcpudp.IPVersion property. The IP version to enforce. The format of `local.address`, `remote.address`, `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.

If `remote` references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.

View Source
const (
	SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContextResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext.ResourceType property. The resource type.

View Source
const (
	SecurityGroupTargetReferenceEndpointGatewayReferenceResourceTypeEndpointGatewayConst = "endpoint_gateway"
)

Constants associated with the SecurityGroupTargetReferenceEndpointGatewayReference.ResourceType property. The resource type.

View Source
const (
	SecurityGroupTargetReferenceLoadBalancerReferenceResourceTypeLoadBalancerConst = "load_balancer"
)

Constants associated with the SecurityGroupTargetReferenceLoadBalancerReference.ResourceType property. The resource type.

View Source
const (
	SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContextResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext.ResourceType property. The resource type.

View Source
const (
	SecurityGroupTargetReferenceResourceTypeNetworkInterfaceConst = "network_interface"
)

Constants associated with the SecurityGroupTargetReference.ResourceType property. The resource type.

View Source
const (
	SecurityGroupTargetReferenceVPNServerReferenceResourceTypeVPNServerConst = "vpn_server"
)

Constants associated with the SecurityGroupTargetReferenceVPNServerReference.ResourceType property. The resource type.

View Source
const (
	SecurityGroupTargetReferenceVirtualNetworkInterfaceReferenceResourceTypeVirtualNetworkInterfaceConst = "virtual_network_interface"
)

Constants associated with the SecurityGroupTargetReferenceVirtualNetworkInterfaceReference.ResourceType property. The resource type.

View Source
const (
	ShareMountTargetReferenceResourceTypeShareMountTargetConst = "share_mount_target"
)

Constants associated with the ShareMountTargetReference.ResourceType property. The resource type.

View Source
const (
	ShareMountTargetResourceTypeShareMountTargetConst = "share_mount_target"
)

Constants associated with the ShareMountTarget.ResourceType property. The resource type.

View Source
const (
	ShareProfileCapacityEnumTypeEnumConst = "enum"
)

Constants associated with the ShareProfileCapacityEnum.Type property. The type for this profile field.

View Source
const (
	ShareProfileCapacityFixedTypeFixedConst = "fixed"
)

Constants associated with the ShareProfileCapacityFixed.Type property. The type for this profile field.

View Source
const (
	ShareProfileCapacityRangeTypeRangeConst = "range"
)

Constants associated with the ShareProfileCapacityRange.Type property. The type for this profile field.

View Source
const (
	ShareProfileCapacityTypeFixedConst = "fixed"
)

Constants associated with the ShareProfileCapacity.Type property. The type for this profile field.

View Source
const (
	ShareProfileFamilyDefinedPerformanceConst = "defined_performance"
)

Constants associated with the ShareProfile.Family property. The product family this share profile belongs to.

View Source
const (
	ShareProfileIopsEnumTypeEnumConst = "enum"
)

Constants associated with the ShareProfileIopsEnum.Type property. The type for this profile field.

View Source
const (
	ShareProfileIopsFixedTypeFixedConst = "fixed"
)

Constants associated with the ShareProfileIopsFixed.Type property. The type for this profile field.

View Source
const (
	ShareProfileIopsRangeTypeRangeConst = "range"
)

Constants associated with the ShareProfileIopsRange.Type property. The type for this profile field.

View Source
const (
	ShareProfileIopsTypeFixedConst = "fixed"
)

Constants associated with the ShareProfileIops.Type property. The type for this profile field.

View Source
const (
	ShareProfileReferenceResourceTypeShareProfileConst = "share_profile"
)

Constants associated with the ShareProfileReference.ResourceType property. The resource type.

View Source
const (
	ShareProfileResourceTypeShareProfileConst = "share_profile"
)

Constants associated with the ShareProfile.ResourceType property. The resource type.

View Source
const (
	ShareReferenceResourceTypeShareConst = "share"
)

Constants associated with the ShareReference.ResourceType property. The resource type.

View Source
const (
	ShareResourceTypeShareConst = "share"
)

Constants associated with the Share.ResourceType property. The resource type.

View Source
const (
	SnapshotConsistencyGroupReferenceResourceTypeSnapshotConsistencyGroupConst = "snapshot_consistency_group"
)

Constants associated with the SnapshotConsistencyGroupReference.ResourceType property. The resource type.

View Source
const (
	SnapshotConsistencyGroupResourceTypeSnapshotConsistencyGroupConst = "snapshot_consistency_group"
)

Constants associated with the SnapshotConsistencyGroup.ResourceType property. The resource type.

View Source
const (
	SnapshotCopiesItemResourceTypeSnapshotConst = "snapshot"
)

Constants associated with the SnapshotCopiesItem.ResourceType property. The resource type.

View Source
const (
	SnapshotReferenceResourceTypeSnapshotConst = "snapshot"
)

Constants associated with the SnapshotReference.ResourceType property. The resource type.

View Source
const (
	SnapshotResourceTypeSnapshotConst = "snapshot"
)

Constants associated with the Snapshot.ResourceType property. The resource type.

View Source
const (
	SnapshotSourceSnapshotResourceTypeSnapshotConst = "snapshot"
)

Constants associated with the SnapshotSourceSnapshot.ResourceType property. The resource type.

View Source
const (
	SubnetIPVersionIpv4Const = "ipv4"
)

Constants associated with the Subnet.IPVersion property. The IP version(s) supported by this subnet.

View Source
const (
	SubnetPrototypeIPVersionIpv4Const = "ipv4"
)

Constants associated with the SubnetPrototype.IPVersion property. The IP version(s) to support for this subnet.

View Source
const (
	SubnetPrototypeSubnetByCIDRIPVersionIpv4Const = "ipv4"
)

Constants associated with the SubnetPrototypeSubnetByCIDR.IPVersion property. The IP version(s) to support for this subnet.

View Source
const (
	SubnetPrototypeSubnetByTotalCountIPVersionIpv4Const = "ipv4"
)

Constants associated with the SubnetPrototypeSubnetByTotalCount.IPVersion property. The IP version(s) to support for this subnet.

View Source
const (
	SubnetReferenceResourceTypeSubnetConst = "subnet"
)

Constants associated with the SubnetReference.ResourceType property. The resource type.

View Source
const (
	SubnetResourceTypeSubnetConst = "subnet"
)

Constants associated with the Subnet.ResourceType property. The resource type.

View Source
const (
	TrustedProfileReferenceResourceTypeTrustedProfileConst = "trusted_profile"
)

Constants associated with the TrustedProfileReference.ResourceType property. The resource type.

View Source
const (
	VPCReferenceDnsResolverContextResourceTypeVPCConst = "vpc"
)

Constants associated with the VPCReferenceDnsResolverContext.ResourceType property. The resource type.

View Source
const (
	VPCReferenceRemoteResourceTypeVPCConst = "vpc"
)

Constants associated with the VPCReferenceRemote.ResourceType property. The resource type.

View Source
const (
	VPCReferenceResourceTypeVPCConst = "vpc"
)

Constants associated with the VPCReference.ResourceType property. The resource type.

View Source
const (
	VPCResourceTypeVPCConst = "vpc"
)

Constants associated with the VPC.ResourceType property. The resource type.

View Source
const (
	VPNGatewayConnectionAuthenticationModePskConst = "psk"
)

Constants associated with the VPNGatewayConnection.AuthenticationMode property. The authentication mode. Only `psk` is currently supported.

View Source
const (
	VPNGatewayConnectionPatchRoutingProtocolNoneConst = "none"
)

Constants associated with the VPNGatewayConnectionPatch.RoutingProtocol property. Routing protocols are disabled for this VPN gateway connection.

View Source
const (
	VPNGatewayConnectionPolicyModeAuthenticationModePskConst = "psk"
)

Constants associated with the VPNGatewayConnectionPolicyMode.AuthenticationMode property. The authentication mode. Only `psk` is currently supported.

View Source
const (
	VPNGatewayConnectionPolicyModeResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the VPNGatewayConnectionPolicyMode.ResourceType property. The resource type.

View Source
const (
	VPNGatewayConnectionPrototypeRoutingProtocolNoneConst = "none"
)

Constants associated with the VPNGatewayConnectionPrototype.RoutingProtocol property. Routing protocols are disabled for this VPN gateway connection.

View Source
const (
	VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototypeRoutingProtocolNoneConst = "none"
)

Constants associated with the VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype.RoutingProtocol property. Routing protocols are disabled for this VPN gateway connection.

View Source
const (
	VPNGatewayConnectionReferenceResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the VPNGatewayConnectionReference.ResourceType property. The resource type.

View Source
const (
	VPNGatewayConnectionResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the VPNGatewayConnection.ResourceType property. The resource type.

View Source
const (
	VPNGatewayConnectionRouteModeAuthenticationModePskConst = "psk"
)

Constants associated with the VPNGatewayConnectionRouteMode.AuthenticationMode property. The authentication mode. Only `psk` is currently supported.

View Source
const (
	VPNGatewayConnectionRouteModeResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the VPNGatewayConnectionRouteMode.ResourceType property. The resource type.

View Source
const (
	VPNGatewayConnectionRouteModeRoutingProtocolNoneConst = "none"
)

Constants associated with the VPNGatewayConnectionRouteMode.RoutingProtocol property. Routing protocols are disabled for this VPN gateway connection.

View Source
const (
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeAuthenticationModePskConst = "psk"
)

Constants associated with the VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode.AuthenticationMode property. The authentication mode. Only `psk` is currently supported.

View Source
const (
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeResourceTypeVPNGatewayConnectionConst = "vpn_gateway_connection"
)

Constants associated with the VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode.ResourceType property. The resource type.

View Source
const (
	VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteModeRoutingProtocolNoneConst = "none"
)

Constants associated with the VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode.RoutingProtocol property. Routing protocols are disabled for this VPN gateway connection.

View Source
const (
	VPNGatewayConnectionRoutingProtocolNoneConst = "none"
)

Constants associated with the VPNGatewayConnection.RoutingProtocol property. Routing protocols are disabled for this VPN gateway connection.

View Source
const (
	VPNGatewayModeRouteConst = "route"
)

Constants associated with the VPNGateway.Mode property. Route mode VPN gateway.

View Source
const (
	VPNGatewayPolicyModeModePolicyConst = "policy"
)

Constants associated with the VPNGatewayPolicyMode.Mode property. Policy mode VPN gateway.

View Source
const (
	VPNGatewayPolicyModeResourceTypeVPNGatewayConst = "vpn_gateway"
)

Constants associated with the VPNGatewayPolicyMode.ResourceType property. The resource type.

View Source
const (
	VPNGatewayPrototypeModeRouteConst = "route"
)

Constants associated with the VPNGatewayPrototype.Mode property. Route mode VPN gateway.

View Source
const (
	VPNGatewayPrototypeVPNGatewayPolicyModePrototypeModePolicyConst = "policy"
)

Constants associated with the VPNGatewayPrototypeVPNGatewayPolicyModePrototype.Mode property. Policy mode VPN gateway.

View Source
const (
	VPNGatewayPrototypeVPNGatewayRouteModePrototypeModeRouteConst = "route"
)

Constants associated with the VPNGatewayPrototypeVPNGatewayRouteModePrototype.Mode property. Route mode VPN gateway.

View Source
const (
	VPNGatewayResourceTypeVPNGatewayConst = "vpn_gateway"
)

Constants associated with the VPNGateway.ResourceType property. The resource type.

View Source
const (
	VPNGatewayRouteModeModeRouteConst = "route"
)

Constants associated with the VPNGatewayRouteMode.Mode property. Route mode VPN gateway.

View Source
const (
	VPNGatewayRouteModeResourceTypeVPNGatewayConst = "vpn_gateway"
)

Constants associated with the VPNGatewayRouteMode.ResourceType property. The resource type.

View Source
const (
	VPNServerAuthenticationByUsernameIDProviderByIamProviderTypeIamConst = "iam"
)

Constants associated with the VPNServerAuthenticationByUsernameIDProviderByIam.ProviderType property. The type of identity provider to be used by the VPN client: - `iam`: IBM identity and access management

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerAuthenticationByUsernameIDProviderProviderTypeIamConst = "iam"
)

Constants associated with the VPNServerAuthenticationByUsernameIDProvider.ProviderType property. The type of identity provider to be used by the VPN client: - `iam`: IBM identity and access management

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerClientResourceTypeVPNServerClientConst = "vpn_server_client"
)

Constants associated with the VPNServerClient.ResourceType property. The resource type.

View Source
const (
	VPNServerResourceTypeVPNServerConst = "vpn_server"
)

Constants associated with the VPNServer.ResourceType property. The resource type.

View Source
const (
	VPNServerRouteHealthReasonCodeInternalErrorConst = "internal_error"
)

Constants associated with the VPNServerRouteHealthReason.Code property. A reason code for this health state: - `internal_error`: Internal error (contact IBM support)

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VPNServerRouteResourceTypeVPNServerRouteConst = "vpn_server_route"
)

Constants associated with the VPNServerRoute.ResourceType property. The resource type.

View Source
const (
	VirtualNetworkInterfaceReferenceAttachmentContextResourceTypeVirtualNetworkInterfaceConst = "virtual_network_interface"
)

Constants associated with the VirtualNetworkInterfaceReferenceAttachmentContext.ResourceType property. The resource type.

View Source
const (
	VirtualNetworkInterfaceResourceTypeVirtualNetworkInterfaceConst = "virtual_network_interface"
)

Constants associated with the VirtualNetworkInterface.ResourceType property. The resource type.

View Source
const (
	VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContextResourceTypeBareMetalServerNetworkAttachmentConst = "bare_metal_server_network_attachment"
)

Constants associated with the VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext.ResourceType property. The resource type.

View Source
const (
	VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContextResourceTypeInstanceNetworkAttachmentConst = "instance_network_attachment"
)

Constants associated with the VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext.ResourceType property. The resource type.

View Source
const (
	VirtualNetworkInterfaceTargetResourceTypeShareMountTargetConst = "share_mount_target"
)

Constants associated with the VirtualNetworkInterfaceTarget.ResourceType property. The resource type.

View Source
const (
	VirtualNetworkInterfaceTargetShareMountTargetReferenceResourceTypeShareMountTargetConst = "share_mount_target"
)

Constants associated with the VirtualNetworkInterfaceTargetShareMountTargetReference.ResourceType property. The resource type.

View Source
const (
	VolumeHealthReasonCodeInitializingFromSnapshotConst = "initializing_from_snapshot"
)

Constants associated with the VolumeHealthReason.Code property. A reason code for this health state.

View Source
const (
	VolumeReferenceResourceTypeVolumeConst = "volume"
)

Constants associated with the VolumeReference.ResourceType property. The resource type.

View Source
const (
	VolumeReferenceVolumeAttachmentContextResourceTypeVolumeConst = "volume"
)

Constants associated with the VolumeReferenceVolumeAttachmentContext.ResourceType property. The resource type.

View Source
const (
	VolumeResourceTypeVolumeConst = "volume"
)

Constants associated with the Volume.ResourceType property. The resource type.

View Source
const (
	VolumeStatusReasonCodeEncryptionKeyDeletedConst = "encryption_key_deleted"
)

Constants associated with the VolumeStatusReason.Code property. A snake case string succinctly identifying the status reason.

The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

View Source
const (
	VpcdnsResolutionBindingResourceTypeVPCDnsResolutionBindingConst = "vpc_dns_resolution_binding"
)

Constants associated with the VpcdnsResolutionBinding.ResourceType property. The resource type.

View Source
const (
	VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototypeTypeManualConst = "manual"
)

Constants associated with the VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype.Type property. The type of the DNS resolver to use.

View Source
const (
	VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototypeTypeSystemConst = "system"
)

Constants associated with the VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype.Type property. The type of the DNS resolver to use.

View Source
const (
	VpcdnsResolverTypeDelegatedTypeDelegatedConst = "delegated"
)

Constants associated with the VpcdnsResolverTypeDelegated.Type property. The type of the DNS resolver used for the VPC.

View Source
const (
	VpcdnsResolverTypeManualTypeManualConst = "manual"
)

Constants associated with the VpcdnsResolverTypeManual.Type property. The type of the DNS resolver used for the VPC.

View Source
const (
	VpcdnsResolverTypeSystemTypeSystemConst = "system"
)

Constants associated with the VpcdnsResolverTypeSystem.Type property. The type of the DNS resolver used for the VPC.

Variables

This section is empty.

Functions

func GetServiceURLForRegion added in v0.4.2

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalAccountReference added in v0.39.0

func UnmarshalAccountReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAccountReference unmarshals an instance of AccountReference from the specified map of raw messages.

func UnmarshalAddressPrefix

func UnmarshalAddressPrefix(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAddressPrefix unmarshals an instance of AddressPrefix from the specified map of raw messages.

func UnmarshalAddressPrefixCollection

func UnmarshalAddressPrefixCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAddressPrefixCollection unmarshals an instance of AddressPrefixCollection from the specified map of raw messages.

func UnmarshalAddressPrefixCollectionFirst added in v0.1.0

func UnmarshalAddressPrefixCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAddressPrefixCollectionFirst unmarshals an instance of AddressPrefixCollectionFirst from the specified map of raw messages.

func UnmarshalAddressPrefixCollectionNext added in v0.1.0

func UnmarshalAddressPrefixCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAddressPrefixCollectionNext unmarshals an instance of AddressPrefixCollectionNext from the specified map of raw messages.

func UnmarshalAddressPrefixPatch added in v0.2.0

func UnmarshalAddressPrefixPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAddressPrefixPatch unmarshals an instance of AddressPrefixPatch from the specified map of raw messages.

func UnmarshalBackupPolicy added in v0.21.0

func UnmarshalBackupPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicy unmarshals an instance of BackupPolicy from the specified map of raw messages.

func UnmarshalBackupPolicyCollection added in v0.21.0

func UnmarshalBackupPolicyCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyCollection unmarshals an instance of BackupPolicyCollection from the specified map of raw messages.

func UnmarshalBackupPolicyCollectionFirst added in v0.21.0

func UnmarshalBackupPolicyCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyCollectionFirst unmarshals an instance of BackupPolicyCollectionFirst from the specified map of raw messages.

func UnmarshalBackupPolicyCollectionNext added in v0.21.0

func UnmarshalBackupPolicyCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyCollectionNext unmarshals an instance of BackupPolicyCollectionNext from the specified map of raw messages.

func UnmarshalBackupPolicyHealthReason added in v0.43.0

func UnmarshalBackupPolicyHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyHealthReason unmarshals an instance of BackupPolicyHealthReason from the specified map of raw messages.

func UnmarshalBackupPolicyJob added in v0.29.0

func UnmarshalBackupPolicyJob(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJob unmarshals an instance of BackupPolicyJob from the specified map of raw messages.

func UnmarshalBackupPolicyJobCollection added in v0.29.0

func UnmarshalBackupPolicyJobCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobCollection unmarshals an instance of BackupPolicyJobCollection from the specified map of raw messages.

func UnmarshalBackupPolicyJobCollectionFirst added in v0.29.0

func UnmarshalBackupPolicyJobCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobCollectionFirst unmarshals an instance of BackupPolicyJobCollectionFirst from the specified map of raw messages.

func UnmarshalBackupPolicyJobCollectionNext added in v0.29.0

func UnmarshalBackupPolicyJobCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobCollectionNext unmarshals an instance of BackupPolicyJobCollectionNext from the specified map of raw messages.

func UnmarshalBackupPolicyJobSource added in v0.29.0

func UnmarshalBackupPolicyJobSource(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobSource unmarshals an instance of BackupPolicyJobSource from the specified map of raw messages.

func UnmarshalBackupPolicyJobSourceInstanceReference added in v0.45.0

func UnmarshalBackupPolicyJobSourceInstanceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobSourceInstanceReference unmarshals an instance of BackupPolicyJobSourceInstanceReference from the specified map of raw messages.

func UnmarshalBackupPolicyJobSourceVolumeReference added in v0.29.0

func UnmarshalBackupPolicyJobSourceVolumeReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobSourceVolumeReference unmarshals an instance of BackupPolicyJobSourceVolumeReference from the specified map of raw messages.

func UnmarshalBackupPolicyJobStatusReason added in v0.29.0

func UnmarshalBackupPolicyJobStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyJobStatusReason unmarshals an instance of BackupPolicyJobStatusReason from the specified map of raw messages.

func UnmarshalBackupPolicyMatchResourceTypeInstance added in v0.45.0

func UnmarshalBackupPolicyMatchResourceTypeInstance(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyMatchResourceTypeInstance unmarshals an instance of BackupPolicyMatchResourceTypeInstance from the specified map of raw messages.

func UnmarshalBackupPolicyMatchResourceTypeVolume added in v0.45.0

func UnmarshalBackupPolicyMatchResourceTypeVolume(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyMatchResourceTypeVolume unmarshals an instance of BackupPolicyMatchResourceTypeVolume from the specified map of raw messages.

func UnmarshalBackupPolicyPatch added in v0.21.0

func UnmarshalBackupPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPatch unmarshals an instance of BackupPolicyPatch from the specified map of raw messages.

func UnmarshalBackupPolicyPlan added in v0.21.0

func UnmarshalBackupPolicyPlan(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlan unmarshals an instance of BackupPolicyPlan from the specified map of raw messages.

func UnmarshalBackupPolicyPlanClonePolicy added in v0.31.0

func UnmarshalBackupPolicyPlanClonePolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanClonePolicy unmarshals an instance of BackupPolicyPlanClonePolicy from the specified map of raw messages.

func UnmarshalBackupPolicyPlanClonePolicyPatch added in v0.31.0

func UnmarshalBackupPolicyPlanClonePolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanClonePolicyPatch unmarshals an instance of BackupPolicyPlanClonePolicyPatch from the specified map of raw messages.

func UnmarshalBackupPolicyPlanClonePolicyPrototype added in v0.31.0

func UnmarshalBackupPolicyPlanClonePolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanClonePolicyPrototype unmarshals an instance of BackupPolicyPlanClonePolicyPrototype from the specified map of raw messages.

func UnmarshalBackupPolicyPlanCollection added in v0.21.0

func UnmarshalBackupPolicyPlanCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanCollection unmarshals an instance of BackupPolicyPlanCollection from the specified map of raw messages.

func UnmarshalBackupPolicyPlanCollectionFirst added in v0.49.0

func UnmarshalBackupPolicyPlanCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanCollectionFirst unmarshals an instance of BackupPolicyPlanCollectionFirst from the specified map of raw messages.

func UnmarshalBackupPolicyPlanCollectionNext added in v0.49.0

func UnmarshalBackupPolicyPlanCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanCollectionNext unmarshals an instance of BackupPolicyPlanCollectionNext from the specified map of raw messages.

func UnmarshalBackupPolicyPlanDeletionTrigger added in v0.21.0

func UnmarshalBackupPolicyPlanDeletionTrigger(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanDeletionTrigger unmarshals an instance of BackupPolicyPlanDeletionTrigger from the specified map of raw messages.

func UnmarshalBackupPolicyPlanDeletionTriggerPatch added in v0.21.0

func UnmarshalBackupPolicyPlanDeletionTriggerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanDeletionTriggerPatch unmarshals an instance of BackupPolicyPlanDeletionTriggerPatch from the specified map of raw messages.

func UnmarshalBackupPolicyPlanDeletionTriggerPrototype added in v0.21.0

func UnmarshalBackupPolicyPlanDeletionTriggerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanDeletionTriggerPrototype unmarshals an instance of BackupPolicyPlanDeletionTriggerPrototype from the specified map of raw messages.

func UnmarshalBackupPolicyPlanPatch added in v0.21.0

func UnmarshalBackupPolicyPlanPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanPatch unmarshals an instance of BackupPolicyPlanPatch from the specified map of raw messages.

func UnmarshalBackupPolicyPlanPrototype added in v0.21.0

func UnmarshalBackupPolicyPlanPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanPrototype unmarshals an instance of BackupPolicyPlanPrototype from the specified map of raw messages.

func UnmarshalBackupPolicyPlanReference added in v0.21.0

func UnmarshalBackupPolicyPlanReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanReference unmarshals an instance of BackupPolicyPlanReference from the specified map of raw messages.

func UnmarshalBackupPolicyPlanReferenceDeleted added in v0.21.0

func UnmarshalBackupPolicyPlanReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanReferenceDeleted unmarshals an instance of BackupPolicyPlanReferenceDeleted from the specified map of raw messages.

func UnmarshalBackupPolicyPlanRemote added in v0.39.0

func UnmarshalBackupPolicyPlanRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanRemote unmarshals an instance of BackupPolicyPlanRemote from the specified map of raw messages.

func UnmarshalBackupPolicyPlanRemoteRegionPolicy added in v0.39.0

func UnmarshalBackupPolicyPlanRemoteRegionPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanRemoteRegionPolicy unmarshals an instance of BackupPolicyPlanRemoteRegionPolicy from the specified map of raw messages.

func UnmarshalBackupPolicyPlanRemoteRegionPolicyPrototype added in v0.39.0

func UnmarshalBackupPolicyPlanRemoteRegionPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPlanRemoteRegionPolicyPrototype unmarshals an instance of BackupPolicyPlanRemoteRegionPolicyPrototype from the specified map of raw messages.

func UnmarshalBackupPolicyPrototype added in v0.45.0

func UnmarshalBackupPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPrototype unmarshals an instance of BackupPolicyPrototype from the specified map of raw messages.

func UnmarshalBackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype added in v0.45.0

func UnmarshalBackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype unmarshals an instance of BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype from the specified map of raw messages.

func UnmarshalBackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype added in v0.45.0

func UnmarshalBackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype unmarshals an instance of BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype from the specified map of raw messages.

func UnmarshalBackupPolicyScope added in v0.43.0

func UnmarshalBackupPolicyScope(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyScope unmarshals an instance of BackupPolicyScope from the specified map of raw messages.

func UnmarshalBackupPolicyScopeAccountReference added in v0.43.0

func UnmarshalBackupPolicyScopeAccountReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyScopeAccountReference unmarshals an instance of BackupPolicyScopeAccountReference from the specified map of raw messages.

func UnmarshalBackupPolicyScopeEnterpriseReference added in v0.43.0

func UnmarshalBackupPolicyScopeEnterpriseReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyScopeEnterpriseReference unmarshals an instance of BackupPolicyScopeEnterpriseReference from the specified map of raw messages.

func UnmarshalBackupPolicyScopePrototype added in v0.43.0

func UnmarshalBackupPolicyScopePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyScopePrototype unmarshals an instance of BackupPolicyScopePrototype from the specified map of raw messages.

func UnmarshalBackupPolicyScopePrototypeEnterpriseIdentity added in v0.43.0

func UnmarshalBackupPolicyScopePrototypeEnterpriseIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyScopePrototypeEnterpriseIdentity unmarshals an instance of BackupPolicyScopePrototypeEnterpriseIdentity from the specified map of raw messages.

func UnmarshalBackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN added in v0.43.0

func UnmarshalBackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN unmarshals an instance of BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN from the specified map of raw messages.

func UnmarshalBareMetalServer added in v0.16.0

func UnmarshalBareMetalServer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServer unmarshals an instance of BareMetalServer from the specified map of raw messages.

func UnmarshalBareMetalServerBootTarget added in v0.16.0

func UnmarshalBareMetalServerBootTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerBootTarget unmarshals an instance of BareMetalServerBootTarget from the specified map of raw messages.

func UnmarshalBareMetalServerBootTargetBareMetalServerDiskReference added in v0.16.0

func UnmarshalBareMetalServerBootTargetBareMetalServerDiskReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerBootTargetBareMetalServerDiskReference unmarshals an instance of BareMetalServerBootTargetBareMetalServerDiskReference from the specified map of raw messages.

func UnmarshalBareMetalServerCollection added in v0.16.0

func UnmarshalBareMetalServerCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerCollection unmarshals an instance of BareMetalServerCollection from the specified map of raw messages.

func UnmarshalBareMetalServerCollectionFirst added in v0.16.0

func UnmarshalBareMetalServerCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerCollectionFirst unmarshals an instance of BareMetalServerCollectionFirst from the specified map of raw messages.

func UnmarshalBareMetalServerCollectionNext added in v0.16.0

func UnmarshalBareMetalServerCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerCollectionNext unmarshals an instance of BareMetalServerCollectionNext from the specified map of raw messages.

func UnmarshalBareMetalServerConsoleAccessToken added in v0.16.0

func UnmarshalBareMetalServerConsoleAccessToken(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerConsoleAccessToken unmarshals an instance of BareMetalServerConsoleAccessToken from the specified map of raw messages.

func UnmarshalBareMetalServerCpu added in v0.16.0

func UnmarshalBareMetalServerCpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerCpu unmarshals an instance of BareMetalServerCpu from the specified map of raw messages.

func UnmarshalBareMetalServerDisk added in v0.16.0

func UnmarshalBareMetalServerDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerDisk unmarshals an instance of BareMetalServerDisk from the specified map of raw messages.

func UnmarshalBareMetalServerDiskCollection added in v0.16.0

func UnmarshalBareMetalServerDiskCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerDiskCollection unmarshals an instance of BareMetalServerDiskCollection from the specified map of raw messages.

func UnmarshalBareMetalServerDiskPatch added in v0.16.0

func UnmarshalBareMetalServerDiskPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerDiskPatch unmarshals an instance of BareMetalServerDiskPatch from the specified map of raw messages.

func UnmarshalBareMetalServerDiskReferenceDeleted added in v0.16.0

func UnmarshalBareMetalServerDiskReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerDiskReferenceDeleted unmarshals an instance of BareMetalServerDiskReferenceDeleted from the specified map of raw messages.

func UnmarshalBareMetalServerInitialization added in v0.16.0

func UnmarshalBareMetalServerInitialization(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerInitialization unmarshals an instance of BareMetalServerInitialization from the specified map of raw messages.

func UnmarshalBareMetalServerInitializationPrototype added in v0.16.0

func UnmarshalBareMetalServerInitializationPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerInitializationPrototype unmarshals an instance of BareMetalServerInitializationPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerInitializationUserAccount added in v0.16.0

func UnmarshalBareMetalServerInitializationUserAccount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerInitializationUserAccount unmarshals an instance of BareMetalServerInitializationUserAccount from the specified map of raw messages.

func UnmarshalBareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount added in v0.16.0

func UnmarshalBareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount unmarshals an instance of BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount from the specified map of raw messages.

func UnmarshalBareMetalServerLifecycleReason added in v0.36.0

func UnmarshalBareMetalServerLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerLifecycleReason unmarshals an instance of BareMetalServerLifecycleReason from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachment added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachment unmarshals an instance of BareMetalServerNetworkAttachment from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentByPci added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentByPci(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentByPci unmarshals an instance of BareMetalServerNetworkAttachmentByPci from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentByVlan added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentByVlan(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentByVlan unmarshals an instance of BareMetalServerNetworkAttachmentByVlan from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentCollection added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentCollection unmarshals an instance of BareMetalServerNetworkAttachmentCollection from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentCollectionFirst added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentCollectionFirst unmarshals an instance of BareMetalServerNetworkAttachmentCollectionFirst from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentCollectionNext added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentCollectionNext unmarshals an instance of BareMetalServerNetworkAttachmentCollectionNext from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPatch added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPatch unmarshals an instance of BareMetalServerNetworkAttachmentPatch from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototype added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototype unmarshals an instance of BareMetalServerNetworkAttachmentPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext unmarshals an instance of BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentReference added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentReference unmarshals an instance of BareMetalServerNetworkAttachmentReference from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkAttachmentReferenceDeleted added in v0.47.0

func UnmarshalBareMetalServerNetworkAttachmentReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkAttachmentReferenceDeleted unmarshals an instance of BareMetalServerNetworkAttachmentReferenceDeleted from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterface added in v0.16.0

func UnmarshalBareMetalServerNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterface unmarshals an instance of BareMetalServerNetworkInterface from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceByHiperSocket added in v0.26.0

func UnmarshalBareMetalServerNetworkInterfaceByHiperSocket(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceByHiperSocket unmarshals an instance of BareMetalServerNetworkInterfaceByHiperSocket from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceByPci added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfaceByPci(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceByPci unmarshals an instance of BareMetalServerNetworkInterfaceByPci from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceByVlan added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfaceByVlan(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceByVlan unmarshals an instance of BareMetalServerNetworkInterfaceByVlan from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceCollection added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfaceCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceCollection unmarshals an instance of BareMetalServerNetworkInterfaceCollection from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceCollectionFirst added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfaceCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceCollectionFirst unmarshals an instance of BareMetalServerNetworkInterfaceCollectionFirst from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceCollectionNext added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfaceCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceCollectionNext unmarshals an instance of BareMetalServerNetworkInterfaceCollectionNext from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfacePatch added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfacePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfacePatch unmarshals an instance of BareMetalServerNetworkInterfacePatch from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfacePrototype added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfacePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfacePrototype unmarshals an instance of BareMetalServerNetworkInterfacePrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype added in v0.26.0

func UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype unmarshals an instance of BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype unmarshals an instance of BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype added in v0.16.0

func UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype unmarshals an instance of BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceReferenceDeleted added in v0.41.0

func UnmarshalBareMetalServerNetworkInterfaceReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceReferenceDeleted unmarshals an instance of BareMetalServerNetworkInterfaceReferenceDeleted from the specified map of raw messages.

func UnmarshalBareMetalServerNetworkInterfaceReferenceTargetContextDeleted added in v0.41.0

func UnmarshalBareMetalServerNetworkInterfaceReferenceTargetContextDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerNetworkInterfaceReferenceTargetContextDeleted unmarshals an instance of BareMetalServerNetworkInterfaceReferenceTargetContextDeleted from the specified map of raw messages.

func UnmarshalBareMetalServerPatch added in v0.16.0

func UnmarshalBareMetalServerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPatch unmarshals an instance of BareMetalServerPatch from the specified map of raw messages.

func UnmarshalBareMetalServerPrimaryNetworkAttachmentPrototype added in v0.47.0

func UnmarshalBareMetalServerPrimaryNetworkAttachmentPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPrimaryNetworkAttachmentPrototype unmarshals an instance of BareMetalServerPrimaryNetworkAttachmentPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype added in v0.47.0

func UnmarshalBareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype unmarshals an instance of BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerPrimaryNetworkInterfacePrototype added in v0.16.0

func UnmarshalBareMetalServerPrimaryNetworkInterfacePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPrimaryNetworkInterfacePrototype unmarshals an instance of BareMetalServerPrimaryNetworkInterfacePrototype from the specified map of raw messages.

func UnmarshalBareMetalServerProfile added in v0.16.0

func UnmarshalBareMetalServerProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfile unmarshals an instance of BareMetalServerProfile from the specified map of raw messages.

func UnmarshalBareMetalServerProfileBandwidth added in v0.16.0

func UnmarshalBareMetalServerProfileBandwidth(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileBandwidth unmarshals an instance of BareMetalServerProfileBandwidth from the specified map of raw messages.

func UnmarshalBareMetalServerProfileBandwidthDependent added in v0.16.0

func UnmarshalBareMetalServerProfileBandwidthDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileBandwidthDependent unmarshals an instance of BareMetalServerProfileBandwidthDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileBandwidthEnum added in v0.16.0

func UnmarshalBareMetalServerProfileBandwidthEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileBandwidthEnum unmarshals an instance of BareMetalServerProfileBandwidthEnum from the specified map of raw messages.

func UnmarshalBareMetalServerProfileBandwidthFixed added in v0.16.0

func UnmarshalBareMetalServerProfileBandwidthFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileBandwidthFixed unmarshals an instance of BareMetalServerProfileBandwidthFixed from the specified map of raw messages.

func UnmarshalBareMetalServerProfileBandwidthRange added in v0.16.0

func UnmarshalBareMetalServerProfileBandwidthRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileBandwidthRange unmarshals an instance of BareMetalServerProfileBandwidthRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCollection added in v0.16.0

func UnmarshalBareMetalServerProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCollection unmarshals an instance of BareMetalServerProfileCollection from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCollectionFirst added in v0.16.0

func UnmarshalBareMetalServerProfileCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCollectionFirst unmarshals an instance of BareMetalServerProfileCollectionFirst from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCollectionNext added in v0.16.0

func UnmarshalBareMetalServerProfileCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCollectionNext unmarshals an instance of BareMetalServerProfileCollectionNext from the specified map of raw messages.

func UnmarshalBareMetalServerProfileConsoleTypes added in v0.36.0

func UnmarshalBareMetalServerProfileConsoleTypes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileConsoleTypes unmarshals an instance of BareMetalServerProfileConsoleTypes from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuArchitecture added in v0.16.0

func UnmarshalBareMetalServerProfileCpuArchitecture(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuArchitecture unmarshals an instance of BareMetalServerProfileCpuArchitecture from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuCoreCount added in v0.16.0

func UnmarshalBareMetalServerProfileCpuCoreCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuCoreCount unmarshals an instance of BareMetalServerProfileCpuCoreCount from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuCoreCountDependent added in v0.16.0

func UnmarshalBareMetalServerProfileCpuCoreCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuCoreCountDependent unmarshals an instance of BareMetalServerProfileCpuCoreCountDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuCoreCountEnum added in v0.16.0

func UnmarshalBareMetalServerProfileCpuCoreCountEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuCoreCountEnum unmarshals an instance of BareMetalServerProfileCpuCoreCountEnum from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuCoreCountFixed added in v0.16.0

func UnmarshalBareMetalServerProfileCpuCoreCountFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuCoreCountFixed unmarshals an instance of BareMetalServerProfileCpuCoreCountFixed from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuCoreCountRange added in v0.16.0

func UnmarshalBareMetalServerProfileCpuCoreCountRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuCoreCountRange unmarshals an instance of BareMetalServerProfileCpuCoreCountRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuSocketCount added in v0.16.0

func UnmarshalBareMetalServerProfileCpuSocketCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuSocketCount unmarshals an instance of BareMetalServerProfileCpuSocketCount from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuSocketCountDependent added in v0.16.0

func UnmarshalBareMetalServerProfileCpuSocketCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuSocketCountDependent unmarshals an instance of BareMetalServerProfileCpuSocketCountDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuSocketCountEnum added in v0.16.0

func UnmarshalBareMetalServerProfileCpuSocketCountEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuSocketCountEnum unmarshals an instance of BareMetalServerProfileCpuSocketCountEnum from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuSocketCountFixed added in v0.16.0

func UnmarshalBareMetalServerProfileCpuSocketCountFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuSocketCountFixed unmarshals an instance of BareMetalServerProfileCpuSocketCountFixed from the specified map of raw messages.

func UnmarshalBareMetalServerProfileCpuSocketCountRange added in v0.16.0

func UnmarshalBareMetalServerProfileCpuSocketCountRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileCpuSocketCountRange unmarshals an instance of BareMetalServerProfileCpuSocketCountRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDisk added in v0.16.0

func UnmarshalBareMetalServerProfileDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDisk unmarshals an instance of BareMetalServerProfileDisk from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskQuantity added in v0.16.0

func UnmarshalBareMetalServerProfileDiskQuantity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskQuantity unmarshals an instance of BareMetalServerProfileDiskQuantity from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskQuantityDependent added in v0.16.0

func UnmarshalBareMetalServerProfileDiskQuantityDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskQuantityDependent unmarshals an instance of BareMetalServerProfileDiskQuantityDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskQuantityEnum added in v0.16.0

func UnmarshalBareMetalServerProfileDiskQuantityEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskQuantityEnum unmarshals an instance of BareMetalServerProfileDiskQuantityEnum from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskQuantityFixed added in v0.16.0

func UnmarshalBareMetalServerProfileDiskQuantityFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskQuantityFixed unmarshals an instance of BareMetalServerProfileDiskQuantityFixed from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskQuantityRange added in v0.16.0

func UnmarshalBareMetalServerProfileDiskQuantityRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskQuantityRange unmarshals an instance of BareMetalServerProfileDiskQuantityRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskSize added in v0.16.0

func UnmarshalBareMetalServerProfileDiskSize(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskSize unmarshals an instance of BareMetalServerProfileDiskSize from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskSizeDependent added in v0.16.0

func UnmarshalBareMetalServerProfileDiskSizeDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskSizeDependent unmarshals an instance of BareMetalServerProfileDiskSizeDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskSizeEnum added in v0.16.0

func UnmarshalBareMetalServerProfileDiskSizeEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskSizeEnum unmarshals an instance of BareMetalServerProfileDiskSizeEnum from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskSizeFixed added in v0.16.0

func UnmarshalBareMetalServerProfileDiskSizeFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskSizeFixed unmarshals an instance of BareMetalServerProfileDiskSizeFixed from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskSizeRange added in v0.16.0

func UnmarshalBareMetalServerProfileDiskSizeRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskSizeRange unmarshals an instance of BareMetalServerProfileDiskSizeRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileDiskSupportedInterfaces added in v0.16.0

func UnmarshalBareMetalServerProfileDiskSupportedInterfaces(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileDiskSupportedInterfaces unmarshals an instance of BareMetalServerProfileDiskSupportedInterfaces from the specified map of raw messages.

func UnmarshalBareMetalServerProfileIdentity added in v0.16.0

func UnmarshalBareMetalServerProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileIdentity unmarshals an instance of BareMetalServerProfileIdentity from the specified map of raw messages.

func UnmarshalBareMetalServerProfileIdentityByHref added in v0.16.0

func UnmarshalBareMetalServerProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileIdentityByHref unmarshals an instance of BareMetalServerProfileIdentityByHref from the specified map of raw messages.

func UnmarshalBareMetalServerProfileIdentityByName added in v0.16.0

func UnmarshalBareMetalServerProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileIdentityByName unmarshals an instance of BareMetalServerProfileIdentityByName from the specified map of raw messages.

func UnmarshalBareMetalServerProfileMemory added in v0.16.0

func UnmarshalBareMetalServerProfileMemory(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileMemory unmarshals an instance of BareMetalServerProfileMemory from the specified map of raw messages.

func UnmarshalBareMetalServerProfileMemoryDependent added in v0.16.0

func UnmarshalBareMetalServerProfileMemoryDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileMemoryDependent unmarshals an instance of BareMetalServerProfileMemoryDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileMemoryEnum added in v0.16.0

func UnmarshalBareMetalServerProfileMemoryEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileMemoryEnum unmarshals an instance of BareMetalServerProfileMemoryEnum from the specified map of raw messages.

func UnmarshalBareMetalServerProfileMemoryFixed added in v0.16.0

func UnmarshalBareMetalServerProfileMemoryFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileMemoryFixed unmarshals an instance of BareMetalServerProfileMemoryFixed from the specified map of raw messages.

func UnmarshalBareMetalServerProfileMemoryRange added in v0.16.0

func UnmarshalBareMetalServerProfileMemoryRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileMemoryRange unmarshals an instance of BareMetalServerProfileMemoryRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileNetworkAttachmentCount added in v0.47.0

func UnmarshalBareMetalServerProfileNetworkAttachmentCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileNetworkAttachmentCount unmarshals an instance of BareMetalServerProfileNetworkAttachmentCount from the specified map of raw messages.

func UnmarshalBareMetalServerProfileNetworkAttachmentCountDependent added in v0.47.0

func UnmarshalBareMetalServerProfileNetworkAttachmentCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileNetworkAttachmentCountDependent unmarshals an instance of BareMetalServerProfileNetworkAttachmentCountDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileNetworkAttachmentCountRange added in v0.47.0

func UnmarshalBareMetalServerProfileNetworkAttachmentCountRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileNetworkAttachmentCountRange unmarshals an instance of BareMetalServerProfileNetworkAttachmentCountRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileNetworkInterfaceCount added in v0.36.0

func UnmarshalBareMetalServerProfileNetworkInterfaceCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileNetworkInterfaceCount unmarshals an instance of BareMetalServerProfileNetworkInterfaceCount from the specified map of raw messages.

func UnmarshalBareMetalServerProfileNetworkInterfaceCountDependent added in v0.36.0

func UnmarshalBareMetalServerProfileNetworkInterfaceCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileNetworkInterfaceCountDependent unmarshals an instance of BareMetalServerProfileNetworkInterfaceCountDependent from the specified map of raw messages.

func UnmarshalBareMetalServerProfileNetworkInterfaceCountRange added in v0.36.0

func UnmarshalBareMetalServerProfileNetworkInterfaceCountRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileNetworkInterfaceCountRange unmarshals an instance of BareMetalServerProfileNetworkInterfaceCountRange from the specified map of raw messages.

func UnmarshalBareMetalServerProfileOsArchitecture added in v0.16.0

func UnmarshalBareMetalServerProfileOsArchitecture(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileOsArchitecture unmarshals an instance of BareMetalServerProfileOsArchitecture from the specified map of raw messages.

func UnmarshalBareMetalServerProfileReference added in v0.16.0

func UnmarshalBareMetalServerProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileReference unmarshals an instance of BareMetalServerProfileReference from the specified map of raw messages.

func UnmarshalBareMetalServerProfileSupportedTrustedPlatformModuleModes added in v0.16.0

func UnmarshalBareMetalServerProfileSupportedTrustedPlatformModuleModes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileSupportedTrustedPlatformModuleModes unmarshals an instance of BareMetalServerProfileSupportedTrustedPlatformModuleModes from the specified map of raw messages.

func UnmarshalBareMetalServerProfileVirtualNetworkInterfacesSupported added in v0.47.0

func UnmarshalBareMetalServerProfileVirtualNetworkInterfacesSupported(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerProfileVirtualNetworkInterfacesSupported unmarshals an instance of BareMetalServerProfileVirtualNetworkInterfacesSupported from the specified map of raw messages.

func UnmarshalBareMetalServerPrototype added in v0.47.0

func UnmarshalBareMetalServerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPrototype unmarshals an instance of BareMetalServerPrototype from the specified map of raw messages.

func UnmarshalBareMetalServerPrototypeBareMetalServerByNetworkAttachment added in v0.47.0

func UnmarshalBareMetalServerPrototypeBareMetalServerByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPrototypeBareMetalServerByNetworkAttachment unmarshals an instance of BareMetalServerPrototypeBareMetalServerByNetworkAttachment from the specified map of raw messages.

func UnmarshalBareMetalServerPrototypeBareMetalServerByNetworkInterface added in v0.47.0

func UnmarshalBareMetalServerPrototypeBareMetalServerByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerPrototypeBareMetalServerByNetworkInterface unmarshals an instance of BareMetalServerPrototypeBareMetalServerByNetworkInterface from the specified map of raw messages.

func UnmarshalBareMetalServerStatusReason added in v0.16.0

func UnmarshalBareMetalServerStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerStatusReason unmarshals an instance of BareMetalServerStatusReason from the specified map of raw messages.

func UnmarshalBareMetalServerTrustedPlatformModule added in v0.16.0

func UnmarshalBareMetalServerTrustedPlatformModule(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerTrustedPlatformModule unmarshals an instance of BareMetalServerTrustedPlatformModule from the specified map of raw messages.

func UnmarshalBareMetalServerTrustedPlatformModulePatch added in v0.31.0

func UnmarshalBareMetalServerTrustedPlatformModulePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerTrustedPlatformModulePatch unmarshals an instance of BareMetalServerTrustedPlatformModulePatch from the specified map of raw messages.

func UnmarshalBareMetalServerTrustedPlatformModulePrototype added in v0.31.0

func UnmarshalBareMetalServerTrustedPlatformModulePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalBareMetalServerTrustedPlatformModulePrototype unmarshals an instance of BareMetalServerTrustedPlatformModulePrototype from the specified map of raw messages.

func UnmarshalCatalogOfferingIdentity added in v0.26.0

func UnmarshalCatalogOfferingIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCatalogOfferingIdentity unmarshals an instance of CatalogOfferingIdentity from the specified map of raw messages.

func UnmarshalCatalogOfferingIdentityCatalogOfferingByCRN added in v0.26.0

func UnmarshalCatalogOfferingIdentityCatalogOfferingByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCatalogOfferingIdentityCatalogOfferingByCRN unmarshals an instance of CatalogOfferingIdentityCatalogOfferingByCRN from the specified map of raw messages.

func UnmarshalCatalogOfferingVersionIdentity added in v0.26.0

func UnmarshalCatalogOfferingVersionIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCatalogOfferingVersionIdentity unmarshals an instance of CatalogOfferingVersionIdentity from the specified map of raw messages.

func UnmarshalCatalogOfferingVersionIdentityCatalogOfferingVersionByCRN added in v0.26.0

func UnmarshalCatalogOfferingVersionIdentityCatalogOfferingVersionByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCatalogOfferingVersionIdentityCatalogOfferingVersionByCRN unmarshals an instance of CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN from the specified map of raw messages.

func UnmarshalCatalogOfferingVersionReference added in v0.26.0

func UnmarshalCatalogOfferingVersionReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCatalogOfferingVersionReference unmarshals an instance of CatalogOfferingVersionReference from the specified map of raw messages.

func UnmarshalCertificateInstanceIdentity

func UnmarshalCertificateInstanceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCertificateInstanceIdentity unmarshals an instance of CertificateInstanceIdentity from the specified map of raw messages.

func UnmarshalCertificateInstanceIdentityByCRN

func UnmarshalCertificateInstanceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCertificateInstanceIdentityByCRN unmarshals an instance of CertificateInstanceIdentityByCRN from the specified map of raw messages.

func UnmarshalCertificateInstanceReference

func UnmarshalCertificateInstanceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCertificateInstanceReference unmarshals an instance of CertificateInstanceReference from the specified map of raw messages.

func UnmarshalCloudObjectStorageBucketIdentity

func UnmarshalCloudObjectStorageBucketIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCloudObjectStorageBucketIdentity unmarshals an instance of CloudObjectStorageBucketIdentity from the specified map of raw messages.

func UnmarshalCloudObjectStorageBucketIdentityByCRN added in v0.37.0

func UnmarshalCloudObjectStorageBucketIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCloudObjectStorageBucketIdentityByCRN unmarshals an instance of CloudObjectStorageBucketIdentityByCRN from the specified map of raw messages.

func UnmarshalCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName added in v0.37.0

func UnmarshalCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName unmarshals an instance of CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName from the specified map of raw messages.

func UnmarshalCloudObjectStorageBucketReference

func UnmarshalCloudObjectStorageBucketReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCloudObjectStorageBucketReference unmarshals an instance of CloudObjectStorageBucketReference from the specified map of raw messages.

func UnmarshalCloudObjectStorageObjectReference added in v0.37.0

func UnmarshalCloudObjectStorageObjectReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCloudObjectStorageObjectReference unmarshals an instance of CloudObjectStorageObjectReference from the specified map of raw messages.

func UnmarshalDedicatedHost added in v0.4.0

func UnmarshalDedicatedHost(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHost unmarshals an instance of DedicatedHost from the specified map of raw messages.

func UnmarshalDedicatedHostCollection added in v0.4.0

func UnmarshalDedicatedHostCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostCollection unmarshals an instance of DedicatedHostCollection from the specified map of raw messages.

func UnmarshalDedicatedHostCollectionFirst added in v0.4.0

func UnmarshalDedicatedHostCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostCollectionFirst unmarshals an instance of DedicatedHostCollectionFirst from the specified map of raw messages.

func UnmarshalDedicatedHostCollectionNext added in v0.4.0

func UnmarshalDedicatedHostCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostCollectionNext unmarshals an instance of DedicatedHostCollectionNext from the specified map of raw messages.

func UnmarshalDedicatedHostDisk added in v0.5.0

func UnmarshalDedicatedHostDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostDisk unmarshals an instance of DedicatedHostDisk from the specified map of raw messages.

func UnmarshalDedicatedHostDiskCollection added in v0.5.0

func UnmarshalDedicatedHostDiskCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostDiskCollection unmarshals an instance of DedicatedHostDiskCollection from the specified map of raw messages.

func UnmarshalDedicatedHostDiskPatch added in v0.5.0

func UnmarshalDedicatedHostDiskPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostDiskPatch unmarshals an instance of DedicatedHostDiskPatch from the specified map of raw messages.

func UnmarshalDedicatedHostGroup added in v0.4.0

func UnmarshalDedicatedHostGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroup unmarshals an instance of DedicatedHostGroup from the specified map of raw messages.

func UnmarshalDedicatedHostGroupCollection added in v0.4.0

func UnmarshalDedicatedHostGroupCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupCollection unmarshals an instance of DedicatedHostGroupCollection from the specified map of raw messages.

func UnmarshalDedicatedHostGroupCollectionFirst added in v0.4.0

func UnmarshalDedicatedHostGroupCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupCollectionFirst unmarshals an instance of DedicatedHostGroupCollectionFirst from the specified map of raw messages.

func UnmarshalDedicatedHostGroupCollectionNext added in v0.4.0

func UnmarshalDedicatedHostGroupCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupCollectionNext unmarshals an instance of DedicatedHostGroupCollectionNext from the specified map of raw messages.

func UnmarshalDedicatedHostGroupIdentity added in v0.4.0

func UnmarshalDedicatedHostGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupIdentity unmarshals an instance of DedicatedHostGroupIdentity from the specified map of raw messages.

func UnmarshalDedicatedHostGroupIdentityByCRN added in v0.4.0

func UnmarshalDedicatedHostGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupIdentityByCRN unmarshals an instance of DedicatedHostGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalDedicatedHostGroupIdentityByHref added in v0.4.0

func UnmarshalDedicatedHostGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupIdentityByHref unmarshals an instance of DedicatedHostGroupIdentityByHref from the specified map of raw messages.

func UnmarshalDedicatedHostGroupIdentityByID added in v0.4.0

func UnmarshalDedicatedHostGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupIdentityByID unmarshals an instance of DedicatedHostGroupIdentityByID from the specified map of raw messages.

func UnmarshalDedicatedHostGroupPatch added in v0.4.0

func UnmarshalDedicatedHostGroupPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupPatch unmarshals an instance of DedicatedHostGroupPatch from the specified map of raw messages.

func UnmarshalDedicatedHostGroupPrototypeDedicatedHostByZoneContext added in v0.4.0

func UnmarshalDedicatedHostGroupPrototypeDedicatedHostByZoneContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupPrototypeDedicatedHostByZoneContext unmarshals an instance of DedicatedHostGroupPrototypeDedicatedHostByZoneContext from the specified map of raw messages.

func UnmarshalDedicatedHostGroupReference added in v0.4.0

func UnmarshalDedicatedHostGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupReference unmarshals an instance of DedicatedHostGroupReference from the specified map of raw messages.

func UnmarshalDedicatedHostGroupReferenceDeleted added in v0.4.0

func UnmarshalDedicatedHostGroupReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostGroupReferenceDeleted unmarshals an instance of DedicatedHostGroupReferenceDeleted from the specified map of raw messages.

func UnmarshalDedicatedHostNuma added in v0.43.0

func UnmarshalDedicatedHostNuma(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostNuma unmarshals an instance of DedicatedHostNuma from the specified map of raw messages.

func UnmarshalDedicatedHostNumaNode added in v0.43.0

func UnmarshalDedicatedHostNumaNode(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostNumaNode unmarshals an instance of DedicatedHostNumaNode from the specified map of raw messages.

func UnmarshalDedicatedHostPatch added in v0.4.0

func UnmarshalDedicatedHostPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostPatch unmarshals an instance of DedicatedHostPatch from the specified map of raw messages.

func UnmarshalDedicatedHostProfile added in v0.4.0

func UnmarshalDedicatedHostProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfile unmarshals an instance of DedicatedHostProfile from the specified map of raw messages.

func UnmarshalDedicatedHostProfileCollection added in v0.4.0

func UnmarshalDedicatedHostProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileCollection unmarshals an instance of DedicatedHostProfileCollection from the specified map of raw messages.

func UnmarshalDedicatedHostProfileCollectionFirst added in v0.4.0

func UnmarshalDedicatedHostProfileCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileCollectionFirst unmarshals an instance of DedicatedHostProfileCollectionFirst from the specified map of raw messages.

func UnmarshalDedicatedHostProfileCollectionNext added in v0.4.0

func UnmarshalDedicatedHostProfileCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileCollectionNext unmarshals an instance of DedicatedHostProfileCollectionNext from the specified map of raw messages.

func UnmarshalDedicatedHostProfileDisk added in v0.5.0

func UnmarshalDedicatedHostProfileDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileDisk unmarshals an instance of DedicatedHostProfileDisk from the specified map of raw messages.

func UnmarshalDedicatedHostProfileDiskInterface added in v0.5.0

func UnmarshalDedicatedHostProfileDiskInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileDiskInterface unmarshals an instance of DedicatedHostProfileDiskInterface from the specified map of raw messages.

func UnmarshalDedicatedHostProfileDiskQuantity added in v0.5.0

func UnmarshalDedicatedHostProfileDiskQuantity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileDiskQuantity unmarshals an instance of DedicatedHostProfileDiskQuantity from the specified map of raw messages.

func UnmarshalDedicatedHostProfileDiskSize added in v0.5.0

func UnmarshalDedicatedHostProfileDiskSize(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileDiskSize unmarshals an instance of DedicatedHostProfileDiskSize from the specified map of raw messages.

func UnmarshalDedicatedHostProfileDiskSupportedInterfaces added in v0.5.0

func UnmarshalDedicatedHostProfileDiskSupportedInterfaces(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileDiskSupportedInterfaces unmarshals an instance of DedicatedHostProfileDiskSupportedInterfaces from the specified map of raw messages.

func UnmarshalDedicatedHostProfileIdentity added in v0.4.0

func UnmarshalDedicatedHostProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileIdentity unmarshals an instance of DedicatedHostProfileIdentity from the specified map of raw messages.

func UnmarshalDedicatedHostProfileIdentityByHref added in v0.4.0

func UnmarshalDedicatedHostProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileIdentityByHref unmarshals an instance of DedicatedHostProfileIdentityByHref from the specified map of raw messages.

func UnmarshalDedicatedHostProfileIdentityByName added in v0.4.0

func UnmarshalDedicatedHostProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileIdentityByName unmarshals an instance of DedicatedHostProfileIdentityByName from the specified map of raw messages.

func UnmarshalDedicatedHostProfileMemory added in v0.4.0

func UnmarshalDedicatedHostProfileMemory(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileMemory unmarshals an instance of DedicatedHostProfileMemory from the specified map of raw messages.

func UnmarshalDedicatedHostProfileMemoryDependent added in v0.4.0

func UnmarshalDedicatedHostProfileMemoryDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileMemoryDependent unmarshals an instance of DedicatedHostProfileMemoryDependent from the specified map of raw messages.

func UnmarshalDedicatedHostProfileMemoryEnum added in v0.4.0

func UnmarshalDedicatedHostProfileMemoryEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileMemoryEnum unmarshals an instance of DedicatedHostProfileMemoryEnum from the specified map of raw messages.

func UnmarshalDedicatedHostProfileMemoryFixed added in v0.4.0

func UnmarshalDedicatedHostProfileMemoryFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileMemoryFixed unmarshals an instance of DedicatedHostProfileMemoryFixed from the specified map of raw messages.

func UnmarshalDedicatedHostProfileMemoryRange added in v0.4.0

func UnmarshalDedicatedHostProfileMemoryRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileMemoryRange unmarshals an instance of DedicatedHostProfileMemoryRange from the specified map of raw messages.

func UnmarshalDedicatedHostProfileReference added in v0.4.0

func UnmarshalDedicatedHostProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileReference unmarshals an instance of DedicatedHostProfileReference from the specified map of raw messages.

func UnmarshalDedicatedHostProfileSocket added in v0.4.0

func UnmarshalDedicatedHostProfileSocket(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileSocket unmarshals an instance of DedicatedHostProfileSocket from the specified map of raw messages.

func UnmarshalDedicatedHostProfileSocketDependent added in v0.4.0

func UnmarshalDedicatedHostProfileSocketDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileSocketDependent unmarshals an instance of DedicatedHostProfileSocketDependent from the specified map of raw messages.

func UnmarshalDedicatedHostProfileSocketEnum added in v0.4.0

func UnmarshalDedicatedHostProfileSocketEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileSocketEnum unmarshals an instance of DedicatedHostProfileSocketEnum from the specified map of raw messages.

func UnmarshalDedicatedHostProfileSocketFixed added in v0.4.0

func UnmarshalDedicatedHostProfileSocketFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileSocketFixed unmarshals an instance of DedicatedHostProfileSocketFixed from the specified map of raw messages.

func UnmarshalDedicatedHostProfileSocketRange added in v0.4.0

func UnmarshalDedicatedHostProfileSocketRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileSocketRange unmarshals an instance of DedicatedHostProfileSocketRange from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpu added in v0.4.0

func UnmarshalDedicatedHostProfileVcpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpu unmarshals an instance of DedicatedHostProfileVcpu from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpuArchitecture added in v0.4.0

func UnmarshalDedicatedHostProfileVcpuArchitecture(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpuArchitecture unmarshals an instance of DedicatedHostProfileVcpuArchitecture from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpuDependent added in v0.4.0

func UnmarshalDedicatedHostProfileVcpuDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpuDependent unmarshals an instance of DedicatedHostProfileVcpuDependent from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpuEnum added in v0.4.0

func UnmarshalDedicatedHostProfileVcpuEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpuEnum unmarshals an instance of DedicatedHostProfileVcpuEnum from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpuFixed added in v0.4.0

func UnmarshalDedicatedHostProfileVcpuFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpuFixed unmarshals an instance of DedicatedHostProfileVcpuFixed from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpuManufacturer added in v0.35.0

func UnmarshalDedicatedHostProfileVcpuManufacturer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpuManufacturer unmarshals an instance of DedicatedHostProfileVcpuManufacturer from the specified map of raw messages.

func UnmarshalDedicatedHostProfileVcpuRange added in v0.4.0

func UnmarshalDedicatedHostProfileVcpuRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostProfileVcpuRange unmarshals an instance of DedicatedHostProfileVcpuRange from the specified map of raw messages.

func UnmarshalDedicatedHostPrototype added in v0.4.0

func UnmarshalDedicatedHostPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostPrototype unmarshals an instance of DedicatedHostPrototype from the specified map of raw messages.

func UnmarshalDedicatedHostPrototypeDedicatedHostByGroup added in v0.4.0

func UnmarshalDedicatedHostPrototypeDedicatedHostByGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostPrototypeDedicatedHostByGroup unmarshals an instance of DedicatedHostPrototypeDedicatedHostByGroup from the specified map of raw messages.

func UnmarshalDedicatedHostPrototypeDedicatedHostByZone added in v0.4.0

func UnmarshalDedicatedHostPrototypeDedicatedHostByZone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostPrototypeDedicatedHostByZone unmarshals an instance of DedicatedHostPrototypeDedicatedHostByZone from the specified map of raw messages.

func UnmarshalDedicatedHostReference added in v0.4.0

func UnmarshalDedicatedHostReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostReference unmarshals an instance of DedicatedHostReference from the specified map of raw messages.

func UnmarshalDedicatedHostReferenceDeleted added in v0.4.0

func UnmarshalDedicatedHostReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDedicatedHostReferenceDeleted unmarshals an instance of DedicatedHostReferenceDeleted from the specified map of raw messages.

func UnmarshalDefaultNetworkACL

func UnmarshalDefaultNetworkACL(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDefaultNetworkACL unmarshals an instance of DefaultNetworkACL from the specified map of raw messages.

func UnmarshalDefaultRoutingTable added in v0.3.0

func UnmarshalDefaultRoutingTable(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDefaultRoutingTable unmarshals an instance of DefaultRoutingTable from the specified map of raw messages.

func UnmarshalDefaultSecurityGroup

func UnmarshalDefaultSecurityGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDefaultSecurityGroup unmarshals an instance of DefaultSecurityGroup from the specified map of raw messages.

func UnmarshalDnsInstanceIdentity added in v0.35.0

func UnmarshalDnsInstanceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsInstanceIdentity unmarshals an instance of DnsInstanceIdentity from the specified map of raw messages.

func UnmarshalDnsInstanceIdentityByCRN added in v0.35.0

func UnmarshalDnsInstanceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsInstanceIdentityByCRN unmarshals an instance of DnsInstanceIdentityByCRN from the specified map of raw messages.

func UnmarshalDnsInstanceReference added in v0.35.0

func UnmarshalDnsInstanceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsInstanceReference unmarshals an instance of DnsInstanceReference from the specified map of raw messages.

func UnmarshalDnsServer added in v0.43.0

func UnmarshalDnsServer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsServer unmarshals an instance of DnsServer from the specified map of raw messages.

func UnmarshalDnsServerPrototype added in v0.43.0

func UnmarshalDnsServerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsServerPrototype unmarshals an instance of DnsServerPrototype from the specified map of raw messages.

func UnmarshalDnsZoneIdentity added in v0.35.0

func UnmarshalDnsZoneIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsZoneIdentity unmarshals an instance of DnsZoneIdentity from the specified map of raw messages.

func UnmarshalDnsZoneIdentityByID added in v0.35.0

func UnmarshalDnsZoneIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsZoneIdentityByID unmarshals an instance of DnsZoneIdentityByID from the specified map of raw messages.

func UnmarshalDnsZoneReference added in v0.35.0

func UnmarshalDnsZoneReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnsZoneReference unmarshals an instance of DnsZoneReference from the specified map of raw messages.

func UnmarshalEncryptionKeyIdentity added in v0.0.3

func UnmarshalEncryptionKeyIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEncryptionKeyIdentity unmarshals an instance of EncryptionKeyIdentity from the specified map of raw messages.

func UnmarshalEncryptionKeyIdentityByCRN added in v0.0.3

func UnmarshalEncryptionKeyIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEncryptionKeyIdentityByCRN unmarshals an instance of EncryptionKeyIdentityByCRN from the specified map of raw messages.

func UnmarshalEncryptionKeyReference added in v0.0.3

func UnmarshalEncryptionKeyReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEncryptionKeyReference unmarshals an instance of EncryptionKeyReference from the specified map of raw messages.

func UnmarshalEndpointGateway added in v0.3.0

func UnmarshalEndpointGateway(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGateway unmarshals an instance of EndpointGateway from the specified map of raw messages.

func UnmarshalEndpointGatewayCollection added in v0.3.0

func UnmarshalEndpointGatewayCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayCollection unmarshals an instance of EndpointGatewayCollection from the specified map of raw messages.

func UnmarshalEndpointGatewayCollectionFirst added in v0.3.0

func UnmarshalEndpointGatewayCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayCollectionFirst unmarshals an instance of EndpointGatewayCollectionFirst from the specified map of raw messages.

func UnmarshalEndpointGatewayCollectionNext added in v0.3.0

func UnmarshalEndpointGatewayCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayCollectionNext unmarshals an instance of EndpointGatewayCollectionNext from the specified map of raw messages.

func UnmarshalEndpointGatewayLifecycleReason added in v0.44.0

func UnmarshalEndpointGatewayLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayLifecycleReason unmarshals an instance of EndpointGatewayLifecycleReason from the specified map of raw messages.

func UnmarshalEndpointGatewayPatch added in v0.3.0

func UnmarshalEndpointGatewayPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayPatch unmarshals an instance of EndpointGatewayPatch from the specified map of raw messages.

func UnmarshalEndpointGatewayReferenceDeleted added in v0.3.0

func UnmarshalEndpointGatewayReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReferenceDeleted unmarshals an instance of EndpointGatewayReferenceDeleted from the specified map of raw messages.

func UnmarshalEndpointGatewayReferenceRemote added in v0.43.0

func UnmarshalEndpointGatewayReferenceRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReferenceRemote unmarshals an instance of EndpointGatewayReferenceRemote from the specified map of raw messages.

func UnmarshalEndpointGatewayRemote added in v0.43.0

func UnmarshalEndpointGatewayRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayRemote unmarshals an instance of EndpointGatewayRemote from the specified map of raw messages.

func UnmarshalEndpointGatewayReservedIP added in v0.3.0

func UnmarshalEndpointGatewayReservedIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReservedIP unmarshals an instance of EndpointGatewayReservedIP from the specified map of raw messages.

func UnmarshalEndpointGatewayReservedIPReservedIPIdentity added in v0.3.0

func UnmarshalEndpointGatewayReservedIPReservedIPIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReservedIPReservedIPIdentity unmarshals an instance of EndpointGatewayReservedIPReservedIPIdentity from the specified map of raw messages.

func UnmarshalEndpointGatewayReservedIPReservedIPIdentityByHref added in v0.41.0

func UnmarshalEndpointGatewayReservedIPReservedIPIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReservedIPReservedIPIdentityByHref unmarshals an instance of EndpointGatewayReservedIPReservedIPIdentityByHref from the specified map of raw messages.

func UnmarshalEndpointGatewayReservedIPReservedIPIdentityByID added in v0.41.0

func UnmarshalEndpointGatewayReservedIPReservedIPIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReservedIPReservedIPIdentityByID unmarshals an instance of EndpointGatewayReservedIPReservedIPIdentityByID from the specified map of raw messages.

func UnmarshalEndpointGatewayReservedIPReservedIPPrototypeTargetContext added in v0.3.0

func UnmarshalEndpointGatewayReservedIPReservedIPPrototypeTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayReservedIPReservedIPPrototypeTargetContext unmarshals an instance of EndpointGatewayReservedIPReservedIPPrototypeTargetContext from the specified map of raw messages.

func UnmarshalEndpointGatewayTarget added in v0.3.0

func UnmarshalEndpointGatewayTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTarget unmarshals an instance of EndpointGatewayTarget from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetPrototype added in v0.3.0

func UnmarshalEndpointGatewayTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetPrototype unmarshals an instance of EndpointGatewayTargetPrototype from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetPrototypeProviderCloudServiceIdentity added in v0.3.0

func UnmarshalEndpointGatewayTargetPrototypeProviderCloudServiceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetPrototypeProviderCloudServiceIdentity unmarshals an instance of EndpointGatewayTargetPrototypeProviderCloudServiceIdentity from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN added in v0.3.0

func UnmarshalEndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN unmarshals an instance of EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity added in v0.3.0

func UnmarshalEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity unmarshals an instance of EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName added in v0.3.0

func UnmarshalEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName unmarshals an instance of EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetProviderCloudServiceReference added in v0.3.0

func UnmarshalEndpointGatewayTargetProviderCloudServiceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetProviderCloudServiceReference unmarshals an instance of EndpointGatewayTargetProviderCloudServiceReference from the specified map of raw messages.

func UnmarshalEndpointGatewayTargetProviderInfrastructureServiceReference added in v0.3.0

func UnmarshalEndpointGatewayTargetProviderInfrastructureServiceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointGatewayTargetProviderInfrastructureServiceReference unmarshals an instance of EndpointGatewayTargetProviderInfrastructureServiceReference from the specified map of raw messages.

func UnmarshalFloatingIP

func UnmarshalFloatingIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIP unmarshals an instance of FloatingIP from the specified map of raw messages.

func UnmarshalFloatingIPCollection

func UnmarshalFloatingIPCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPCollection unmarshals an instance of FloatingIPCollection from the specified map of raw messages.

func UnmarshalFloatingIPCollectionFirst

func UnmarshalFloatingIPCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPCollectionFirst unmarshals an instance of FloatingIPCollectionFirst from the specified map of raw messages.

func UnmarshalFloatingIPCollectionNext

func UnmarshalFloatingIPCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPCollectionNext unmarshals an instance of FloatingIPCollectionNext from the specified map of raw messages.

func UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContext added in v0.47.0

func UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContext unmarshals an instance of FloatingIPCollectionVirtualNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContextFirst added in v0.47.0

func UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContextFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContextFirst unmarshals an instance of FloatingIPCollectionVirtualNetworkInterfaceContextFirst from the specified map of raw messages.

func UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContextNext added in v0.47.0

func UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContextNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPCollectionVirtualNetworkInterfaceContextNext unmarshals an instance of FloatingIPCollectionVirtualNetworkInterfaceContextNext from the specified map of raw messages.

func UnmarshalFloatingIPPatch added in v0.2.0

func UnmarshalFloatingIPPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPPatch unmarshals an instance of FloatingIPPatch from the specified map of raw messages.

func UnmarshalFloatingIPPrototype

func UnmarshalFloatingIPPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPPrototype unmarshals an instance of FloatingIPPrototype from the specified map of raw messages.

func UnmarshalFloatingIPPrototypeFloatingIPByTarget

func UnmarshalFloatingIPPrototypeFloatingIPByTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPPrototypeFloatingIPByTarget unmarshals an instance of FloatingIPPrototypeFloatingIPByTarget from the specified map of raw messages.

func UnmarshalFloatingIPPrototypeFloatingIPByZone

func UnmarshalFloatingIPPrototypeFloatingIPByZone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPPrototypeFloatingIPByZone unmarshals an instance of FloatingIPPrototypeFloatingIPByZone from the specified map of raw messages.

func UnmarshalFloatingIPReference

func UnmarshalFloatingIPReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPReference unmarshals an instance of FloatingIPReference from the specified map of raw messages.

func UnmarshalFloatingIPReferenceDeleted added in v0.3.0

func UnmarshalFloatingIPReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPReferenceDeleted unmarshals an instance of FloatingIPReferenceDeleted from the specified map of raw messages.

func UnmarshalFloatingIPTarget

func UnmarshalFloatingIPTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTarget unmarshals an instance of FloatingIPTarget from the specified map of raw messages.

func UnmarshalFloatingIPTargetBareMetalServerNetworkInterfaceReference added in v0.41.0

func UnmarshalFloatingIPTargetBareMetalServerNetworkInterfaceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetBareMetalServerNetworkInterfaceReference unmarshals an instance of FloatingIPTargetBareMetalServerNetworkInterfaceReference from the specified map of raw messages.

func UnmarshalFloatingIPTargetNetworkInterfaceReference

func UnmarshalFloatingIPTargetNetworkInterfaceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetNetworkInterfaceReference unmarshals an instance of FloatingIPTargetNetworkInterfaceReference from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatch added in v0.15.0

func UnmarshalFloatingIPTargetPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatch unmarshals an instance of FloatingIPTargetPatch from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity added in v0.42.0

func UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity unmarshals an instance of FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref added in v0.42.0

func UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref unmarshals an instance of FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID added in v0.42.0

func UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID unmarshals an instance of FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentity added in v0.36.0

func UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentity unmarshals an instance of FloatingIPTargetPatchNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

func UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref unmarshals an instance of FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

func UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID unmarshals an instance of FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentity unmarshals an instance of FloatingIPTargetPatchVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototype added in v0.36.0

func UnmarshalFloatingIPTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototype unmarshals an instance of FloatingIPTargetPrototype from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity added in v0.42.0

func UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity unmarshals an instance of FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref added in v0.42.0

func UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref unmarshals an instance of FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID added in v0.42.0

func UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID unmarshals an instance of FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentity added in v0.36.0

func UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentity unmarshals an instance of FloatingIPTargetPrototypeNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

func UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref unmarshals an instance of FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

func UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID unmarshals an instance of FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity unmarshals an instance of FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFloatingIPTargetPublicGatewayReference

func UnmarshalFloatingIPTargetPublicGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetPublicGatewayReference unmarshals an instance of FloatingIPTargetPublicGatewayReference from the specified map of raw messages.

func UnmarshalFloatingIPTargetVirtualNetworkInterfaceReference added in v0.47.0

func UnmarshalFloatingIPTargetVirtualNetworkInterfaceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPTargetVirtualNetworkInterfaceReference unmarshals an instance of FloatingIPTargetVirtualNetworkInterfaceReference from the specified map of raw messages.

func UnmarshalFloatingIPUnpaginatedCollection

func UnmarshalFloatingIPUnpaginatedCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFloatingIPUnpaginatedCollection unmarshals an instance of FloatingIPUnpaginatedCollection from the specified map of raw messages.

func UnmarshalFlowLogCollector

func UnmarshalFlowLogCollector(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollector unmarshals an instance of FlowLogCollector from the specified map of raw messages.

func UnmarshalFlowLogCollectorCollection

func UnmarshalFlowLogCollectorCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorCollection unmarshals an instance of FlowLogCollectorCollection from the specified map of raw messages.

func UnmarshalFlowLogCollectorCollectionFirst

func UnmarshalFlowLogCollectorCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorCollectionFirst unmarshals an instance of FlowLogCollectorCollectionFirst from the specified map of raw messages.

func UnmarshalFlowLogCollectorCollectionNext

func UnmarshalFlowLogCollectorCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorCollectionNext unmarshals an instance of FlowLogCollectorCollectionNext from the specified map of raw messages.

func UnmarshalFlowLogCollectorPatch added in v0.2.0

func UnmarshalFlowLogCollectorPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorPatch unmarshals an instance of FlowLogCollectorPatch from the specified map of raw messages.

func UnmarshalFlowLogCollectorTarget

func UnmarshalFlowLogCollectorTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTarget unmarshals an instance of FlowLogCollectorTarget from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetInstanceNetworkAttachmentReference added in v0.47.0

func UnmarshalFlowLogCollectorTargetInstanceNetworkAttachmentReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetInstanceNetworkAttachmentReference unmarshals an instance of FlowLogCollectorTargetInstanceNetworkAttachmentReference from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetInstanceReference

func UnmarshalFlowLogCollectorTargetInstanceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetInstanceReference unmarshals an instance of FlowLogCollectorTargetInstanceReference from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetNetworkInterfaceReferenceTargetContext

func UnmarshalFlowLogCollectorTargetNetworkInterfaceReferenceTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetNetworkInterfaceReferenceTargetContext unmarshals an instance of FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototype added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototype unmarshals an instance of FlowLogCollectorTargetPrototype from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentity added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentity unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceIdentity from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID unmarshals an instance of FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentity added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentity unmarshals an instance of FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

func UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref unmarshals an instance of FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

func UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID unmarshals an instance of FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentity added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentity unmarshals an instance of FlowLogCollectorTargetPrototypeSubnetIdentity from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN unmarshals an instance of FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref unmarshals an instance of FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID unmarshals an instance of FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentity added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVPCIdentity unmarshals an instance of FlowLogCollectorTargetPrototypeVPCIdentity from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN unmarshals an instance of FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref unmarshals an instance of FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID added in v0.3.0

func UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID unmarshals an instance of FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity unmarshals an instance of FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetSubnetReference

func UnmarshalFlowLogCollectorTargetSubnetReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetSubnetReference unmarshals an instance of FlowLogCollectorTargetSubnetReference from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetVPCReference

func UnmarshalFlowLogCollectorTargetVPCReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetVPCReference unmarshals an instance of FlowLogCollectorTargetVPCReference from the specified map of raw messages.

func UnmarshalFlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext added in v0.47.0

func UnmarshalFlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext unmarshals an instance of FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext from the specified map of raw messages.

func UnmarshalGenericResourceReferenceDeleted added in v0.19.0

func UnmarshalGenericResourceReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalGenericResourceReferenceDeleted unmarshals an instance of GenericResourceReferenceDeleted from the specified map of raw messages.

func UnmarshalIP

func UnmarshalIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIP unmarshals an instance of IP from the specified map of raw messages.

func UnmarshalIPsecPolicy

func UnmarshalIPsecPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicy unmarshals an instance of IPsecPolicy from the specified map of raw messages.

func UnmarshalIPsecPolicyCollection

func UnmarshalIPsecPolicyCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicyCollection unmarshals an instance of IPsecPolicyCollection from the specified map of raw messages.

func UnmarshalIPsecPolicyCollectionFirst

func UnmarshalIPsecPolicyCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicyCollectionFirst unmarshals an instance of IPsecPolicyCollectionFirst from the specified map of raw messages.

func UnmarshalIPsecPolicyCollectionNext

func UnmarshalIPsecPolicyCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicyCollectionNext unmarshals an instance of IPsecPolicyCollectionNext from the specified map of raw messages.

func UnmarshalIPsecPolicyPatch added in v0.2.0

func UnmarshalIPsecPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicyPatch unmarshals an instance of IPsecPolicyPatch from the specified map of raw messages.

func UnmarshalIPsecPolicyReference added in v0.0.3

func UnmarshalIPsecPolicyReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicyReference unmarshals an instance of IPsecPolicyReference from the specified map of raw messages.

func UnmarshalIPsecPolicyReferenceDeleted added in v0.3.0

func UnmarshalIPsecPolicyReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIPsecPolicyReferenceDeleted unmarshals an instance of IPsecPolicyReferenceDeleted from the specified map of raw messages.

func UnmarshalIkePolicy

func UnmarshalIkePolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicy unmarshals an instance of IkePolicy from the specified map of raw messages.

func UnmarshalIkePolicyCollection

func UnmarshalIkePolicyCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicyCollection unmarshals an instance of IkePolicyCollection from the specified map of raw messages.

func UnmarshalIkePolicyCollectionFirst

func UnmarshalIkePolicyCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicyCollectionFirst unmarshals an instance of IkePolicyCollectionFirst from the specified map of raw messages.

func UnmarshalIkePolicyCollectionNext

func UnmarshalIkePolicyCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicyCollectionNext unmarshals an instance of IkePolicyCollectionNext from the specified map of raw messages.

func UnmarshalIkePolicyPatch added in v0.2.0

func UnmarshalIkePolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicyPatch unmarshals an instance of IkePolicyPatch from the specified map of raw messages.

func UnmarshalIkePolicyReference added in v0.0.3

func UnmarshalIkePolicyReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicyReference unmarshals an instance of IkePolicyReference from the specified map of raw messages.

func UnmarshalIkePolicyReferenceDeleted added in v0.3.0

func UnmarshalIkePolicyReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIkePolicyReferenceDeleted unmarshals an instance of IkePolicyReferenceDeleted from the specified map of raw messages.

func UnmarshalImage

func UnmarshalImage(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImage unmarshals an instance of Image from the specified map of raw messages.

func UnmarshalImageCatalogOffering added in v0.26.0

func UnmarshalImageCatalogOffering(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageCatalogOffering unmarshals an instance of ImageCatalogOffering from the specified map of raw messages.

func UnmarshalImageCollection

func UnmarshalImageCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageCollection unmarshals an instance of ImageCollection from the specified map of raw messages.

func UnmarshalImageCollectionFirst

func UnmarshalImageCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageCollectionFirst unmarshals an instance of ImageCollectionFirst from the specified map of raw messages.

func UnmarshalImageCollectionNext

func UnmarshalImageCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageCollectionNext unmarshals an instance of ImageCollectionNext from the specified map of raw messages.

func UnmarshalImageExportJob added in v0.37.0

func UnmarshalImageExportJob(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageExportJob unmarshals an instance of ImageExportJob from the specified map of raw messages.

func UnmarshalImageExportJobPatch added in v0.37.0

func UnmarshalImageExportJobPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageExportJobPatch unmarshals an instance of ImageExportJobPatch from the specified map of raw messages.

func UnmarshalImageExportJobStatusReason added in v0.37.0

func UnmarshalImageExportJobStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageExportJobStatusReason unmarshals an instance of ImageExportJobStatusReason from the specified map of raw messages.

func UnmarshalImageExportJobUnpaginatedCollection added in v0.37.0

func UnmarshalImageExportJobUnpaginatedCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageExportJobUnpaginatedCollection unmarshals an instance of ImageExportJobUnpaginatedCollection from the specified map of raw messages.

func UnmarshalImageFile

func UnmarshalImageFile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageFile unmarshals an instance of ImageFile from the specified map of raw messages.

func UnmarshalImageFileChecksums added in v0.4.2

func UnmarshalImageFileChecksums(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageFileChecksums unmarshals an instance of ImageFileChecksums from the specified map of raw messages.

func UnmarshalImageFilePrototype

func UnmarshalImageFilePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageFilePrototype unmarshals an instance of ImageFilePrototype from the specified map of raw messages.

func UnmarshalImageIdentity

func UnmarshalImageIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageIdentity unmarshals an instance of ImageIdentity from the specified map of raw messages.

func UnmarshalImageIdentityByCRN

func UnmarshalImageIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageIdentityByCRN unmarshals an instance of ImageIdentityByCRN from the specified map of raw messages.

func UnmarshalImageIdentityByHref

func UnmarshalImageIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageIdentityByHref unmarshals an instance of ImageIdentityByHref from the specified map of raw messages.

func UnmarshalImageIdentityByID

func UnmarshalImageIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageIdentityByID unmarshals an instance of ImageIdentityByID from the specified map of raw messages.

func UnmarshalImagePatch added in v0.2.0

func UnmarshalImagePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImagePatch unmarshals an instance of ImagePatch from the specified map of raw messages.

func UnmarshalImagePrototype

func UnmarshalImagePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImagePrototype unmarshals an instance of ImagePrototype from the specified map of raw messages.

func UnmarshalImagePrototypeImageByFile

func UnmarshalImagePrototypeImageByFile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImagePrototypeImageByFile unmarshals an instance of ImagePrototypeImageByFile from the specified map of raw messages.

func UnmarshalImagePrototypeImageBySourceVolume added in v0.7.0

func UnmarshalImagePrototypeImageBySourceVolume(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImagePrototypeImageBySourceVolume unmarshals an instance of ImagePrototypeImageBySourceVolume from the specified map of raw messages.

func UnmarshalImageReference

func UnmarshalImageReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageReference unmarshals an instance of ImageReference from the specified map of raw messages.

func UnmarshalImageReferenceDeleted added in v0.3.0

func UnmarshalImageReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageReferenceDeleted unmarshals an instance of ImageReferenceDeleted from the specified map of raw messages.

func UnmarshalImageRemote added in v0.39.0

func UnmarshalImageRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageRemote unmarshals an instance of ImageRemote from the specified map of raw messages.

func UnmarshalImageStatusReason added in v0.4.0

func UnmarshalImageStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImageStatusReason unmarshals an instance of ImageStatusReason from the specified map of raw messages.

func UnmarshalInstance

func UnmarshalInstance(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstance unmarshals an instance of Instance from the specified map of raw messages.

func UnmarshalInstanceAction

func UnmarshalInstanceAction(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceAction unmarshals an instance of InstanceAction from the specified map of raw messages.

func UnmarshalInstanceAvailabilityPolicy added in v0.17.0

func UnmarshalInstanceAvailabilityPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceAvailabilityPolicy unmarshals an instance of InstanceAvailabilityPolicy from the specified map of raw messages.

func UnmarshalInstanceAvailabilityPolicyPatch added in v0.17.0

func UnmarshalInstanceAvailabilityPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceAvailabilityPolicyPatch unmarshals an instance of InstanceAvailabilityPolicyPatch from the specified map of raw messages.

func UnmarshalInstanceAvailabilityPolicyPrototype added in v0.33.0

func UnmarshalInstanceAvailabilityPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceAvailabilityPolicyPrototype unmarshals an instance of InstanceAvailabilityPolicyPrototype from the specified map of raw messages.

func UnmarshalInstanceCatalogOffering added in v0.26.0

func UnmarshalInstanceCatalogOffering(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCatalogOffering unmarshals an instance of InstanceCatalogOffering from the specified map of raw messages.

func UnmarshalInstanceCatalogOfferingPrototype added in v0.26.0

func UnmarshalInstanceCatalogOfferingPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCatalogOfferingPrototype unmarshals an instance of InstanceCatalogOfferingPrototype from the specified map of raw messages.

func UnmarshalInstanceCatalogOfferingPrototypeCatalogOfferingByOffering added in v0.26.0

func UnmarshalInstanceCatalogOfferingPrototypeCatalogOfferingByOffering(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCatalogOfferingPrototypeCatalogOfferingByOffering unmarshals an instance of InstanceCatalogOfferingPrototypeCatalogOfferingByOffering from the specified map of raw messages.

func UnmarshalInstanceCatalogOfferingPrototypeCatalogOfferingByVersion added in v0.26.0

func UnmarshalInstanceCatalogOfferingPrototypeCatalogOfferingByVersion(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCatalogOfferingPrototypeCatalogOfferingByVersion unmarshals an instance of InstanceCatalogOfferingPrototypeCatalogOfferingByVersion from the specified map of raw messages.

func UnmarshalInstanceCollection

func UnmarshalInstanceCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCollection unmarshals an instance of InstanceCollection from the specified map of raw messages.

func UnmarshalInstanceCollectionFirst

func UnmarshalInstanceCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCollectionFirst unmarshals an instance of InstanceCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceCollectionNext

func UnmarshalInstanceCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceCollectionNext unmarshals an instance of InstanceCollectionNext from the specified map of raw messages.

func UnmarshalInstanceConsoleAccessToken added in v0.5.0

func UnmarshalInstanceConsoleAccessToken(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceConsoleAccessToken unmarshals an instance of InstanceConsoleAccessToken from the specified map of raw messages.

func UnmarshalInstanceDefaultTrustedProfilePrototype added in v0.17.0

func UnmarshalInstanceDefaultTrustedProfilePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceDefaultTrustedProfilePrototype unmarshals an instance of InstanceDefaultTrustedProfilePrototype from the specified map of raw messages.

func UnmarshalInstanceDisk added in v0.5.0

func UnmarshalInstanceDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceDisk unmarshals an instance of InstanceDisk from the specified map of raw messages.

func UnmarshalInstanceDiskCollection added in v0.5.0

func UnmarshalInstanceDiskCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceDiskCollection unmarshals an instance of InstanceDiskCollection from the specified map of raw messages.

func UnmarshalInstanceDiskPatch added in v0.5.0

func UnmarshalInstanceDiskPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceDiskPatch unmarshals an instance of InstanceDiskPatch from the specified map of raw messages.

func UnmarshalInstanceDiskReference added in v0.5.0

func UnmarshalInstanceDiskReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceDiskReference unmarshals an instance of InstanceDiskReference from the specified map of raw messages.

func UnmarshalInstanceDiskReferenceDeleted added in v0.5.0

func UnmarshalInstanceDiskReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceDiskReferenceDeleted unmarshals an instance of InstanceDiskReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceGpu

func UnmarshalInstanceGpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGpu unmarshals an instance of InstanceGpu from the specified map of raw messages.

func UnmarshalInstanceGroup added in v0.1.0

func UnmarshalInstanceGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroup unmarshals an instance of InstanceGroup from the specified map of raw messages.

func UnmarshalInstanceGroupCollection added in v0.1.0

func UnmarshalInstanceGroupCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupCollection unmarshals an instance of InstanceGroupCollection from the specified map of raw messages.

func UnmarshalInstanceGroupCollectionFirst added in v0.1.0

func UnmarshalInstanceGroupCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupCollectionFirst unmarshals an instance of InstanceGroupCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceGroupCollectionNext added in v0.1.0

func UnmarshalInstanceGroupCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupCollectionNext unmarshals an instance of InstanceGroupCollectionNext from the specified map of raw messages.

func UnmarshalInstanceGroupLifecycleReason added in v0.49.0

func UnmarshalInstanceGroupLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupLifecycleReason unmarshals an instance of InstanceGroupLifecycleReason from the specified map of raw messages.

func UnmarshalInstanceGroupManager added in v0.1.0

func UnmarshalInstanceGroupManager(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManager unmarshals an instance of InstanceGroupManager from the specified map of raw messages.

func UnmarshalInstanceGroupManagerAction added in v0.6.0

func UnmarshalInstanceGroupManagerAction(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerAction unmarshals an instance of InstanceGroupManagerAction from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionGroupPatch added in v0.7.0

func UnmarshalInstanceGroupManagerActionGroupPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionGroupPatch unmarshals an instance of InstanceGroupManagerActionGroupPatch from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionManagerPatch added in v0.7.0

func UnmarshalInstanceGroupManagerActionManagerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionManagerPatch unmarshals an instance of InstanceGroupManagerActionManagerPatch from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPatch added in v0.6.0

func UnmarshalInstanceGroupManagerActionPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPatch unmarshals an instance of InstanceGroupManagerActionPatch from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototype added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototype unmarshals an instance of InstanceGroupManagerActionPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototype added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototype unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager added in v0.6.0

func UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager unmarshals an instance of InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionReference added in v0.6.0

func UnmarshalInstanceGroupManagerActionReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionReference unmarshals an instance of InstanceGroupManagerActionReference from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionReferenceDeleted added in v0.6.0

func UnmarshalInstanceGroupManagerActionReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionReferenceDeleted unmarshals an instance of InstanceGroupManagerActionReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionScheduledAction added in v0.6.0

func UnmarshalInstanceGroupManagerActionScheduledAction(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionScheduledAction unmarshals an instance of InstanceGroupManagerActionScheduledAction from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionScheduledActionGroupTarget added in v0.7.0

func UnmarshalInstanceGroupManagerActionScheduledActionGroupTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionScheduledActionGroupTarget unmarshals an instance of InstanceGroupManagerActionScheduledActionGroupTarget from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionScheduledActionManagerTarget added in v0.7.0

func UnmarshalInstanceGroupManagerActionScheduledActionManagerTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionScheduledActionManagerTarget unmarshals an instance of InstanceGroupManagerActionScheduledActionManagerTarget from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionsCollection added in v0.6.0

func UnmarshalInstanceGroupManagerActionsCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionsCollection unmarshals an instance of InstanceGroupManagerActionsCollection from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionsCollectionFirst added in v0.6.0

func UnmarshalInstanceGroupManagerActionsCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionsCollectionFirst unmarshals an instance of InstanceGroupManagerActionsCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceGroupManagerActionsCollectionNext added in v0.6.0

func UnmarshalInstanceGroupManagerActionsCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerActionsCollectionNext unmarshals an instance of InstanceGroupManagerActionsCollectionNext from the specified map of raw messages.

func UnmarshalInstanceGroupManagerAutoScale added in v0.5.0

func UnmarshalInstanceGroupManagerAutoScale(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerAutoScale unmarshals an instance of InstanceGroupManagerAutoScale from the specified map of raw messages.

func UnmarshalInstanceGroupManagerCollection added in v0.1.0

func UnmarshalInstanceGroupManagerCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerCollection unmarshals an instance of InstanceGroupManagerCollection from the specified map of raw messages.

func UnmarshalInstanceGroupManagerCollectionFirst added in v0.1.0

func UnmarshalInstanceGroupManagerCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerCollectionFirst unmarshals an instance of InstanceGroupManagerCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceGroupManagerCollectionNext added in v0.1.0

func UnmarshalInstanceGroupManagerCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerCollectionNext unmarshals an instance of InstanceGroupManagerCollectionNext from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPatch added in v0.2.0

func UnmarshalInstanceGroupManagerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPatch unmarshals an instance of InstanceGroupManagerPatch from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicy added in v0.1.0

func UnmarshalInstanceGroupManagerPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicy unmarshals an instance of InstanceGroupManagerPolicy from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyCollection added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyCollection unmarshals an instance of InstanceGroupManagerPolicyCollection from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyCollectionFirst added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyCollectionFirst unmarshals an instance of InstanceGroupManagerPolicyCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyCollectionNext added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyCollectionNext unmarshals an instance of InstanceGroupManagerPolicyCollectionNext from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy unmarshals an instance of InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyPatch added in v0.2.0

func UnmarshalInstanceGroupManagerPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyPatch unmarshals an instance of InstanceGroupManagerPolicyPatch from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyPrototype added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyPrototype unmarshals an instance of InstanceGroupManagerPolicyPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype unmarshals an instance of InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyReference added in v0.1.0

func UnmarshalInstanceGroupManagerPolicyReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyReference unmarshals an instance of InstanceGroupManagerPolicyReference from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPolicyReferenceDeleted added in v0.3.0

func UnmarshalInstanceGroupManagerPolicyReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPolicyReferenceDeleted unmarshals an instance of InstanceGroupManagerPolicyReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPrototype added in v0.1.0

func UnmarshalInstanceGroupManagerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPrototype unmarshals an instance of InstanceGroupManagerPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype added in v0.1.0

func UnmarshalInstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype unmarshals an instance of InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype added in v0.6.0

func UnmarshalInstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype unmarshals an instance of InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerReference added in v0.1.0

func UnmarshalInstanceGroupManagerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerReference unmarshals an instance of InstanceGroupManagerReference from the specified map of raw messages.

func UnmarshalInstanceGroupManagerReferenceDeleted added in v0.3.0

func UnmarshalInstanceGroupManagerReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerReferenceDeleted unmarshals an instance of InstanceGroupManagerReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduled added in v0.6.0

func UnmarshalInstanceGroupManagerScheduled(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduled unmarshals an instance of InstanceGroupManagerScheduled from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionGroup added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionGroup unmarshals an instance of InstanceGroupManagerScheduledActionGroup from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionGroupPrototype added in v0.6.0

func UnmarshalInstanceGroupManagerScheduledActionGroupPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionGroupPrototype unmarshals an instance of InstanceGroupManagerScheduledActionGroupPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionManager added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionManager(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionManager unmarshals an instance of InstanceGroupManagerScheduledActionManager from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionManagerAutoScale added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionManagerAutoScale(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionManagerAutoScale unmarshals an instance of InstanceGroupManagerScheduledActionManagerAutoScale from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototype added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionManagerPrototype unmarshals an instance of InstanceGroupManagerScheduledActionManagerPrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype unmarshals an instance of InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref unmarshals an instance of InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref from the specified map of raw messages.

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID added in v0.7.0

func UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID unmarshals an instance of InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID from the specified map of raw messages.

func UnmarshalInstanceGroupMembership added in v0.1.0

func UnmarshalInstanceGroupMembership(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupMembership unmarshals an instance of InstanceGroupMembership from the specified map of raw messages.

func UnmarshalInstanceGroupMembershipCollection added in v0.1.0

func UnmarshalInstanceGroupMembershipCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupMembershipCollection unmarshals an instance of InstanceGroupMembershipCollection from the specified map of raw messages.

func UnmarshalInstanceGroupMembershipCollectionFirst added in v0.1.0

func UnmarshalInstanceGroupMembershipCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupMembershipCollectionFirst unmarshals an instance of InstanceGroupMembershipCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceGroupMembershipCollectionNext added in v0.1.0

func UnmarshalInstanceGroupMembershipCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupMembershipCollectionNext unmarshals an instance of InstanceGroupMembershipCollectionNext from the specified map of raw messages.

func UnmarshalInstanceGroupMembershipPatch added in v0.2.0

func UnmarshalInstanceGroupMembershipPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupMembershipPatch unmarshals an instance of InstanceGroupMembershipPatch from the specified map of raw messages.

func UnmarshalInstanceGroupPatch added in v0.2.0

func UnmarshalInstanceGroupPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupPatch unmarshals an instance of InstanceGroupPatch from the specified map of raw messages.

func UnmarshalInstanceGroupReference added in v0.1.0

func UnmarshalInstanceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupReference unmarshals an instance of InstanceGroupReference from the specified map of raw messages.

func UnmarshalInstanceGroupReferenceDeleted added in v0.3.0

func UnmarshalInstanceGroupReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceGroupReferenceDeleted unmarshals an instance of InstanceGroupReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceHealthReason added in v0.48.0

func UnmarshalInstanceHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceHealthReason unmarshals an instance of InstanceHealthReason from the specified map of raw messages.

func UnmarshalInstanceInitialization

func UnmarshalInstanceInitialization(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceInitialization unmarshals an instance of InstanceInitialization from the specified map of raw messages.

func UnmarshalInstanceInitializationDefaultTrustedProfile added in v0.17.0

func UnmarshalInstanceInitializationDefaultTrustedProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceInitializationDefaultTrustedProfile unmarshals an instance of InstanceInitializationDefaultTrustedProfile from the specified map of raw messages.

func UnmarshalInstanceInitializationPassword

func UnmarshalInstanceInitializationPassword(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceInitializationPassword unmarshals an instance of InstanceInitializationPassword from the specified map of raw messages.

func UnmarshalInstanceLifecycleReason added in v0.33.0

func UnmarshalInstanceLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceLifecycleReason unmarshals an instance of InstanceLifecycleReason from the specified map of raw messages.

func UnmarshalInstanceMetadataService added in v0.17.0

func UnmarshalInstanceMetadataService(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceMetadataService unmarshals an instance of InstanceMetadataService from the specified map of raw messages.

func UnmarshalInstanceMetadataServicePatch added in v0.17.0

func UnmarshalInstanceMetadataServicePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceMetadataServicePatch unmarshals an instance of InstanceMetadataServicePatch from the specified map of raw messages.

func UnmarshalInstanceMetadataServicePrototype added in v0.17.0

func UnmarshalInstanceMetadataServicePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceMetadataServicePrototype unmarshals an instance of InstanceMetadataServicePrototype from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachment added in v0.47.0

func UnmarshalInstanceNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachment unmarshals an instance of InstanceNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentCollection added in v0.47.0

func UnmarshalInstanceNetworkAttachmentCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentCollection unmarshals an instance of InstanceNetworkAttachmentCollection from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPatch added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPatch unmarshals an instance of InstanceNetworkAttachmentPatch from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototype added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototype unmarshals an instance of InstanceNetworkAttachmentPrototype from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterface added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterface unmarshals an instance of InstanceNetworkAttachmentPrototypeVirtualNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity unmarshals an instance of InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext added in v0.47.0

func UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext unmarshals an instance of InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentReference added in v0.47.0

func UnmarshalInstanceNetworkAttachmentReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentReference unmarshals an instance of InstanceNetworkAttachmentReference from the specified map of raw messages.

func UnmarshalInstanceNetworkAttachmentReferenceDeleted added in v0.47.0

func UnmarshalInstanceNetworkAttachmentReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceNetworkAttachmentReferenceDeleted unmarshals an instance of InstanceNetworkAttachmentReferenceDeleted from the specified map of raw messages.

func UnmarshalInstancePatch added in v0.2.0

func UnmarshalInstancePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePatch unmarshals an instance of InstancePatch from the specified map of raw messages.

func UnmarshalInstancePatchProfile added in v0.5.0

func UnmarshalInstancePatchProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePatchProfile unmarshals an instance of InstancePatchProfile from the specified map of raw messages.

func UnmarshalInstancePatchProfileInstanceProfileIdentityByHref added in v0.5.0

func UnmarshalInstancePatchProfileInstanceProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePatchProfileInstanceProfileIdentityByHref unmarshals an instance of InstancePatchProfileInstanceProfileIdentityByHref from the specified map of raw messages.

func UnmarshalInstancePatchProfileInstanceProfileIdentityByName added in v0.5.0

func UnmarshalInstancePatchProfileInstanceProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePatchProfileInstanceProfileIdentityByName unmarshals an instance of InstancePatchProfileInstanceProfileIdentityByName from the specified map of raw messages.

func UnmarshalInstancePlacementTarget added in v0.8.0

func UnmarshalInstancePlacementTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTarget unmarshals an instance of InstancePlacementTarget from the specified map of raw messages.

func UnmarshalInstancePlacementTargetDedicatedHostGroupReference added in v0.8.0

func UnmarshalInstancePlacementTargetDedicatedHostGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetDedicatedHostGroupReference unmarshals an instance of InstancePlacementTargetDedicatedHostGroupReference from the specified map of raw messages.

func UnmarshalInstancePlacementTargetDedicatedHostReference added in v0.8.0

func UnmarshalInstancePlacementTargetDedicatedHostReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetDedicatedHostReference unmarshals an instance of InstancePlacementTargetDedicatedHostReference from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatch added in v0.16.0

func UnmarshalInstancePlacementTargetPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatch unmarshals an instance of InstancePlacementTargetPatch from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentity added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentity unmarshals an instance of InstancePlacementTargetPatchDedicatedHostGroupIdentity from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN unmarshals an instance of InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref unmarshals an instance of InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID unmarshals an instance of InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentity added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostIdentity unmarshals an instance of InstancePlacementTargetPatchDedicatedHostIdentity from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN unmarshals an instance of InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref unmarshals an instance of InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID added in v0.16.0

func UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID unmarshals an instance of InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPlacementGroupReference added in v0.9.0

func UnmarshalInstancePlacementTargetPlacementGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPlacementGroupReference unmarshals an instance of InstancePlacementTargetPlacementGroupReference from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototype added in v0.6.0

func UnmarshalInstancePlacementTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototype unmarshals an instance of InstancePlacementTargetPrototype from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentity added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentity unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostGroupIdentity from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentity added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentity unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostIdentity from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID added in v0.6.0

func UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID unmarshals an instance of InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentity added in v0.9.0

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentity unmarshals an instance of InstancePlacementTargetPrototypePlacementGroupIdentity from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN added in v0.9.0

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN unmarshals an instance of InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref added in v0.9.0

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref unmarshals an instance of InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref from the specified map of raw messages.

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID added in v0.9.0

func UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID unmarshals an instance of InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID from the specified map of raw messages.

func UnmarshalInstanceProfile

func UnmarshalInstanceProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfile unmarshals an instance of InstanceProfile from the specified map of raw messages.

func UnmarshalInstanceProfileBandwidth

func UnmarshalInstanceProfileBandwidth(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileBandwidth unmarshals an instance of InstanceProfileBandwidth from the specified map of raw messages.

func UnmarshalInstanceProfileBandwidthDependent

func UnmarshalInstanceProfileBandwidthDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileBandwidthDependent unmarshals an instance of InstanceProfileBandwidthDependent from the specified map of raw messages.

func UnmarshalInstanceProfileBandwidthEnum

func UnmarshalInstanceProfileBandwidthEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileBandwidthEnum unmarshals an instance of InstanceProfileBandwidthEnum from the specified map of raw messages.

func UnmarshalInstanceProfileBandwidthFixed

func UnmarshalInstanceProfileBandwidthFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileBandwidthFixed unmarshals an instance of InstanceProfileBandwidthFixed from the specified map of raw messages.

func UnmarshalInstanceProfileBandwidthRange

func UnmarshalInstanceProfileBandwidthRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileBandwidthRange unmarshals an instance of InstanceProfileBandwidthRange from the specified map of raw messages.

func UnmarshalInstanceProfileCollection

func UnmarshalInstanceProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileCollection unmarshals an instance of InstanceProfileCollection from the specified map of raw messages.

func UnmarshalInstanceProfileDisk added in v0.5.0

func UnmarshalInstanceProfileDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDisk unmarshals an instance of InstanceProfileDisk from the specified map of raw messages.

func UnmarshalInstanceProfileDiskQuantity added in v0.5.0

func UnmarshalInstanceProfileDiskQuantity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskQuantity unmarshals an instance of InstanceProfileDiskQuantity from the specified map of raw messages.

func UnmarshalInstanceProfileDiskQuantityDependent added in v0.5.0

func UnmarshalInstanceProfileDiskQuantityDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskQuantityDependent unmarshals an instance of InstanceProfileDiskQuantityDependent from the specified map of raw messages.

func UnmarshalInstanceProfileDiskQuantityEnum added in v0.5.0

func UnmarshalInstanceProfileDiskQuantityEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskQuantityEnum unmarshals an instance of InstanceProfileDiskQuantityEnum from the specified map of raw messages.

func UnmarshalInstanceProfileDiskQuantityFixed added in v0.5.0

func UnmarshalInstanceProfileDiskQuantityFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskQuantityFixed unmarshals an instance of InstanceProfileDiskQuantityFixed from the specified map of raw messages.

func UnmarshalInstanceProfileDiskQuantityRange added in v0.5.0

func UnmarshalInstanceProfileDiskQuantityRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskQuantityRange unmarshals an instance of InstanceProfileDiskQuantityRange from the specified map of raw messages.

func UnmarshalInstanceProfileDiskSize added in v0.5.0

func UnmarshalInstanceProfileDiskSize(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskSize unmarshals an instance of InstanceProfileDiskSize from the specified map of raw messages.

func UnmarshalInstanceProfileDiskSizeDependent added in v0.5.0

func UnmarshalInstanceProfileDiskSizeDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskSizeDependent unmarshals an instance of InstanceProfileDiskSizeDependent from the specified map of raw messages.

func UnmarshalInstanceProfileDiskSizeEnum added in v0.5.0

func UnmarshalInstanceProfileDiskSizeEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskSizeEnum unmarshals an instance of InstanceProfileDiskSizeEnum from the specified map of raw messages.

func UnmarshalInstanceProfileDiskSizeFixed added in v0.5.0

func UnmarshalInstanceProfileDiskSizeFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskSizeFixed unmarshals an instance of InstanceProfileDiskSizeFixed from the specified map of raw messages.

func UnmarshalInstanceProfileDiskSizeRange added in v0.5.0

func UnmarshalInstanceProfileDiskSizeRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskSizeRange unmarshals an instance of InstanceProfileDiskSizeRange from the specified map of raw messages.

func UnmarshalInstanceProfileDiskSupportedInterfaces added in v0.5.0

func UnmarshalInstanceProfileDiskSupportedInterfaces(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileDiskSupportedInterfaces unmarshals an instance of InstanceProfileDiskSupportedInterfaces from the specified map of raw messages.

func UnmarshalInstanceProfileGpu added in v0.13.0

func UnmarshalInstanceProfileGpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpu unmarshals an instance of InstanceProfileGpu from the specified map of raw messages.

func UnmarshalInstanceProfileGpuDependent added in v0.13.0

func UnmarshalInstanceProfileGpuDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuDependent unmarshals an instance of InstanceProfileGpuDependent from the specified map of raw messages.

func UnmarshalInstanceProfileGpuEnum added in v0.13.0

func UnmarshalInstanceProfileGpuEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuEnum unmarshals an instance of InstanceProfileGpuEnum from the specified map of raw messages.

func UnmarshalInstanceProfileGpuFixed added in v0.13.0

func UnmarshalInstanceProfileGpuFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuFixed unmarshals an instance of InstanceProfileGpuFixed from the specified map of raw messages.

func UnmarshalInstanceProfileGpuManufacturer added in v0.13.0

func UnmarshalInstanceProfileGpuManufacturer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuManufacturer unmarshals an instance of InstanceProfileGpuManufacturer from the specified map of raw messages.

func UnmarshalInstanceProfileGpuMemory added in v0.13.0

func UnmarshalInstanceProfileGpuMemory(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuMemory unmarshals an instance of InstanceProfileGpuMemory from the specified map of raw messages.

func UnmarshalInstanceProfileGpuMemoryDependent added in v0.13.0

func UnmarshalInstanceProfileGpuMemoryDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuMemoryDependent unmarshals an instance of InstanceProfileGpuMemoryDependent from the specified map of raw messages.

func UnmarshalInstanceProfileGpuMemoryEnum added in v0.13.0

func UnmarshalInstanceProfileGpuMemoryEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuMemoryEnum unmarshals an instance of InstanceProfileGpuMemoryEnum from the specified map of raw messages.

func UnmarshalInstanceProfileGpuMemoryFixed added in v0.13.0

func UnmarshalInstanceProfileGpuMemoryFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuMemoryFixed unmarshals an instance of InstanceProfileGpuMemoryFixed from the specified map of raw messages.

func UnmarshalInstanceProfileGpuMemoryRange added in v0.13.0

func UnmarshalInstanceProfileGpuMemoryRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuMemoryRange unmarshals an instance of InstanceProfileGpuMemoryRange from the specified map of raw messages.

func UnmarshalInstanceProfileGpuModel added in v0.13.0

func UnmarshalInstanceProfileGpuModel(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuModel unmarshals an instance of InstanceProfileGpuModel from the specified map of raw messages.

func UnmarshalInstanceProfileGpuRange added in v0.13.0

func UnmarshalInstanceProfileGpuRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileGpuRange unmarshals an instance of InstanceProfileGpuRange from the specified map of raw messages.

func UnmarshalInstanceProfileIdentity

func UnmarshalInstanceProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileIdentity unmarshals an instance of InstanceProfileIdentity from the specified map of raw messages.

func UnmarshalInstanceProfileIdentityByHref

func UnmarshalInstanceProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileIdentityByHref unmarshals an instance of InstanceProfileIdentityByHref from the specified map of raw messages.

func UnmarshalInstanceProfileIdentityByName

func UnmarshalInstanceProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileIdentityByName unmarshals an instance of InstanceProfileIdentityByName from the specified map of raw messages.

func UnmarshalInstanceProfileMemory

func UnmarshalInstanceProfileMemory(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileMemory unmarshals an instance of InstanceProfileMemory from the specified map of raw messages.

func UnmarshalInstanceProfileMemoryDependent

func UnmarshalInstanceProfileMemoryDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileMemoryDependent unmarshals an instance of InstanceProfileMemoryDependent from the specified map of raw messages.

func UnmarshalInstanceProfileMemoryEnum

func UnmarshalInstanceProfileMemoryEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileMemoryEnum unmarshals an instance of InstanceProfileMemoryEnum from the specified map of raw messages.

func UnmarshalInstanceProfileMemoryFixed

func UnmarshalInstanceProfileMemoryFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileMemoryFixed unmarshals an instance of InstanceProfileMemoryFixed from the specified map of raw messages.

func UnmarshalInstanceProfileMemoryRange

func UnmarshalInstanceProfileMemoryRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileMemoryRange unmarshals an instance of InstanceProfileMemoryRange from the specified map of raw messages.

func UnmarshalInstanceProfileNetworkAttachmentCount added in v0.47.0

func UnmarshalInstanceProfileNetworkAttachmentCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNetworkAttachmentCount unmarshals an instance of InstanceProfileNetworkAttachmentCount from the specified map of raw messages.

func UnmarshalInstanceProfileNetworkAttachmentCountDependent added in v0.47.0

func UnmarshalInstanceProfileNetworkAttachmentCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNetworkAttachmentCountDependent unmarshals an instance of InstanceProfileNetworkAttachmentCountDependent from the specified map of raw messages.

func UnmarshalInstanceProfileNetworkAttachmentCountRange added in v0.47.0

func UnmarshalInstanceProfileNetworkAttachmentCountRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNetworkAttachmentCountRange unmarshals an instance of InstanceProfileNetworkAttachmentCountRange from the specified map of raw messages.

func UnmarshalInstanceProfileNetworkInterfaceCount added in v0.35.0

func UnmarshalInstanceProfileNetworkInterfaceCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNetworkInterfaceCount unmarshals an instance of InstanceProfileNetworkInterfaceCount from the specified map of raw messages.

func UnmarshalInstanceProfileNetworkInterfaceCountDependent added in v0.35.0

func UnmarshalInstanceProfileNetworkInterfaceCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNetworkInterfaceCountDependent unmarshals an instance of InstanceProfileNetworkInterfaceCountDependent from the specified map of raw messages.

func UnmarshalInstanceProfileNetworkInterfaceCountRange added in v0.35.0

func UnmarshalInstanceProfileNetworkInterfaceCountRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNetworkInterfaceCountRange unmarshals an instance of InstanceProfileNetworkInterfaceCountRange from the specified map of raw messages.

func UnmarshalInstanceProfileNumaCount added in v0.43.0

func UnmarshalInstanceProfileNumaCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNumaCount unmarshals an instance of InstanceProfileNumaCount from the specified map of raw messages.

func UnmarshalInstanceProfileNumaCountDependent added in v0.43.0

func UnmarshalInstanceProfileNumaCountDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNumaCountDependent unmarshals an instance of InstanceProfileNumaCountDependent from the specified map of raw messages.

func UnmarshalInstanceProfileNumaCountFixed added in v0.43.0

func UnmarshalInstanceProfileNumaCountFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileNumaCountFixed unmarshals an instance of InstanceProfileNumaCountFixed from the specified map of raw messages.

func UnmarshalInstanceProfileOsArchitecture

func UnmarshalInstanceProfileOsArchitecture(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileOsArchitecture unmarshals an instance of InstanceProfileOsArchitecture from the specified map of raw messages.

func UnmarshalInstanceProfilePortSpeed

func UnmarshalInstanceProfilePortSpeed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfilePortSpeed unmarshals an instance of InstanceProfilePortSpeed from the specified map of raw messages.

func UnmarshalInstanceProfilePortSpeedDependent

func UnmarshalInstanceProfilePortSpeedDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfilePortSpeedDependent unmarshals an instance of InstanceProfilePortSpeedDependent from the specified map of raw messages.

func UnmarshalInstanceProfilePortSpeedFixed

func UnmarshalInstanceProfilePortSpeedFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfilePortSpeedFixed unmarshals an instance of InstanceProfilePortSpeedFixed from the specified map of raw messages.

func UnmarshalInstanceProfileReference

func UnmarshalInstanceProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileReference unmarshals an instance of InstanceProfileReference from the specified map of raw messages.

func UnmarshalInstanceProfileReservationTerms added in v0.48.0

func UnmarshalInstanceProfileReservationTerms(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileReservationTerms unmarshals an instance of InstanceProfileReservationTerms from the specified map of raw messages.

func UnmarshalInstanceProfileVcpu

func UnmarshalInstanceProfileVcpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpu unmarshals an instance of InstanceProfileVcpu from the specified map of raw messages.

func UnmarshalInstanceProfileVcpuArchitecture

func UnmarshalInstanceProfileVcpuArchitecture(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpuArchitecture unmarshals an instance of InstanceProfileVcpuArchitecture from the specified map of raw messages.

func UnmarshalInstanceProfileVcpuDependent

func UnmarshalInstanceProfileVcpuDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpuDependent unmarshals an instance of InstanceProfileVcpuDependent from the specified map of raw messages.

func UnmarshalInstanceProfileVcpuEnum

func UnmarshalInstanceProfileVcpuEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpuEnum unmarshals an instance of InstanceProfileVcpuEnum from the specified map of raw messages.

func UnmarshalInstanceProfileVcpuFixed

func UnmarshalInstanceProfileVcpuFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpuFixed unmarshals an instance of InstanceProfileVcpuFixed from the specified map of raw messages.

func UnmarshalInstanceProfileVcpuManufacturer added in v0.35.0

func UnmarshalInstanceProfileVcpuManufacturer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpuManufacturer unmarshals an instance of InstanceProfileVcpuManufacturer from the specified map of raw messages.

func UnmarshalInstanceProfileVcpuRange

func UnmarshalInstanceProfileVcpuRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVcpuRange unmarshals an instance of InstanceProfileVcpuRange from the specified map of raw messages.

func UnmarshalInstanceProfileVolumeBandwidth added in v0.11.0

func UnmarshalInstanceProfileVolumeBandwidth(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVolumeBandwidth unmarshals an instance of InstanceProfileVolumeBandwidth from the specified map of raw messages.

func UnmarshalInstanceProfileVolumeBandwidthDependent added in v0.11.0

func UnmarshalInstanceProfileVolumeBandwidthDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVolumeBandwidthDependent unmarshals an instance of InstanceProfileVolumeBandwidthDependent from the specified map of raw messages.

func UnmarshalInstanceProfileVolumeBandwidthEnum added in v0.11.0

func UnmarshalInstanceProfileVolumeBandwidthEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVolumeBandwidthEnum unmarshals an instance of InstanceProfileVolumeBandwidthEnum from the specified map of raw messages.

func UnmarshalInstanceProfileVolumeBandwidthFixed added in v0.11.0

func UnmarshalInstanceProfileVolumeBandwidthFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVolumeBandwidthFixed unmarshals an instance of InstanceProfileVolumeBandwidthFixed from the specified map of raw messages.

func UnmarshalInstanceProfileVolumeBandwidthRange added in v0.11.0

func UnmarshalInstanceProfileVolumeBandwidthRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceProfileVolumeBandwidthRange unmarshals an instance of InstanceProfileVolumeBandwidthRange from the specified map of raw messages.

func UnmarshalInstancePrototype

func UnmarshalInstancePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototype unmarshals an instance of InstancePrototype from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByCatalogOffering added in v0.26.0

func UnmarshalInstancePrototypeInstanceByCatalogOffering(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByCatalogOffering unmarshals an instance of InstancePrototypeInstanceByCatalogOffering from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment unmarshals an instance of InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface unmarshals an instance of InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByImage

func UnmarshalInstancePrototypeInstanceByImage(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByImage unmarshals an instance of InstancePrototypeInstanceByImage from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment unmarshals an instance of InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface unmarshals an instance of InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceBySourceSnapshot added in v0.18.0

func UnmarshalInstancePrototypeInstanceBySourceSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceBySourceSnapshot unmarshals an instance of InstancePrototypeInstanceBySourceSnapshot from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment unmarshals an instance of InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface unmarshals an instance of InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceBySourceTemplate added in v0.1.0

func UnmarshalInstancePrototypeInstanceBySourceTemplate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceBySourceTemplate unmarshals an instance of InstancePrototypeInstanceBySourceTemplate from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByVolume added in v0.7.0

func UnmarshalInstancePrototypeInstanceByVolume(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByVolume unmarshals an instance of InstancePrototypeInstanceByVolume from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment unmarshals an instance of InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface unmarshals an instance of InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceReference

func UnmarshalInstanceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceReference unmarshals an instance of InstanceReference from the specified map of raw messages.

func UnmarshalInstanceReferenceDeleted added in v0.3.0

func UnmarshalInstanceReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceReferenceDeleted unmarshals an instance of InstanceReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceReservationAffinity added in v0.48.0

func UnmarshalInstanceReservationAffinity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceReservationAffinity unmarshals an instance of InstanceReservationAffinity from the specified map of raw messages.

func UnmarshalInstanceReservationAffinityPatch added in v0.48.0

func UnmarshalInstanceReservationAffinityPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceReservationAffinityPatch unmarshals an instance of InstanceReservationAffinityPatch from the specified map of raw messages.

func UnmarshalInstanceReservationAffinityPrototype added in v0.48.0

func UnmarshalInstanceReservationAffinityPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceReservationAffinityPrototype unmarshals an instance of InstanceReservationAffinityPrototype from the specified map of raw messages.

func UnmarshalInstanceStatusReason added in v0.6.0

func UnmarshalInstanceStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceStatusReason unmarshals an instance of InstanceStatusReason from the specified map of raw messages.

func UnmarshalInstanceTemplate added in v0.1.0

func UnmarshalInstanceTemplate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplate unmarshals an instance of InstanceTemplate from the specified map of raw messages.

func UnmarshalInstanceTemplateCollection added in v0.1.0

func UnmarshalInstanceTemplateCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateCollection unmarshals an instance of InstanceTemplateCollection from the specified map of raw messages.

func UnmarshalInstanceTemplateCollectionFirst added in v0.1.0

func UnmarshalInstanceTemplateCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateCollectionFirst unmarshals an instance of InstanceTemplateCollectionFirst from the specified map of raw messages.

func UnmarshalInstanceTemplateCollectionNext added in v0.1.0

func UnmarshalInstanceTemplateCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateCollectionNext unmarshals an instance of InstanceTemplateCollectionNext from the specified map of raw messages.

func UnmarshalInstanceTemplateIdentity added in v0.1.0

func UnmarshalInstanceTemplateIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateIdentity unmarshals an instance of InstanceTemplateIdentity from the specified map of raw messages.

func UnmarshalInstanceTemplateIdentityByCRN added in v0.1.0

func UnmarshalInstanceTemplateIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateIdentityByCRN unmarshals an instance of InstanceTemplateIdentityByCRN from the specified map of raw messages.

func UnmarshalInstanceTemplateIdentityByHref added in v0.1.0

func UnmarshalInstanceTemplateIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateIdentityByHref unmarshals an instance of InstanceTemplateIdentityByHref from the specified map of raw messages.

func UnmarshalInstanceTemplateIdentityByID added in v0.1.0

func UnmarshalInstanceTemplateIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateIdentityByID unmarshals an instance of InstanceTemplateIdentityByID from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext added in v0.36.0

func UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext unmarshals an instance of InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment unmarshals an instance of InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface unmarshals an instance of InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContext added in v0.36.0

func UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContext unmarshals an instance of InstanceTemplateInstanceByImageInstanceTemplateContext from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment unmarshals an instance of InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface unmarshals an instance of InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext added in v0.36.0

func UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext unmarshals an instance of InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment unmarshals an instance of InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface unmarshals an instance of InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceTemplatePatch added in v0.2.0

func UnmarshalInstanceTemplatePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePatch unmarshals an instance of InstanceTemplatePatch from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototype added in v0.1.0

func UnmarshalInstanceTemplatePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototype unmarshals an instance of InstanceTemplatePrototype from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOffering added in v0.39.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOffering(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOffering unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateByCatalogOffering from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByImage added in v0.39.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByImage(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateByImage unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateByImage from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshot added in v0.39.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshot unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment added in v0.47.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface added in v0.47.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface from the specified map of raw messages.

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceTemplate added in v0.39.0

func UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceTemplate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplatePrototypeInstanceTemplateBySourceTemplate unmarshals an instance of InstanceTemplatePrototypeInstanceTemplateBySourceTemplate from the specified map of raw messages.

func UnmarshalInstanceTemplateReference added in v0.1.0

func UnmarshalInstanceTemplateReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateReference unmarshals an instance of InstanceTemplateReference from the specified map of raw messages.

func UnmarshalInstanceTemplateReferenceDeleted added in v0.3.0

func UnmarshalInstanceTemplateReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceTemplateReferenceDeleted unmarshals an instance of InstanceTemplateReferenceDeleted from the specified map of raw messages.

func UnmarshalInstanceVcpu

func UnmarshalInstanceVcpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalInstanceVcpu unmarshals an instance of InstanceVcpu from the specified map of raw messages.

func UnmarshalKey

func UnmarshalKey(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKey unmarshals an instance of Key from the specified map of raw messages.

func UnmarshalKeyCollection

func UnmarshalKeyCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyCollection unmarshals an instance of KeyCollection from the specified map of raw messages.

func UnmarshalKeyCollectionFirst added in v0.9.0

func UnmarshalKeyCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyCollectionFirst unmarshals an instance of KeyCollectionFirst from the specified map of raw messages.

func UnmarshalKeyCollectionNext added in v0.8.0

func UnmarshalKeyCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyCollectionNext unmarshals an instance of KeyCollectionNext from the specified map of raw messages.

func UnmarshalKeyIdentity

func UnmarshalKeyIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyIdentity unmarshals an instance of KeyIdentity from the specified map of raw messages.

func UnmarshalKeyIdentityByCRN

func UnmarshalKeyIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyIdentityByCRN unmarshals an instance of KeyIdentityByCRN from the specified map of raw messages.

func UnmarshalKeyIdentityByFingerprint

func UnmarshalKeyIdentityByFingerprint(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyIdentityByFingerprint unmarshals an instance of KeyIdentityByFingerprint from the specified map of raw messages.

func UnmarshalKeyIdentityByHref

func UnmarshalKeyIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyIdentityByHref unmarshals an instance of KeyIdentityByHref from the specified map of raw messages.

func UnmarshalKeyIdentityByID

func UnmarshalKeyIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyIdentityByID unmarshals an instance of KeyIdentityByID from the specified map of raw messages.

func UnmarshalKeyPatch added in v0.2.0

func UnmarshalKeyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyPatch unmarshals an instance of KeyPatch from the specified map of raw messages.

func UnmarshalKeyReference added in v0.10.0

func UnmarshalKeyReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyReference unmarshals an instance of KeyReference from the specified map of raw messages.

func UnmarshalKeyReferenceDeleted added in v0.3.0

func UnmarshalKeyReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyReferenceDeleted unmarshals an instance of KeyReferenceDeleted from the specified map of raw messages.

func UnmarshalLegacyCloudObjectStorageBucketIdentity added in v0.18.0

func UnmarshalLegacyCloudObjectStorageBucketIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLegacyCloudObjectStorageBucketIdentity unmarshals an instance of LegacyCloudObjectStorageBucketIdentity from the specified map of raw messages.

func UnmarshalLegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName added in v0.18.0

func UnmarshalLegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName unmarshals an instance of LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName from the specified map of raw messages.

func UnmarshalLegacyCloudObjectStorageBucketReference added in v0.18.0

func UnmarshalLegacyCloudObjectStorageBucketReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLegacyCloudObjectStorageBucketReference unmarshals an instance of LegacyCloudObjectStorageBucketReference from the specified map of raw messages.

func UnmarshalLoadBalancer

func UnmarshalLoadBalancer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancer unmarshals an instance of LoadBalancer from the specified map of raw messages.

func UnmarshalLoadBalancerCollection

func UnmarshalLoadBalancerCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerCollection unmarshals an instance of LoadBalancerCollection from the specified map of raw messages.

func UnmarshalLoadBalancerCollectionFirst added in v0.7.0

func UnmarshalLoadBalancerCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerCollectionFirst unmarshals an instance of LoadBalancerCollectionFirst from the specified map of raw messages.

func UnmarshalLoadBalancerCollectionNext added in v0.7.0

func UnmarshalLoadBalancerCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerCollectionNext unmarshals an instance of LoadBalancerCollectionNext from the specified map of raw messages.

func UnmarshalLoadBalancerDns added in v0.35.0

func UnmarshalLoadBalancerDns(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerDns unmarshals an instance of LoadBalancerDns from the specified map of raw messages.

func UnmarshalLoadBalancerDnsPatch added in v0.35.0

func UnmarshalLoadBalancerDnsPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerDnsPatch unmarshals an instance of LoadBalancerDnsPatch from the specified map of raw messages.

func UnmarshalLoadBalancerDnsPrototype added in v0.35.0

func UnmarshalLoadBalancerDnsPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerDnsPrototype unmarshals an instance of LoadBalancerDnsPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerIdentity added in v0.1.0

func UnmarshalLoadBalancerIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerIdentity unmarshals an instance of LoadBalancerIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerIdentityByCRN added in v0.1.0

func UnmarshalLoadBalancerIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerIdentityByCRN unmarshals an instance of LoadBalancerIdentityByCRN from the specified map of raw messages.

func UnmarshalLoadBalancerIdentityByHref added in v0.1.0

func UnmarshalLoadBalancerIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerIdentityByHref unmarshals an instance of LoadBalancerIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerIdentityByID added in v0.1.0

func UnmarshalLoadBalancerIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerIdentityByID unmarshals an instance of LoadBalancerIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerListener

func UnmarshalLoadBalancerListener(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListener unmarshals an instance of LoadBalancerListener from the specified map of raw messages.

func UnmarshalLoadBalancerListenerCollection

func UnmarshalLoadBalancerListenerCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerCollection unmarshals an instance of LoadBalancerListenerCollection from the specified map of raw messages.

func UnmarshalLoadBalancerListenerDefaultPoolPatch added in v0.50.0

func UnmarshalLoadBalancerListenerDefaultPoolPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerDefaultPoolPatch unmarshals an instance of LoadBalancerListenerDefaultPoolPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref added in v0.50.0

func UnmarshalLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref unmarshals an instance of LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID added in v0.50.0

func UnmarshalLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID unmarshals an instance of LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerListenerHTTPSRedirect added in v0.10.0

func UnmarshalLoadBalancerListenerHTTPSRedirect(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerHTTPSRedirect unmarshals an instance of LoadBalancerListenerHTTPSRedirect from the specified map of raw messages.

func UnmarshalLoadBalancerListenerHTTPSRedirectPatch added in v0.10.0

func UnmarshalLoadBalancerListenerHTTPSRedirectPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerHTTPSRedirectPatch unmarshals an instance of LoadBalancerListenerHTTPSRedirectPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerHTTPSRedirectPrototype added in v0.10.0

func UnmarshalLoadBalancerListenerHTTPSRedirectPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerHTTPSRedirectPrototype unmarshals an instance of LoadBalancerListenerHTTPSRedirectPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerListenerIdentity added in v0.10.0

func UnmarshalLoadBalancerListenerIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerIdentity unmarshals an instance of LoadBalancerListenerIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerListenerIdentityByHref added in v0.10.0

func UnmarshalLoadBalancerListenerIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerIdentityByHref unmarshals an instance of LoadBalancerListenerIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerListenerIdentityByID added in v0.10.0

func UnmarshalLoadBalancerListenerIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerIdentityByID unmarshals an instance of LoadBalancerListenerIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPatch added in v0.2.0

func UnmarshalLoadBalancerListenerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPatch unmarshals an instance of LoadBalancerListenerPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicy

func UnmarshalLoadBalancerListenerPolicy(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicy unmarshals an instance of LoadBalancerListenerPolicy from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyCollection

func UnmarshalLoadBalancerListenerPolicyCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyCollection unmarshals an instance of LoadBalancerListenerPolicyCollection from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyPatch added in v0.2.0

func UnmarshalLoadBalancerListenerPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyPatch unmarshals an instance of LoadBalancerListenerPolicyPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyPrototype

func UnmarshalLoadBalancerListenerPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyPrototype unmarshals an instance of LoadBalancerListenerPolicyPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyReference

func UnmarshalLoadBalancerListenerPolicyReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyReference unmarshals an instance of LoadBalancerListenerPolicyReference from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyReferenceDeleted added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyReferenceDeleted unmarshals an instance of LoadBalancerListenerPolicyReferenceDeleted from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyRule

func UnmarshalLoadBalancerListenerPolicyRule(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyRule unmarshals an instance of LoadBalancerListenerPolicyRule from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyRuleCollection

func UnmarshalLoadBalancerListenerPolicyRuleCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyRuleCollection unmarshals an instance of LoadBalancerListenerPolicyRuleCollection from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyRulePatch added in v0.2.0

func UnmarshalLoadBalancerListenerPolicyRulePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyRulePatch unmarshals an instance of LoadBalancerListenerPolicyRulePatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyRulePrototype

func UnmarshalLoadBalancerListenerPolicyRulePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyRulePrototype unmarshals an instance of LoadBalancerListenerPolicyRulePrototype from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyRuleReference

func UnmarshalLoadBalancerListenerPolicyRuleReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyRuleReference unmarshals an instance of LoadBalancerListenerPolicyRuleReference from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyRuleReferenceDeleted added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyRuleReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyRuleReferenceDeleted unmarshals an instance of LoadBalancerListenerPolicyRuleReferenceDeleted from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTarget added in v0.2.0

func UnmarshalLoadBalancerListenerPolicyTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTarget unmarshals an instance of LoadBalancerListenerPolicyTarget from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect unmarshals an instance of LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL added in v0.2.0

func UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL unmarshals an instance of LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerPoolReference added in v0.2.0

func UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerPoolReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetLoadBalancerPoolReference unmarshals an instance of LoadBalancerListenerPolicyTargetLoadBalancerPoolReference from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPatch added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyTargetPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPatch unmarshals an instance of LoadBalancerListenerPolicyTargetPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch unmarshals an instance of LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch unmarshals an instance of LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity unmarshals an instance of LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref unmarshals an instance of LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID unmarshals an instance of LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPrototype added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPrototype unmarshals an instance of LoadBalancerListenerPolicyTargetPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype unmarshals an instance of LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype unmarshals an instance of LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity added in v0.3.0

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity unmarshals an instance of LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref unmarshals an instance of LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

func UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID unmarshals an instance of LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerListenerPrototypeLoadBalancerContext

func UnmarshalLoadBalancerListenerPrototypeLoadBalancerContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerPrototypeLoadBalancerContext unmarshals an instance of LoadBalancerListenerPrototypeLoadBalancerContext from the specified map of raw messages.

func UnmarshalLoadBalancerListenerReference

func UnmarshalLoadBalancerListenerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerReference unmarshals an instance of LoadBalancerListenerReference from the specified map of raw messages.

func UnmarshalLoadBalancerListenerReferenceDeleted added in v0.3.0

func UnmarshalLoadBalancerListenerReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerListenerReferenceDeleted unmarshals an instance of LoadBalancerListenerReferenceDeleted from the specified map of raw messages.

func UnmarshalLoadBalancerLogging added in v0.4.0

func UnmarshalLoadBalancerLogging(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerLogging unmarshals an instance of LoadBalancerLogging from the specified map of raw messages.

func UnmarshalLoadBalancerLoggingDatapath added in v0.4.0

func UnmarshalLoadBalancerLoggingDatapath(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerLoggingDatapath unmarshals an instance of LoadBalancerLoggingDatapath from the specified map of raw messages.

func UnmarshalLoadBalancerLoggingDatapathPatch added in v0.30.0

func UnmarshalLoadBalancerLoggingDatapathPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerLoggingDatapathPatch unmarshals an instance of LoadBalancerLoggingDatapathPatch from the specified map of raw messages.

func UnmarshalLoadBalancerLoggingDatapathPrototype added in v0.30.0

func UnmarshalLoadBalancerLoggingDatapathPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerLoggingDatapathPrototype unmarshals an instance of LoadBalancerLoggingDatapathPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerLoggingPatch added in v0.30.0

func UnmarshalLoadBalancerLoggingPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerLoggingPatch unmarshals an instance of LoadBalancerLoggingPatch from the specified map of raw messages.

func UnmarshalLoadBalancerLoggingPrototype added in v0.30.0

func UnmarshalLoadBalancerLoggingPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerLoggingPrototype unmarshals an instance of LoadBalancerLoggingPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerPatch added in v0.2.0

func UnmarshalLoadBalancerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPatch unmarshals an instance of LoadBalancerPatch from the specified map of raw messages.

func UnmarshalLoadBalancerPool

func UnmarshalLoadBalancerPool(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPool unmarshals an instance of LoadBalancerPool from the specified map of raw messages.

func UnmarshalLoadBalancerPoolCollection

func UnmarshalLoadBalancerPoolCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolCollection unmarshals an instance of LoadBalancerPoolCollection from the specified map of raw messages.

func UnmarshalLoadBalancerPoolHealthMonitor

func UnmarshalLoadBalancerPoolHealthMonitor(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolHealthMonitor unmarshals an instance of LoadBalancerPoolHealthMonitor from the specified map of raw messages.

func UnmarshalLoadBalancerPoolHealthMonitorPatch

func UnmarshalLoadBalancerPoolHealthMonitorPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolHealthMonitorPatch unmarshals an instance of LoadBalancerPoolHealthMonitorPatch from the specified map of raw messages.

func UnmarshalLoadBalancerPoolHealthMonitorPrototype

func UnmarshalLoadBalancerPoolHealthMonitorPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolHealthMonitorPrototype unmarshals an instance of LoadBalancerPoolHealthMonitorPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerPoolIdentity

func UnmarshalLoadBalancerPoolIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolIdentity unmarshals an instance of LoadBalancerPoolIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerPoolIdentityByName

func UnmarshalLoadBalancerPoolIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolIdentityByName unmarshals an instance of LoadBalancerPoolIdentityByName from the specified map of raw messages.

func UnmarshalLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

func UnmarshalLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref unmarshals an instance of LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

func UnmarshalLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID unmarshals an instance of LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMember

func UnmarshalLoadBalancerPoolMember(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMember unmarshals an instance of LoadBalancerPoolMember from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberCollection

func UnmarshalLoadBalancerPoolMemberCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberCollection unmarshals an instance of LoadBalancerPoolMemberCollection from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberPatch added in v0.2.0

func UnmarshalLoadBalancerPoolMemberPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberPatch unmarshals an instance of LoadBalancerPoolMemberPatch from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberPrototype

func UnmarshalLoadBalancerPoolMemberPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberPrototype unmarshals an instance of LoadBalancerPoolMemberPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberReference

func UnmarshalLoadBalancerPoolMemberReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberReference unmarshals an instance of LoadBalancerPoolMemberReference from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberReferenceDeleted added in v0.3.0

func UnmarshalLoadBalancerPoolMemberReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberReferenceDeleted unmarshals an instance of LoadBalancerPoolMemberReferenceDeleted from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTarget

func UnmarshalLoadBalancerPoolMemberTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTarget unmarshals an instance of LoadBalancerPoolMemberTarget from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetIP

func UnmarshalLoadBalancerPoolMemberTargetIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetIP unmarshals an instance of LoadBalancerPoolMemberTargetIP from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetInstanceReference added in v0.1.1

func UnmarshalLoadBalancerPoolMemberTargetInstanceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetInstanceReference unmarshals an instance of LoadBalancerPoolMemberTargetInstanceReference from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetPrototype

func UnmarshalLoadBalancerPoolMemberTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetPrototype unmarshals an instance of LoadBalancerPoolMemberTargetPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetPrototypeIP

func UnmarshalLoadBalancerPoolMemberTargetPrototypeIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetPrototypeIP unmarshals an instance of LoadBalancerPoolMemberTargetPrototypeIP from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentity added in v0.1.1

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentity unmarshals an instance of LoadBalancerPoolMemberTargetPrototypeInstanceIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN added in v0.1.1

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN unmarshals an instance of LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref added in v0.1.1

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref unmarshals an instance of LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID added in v0.1.1

func UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID unmarshals an instance of LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID from the specified map of raw messages.

func UnmarshalLoadBalancerPoolPatch added in v0.2.0

func UnmarshalLoadBalancerPoolPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolPatch unmarshals an instance of LoadBalancerPoolPatch from the specified map of raw messages.

func UnmarshalLoadBalancerPoolPrototype

func UnmarshalLoadBalancerPoolPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolPrototype unmarshals an instance of LoadBalancerPoolPrototype from the specified map of raw messages.

func UnmarshalLoadBalancerPoolReference

func UnmarshalLoadBalancerPoolReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolReference unmarshals an instance of LoadBalancerPoolReference from the specified map of raw messages.

func UnmarshalLoadBalancerPoolReferenceDeleted added in v0.3.0

func UnmarshalLoadBalancerPoolReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolReferenceDeleted unmarshals an instance of LoadBalancerPoolReferenceDeleted from the specified map of raw messages.

func UnmarshalLoadBalancerPoolSessionPersistence

func UnmarshalLoadBalancerPoolSessionPersistence(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolSessionPersistence unmarshals an instance of LoadBalancerPoolSessionPersistence from the specified map of raw messages.

func UnmarshalLoadBalancerPoolSessionPersistencePatch

func UnmarshalLoadBalancerPoolSessionPersistencePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolSessionPersistencePatch unmarshals an instance of LoadBalancerPoolSessionPersistencePatch from the specified map of raw messages.

func UnmarshalLoadBalancerPoolSessionPersistencePrototype

func UnmarshalLoadBalancerPoolSessionPersistencePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPoolSessionPersistencePrototype unmarshals an instance of LoadBalancerPoolSessionPersistencePrototype from the specified map of raw messages.

func UnmarshalLoadBalancerPrivateIpsItem added in v0.19.0

func UnmarshalLoadBalancerPrivateIpsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerPrivateIpsItem unmarshals an instance of LoadBalancerPrivateIpsItem from the specified map of raw messages.

func UnmarshalLoadBalancerProfile added in v0.1.0

func UnmarshalLoadBalancerProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfile unmarshals an instance of LoadBalancerProfile from the specified map of raw messages.

func UnmarshalLoadBalancerProfileCollection added in v0.1.0

func UnmarshalLoadBalancerProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileCollection unmarshals an instance of LoadBalancerProfileCollection from the specified map of raw messages.

func UnmarshalLoadBalancerProfileCollectionFirst added in v0.1.0

func UnmarshalLoadBalancerProfileCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileCollectionFirst unmarshals an instance of LoadBalancerProfileCollectionFirst from the specified map of raw messages.

func UnmarshalLoadBalancerProfileCollectionNext added in v0.1.0

func UnmarshalLoadBalancerProfileCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileCollectionNext unmarshals an instance of LoadBalancerProfileCollectionNext from the specified map of raw messages.

func UnmarshalLoadBalancerProfileIdentity added in v0.1.0

func UnmarshalLoadBalancerProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileIdentity unmarshals an instance of LoadBalancerProfileIdentity from the specified map of raw messages.

func UnmarshalLoadBalancerProfileIdentityByHref added in v0.1.0

func UnmarshalLoadBalancerProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileIdentityByHref unmarshals an instance of LoadBalancerProfileIdentityByHref from the specified map of raw messages.

func UnmarshalLoadBalancerProfileIdentityByName added in v0.1.0

func UnmarshalLoadBalancerProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileIdentityByName unmarshals an instance of LoadBalancerProfileIdentityByName from the specified map of raw messages.

func UnmarshalLoadBalancerProfileInstanceGroupsSupported added in v0.39.0

func UnmarshalLoadBalancerProfileInstanceGroupsSupported(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileInstanceGroupsSupported unmarshals an instance of LoadBalancerProfileInstanceGroupsSupported from the specified map of raw messages.

func UnmarshalLoadBalancerProfileInstanceGroupsSupportedDependent added in v0.39.0

func UnmarshalLoadBalancerProfileInstanceGroupsSupportedDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileInstanceGroupsSupportedDependent unmarshals an instance of LoadBalancerProfileInstanceGroupsSupportedDependent from the specified map of raw messages.

func UnmarshalLoadBalancerProfileInstanceGroupsSupportedFixed added in v0.39.0

func UnmarshalLoadBalancerProfileInstanceGroupsSupportedFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileInstanceGroupsSupportedFixed unmarshals an instance of LoadBalancerProfileInstanceGroupsSupportedFixed from the specified map of raw messages.

func UnmarshalLoadBalancerProfileLoggingSupported added in v0.4.0

func UnmarshalLoadBalancerProfileLoggingSupported(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileLoggingSupported unmarshals an instance of LoadBalancerProfileLoggingSupported from the specified map of raw messages.

func UnmarshalLoadBalancerProfileReference added in v0.1.0

func UnmarshalLoadBalancerProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileReference unmarshals an instance of LoadBalancerProfileReference from the specified map of raw messages.

func UnmarshalLoadBalancerProfileRouteModeSupported added in v0.12.0

func UnmarshalLoadBalancerProfileRouteModeSupported(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileRouteModeSupported unmarshals an instance of LoadBalancerProfileRouteModeSupported from the specified map of raw messages.

func UnmarshalLoadBalancerProfileRouteModeSupportedDependent added in v0.12.0

func UnmarshalLoadBalancerProfileRouteModeSupportedDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileRouteModeSupportedDependent unmarshals an instance of LoadBalancerProfileRouteModeSupportedDependent from the specified map of raw messages.

func UnmarshalLoadBalancerProfileRouteModeSupportedFixed added in v0.12.0

func UnmarshalLoadBalancerProfileRouteModeSupportedFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileRouteModeSupportedFixed unmarshals an instance of LoadBalancerProfileRouteModeSupportedFixed from the specified map of raw messages.

func UnmarshalLoadBalancerProfileSecurityGroupsSupported added in v0.5.0

func UnmarshalLoadBalancerProfileSecurityGroupsSupported(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileSecurityGroupsSupported unmarshals an instance of LoadBalancerProfileSecurityGroupsSupported from the specified map of raw messages.

func UnmarshalLoadBalancerProfileSecurityGroupsSupportedDependent added in v0.5.0

func UnmarshalLoadBalancerProfileSecurityGroupsSupportedDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileSecurityGroupsSupportedDependent unmarshals an instance of LoadBalancerProfileSecurityGroupsSupportedDependent from the specified map of raw messages.

func UnmarshalLoadBalancerProfileSecurityGroupsSupportedFixed added in v0.5.0

func UnmarshalLoadBalancerProfileSecurityGroupsSupportedFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileSecurityGroupsSupportedFixed unmarshals an instance of LoadBalancerProfileSecurityGroupsSupportedFixed from the specified map of raw messages.

func UnmarshalLoadBalancerProfileUDPSupported added in v0.19.0

func UnmarshalLoadBalancerProfileUDPSupported(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileUDPSupported unmarshals an instance of LoadBalancerProfileUDPSupported from the specified map of raw messages.

func UnmarshalLoadBalancerProfileUDPSupportedDependent added in v0.19.0

func UnmarshalLoadBalancerProfileUDPSupportedDependent(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileUDPSupportedDependent unmarshals an instance of LoadBalancerProfileUDPSupportedDependent from the specified map of raw messages.

func UnmarshalLoadBalancerProfileUDPSupportedFixed added in v0.19.0

func UnmarshalLoadBalancerProfileUDPSupportedFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerProfileUDPSupportedFixed unmarshals an instance of LoadBalancerProfileUDPSupportedFixed from the specified map of raw messages.

func UnmarshalLoadBalancerReferenceDeleted added in v0.5.0

func UnmarshalLoadBalancerReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerReferenceDeleted unmarshals an instance of LoadBalancerReferenceDeleted from the specified map of raw messages.

func UnmarshalLoadBalancerStatistics

func UnmarshalLoadBalancerStatistics(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerStatistics unmarshals an instance of LoadBalancerStatistics from the specified map of raw messages.

func UnmarshalNetworkACL

func UnmarshalNetworkACL(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACL unmarshals an instance of NetworkACL from the specified map of raw messages.

func UnmarshalNetworkACLCollection

func UnmarshalNetworkACLCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLCollection unmarshals an instance of NetworkACLCollection from the specified map of raw messages.

func UnmarshalNetworkACLCollectionFirst

func UnmarshalNetworkACLCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLCollectionFirst unmarshals an instance of NetworkACLCollectionFirst from the specified map of raw messages.

func UnmarshalNetworkACLCollectionNext

func UnmarshalNetworkACLCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLCollectionNext unmarshals an instance of NetworkACLCollectionNext from the specified map of raw messages.

func UnmarshalNetworkACLIdentity

func UnmarshalNetworkACLIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLIdentity unmarshals an instance of NetworkACLIdentity from the specified map of raw messages.

func UnmarshalNetworkACLIdentityByCRN

func UnmarshalNetworkACLIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLIdentityByCRN unmarshals an instance of NetworkACLIdentityByCRN from the specified map of raw messages.

func UnmarshalNetworkACLIdentityByHref

func UnmarshalNetworkACLIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLIdentityByHref unmarshals an instance of NetworkACLIdentityByHref from the specified map of raw messages.

func UnmarshalNetworkACLIdentityByID

func UnmarshalNetworkACLIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLIdentityByID unmarshals an instance of NetworkACLIdentityByID from the specified map of raw messages.

func UnmarshalNetworkACLPatch added in v0.2.0

func UnmarshalNetworkACLPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLPatch unmarshals an instance of NetworkACLPatch from the specified map of raw messages.

func UnmarshalNetworkACLPrototype

func UnmarshalNetworkACLPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLPrototype unmarshals an instance of NetworkACLPrototype from the specified map of raw messages.

func UnmarshalNetworkACLPrototypeNetworkACLByRules

func UnmarshalNetworkACLPrototypeNetworkACLByRules(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLPrototypeNetworkACLByRules unmarshals an instance of NetworkACLPrototypeNetworkACLByRules from the specified map of raw messages.

func UnmarshalNetworkACLPrototypeNetworkACLBySourceNetworkACL

func UnmarshalNetworkACLPrototypeNetworkACLBySourceNetworkACL(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLPrototypeNetworkACLBySourceNetworkACL unmarshals an instance of NetworkACLPrototypeNetworkACLBySourceNetworkACL from the specified map of raw messages.

func UnmarshalNetworkACLReference

func UnmarshalNetworkACLReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLReference unmarshals an instance of NetworkACLReference from the specified map of raw messages.

func UnmarshalNetworkACLReferenceDeleted added in v0.3.0

func UnmarshalNetworkACLReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLReferenceDeleted unmarshals an instance of NetworkACLReferenceDeleted from the specified map of raw messages.

func UnmarshalNetworkACLRule

func UnmarshalNetworkACLRule(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRule unmarshals an instance of NetworkACLRule from the specified map of raw messages.

func UnmarshalNetworkACLRuleBeforePatch added in v0.3.0

func UnmarshalNetworkACLRuleBeforePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleBeforePatch unmarshals an instance of NetworkACLRuleBeforePatch from the specified map of raw messages.

func UnmarshalNetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref added in v0.3.0

func UnmarshalNetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref unmarshals an instance of NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref from the specified map of raw messages.

func UnmarshalNetworkACLRuleBeforePatchNetworkACLRuleIdentityByID added in v0.3.0

func UnmarshalNetworkACLRuleBeforePatchNetworkACLRuleIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleBeforePatchNetworkACLRuleIdentityByID unmarshals an instance of NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID from the specified map of raw messages.

func UnmarshalNetworkACLRuleBeforePrototype added in v0.3.0

func UnmarshalNetworkACLRuleBeforePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleBeforePrototype unmarshals an instance of NetworkACLRuleBeforePrototype from the specified map of raw messages.

func UnmarshalNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref added in v0.3.0

func UnmarshalNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref unmarshals an instance of NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref from the specified map of raw messages.

func UnmarshalNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID added in v0.3.0

func UnmarshalNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID unmarshals an instance of NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID from the specified map of raw messages.

func UnmarshalNetworkACLRuleCollection

func UnmarshalNetworkACLRuleCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleCollection unmarshals an instance of NetworkACLRuleCollection from the specified map of raw messages.

func UnmarshalNetworkACLRuleCollectionFirst

func UnmarshalNetworkACLRuleCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleCollectionFirst unmarshals an instance of NetworkACLRuleCollectionFirst from the specified map of raw messages.

func UnmarshalNetworkACLRuleCollectionNext

func UnmarshalNetworkACLRuleCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleCollectionNext unmarshals an instance of NetworkACLRuleCollectionNext from the specified map of raw messages.

func UnmarshalNetworkACLRuleItem

func UnmarshalNetworkACLRuleItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleItem unmarshals an instance of NetworkACLRuleItem from the specified map of raw messages.

func UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolAll

func UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolAll(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolAll unmarshals an instance of NetworkACLRuleItemNetworkACLRuleProtocolAll from the specified map of raw messages.

func UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolIcmp

func UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolIcmp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolIcmp unmarshals an instance of NetworkACLRuleItemNetworkACLRuleProtocolIcmp from the specified map of raw messages.

func UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolTcpudp

func UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolTcpudp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleItemNetworkACLRuleProtocolTcpudp unmarshals an instance of NetworkACLRuleItemNetworkACLRuleProtocolTcpudp from the specified map of raw messages.

func UnmarshalNetworkACLRuleNetworkACLRuleProtocolAll added in v0.0.3

func UnmarshalNetworkACLRuleNetworkACLRuleProtocolAll(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleNetworkACLRuleProtocolAll unmarshals an instance of NetworkACLRuleNetworkACLRuleProtocolAll from the specified map of raw messages.

func UnmarshalNetworkACLRuleNetworkACLRuleProtocolIcmp added in v0.0.3

func UnmarshalNetworkACLRuleNetworkACLRuleProtocolIcmp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleNetworkACLRuleProtocolIcmp unmarshals an instance of NetworkACLRuleNetworkACLRuleProtocolIcmp from the specified map of raw messages.

func UnmarshalNetworkACLRuleNetworkACLRuleProtocolTcpudp added in v0.0.3

func UnmarshalNetworkACLRuleNetworkACLRuleProtocolTcpudp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleNetworkACLRuleProtocolTcpudp unmarshals an instance of NetworkACLRuleNetworkACLRuleProtocolTcpudp from the specified map of raw messages.

func UnmarshalNetworkACLRulePatch added in v0.2.0

func UnmarshalNetworkACLRulePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePatch unmarshals an instance of NetworkACLRulePatch from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototype

func UnmarshalNetworkACLRulePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototype unmarshals an instance of NetworkACLRulePrototype from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLContext

func UnmarshalNetworkACLRulePrototypeNetworkACLContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLContext unmarshals an instance of NetworkACLRulePrototypeNetworkACLContext from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype added in v0.23.0

func UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype unmarshals an instance of NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype added in v0.23.0

func UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype unmarshals an instance of NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype added in v0.23.0

func UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype unmarshals an instance of NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype added in v0.23.0

func UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype unmarshals an instance of NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype added in v0.23.0

func UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype unmarshals an instance of NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype from the specified map of raw messages.

func UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype added in v0.23.0

func UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype unmarshals an instance of NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype from the specified map of raw messages.

func UnmarshalNetworkACLRuleReference

func UnmarshalNetworkACLRuleReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleReference unmarshals an instance of NetworkACLRuleReference from the specified map of raw messages.

func UnmarshalNetworkACLRuleReferenceDeleted added in v0.3.0

func UnmarshalNetworkACLRuleReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkACLRuleReferenceDeleted unmarshals an instance of NetworkACLRuleReferenceDeleted from the specified map of raw messages.

func UnmarshalNetworkInterface

func UnmarshalNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterface unmarshals an instance of NetworkInterface from the specified map of raw messages.

func UnmarshalNetworkInterfaceBareMetalServerContextReference added in v0.16.0

func UnmarshalNetworkInterfaceBareMetalServerContextReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceBareMetalServerContextReference unmarshals an instance of NetworkInterfaceBareMetalServerContextReference from the specified map of raw messages.

func UnmarshalNetworkInterfaceBareMetalServerContextReferenceDeleted added in v0.16.0

func UnmarshalNetworkInterfaceBareMetalServerContextReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceBareMetalServerContextReferenceDeleted unmarshals an instance of NetworkInterfaceBareMetalServerContextReferenceDeleted from the specified map of raw messages.

func UnmarshalNetworkInterfaceIPPrototype added in v0.19.0

func UnmarshalNetworkInterfaceIPPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceIPPrototype unmarshals an instance of NetworkInterfaceIPPrototype from the specified map of raw messages.

func UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentity added in v0.19.0

func UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentity unmarshals an instance of NetworkInterfaceIPPrototypeReservedIPIdentity from the specified map of raw messages.

func UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentityByHref added in v0.41.0

func UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentityByHref unmarshals an instance of NetworkInterfaceIPPrototypeReservedIPIdentityByHref from the specified map of raw messages.

func UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentityByID added in v0.41.0

func UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceIPPrototypeReservedIPIdentityByID unmarshals an instance of NetworkInterfaceIPPrototypeReservedIPIdentityByID from the specified map of raw messages.

func UnmarshalNetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext added in v0.19.0

func UnmarshalNetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext unmarshals an instance of NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalNetworkInterfaceInstanceContextReference

func UnmarshalNetworkInterfaceInstanceContextReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceInstanceContextReference unmarshals an instance of NetworkInterfaceInstanceContextReference from the specified map of raw messages.

func UnmarshalNetworkInterfaceInstanceContextReferenceDeleted added in v0.3.0

func UnmarshalNetworkInterfaceInstanceContextReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceInstanceContextReferenceDeleted unmarshals an instance of NetworkInterfaceInstanceContextReferenceDeleted from the specified map of raw messages.

func UnmarshalNetworkInterfacePatch added in v0.2.0

func UnmarshalNetworkInterfacePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfacePatch unmarshals an instance of NetworkInterfacePatch from the specified map of raw messages.

func UnmarshalNetworkInterfacePrototype

func UnmarshalNetworkInterfacePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfacePrototype unmarshals an instance of NetworkInterfacePrototype from the specified map of raw messages.

func UnmarshalNetworkInterfaceReferenceDeleted added in v0.3.0

func UnmarshalNetworkInterfaceReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceReferenceDeleted unmarshals an instance of NetworkInterfaceReferenceDeleted from the specified map of raw messages.

func UnmarshalNetworkInterfaceReferenceTargetContextDeleted added in v0.3.0

func UnmarshalNetworkInterfaceReferenceTargetContextDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceReferenceTargetContextDeleted unmarshals an instance of NetworkInterfaceReferenceTargetContextDeleted from the specified map of raw messages.

func UnmarshalNetworkInterfaceUnpaginatedCollection added in v0.0.3

func UnmarshalNetworkInterfaceUnpaginatedCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNetworkInterfaceUnpaginatedCollection unmarshals an instance of NetworkInterfaceUnpaginatedCollection from the specified map of raw messages.

func UnmarshalOperatingSystem

func UnmarshalOperatingSystem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystem unmarshals an instance of OperatingSystem from the specified map of raw messages.

func UnmarshalOperatingSystemCollection

func UnmarshalOperatingSystemCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystemCollection unmarshals an instance of OperatingSystemCollection from the specified map of raw messages.

func UnmarshalOperatingSystemCollectionFirst

func UnmarshalOperatingSystemCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystemCollectionFirst unmarshals an instance of OperatingSystemCollectionFirst from the specified map of raw messages.

func UnmarshalOperatingSystemCollectionNext

func UnmarshalOperatingSystemCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystemCollectionNext unmarshals an instance of OperatingSystemCollectionNext from the specified map of raw messages.

func UnmarshalOperatingSystemIdentity

func UnmarshalOperatingSystemIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystemIdentity unmarshals an instance of OperatingSystemIdentity from the specified map of raw messages.

func UnmarshalOperatingSystemIdentityByHref

func UnmarshalOperatingSystemIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystemIdentityByHref unmarshals an instance of OperatingSystemIdentityByHref from the specified map of raw messages.

func UnmarshalOperatingSystemIdentityByName

func UnmarshalOperatingSystemIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOperatingSystemIdentityByName unmarshals an instance of OperatingSystemIdentityByName from the specified map of raw messages.

func UnmarshalPlacementGroup added in v0.9.0

func UnmarshalPlacementGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPlacementGroup unmarshals an instance of PlacementGroup from the specified map of raw messages.

func UnmarshalPlacementGroupCollection added in v0.9.0

func UnmarshalPlacementGroupCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPlacementGroupCollection unmarshals an instance of PlacementGroupCollection from the specified map of raw messages.

func UnmarshalPlacementGroupCollectionFirst added in v0.9.0

func UnmarshalPlacementGroupCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPlacementGroupCollectionFirst unmarshals an instance of PlacementGroupCollectionFirst from the specified map of raw messages.

func UnmarshalPlacementGroupCollectionNext added in v0.9.0

func UnmarshalPlacementGroupCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPlacementGroupCollectionNext unmarshals an instance of PlacementGroupCollectionNext from the specified map of raw messages.

func UnmarshalPlacementGroupPatch added in v0.9.0

func UnmarshalPlacementGroupPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPlacementGroupPatch unmarshals an instance of PlacementGroupPatch from the specified map of raw messages.

func UnmarshalPlacementGroupReferenceDeleted added in v0.9.0

func UnmarshalPlacementGroupReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPlacementGroupReferenceDeleted unmarshals an instance of PlacementGroupReferenceDeleted from the specified map of raw messages.

func UnmarshalPublicGateway

func UnmarshalPublicGateway(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGateway unmarshals an instance of PublicGateway from the specified map of raw messages.

func UnmarshalPublicGatewayCollection

func UnmarshalPublicGatewayCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayCollection unmarshals an instance of PublicGatewayCollection from the specified map of raw messages.

func UnmarshalPublicGatewayCollectionFirst

func UnmarshalPublicGatewayCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayCollectionFirst unmarshals an instance of PublicGatewayCollectionFirst from the specified map of raw messages.

func UnmarshalPublicGatewayCollectionNext

func UnmarshalPublicGatewayCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayCollectionNext unmarshals an instance of PublicGatewayCollectionNext from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIP

func UnmarshalPublicGatewayFloatingIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIP unmarshals an instance of PublicGatewayFloatingIP from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototype added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototype unmarshals an instance of PublicGatewayFloatingIPPrototype from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentity added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentity unmarshals an instance of PublicGatewayFloatingIPPrototypeFloatingIPIdentity from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress unmarshals an instance of PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN unmarshals an instance of PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref unmarshals an instance of PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID unmarshals an instance of PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID from the specified map of raw messages.

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext added in v0.3.0

func UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext unmarshals an instance of PublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext from the specified map of raw messages.

func UnmarshalPublicGatewayIdentity

func UnmarshalPublicGatewayIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayIdentity unmarshals an instance of PublicGatewayIdentity from the specified map of raw messages.

func UnmarshalPublicGatewayIdentityPublicGatewayIdentityByCRN added in v0.15.0

func UnmarshalPublicGatewayIdentityPublicGatewayIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayIdentityPublicGatewayIdentityByCRN unmarshals an instance of PublicGatewayIdentityPublicGatewayIdentityByCRN from the specified map of raw messages.

func UnmarshalPublicGatewayIdentityPublicGatewayIdentityByHref added in v0.15.0

func UnmarshalPublicGatewayIdentityPublicGatewayIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayIdentityPublicGatewayIdentityByHref unmarshals an instance of PublicGatewayIdentityPublicGatewayIdentityByHref from the specified map of raw messages.

func UnmarshalPublicGatewayIdentityPublicGatewayIdentityByID added in v0.15.0

func UnmarshalPublicGatewayIdentityPublicGatewayIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayIdentityPublicGatewayIdentityByID unmarshals an instance of PublicGatewayIdentityPublicGatewayIdentityByID from the specified map of raw messages.

func UnmarshalPublicGatewayPatch added in v0.2.0

func UnmarshalPublicGatewayPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayPatch unmarshals an instance of PublicGatewayPatch from the specified map of raw messages.

func UnmarshalPublicGatewayReference

func UnmarshalPublicGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayReference unmarshals an instance of PublicGatewayReference from the specified map of raw messages.

func UnmarshalPublicGatewayReferenceDeleted added in v0.3.0

func UnmarshalPublicGatewayReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPublicGatewayReferenceDeleted unmarshals an instance of PublicGatewayReferenceDeleted from the specified map of raw messages.

func UnmarshalRegion

func UnmarshalRegion(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegion unmarshals an instance of Region from the specified map of raw messages.

func UnmarshalRegionCollection

func UnmarshalRegionCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegionCollection unmarshals an instance of RegionCollection from the specified map of raw messages.

func UnmarshalRegionIdentity added in v0.39.0

func UnmarshalRegionIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegionIdentity unmarshals an instance of RegionIdentity from the specified map of raw messages.

func UnmarshalRegionIdentityByHref added in v0.39.0

func UnmarshalRegionIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegionIdentityByHref unmarshals an instance of RegionIdentityByHref from the specified map of raw messages.

func UnmarshalRegionIdentityByName added in v0.39.0

func UnmarshalRegionIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegionIdentityByName unmarshals an instance of RegionIdentityByName from the specified map of raw messages.

func UnmarshalRegionReference

func UnmarshalRegionReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegionReference unmarshals an instance of RegionReference from the specified map of raw messages.

func UnmarshalReservation added in v0.48.0

func UnmarshalReservation(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservation unmarshals an instance of Reservation from the specified map of raw messages.

func UnmarshalReservationCapacity added in v0.48.0

func UnmarshalReservationCapacity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCapacity unmarshals an instance of ReservationCapacity from the specified map of raw messages.

func UnmarshalReservationCapacityPatch added in v0.48.0

func UnmarshalReservationCapacityPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCapacityPatch unmarshals an instance of ReservationCapacityPatch from the specified map of raw messages.

func UnmarshalReservationCapacityPrototype added in v0.48.0

func UnmarshalReservationCapacityPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCapacityPrototype unmarshals an instance of ReservationCapacityPrototype from the specified map of raw messages.

func UnmarshalReservationCollection added in v0.48.0

func UnmarshalReservationCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCollection unmarshals an instance of ReservationCollection from the specified map of raw messages.

func UnmarshalReservationCollectionFirst added in v0.48.0

func UnmarshalReservationCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCollectionFirst unmarshals an instance of ReservationCollectionFirst from the specified map of raw messages.

func UnmarshalReservationCollectionNext added in v0.48.0

func UnmarshalReservationCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCollectionNext unmarshals an instance of ReservationCollectionNext from the specified map of raw messages.

func UnmarshalReservationCommittedUse added in v0.48.0

func UnmarshalReservationCommittedUse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCommittedUse unmarshals an instance of ReservationCommittedUse from the specified map of raw messages.

func UnmarshalReservationCommittedUsePatch added in v0.48.0

func UnmarshalReservationCommittedUsePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCommittedUsePatch unmarshals an instance of ReservationCommittedUsePatch from the specified map of raw messages.

func UnmarshalReservationCommittedUsePrototype added in v0.48.0

func UnmarshalReservationCommittedUsePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationCommittedUsePrototype unmarshals an instance of ReservationCommittedUsePrototype from the specified map of raw messages.

func UnmarshalReservationIdentity added in v0.48.0

func UnmarshalReservationIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationIdentity unmarshals an instance of ReservationIdentity from the specified map of raw messages.

func UnmarshalReservationIdentityByCRN added in v0.48.0

func UnmarshalReservationIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationIdentityByCRN unmarshals an instance of ReservationIdentityByCRN from the specified map of raw messages.

func UnmarshalReservationIdentityByHref added in v0.48.0

func UnmarshalReservationIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationIdentityByHref unmarshals an instance of ReservationIdentityByHref from the specified map of raw messages.

func UnmarshalReservationIdentityByID added in v0.48.0

func UnmarshalReservationIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationIdentityByID unmarshals an instance of ReservationIdentityByID from the specified map of raw messages.

func UnmarshalReservationPatch added in v0.48.0

func UnmarshalReservationPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationPatch unmarshals an instance of ReservationPatch from the specified map of raw messages.

func UnmarshalReservationProfile added in v0.48.0

func UnmarshalReservationProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationProfile unmarshals an instance of ReservationProfile from the specified map of raw messages.

func UnmarshalReservationProfilePatch added in v0.48.0

func UnmarshalReservationProfilePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationProfilePatch unmarshals an instance of ReservationProfilePatch from the specified map of raw messages.

func UnmarshalReservationProfilePrototype added in v0.48.0

func UnmarshalReservationProfilePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationProfilePrototype unmarshals an instance of ReservationProfilePrototype from the specified map of raw messages.

func UnmarshalReservationReference added in v0.48.0

func UnmarshalReservationReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationReference unmarshals an instance of ReservationReference from the specified map of raw messages.

func UnmarshalReservationReferenceDeleted added in v0.48.0

func UnmarshalReservationReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationReferenceDeleted unmarshals an instance of ReservationReferenceDeleted from the specified map of raw messages.

func UnmarshalReservationStatusReason added in v0.48.0

func UnmarshalReservationStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservationStatusReason unmarshals an instance of ReservationStatusReason from the specified map of raw messages.

func UnmarshalReservedIP added in v0.3.0

func UnmarshalReservedIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIP unmarshals an instance of ReservedIP from the specified map of raw messages.

func UnmarshalReservedIPCollection added in v0.3.0

func UnmarshalReservedIPCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollection unmarshals an instance of ReservedIPCollection from the specified map of raw messages.

func UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContext added in v0.41.0

func UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContext unmarshals an instance of ReservedIPCollectionBareMetalServerNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst added in v0.41.0

func UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst unmarshals an instance of ReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst from the specified map of raw messages.

func UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContextNext added in v0.41.0

func UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContextNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionBareMetalServerNetworkInterfaceContextNext unmarshals an instance of ReservedIPCollectionBareMetalServerNetworkInterfaceContextNext from the specified map of raw messages.

func UnmarshalReservedIPCollectionEndpointGatewayContext added in v0.3.0

func UnmarshalReservedIPCollectionEndpointGatewayContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionEndpointGatewayContext unmarshals an instance of ReservedIPCollectionEndpointGatewayContext from the specified map of raw messages.

func UnmarshalReservedIPCollectionEndpointGatewayContextFirst added in v0.3.0

func UnmarshalReservedIPCollectionEndpointGatewayContextFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionEndpointGatewayContextFirst unmarshals an instance of ReservedIPCollectionEndpointGatewayContextFirst from the specified map of raw messages.

func UnmarshalReservedIPCollectionEndpointGatewayContextNext added in v0.3.0

func UnmarshalReservedIPCollectionEndpointGatewayContextNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionEndpointGatewayContextNext unmarshals an instance of ReservedIPCollectionEndpointGatewayContextNext from the specified map of raw messages.

func UnmarshalReservedIPCollectionFirst added in v0.3.0

func UnmarshalReservedIPCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionFirst unmarshals an instance of ReservedIPCollectionFirst from the specified map of raw messages.

func UnmarshalReservedIPCollectionInstanceNetworkInterfaceContext added in v0.41.0

func UnmarshalReservedIPCollectionInstanceNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionInstanceNetworkInterfaceContext unmarshals an instance of ReservedIPCollectionInstanceNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalReservedIPCollectionInstanceNetworkInterfaceContextFirst added in v0.41.0

func UnmarshalReservedIPCollectionInstanceNetworkInterfaceContextFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionInstanceNetworkInterfaceContextFirst unmarshals an instance of ReservedIPCollectionInstanceNetworkInterfaceContextFirst from the specified map of raw messages.

func UnmarshalReservedIPCollectionInstanceNetworkInterfaceContextNext added in v0.41.0

func UnmarshalReservedIPCollectionInstanceNetworkInterfaceContextNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionInstanceNetworkInterfaceContextNext unmarshals an instance of ReservedIPCollectionInstanceNetworkInterfaceContextNext from the specified map of raw messages.

func UnmarshalReservedIPCollectionNext added in v0.3.0

func UnmarshalReservedIPCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionNext unmarshals an instance of ReservedIPCollectionNext from the specified map of raw messages.

func UnmarshalReservedIPCollectionVirtualNetworkInterfaceContext added in v0.47.0

func UnmarshalReservedIPCollectionVirtualNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionVirtualNetworkInterfaceContext unmarshals an instance of ReservedIPCollectionVirtualNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalReservedIPCollectionVirtualNetworkInterfaceContextFirst added in v0.47.0

func UnmarshalReservedIPCollectionVirtualNetworkInterfaceContextFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionVirtualNetworkInterfaceContextFirst unmarshals an instance of ReservedIPCollectionVirtualNetworkInterfaceContextFirst from the specified map of raw messages.

func UnmarshalReservedIPCollectionVirtualNetworkInterfaceContextNext added in v0.47.0

func UnmarshalReservedIPCollectionVirtualNetworkInterfaceContextNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPCollectionVirtualNetworkInterfaceContextNext unmarshals an instance of ReservedIPCollectionVirtualNetworkInterfaceContextNext from the specified map of raw messages.

func UnmarshalReservedIPPatch added in v0.3.0

func UnmarshalReservedIPPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPPatch unmarshals an instance of ReservedIPPatch from the specified map of raw messages.

func UnmarshalReservedIPReference added in v0.3.0

func UnmarshalReservedIPReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPReference unmarshals an instance of ReservedIPReference from the specified map of raw messages.

func UnmarshalReservedIPReferenceDeleted added in v0.3.0

func UnmarshalReservedIPReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPReferenceDeleted unmarshals an instance of ReservedIPReferenceDeleted from the specified map of raw messages.

func UnmarshalReservedIPTarget added in v0.3.0

func UnmarshalReservedIPTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTarget unmarshals an instance of ReservedIPTarget from the specified map of raw messages.

func UnmarshalReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext added in v0.41.0

func UnmarshalReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext unmarshals an instance of ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext from the specified map of raw messages.

func UnmarshalReservedIPTargetEndpointGatewayReference added in v0.3.0

func UnmarshalReservedIPTargetEndpointGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetEndpointGatewayReference unmarshals an instance of ReservedIPTargetEndpointGatewayReference from the specified map of raw messages.

func UnmarshalReservedIPTargetGenericResourceReference added in v0.19.0

func UnmarshalReservedIPTargetGenericResourceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetGenericResourceReference unmarshals an instance of ReservedIPTargetGenericResourceReference from the specified map of raw messages.

func UnmarshalReservedIPTargetLoadBalancerReference added in v0.19.0

func UnmarshalReservedIPTargetLoadBalancerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetLoadBalancerReference unmarshals an instance of ReservedIPTargetLoadBalancerReference from the specified map of raw messages.

func UnmarshalReservedIPTargetNetworkInterfaceReferenceTargetContext added in v0.19.0

func UnmarshalReservedIPTargetNetworkInterfaceReferenceTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetNetworkInterfaceReferenceTargetContext unmarshals an instance of ReservedIPTargetNetworkInterfaceReferenceTargetContext from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototype added in v0.3.0

func UnmarshalReservedIPTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototype unmarshals an instance of ReservedIPTargetPrototype from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentity added in v0.3.0

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentity unmarshals an instance of ReservedIPTargetPrototypeEndpointGatewayIdentity from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN added in v0.3.0

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN unmarshals an instance of ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref added in v0.3.0

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref unmarshals an instance of ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID added in v0.3.0

func UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID unmarshals an instance of ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity unmarshals an instance of ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalReservedIPTargetVPNGatewayReference added in v0.19.0

func UnmarshalReservedIPTargetVPNGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetVPNGatewayReference unmarshals an instance of ReservedIPTargetVPNGatewayReference from the specified map of raw messages.

func UnmarshalReservedIPTargetVPNServerReference added in v0.22.0

func UnmarshalReservedIPTargetVPNServerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetVPNServerReference unmarshals an instance of ReservedIPTargetVPNServerReference from the specified map of raw messages.

func UnmarshalReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext added in v0.41.0

func UnmarshalReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext unmarshals an instance of ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext from the specified map of raw messages.

func UnmarshalResourceFilter added in v0.22.0

func UnmarshalResourceFilter(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceFilter unmarshals an instance of ResourceFilter from the specified map of raw messages.

func UnmarshalResourceGroupIdentity

func UnmarshalResourceGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceGroupIdentity unmarshals an instance of ResourceGroupIdentity from the specified map of raw messages.

func UnmarshalResourceGroupIdentityByID

func UnmarshalResourceGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceGroupIdentityByID unmarshals an instance of ResourceGroupIdentityByID from the specified map of raw messages.

func UnmarshalResourceGroupReference

func UnmarshalResourceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceGroupReference unmarshals an instance of ResourceGroupReference from the specified map of raw messages.

func UnmarshalRoute

func UnmarshalRoute(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoute unmarshals an instance of Route from the specified map of raw messages.

func UnmarshalRouteCollection

func UnmarshalRouteCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollection unmarshals an instance of RouteCollection from the specified map of raw messages.

func UnmarshalRouteCollectionFirst added in v0.3.0

func UnmarshalRouteCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollectionFirst unmarshals an instance of RouteCollectionFirst from the specified map of raw messages.

func UnmarshalRouteCollectionNext added in v0.3.0

func UnmarshalRouteCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollectionNext unmarshals an instance of RouteCollectionNext from the specified map of raw messages.

func UnmarshalRouteCollectionVPCContext added in v0.39.0

func UnmarshalRouteCollectionVPCContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollectionVPCContext unmarshals an instance of RouteCollectionVPCContext from the specified map of raw messages.

func UnmarshalRouteCollectionVPCContextFirst added in v0.39.0

func UnmarshalRouteCollectionVPCContextFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollectionVPCContextFirst unmarshals an instance of RouteCollectionVPCContextFirst from the specified map of raw messages.

func UnmarshalRouteCollectionVPCContextNext added in v0.39.0

func UnmarshalRouteCollectionVPCContextNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollectionVPCContextNext unmarshals an instance of RouteCollectionVPCContextNext from the specified map of raw messages.

func UnmarshalRouteCollectionVPCContextRoutesItem added in v0.39.0

func UnmarshalRouteCollectionVPCContextRoutesItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCollectionVPCContextRoutesItem unmarshals an instance of RouteCollectionVPCContextRoutesItem from the specified map of raw messages.

func UnmarshalRouteCreator added in v0.22.0

func UnmarshalRouteCreator(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCreator unmarshals an instance of RouteCreator from the specified map of raw messages.

func UnmarshalRouteCreatorVPNGatewayReference added in v0.22.0

func UnmarshalRouteCreatorVPNGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCreatorVPNGatewayReference unmarshals an instance of RouteCreatorVPNGatewayReference from the specified map of raw messages.

func UnmarshalRouteCreatorVPNServerReference added in v0.22.0

func UnmarshalRouteCreatorVPNServerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteCreatorVPNServerReference unmarshals an instance of RouteCreatorVPNServerReference from the specified map of raw messages.

func UnmarshalRouteNextHop

func UnmarshalRouteNextHop(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHop unmarshals an instance of RouteNextHop from the specified map of raw messages.

func UnmarshalRouteNextHopIP

func UnmarshalRouteNextHopIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopIP unmarshals an instance of RouteNextHopIP from the specified map of raw messages.

func UnmarshalRouteNextHopPatch added in v0.34.0

func UnmarshalRouteNextHopPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatch unmarshals an instance of RouteNextHopPatch from the specified map of raw messages.

func UnmarshalRouteNextHopPatchRouteNextHopIP added in v0.34.0

func UnmarshalRouteNextHopPatchRouteNextHopIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatchRouteNextHopIP unmarshals an instance of RouteNextHopPatchRouteNextHopIP from the specified map of raw messages.

func UnmarshalRouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP added in v0.37.0

func UnmarshalRouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP unmarshals an instance of RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP from the specified map of raw messages.

func UnmarshalRouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP added in v0.37.0

func UnmarshalRouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP unmarshals an instance of RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP from the specified map of raw messages.

func UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentity added in v0.34.0

func UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentity unmarshals an instance of RouteNextHopPatchVPNGatewayConnectionIdentity from the specified map of raw messages.

func UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref added in v0.34.0

func UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref unmarshals an instance of RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref from the specified map of raw messages.

func UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID added in v0.34.0

func UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID unmarshals an instance of RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID from the specified map of raw messages.

func UnmarshalRouteNextHopVPNGatewayConnectionReference added in v0.3.0

func UnmarshalRouteNextHopVPNGatewayConnectionReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteNextHopVPNGatewayConnectionReference unmarshals an instance of RouteNextHopVPNGatewayConnectionReference from the specified map of raw messages.

func UnmarshalRoutePatch added in v0.2.0

func UnmarshalRoutePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePatch unmarshals an instance of RoutePatch from the specified map of raw messages.

func UnmarshalRoutePrototype added in v0.3.0

func UnmarshalRoutePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototype unmarshals an instance of RoutePrototype from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHop added in v0.22.0

func UnmarshalRoutePrototypeNextHop(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHop unmarshals an instance of RoutePrototypeNextHop from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP added in v0.22.0

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP unmarshals an instance of RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP added in v0.37.0

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP unmarshals an instance of RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP added in v0.37.0

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP unmarshals an instance of RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity added in v0.22.0

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity unmarshals an instance of RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref added in v0.22.0

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref unmarshals an instance of RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref from the specified map of raw messages.

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID added in v0.22.0

func UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID unmarshals an instance of RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID from the specified map of raw messages.

func UnmarshalRouteReference added in v0.3.0

func UnmarshalRouteReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReference unmarshals an instance of RouteReference from the specified map of raw messages.

func UnmarshalRouteReferenceDeleted added in v0.3.0

func UnmarshalRouteReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReferenceDeleted unmarshals an instance of RouteReferenceDeleted from the specified map of raw messages.

func UnmarshalRoutingTable added in v0.3.0

func UnmarshalRoutingTable(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTable unmarshals an instance of RoutingTable from the specified map of raw messages.

func UnmarshalRoutingTableCollection added in v0.3.0

func UnmarshalRoutingTableCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableCollection unmarshals an instance of RoutingTableCollection from the specified map of raw messages.

func UnmarshalRoutingTableCollectionFirst added in v0.3.0

func UnmarshalRoutingTableCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableCollectionFirst unmarshals an instance of RoutingTableCollectionFirst from the specified map of raw messages.

func UnmarshalRoutingTableCollectionNext added in v0.3.0

func UnmarshalRoutingTableCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableCollectionNext unmarshals an instance of RoutingTableCollectionNext from the specified map of raw messages.

func UnmarshalRoutingTableIdentity added in v0.3.0

func UnmarshalRoutingTableIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableIdentity unmarshals an instance of RoutingTableIdentity from the specified map of raw messages.

func UnmarshalRoutingTableIdentityByHref added in v0.3.0

func UnmarshalRoutingTableIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableIdentityByHref unmarshals an instance of RoutingTableIdentityByHref from the specified map of raw messages.

func UnmarshalRoutingTableIdentityByID added in v0.3.0

func UnmarshalRoutingTableIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableIdentityByID unmarshals an instance of RoutingTableIdentityByID from the specified map of raw messages.

func UnmarshalRoutingTablePatch added in v0.3.0

func UnmarshalRoutingTablePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTablePatch unmarshals an instance of RoutingTablePatch from the specified map of raw messages.

func UnmarshalRoutingTableReference added in v0.3.0

func UnmarshalRoutingTableReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableReference unmarshals an instance of RoutingTableReference from the specified map of raw messages.

func UnmarshalRoutingTableReferenceDeleted added in v0.3.0

func UnmarshalRoutingTableReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRoutingTableReferenceDeleted unmarshals an instance of RoutingTableReferenceDeleted from the specified map of raw messages.

func UnmarshalSecurityGroup

func UnmarshalSecurityGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroup unmarshals an instance of SecurityGroup from the specified map of raw messages.

func UnmarshalSecurityGroupCollection

func UnmarshalSecurityGroupCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupCollection unmarshals an instance of SecurityGroupCollection from the specified map of raw messages.

func UnmarshalSecurityGroupCollectionFirst

func UnmarshalSecurityGroupCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupCollectionFirst unmarshals an instance of SecurityGroupCollectionFirst from the specified map of raw messages.

func UnmarshalSecurityGroupCollectionNext

func UnmarshalSecurityGroupCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupCollectionNext unmarshals an instance of SecurityGroupCollectionNext from the specified map of raw messages.

func UnmarshalSecurityGroupIdentity

func UnmarshalSecurityGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupIdentity unmarshals an instance of SecurityGroupIdentity from the specified map of raw messages.

func UnmarshalSecurityGroupIdentityByCRN

func UnmarshalSecurityGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupIdentityByCRN unmarshals an instance of SecurityGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalSecurityGroupIdentityByHref

func UnmarshalSecurityGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupIdentityByHref unmarshals an instance of SecurityGroupIdentityByHref from the specified map of raw messages.

func UnmarshalSecurityGroupIdentityByID

func UnmarshalSecurityGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupIdentityByID unmarshals an instance of SecurityGroupIdentityByID from the specified map of raw messages.

func UnmarshalSecurityGroupPatch added in v0.2.0

func UnmarshalSecurityGroupPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupPatch unmarshals an instance of SecurityGroupPatch from the specified map of raw messages.

func UnmarshalSecurityGroupReference

func UnmarshalSecurityGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupReference unmarshals an instance of SecurityGroupReference from the specified map of raw messages.

func UnmarshalSecurityGroupReferenceDeleted added in v0.3.0

func UnmarshalSecurityGroupReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupReferenceDeleted unmarshals an instance of SecurityGroupReferenceDeleted from the specified map of raw messages.

func UnmarshalSecurityGroupRule

func UnmarshalSecurityGroupRule(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRule unmarshals an instance of SecurityGroupRule from the specified map of raw messages.

func UnmarshalSecurityGroupRuleCollection

func UnmarshalSecurityGroupRuleCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleCollection unmarshals an instance of SecurityGroupRuleCollection from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocal added in v0.50.0

func UnmarshalSecurityGroupRuleLocal(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocal unmarshals an instance of SecurityGroupRuleLocal from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalCIDR added in v0.50.0

func UnmarshalSecurityGroupRuleLocalCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalCIDR unmarshals an instance of SecurityGroupRuleLocalCIDR from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalIP added in v0.50.0

func UnmarshalSecurityGroupRuleLocalIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalIP unmarshals an instance of SecurityGroupRuleLocalIP from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalPatch added in v0.50.0

func UnmarshalSecurityGroupRuleLocalPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalPatch unmarshals an instance of SecurityGroupRuleLocalPatch from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalPatchCIDR added in v0.50.0

func UnmarshalSecurityGroupRuleLocalPatchCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalPatchCIDR unmarshals an instance of SecurityGroupRuleLocalPatchCIDR from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalPatchIP added in v0.50.0

func UnmarshalSecurityGroupRuleLocalPatchIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalPatchIP unmarshals an instance of SecurityGroupRuleLocalPatchIP from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalPrototype added in v0.50.0

func UnmarshalSecurityGroupRuleLocalPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalPrototype unmarshals an instance of SecurityGroupRuleLocalPrototype from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalPrototypeCIDR added in v0.50.0

func UnmarshalSecurityGroupRuleLocalPrototypeCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalPrototypeCIDR unmarshals an instance of SecurityGroupRuleLocalPrototypeCIDR from the specified map of raw messages.

func UnmarshalSecurityGroupRuleLocalPrototypeIP added in v0.50.0

func UnmarshalSecurityGroupRuleLocalPrototypeIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleLocalPrototypeIP unmarshals an instance of SecurityGroupRuleLocalPrototypeIP from the specified map of raw messages.

func UnmarshalSecurityGroupRulePatch added in v0.2.0

func UnmarshalSecurityGroupRulePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRulePatch unmarshals an instance of SecurityGroupRulePatch from the specified map of raw messages.

func UnmarshalSecurityGroupRulePrototype

func UnmarshalSecurityGroupRulePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRulePrototype unmarshals an instance of SecurityGroupRulePrototype from the specified map of raw messages.

func UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolAll

func UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolAll(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolAll unmarshals an instance of SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll from the specified map of raw messages.

func UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp

func UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp unmarshals an instance of SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp from the specified map of raw messages.

func UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp

func UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp unmarshals an instance of SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemote

func UnmarshalSecurityGroupRuleRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemote unmarshals an instance of SecurityGroupRuleRemote from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemoteCIDR

func UnmarshalSecurityGroupRuleRemoteCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemoteCIDR unmarshals an instance of SecurityGroupRuleRemoteCIDR from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemoteIP

func UnmarshalSecurityGroupRuleRemoteIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemoteIP unmarshals an instance of SecurityGroupRuleRemoteIP from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatch added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatch unmarshals an instance of SecurityGroupRuleRemotePatch from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatchCIDR added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatchCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatchCIDR unmarshals an instance of SecurityGroupRuleRemotePatchCIDR from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatchIP added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatchIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatchIP unmarshals an instance of SecurityGroupRuleRemotePatchIP from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentity added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentity unmarshals an instance of SecurityGroupRuleRemotePatchSecurityGroupIdentity from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN unmarshals an instance of SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref unmarshals an instance of SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID added in v0.3.0

func UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID unmarshals an instance of SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototype added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototype unmarshals an instance of SecurityGroupRuleRemotePrototype from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototypeCIDR added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototypeCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototypeCIDR unmarshals an instance of SecurityGroupRuleRemotePrototypeCIDR from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototypeIP added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototypeIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototypeIP unmarshals an instance of SecurityGroupRuleRemotePrototypeIP from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentity added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentity unmarshals an instance of SecurityGroupRuleRemotePrototypeSecurityGroupIdentity from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN unmarshals an instance of SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref unmarshals an instance of SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID added in v0.3.1

func UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID unmarshals an instance of SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID from the specified map of raw messages.

func UnmarshalSecurityGroupRuleRemoteSecurityGroupReference

func UnmarshalSecurityGroupRuleRemoteSecurityGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleRemoteSecurityGroupReference unmarshals an instance of SecurityGroupRuleRemoteSecurityGroupReference from the specified map of raw messages.

func UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolAll added in v0.0.3

func UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolAll(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolAll unmarshals an instance of SecurityGroupRuleSecurityGroupRuleProtocolAll from the specified map of raw messages.

func UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolIcmp added in v0.0.3

func UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolIcmp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolIcmp unmarshals an instance of SecurityGroupRuleSecurityGroupRuleProtocolIcmp from the specified map of raw messages.

func UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolTcpudp added in v0.0.3

func UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolTcpudp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupRuleSecurityGroupRuleProtocolTcpudp unmarshals an instance of SecurityGroupRuleSecurityGroupRuleProtocolTcpudp from the specified map of raw messages.

func UnmarshalSecurityGroupTargetCollection added in v0.5.0

func UnmarshalSecurityGroupTargetCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetCollection unmarshals an instance of SecurityGroupTargetCollection from the specified map of raw messages.

func UnmarshalSecurityGroupTargetCollectionFirst added in v0.5.0

func UnmarshalSecurityGroupTargetCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetCollectionFirst unmarshals an instance of SecurityGroupTargetCollectionFirst from the specified map of raw messages.

func UnmarshalSecurityGroupTargetCollectionNext added in v0.5.0

func UnmarshalSecurityGroupTargetCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetCollectionNext unmarshals an instance of SecurityGroupTargetCollectionNext from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReference added in v0.5.0

func UnmarshalSecurityGroupTargetReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReference unmarshals an instance of SecurityGroupTargetReference from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext added in v0.41.0

func UnmarshalSecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext unmarshals an instance of SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReferenceEndpointGatewayReference added in v0.15.0

func UnmarshalSecurityGroupTargetReferenceEndpointGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReferenceEndpointGatewayReference unmarshals an instance of SecurityGroupTargetReferenceEndpointGatewayReference from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReferenceLoadBalancerReference added in v0.5.0

func UnmarshalSecurityGroupTargetReferenceLoadBalancerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReferenceLoadBalancerReference unmarshals an instance of SecurityGroupTargetReferenceLoadBalancerReference from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext added in v0.5.0

func UnmarshalSecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext unmarshals an instance of SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReferenceVPNServerReference added in v0.22.0

func UnmarshalSecurityGroupTargetReferenceVPNServerReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReferenceVPNServerReference unmarshals an instance of SecurityGroupTargetReferenceVPNServerReference from the specified map of raw messages.

func UnmarshalSecurityGroupTargetReferenceVirtualNetworkInterfaceReference added in v0.41.0

func UnmarshalSecurityGroupTargetReferenceVirtualNetworkInterfaceReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecurityGroupTargetReferenceVirtualNetworkInterfaceReference unmarshals an instance of SecurityGroupTargetReferenceVirtualNetworkInterfaceReference from the specified map of raw messages.

func UnmarshalShare added in v0.41.0

func UnmarshalShare(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShare unmarshals an instance of Share from the specified map of raw messages.

func UnmarshalShareCollection added in v0.41.0

func UnmarshalShareCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareCollection unmarshals an instance of ShareCollection from the specified map of raw messages.

func UnmarshalShareCollectionFirst added in v0.41.0

func UnmarshalShareCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareCollectionFirst unmarshals an instance of ShareCollectionFirst from the specified map of raw messages.

func UnmarshalShareCollectionNext added in v0.41.0

func UnmarshalShareCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareCollectionNext unmarshals an instance of ShareCollectionNext from the specified map of raw messages.

func UnmarshalShareIdentity added in v0.41.0

func UnmarshalShareIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareIdentity unmarshals an instance of ShareIdentity from the specified map of raw messages.

func UnmarshalShareIdentityByCRN added in v0.41.0

func UnmarshalShareIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareIdentityByCRN unmarshals an instance of ShareIdentityByCRN from the specified map of raw messages.

func UnmarshalShareIdentityByHref added in v0.41.0

func UnmarshalShareIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareIdentityByHref unmarshals an instance of ShareIdentityByHref from the specified map of raw messages.

func UnmarshalShareIdentityByID added in v0.41.0

func UnmarshalShareIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareIdentityByID unmarshals an instance of ShareIdentityByID from the specified map of raw messages.

func UnmarshalShareInitialOwner added in v0.41.0

func UnmarshalShareInitialOwner(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareInitialOwner unmarshals an instance of ShareInitialOwner from the specified map of raw messages.

func UnmarshalShareJob added in v0.41.0

func UnmarshalShareJob(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareJob unmarshals an instance of ShareJob from the specified map of raw messages.

func UnmarshalShareJobStatusReason added in v0.41.0

func UnmarshalShareJobStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareJobStatusReason unmarshals an instance of ShareJobStatusReason from the specified map of raw messages.

func UnmarshalShareLatestSync added in v0.46.0

func UnmarshalShareLatestSync(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareLatestSync unmarshals an instance of ShareLatestSync from the specified map of raw messages.

func UnmarshalShareMountTarget added in v0.41.0

func UnmarshalShareMountTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTarget unmarshals an instance of ShareMountTarget from the specified map of raw messages.

func UnmarshalShareMountTargetCollection added in v0.41.0

func UnmarshalShareMountTargetCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetCollection unmarshals an instance of ShareMountTargetCollection from the specified map of raw messages.

func UnmarshalShareMountTargetCollectionFirst added in v0.41.0

func UnmarshalShareMountTargetCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetCollectionFirst unmarshals an instance of ShareMountTargetCollectionFirst from the specified map of raw messages.

func UnmarshalShareMountTargetCollectionNext added in v0.41.0

func UnmarshalShareMountTargetCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetCollectionNext unmarshals an instance of ShareMountTargetCollectionNext from the specified map of raw messages.

func UnmarshalShareMountTargetPatch added in v0.41.0

func UnmarshalShareMountTargetPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetPatch unmarshals an instance of ShareMountTargetPatch from the specified map of raw messages.

func UnmarshalShareMountTargetPrototype added in v0.41.0

func UnmarshalShareMountTargetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetPrototype unmarshals an instance of ShareMountTargetPrototype from the specified map of raw messages.

func UnmarshalShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup added in v0.41.0

func UnmarshalShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup unmarshals an instance of ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup from the specified map of raw messages.

func UnmarshalShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC added in v0.41.0

func UnmarshalShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC unmarshals an instance of ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC from the specified map of raw messages.

func UnmarshalShareMountTargetReference added in v0.41.0

func UnmarshalShareMountTargetReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetReference unmarshals an instance of ShareMountTargetReference from the specified map of raw messages.

func UnmarshalShareMountTargetReferenceDeleted added in v0.41.0

func UnmarshalShareMountTargetReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetReferenceDeleted unmarshals an instance of ShareMountTargetReferenceDeleted from the specified map of raw messages.

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototype added in v0.41.0

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetVirtualNetworkInterfacePrototype unmarshals an instance of ShareMountTargetVirtualNetworkInterfacePrototype from the specified map of raw messages.

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity unmarshals an instance of ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity from the specified map of raw messages.

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN unmarshals an instance of ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN from the specified map of raw messages.

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref unmarshals an instance of ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref from the specified map of raw messages.

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID unmarshals an instance of ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID from the specified map of raw messages.

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext added in v0.41.0

func UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext unmarshals an instance of ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext from the specified map of raw messages.

func UnmarshalSharePatch added in v0.41.0

func UnmarshalSharePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSharePatch unmarshals an instance of SharePatch from the specified map of raw messages.

func UnmarshalShareProfile added in v0.41.0

func UnmarshalShareProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfile unmarshals an instance of ShareProfile from the specified map of raw messages.

func UnmarshalShareProfileCapacity added in v0.41.0

func UnmarshalShareProfileCapacity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCapacity unmarshals an instance of ShareProfileCapacity from the specified map of raw messages.

func UnmarshalShareProfileCapacityDependentRange added in v0.41.0

func UnmarshalShareProfileCapacityDependentRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCapacityDependentRange unmarshals an instance of ShareProfileCapacityDependentRange from the specified map of raw messages.

func UnmarshalShareProfileCapacityEnum added in v0.41.0

func UnmarshalShareProfileCapacityEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCapacityEnum unmarshals an instance of ShareProfileCapacityEnum from the specified map of raw messages.

func UnmarshalShareProfileCapacityFixed added in v0.41.0

func UnmarshalShareProfileCapacityFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCapacityFixed unmarshals an instance of ShareProfileCapacityFixed from the specified map of raw messages.

func UnmarshalShareProfileCapacityRange added in v0.41.0

func UnmarshalShareProfileCapacityRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCapacityRange unmarshals an instance of ShareProfileCapacityRange from the specified map of raw messages.

func UnmarshalShareProfileCollection added in v0.41.0

func UnmarshalShareProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCollection unmarshals an instance of ShareProfileCollection from the specified map of raw messages.

func UnmarshalShareProfileCollectionFirst added in v0.41.0

func UnmarshalShareProfileCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCollectionFirst unmarshals an instance of ShareProfileCollectionFirst from the specified map of raw messages.

func UnmarshalShareProfileCollectionNext added in v0.41.0

func UnmarshalShareProfileCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileCollectionNext unmarshals an instance of ShareProfileCollectionNext from the specified map of raw messages.

func UnmarshalShareProfileIdentity added in v0.41.0

func UnmarshalShareProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIdentity unmarshals an instance of ShareProfileIdentity from the specified map of raw messages.

func UnmarshalShareProfileIdentityByHref added in v0.41.0

func UnmarshalShareProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIdentityByHref unmarshals an instance of ShareProfileIdentityByHref from the specified map of raw messages.

func UnmarshalShareProfileIdentityByName added in v0.41.0

func UnmarshalShareProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIdentityByName unmarshals an instance of ShareProfileIdentityByName from the specified map of raw messages.

func UnmarshalShareProfileIops added in v0.41.0

func UnmarshalShareProfileIops(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIops unmarshals an instance of ShareProfileIops from the specified map of raw messages.

func UnmarshalShareProfileIopsDependentRange added in v0.41.0

func UnmarshalShareProfileIopsDependentRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIopsDependentRange unmarshals an instance of ShareProfileIopsDependentRange from the specified map of raw messages.

func UnmarshalShareProfileIopsEnum added in v0.41.0

func UnmarshalShareProfileIopsEnum(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIopsEnum unmarshals an instance of ShareProfileIopsEnum from the specified map of raw messages.

func UnmarshalShareProfileIopsFixed added in v0.41.0

func UnmarshalShareProfileIopsFixed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIopsFixed unmarshals an instance of ShareProfileIopsFixed from the specified map of raw messages.

func UnmarshalShareProfileIopsRange added in v0.41.0

func UnmarshalShareProfileIopsRange(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileIopsRange unmarshals an instance of ShareProfileIopsRange from the specified map of raw messages.

func UnmarshalShareProfileReference added in v0.41.0

func UnmarshalShareProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareProfileReference unmarshals an instance of ShareProfileReference from the specified map of raw messages.

func UnmarshalSharePrototype added in v0.41.0

func UnmarshalSharePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSharePrototype unmarshals an instance of SharePrototype from the specified map of raw messages.

func UnmarshalSharePrototypeShareBySize added in v0.41.0

func UnmarshalSharePrototypeShareBySize(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSharePrototypeShareBySize unmarshals an instance of SharePrototypeShareBySize from the specified map of raw messages.

func UnmarshalSharePrototypeShareBySourceShare added in v0.41.0

func UnmarshalSharePrototypeShareBySourceShare(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSharePrototypeShareBySourceShare unmarshals an instance of SharePrototypeShareBySourceShare from the specified map of raw messages.

func UnmarshalSharePrototypeShareContext added in v0.41.0

func UnmarshalSharePrototypeShareContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSharePrototypeShareContext unmarshals an instance of SharePrototypeShareContext from the specified map of raw messages.

func UnmarshalShareReference added in v0.41.0

func UnmarshalShareReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareReference unmarshals an instance of ShareReference from the specified map of raw messages.

func UnmarshalShareReferenceDeleted added in v0.41.0

func UnmarshalShareReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareReferenceDeleted unmarshals an instance of ShareReferenceDeleted from the specified map of raw messages.

func UnmarshalShareRemote added in v0.46.0

func UnmarshalShareRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareRemote unmarshals an instance of ShareRemote from the specified map of raw messages.

func UnmarshalShareReplicationStatusReason added in v0.41.0

func UnmarshalShareReplicationStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalShareReplicationStatusReason unmarshals an instance of ShareReplicationStatusReason from the specified map of raw messages.

func UnmarshalSnapshot added in v0.7.0

func UnmarshalSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshot unmarshals an instance of Snapshot from the specified map of raw messages.

func UnmarshalSnapshotClone added in v0.31.0

func UnmarshalSnapshotClone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotClone unmarshals an instance of SnapshotClone from the specified map of raw messages.

func UnmarshalSnapshotCloneCollection added in v0.31.0

func UnmarshalSnapshotCloneCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotCloneCollection unmarshals an instance of SnapshotCloneCollection from the specified map of raw messages.

func UnmarshalSnapshotClonePrototype added in v0.31.0

func UnmarshalSnapshotClonePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotClonePrototype unmarshals an instance of SnapshotClonePrototype from the specified map of raw messages.

func UnmarshalSnapshotCollection added in v0.7.0

func UnmarshalSnapshotCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotCollection unmarshals an instance of SnapshotCollection from the specified map of raw messages.

func UnmarshalSnapshotCollectionFirst added in v0.7.0

func UnmarshalSnapshotCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotCollectionFirst unmarshals an instance of SnapshotCollectionFirst from the specified map of raw messages.

func UnmarshalSnapshotCollectionNext added in v0.7.0

func UnmarshalSnapshotCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotCollectionNext unmarshals an instance of SnapshotCollectionNext from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroup added in v0.45.0

func UnmarshalSnapshotConsistencyGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroup unmarshals an instance of SnapshotConsistencyGroup from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupCollection added in v0.45.0

func UnmarshalSnapshotConsistencyGroupCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupCollection unmarshals an instance of SnapshotConsistencyGroupCollection from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupCollectionFirst added in v0.45.0

func UnmarshalSnapshotConsistencyGroupCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupCollectionFirst unmarshals an instance of SnapshotConsistencyGroupCollectionFirst from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupCollectionNext added in v0.45.0

func UnmarshalSnapshotConsistencyGroupCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupCollectionNext unmarshals an instance of SnapshotConsistencyGroupCollectionNext from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupPatch added in v0.45.0

func UnmarshalSnapshotConsistencyGroupPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupPatch unmarshals an instance of SnapshotConsistencyGroupPatch from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupPrototype added in v0.45.0

func UnmarshalSnapshotConsistencyGroupPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupPrototype unmarshals an instance of SnapshotConsistencyGroupPrototype from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots added in v0.45.0

func UnmarshalSnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots unmarshals an instance of SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupReference added in v0.45.0

func UnmarshalSnapshotConsistencyGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupReference unmarshals an instance of SnapshotConsistencyGroupReference from the specified map of raw messages.

func UnmarshalSnapshotConsistencyGroupReferenceDeleted added in v0.45.0

func UnmarshalSnapshotConsistencyGroupReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotConsistencyGroupReferenceDeleted unmarshals an instance of SnapshotConsistencyGroupReferenceDeleted from the specified map of raw messages.

func UnmarshalSnapshotCopiesItem added in v0.39.0

func UnmarshalSnapshotCopiesItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotCopiesItem unmarshals an instance of SnapshotCopiesItem from the specified map of raw messages.

func UnmarshalSnapshotIdentity added in v0.7.0

func UnmarshalSnapshotIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotIdentity unmarshals an instance of SnapshotIdentity from the specified map of raw messages.

func UnmarshalSnapshotIdentityByCRN added in v0.7.0

func UnmarshalSnapshotIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotIdentityByCRN unmarshals an instance of SnapshotIdentityByCRN from the specified map of raw messages.

func UnmarshalSnapshotIdentityByHref added in v0.7.0

func UnmarshalSnapshotIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotIdentityByHref unmarshals an instance of SnapshotIdentityByHref from the specified map of raw messages.

func UnmarshalSnapshotIdentityByID added in v0.7.0

func UnmarshalSnapshotIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotIdentityByID unmarshals an instance of SnapshotIdentityByID from the specified map of raw messages.

func UnmarshalSnapshotPatch added in v0.7.0

func UnmarshalSnapshotPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotPatch unmarshals an instance of SnapshotPatch from the specified map of raw messages.

func UnmarshalSnapshotPrototype added in v0.20.0

func UnmarshalSnapshotPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotPrototype unmarshals an instance of SnapshotPrototype from the specified map of raw messages.

func UnmarshalSnapshotPrototypeSnapshotBySourceSnapshot added in v0.39.0

func UnmarshalSnapshotPrototypeSnapshotBySourceSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotPrototypeSnapshotBySourceSnapshot unmarshals an instance of SnapshotPrototypeSnapshotBySourceSnapshot from the specified map of raw messages.

func UnmarshalSnapshotPrototypeSnapshotBySourceVolume added in v0.20.0

func UnmarshalSnapshotPrototypeSnapshotBySourceVolume(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotPrototypeSnapshotBySourceVolume unmarshals an instance of SnapshotPrototypeSnapshotBySourceVolume from the specified map of raw messages.

func UnmarshalSnapshotPrototypeSnapshotConsistencyGroupContext added in v0.49.0

func UnmarshalSnapshotPrototypeSnapshotConsistencyGroupContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotPrototypeSnapshotConsistencyGroupContext unmarshals an instance of SnapshotPrototypeSnapshotConsistencyGroupContext from the specified map of raw messages.

func UnmarshalSnapshotReference added in v0.7.0

func UnmarshalSnapshotReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotReference unmarshals an instance of SnapshotReference from the specified map of raw messages.

func UnmarshalSnapshotReferenceDeleted added in v0.7.0

func UnmarshalSnapshotReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotReferenceDeleted unmarshals an instance of SnapshotReferenceDeleted from the specified map of raw messages.

func UnmarshalSnapshotRemote added in v0.39.0

func UnmarshalSnapshotRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotRemote unmarshals an instance of SnapshotRemote from the specified map of raw messages.

func UnmarshalSnapshotSourceSnapshot added in v0.39.0

func UnmarshalSnapshotSourceSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSnapshotSourceSnapshot unmarshals an instance of SnapshotSourceSnapshot from the specified map of raw messages.

func UnmarshalSubnet

func UnmarshalSubnet(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnet unmarshals an instance of Subnet from the specified map of raw messages.

func UnmarshalSubnetCollection

func UnmarshalSubnetCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetCollection unmarshals an instance of SubnetCollection from the specified map of raw messages.

func UnmarshalSubnetCollectionFirst

func UnmarshalSubnetCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetCollectionFirst unmarshals an instance of SubnetCollectionFirst from the specified map of raw messages.

func UnmarshalSubnetCollectionNext

func UnmarshalSubnetCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetCollectionNext unmarshals an instance of SubnetCollectionNext from the specified map of raw messages.

func UnmarshalSubnetIdentity

func UnmarshalSubnetIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetIdentity unmarshals an instance of SubnetIdentity from the specified map of raw messages.

func UnmarshalSubnetIdentityByCRN

func UnmarshalSubnetIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetIdentityByCRN unmarshals an instance of SubnetIdentityByCRN from the specified map of raw messages.

func UnmarshalSubnetIdentityByHref

func UnmarshalSubnetIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetIdentityByHref unmarshals an instance of SubnetIdentityByHref from the specified map of raw messages.

func UnmarshalSubnetIdentityByID

func UnmarshalSubnetIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetIdentityByID unmarshals an instance of SubnetIdentityByID from the specified map of raw messages.

func UnmarshalSubnetPatch added in v0.2.0

func UnmarshalSubnetPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPatch unmarshals an instance of SubnetPatch from the specified map of raw messages.

func UnmarshalSubnetPrototype

func UnmarshalSubnetPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPrototype unmarshals an instance of SubnetPrototype from the specified map of raw messages.

func UnmarshalSubnetPrototypeSubnetByCIDR

func UnmarshalSubnetPrototypeSubnetByCIDR(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPrototypeSubnetByCIDR unmarshals an instance of SubnetPrototypeSubnetByCIDR from the specified map of raw messages.

func UnmarshalSubnetPrototypeSubnetByTotalCount

func UnmarshalSubnetPrototypeSubnetByTotalCount(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPrototypeSubnetByTotalCount unmarshals an instance of SubnetPrototypeSubnetByTotalCount from the specified map of raw messages.

func UnmarshalSubnetPublicGatewayPatch added in v0.15.0

func UnmarshalSubnetPublicGatewayPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPublicGatewayPatch unmarshals an instance of SubnetPublicGatewayPatch from the specified map of raw messages.

func UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByCRN added in v0.15.0

func UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByCRN unmarshals an instance of SubnetPublicGatewayPatchPublicGatewayIdentityByCRN from the specified map of raw messages.

func UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByHref added in v0.15.0

func UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByHref unmarshals an instance of SubnetPublicGatewayPatchPublicGatewayIdentityByHref from the specified map of raw messages.

func UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByID added in v0.15.0

func UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetPublicGatewayPatchPublicGatewayIdentityByID unmarshals an instance of SubnetPublicGatewayPatchPublicGatewayIdentityByID from the specified map of raw messages.

func UnmarshalSubnetReference

func UnmarshalSubnetReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetReference unmarshals an instance of SubnetReference from the specified map of raw messages.

func UnmarshalSubnetReferenceDeleted added in v0.3.0

func UnmarshalSubnetReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubnetReferenceDeleted unmarshals an instance of SubnetReferenceDeleted from the specified map of raw messages.

func UnmarshalTrustedProfileIdentity added in v0.17.0

func UnmarshalTrustedProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTrustedProfileIdentity unmarshals an instance of TrustedProfileIdentity from the specified map of raw messages.

func UnmarshalTrustedProfileIdentityTrustedProfileByCRN added in v0.17.0

func UnmarshalTrustedProfileIdentityTrustedProfileByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTrustedProfileIdentityTrustedProfileByCRN unmarshals an instance of TrustedProfileIdentityTrustedProfileByCRN from the specified map of raw messages.

func UnmarshalTrustedProfileIdentityTrustedProfileByID added in v0.17.0

func UnmarshalTrustedProfileIdentityTrustedProfileByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTrustedProfileIdentityTrustedProfileByID unmarshals an instance of TrustedProfileIdentityTrustedProfileByID from the specified map of raw messages.

func UnmarshalTrustedProfileReference added in v0.17.0

func UnmarshalTrustedProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTrustedProfileReference unmarshals an instance of TrustedProfileReference from the specified map of raw messages.

func UnmarshalVPC

func UnmarshalVPC(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPC unmarshals an instance of VPC from the specified map of raw messages.

func UnmarshalVPCCollection

func UnmarshalVPCCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCCollection unmarshals an instance of VPCCollection from the specified map of raw messages.

func UnmarshalVPCCollectionFirst

func UnmarshalVPCCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCCollectionFirst unmarshals an instance of VPCCollectionFirst from the specified map of raw messages.

func UnmarshalVPCCollectionNext

func UnmarshalVPCCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCCollectionNext unmarshals an instance of VPCCollectionNext from the specified map of raw messages.

func UnmarshalVPCHealthReason added in v0.43.0

func UnmarshalVPCHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCHealthReason unmarshals an instance of VPCHealthReason from the specified map of raw messages.

func UnmarshalVPCIdentity

func UnmarshalVPCIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCIdentity unmarshals an instance of VPCIdentity from the specified map of raw messages.

func UnmarshalVPCIdentityByCRN

func UnmarshalVPCIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCIdentityByCRN unmarshals an instance of VPCIdentityByCRN from the specified map of raw messages.

func UnmarshalVPCIdentityByHref

func UnmarshalVPCIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCIdentityByHref unmarshals an instance of VPCIdentityByHref from the specified map of raw messages.

func UnmarshalVPCIdentityByID

func UnmarshalVPCIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCIdentityByID unmarshals an instance of VPCIdentityByID from the specified map of raw messages.

func UnmarshalVPCPatch added in v0.2.0

func UnmarshalVPCPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCPatch unmarshals an instance of VPCPatch from the specified map of raw messages.

func UnmarshalVPCReference

func UnmarshalVPCReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCReference unmarshals an instance of VPCReference from the specified map of raw messages.

func UnmarshalVPCReferenceDeleted added in v0.3.0

func UnmarshalVPCReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCReferenceDeleted unmarshals an instance of VPCReferenceDeleted from the specified map of raw messages.

func UnmarshalVPCReferenceDnsResolverContext added in v0.43.0

func UnmarshalVPCReferenceDnsResolverContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCReferenceDnsResolverContext unmarshals an instance of VPCReferenceDnsResolverContext from the specified map of raw messages.

func UnmarshalVPCReferenceDnsResolverContextDeleted added in v0.43.0

func UnmarshalVPCReferenceDnsResolverContextDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCReferenceDnsResolverContextDeleted unmarshals an instance of VPCReferenceDnsResolverContextDeleted from the specified map of raw messages.

func UnmarshalVPCReferenceRemote added in v0.43.0

func UnmarshalVPCReferenceRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCReferenceRemote unmarshals an instance of VPCReferenceRemote from the specified map of raw messages.

func UnmarshalVPCRemote added in v0.43.0

func UnmarshalVPCRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPCRemote unmarshals an instance of VPCRemote from the specified map of raw messages.

func UnmarshalVPNGateway

func UnmarshalVPNGateway(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGateway unmarshals an instance of VPNGateway from the specified map of raw messages.

func UnmarshalVPNGatewayCollection

func UnmarshalVPNGatewayCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayCollection unmarshals an instance of VPNGatewayCollection from the specified map of raw messages.

func UnmarshalVPNGatewayCollectionFirst

func UnmarshalVPNGatewayCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayCollectionFirst unmarshals an instance of VPNGatewayCollectionFirst from the specified map of raw messages.

func UnmarshalVPNGatewayCollectionNext

func UnmarshalVPNGatewayCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayCollectionNext unmarshals an instance of VPNGatewayCollectionNext from the specified map of raw messages.

func UnmarshalVPNGatewayConnection

func UnmarshalVPNGatewayConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnection unmarshals an instance of VPNGatewayConnection from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionCIDRs added in v0.51.0

func UnmarshalVPNGatewayConnectionCIDRs(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionCIDRs unmarshals an instance of VPNGatewayConnectionCIDRs from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionCollection

func UnmarshalVPNGatewayConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionCollection unmarshals an instance of VPNGatewayConnectionCollection from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionDpd

func UnmarshalVPNGatewayConnectionDpd(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionDpd unmarshals an instance of VPNGatewayConnectionDpd from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionDpdPatch added in v0.14.0

func UnmarshalVPNGatewayConnectionDpdPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionDpdPatch unmarshals an instance of VPNGatewayConnectionDpdPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionDpdPrototype

func UnmarshalVPNGatewayConnectionDpdPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionDpdPrototype unmarshals an instance of VPNGatewayConnectionDpdPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIPsecPolicyPatch added in v0.14.0

func UnmarshalVPNGatewayConnectionIPsecPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIPsecPolicyPatch unmarshals an instance of VPNGatewayConnectionIPsecPolicyPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref added in v0.14.0

func UnmarshalVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref unmarshals an instance of VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID added in v0.14.0

func UnmarshalVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID unmarshals an instance of VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIPsecPolicyPrototype added in v0.14.0

func UnmarshalVPNGatewayConnectionIPsecPolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIPsecPolicyPrototype unmarshals an instance of VPNGatewayConnectionIPsecPolicyPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref added in v0.14.0

func UnmarshalVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref unmarshals an instance of VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID added in v0.14.0

func UnmarshalVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID unmarshals an instance of VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentity added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentity unmarshals an instance of VPNGatewayConnectionIkeIdentity from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityPrototype added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityPrototype unmarshals an instance of VPNGatewayConnectionIkeIdentityPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn unmarshals an instance of VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname unmarshals an instance of VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 unmarshals an instance of VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID unmarshals an instance of VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn unmarshals an instance of VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname unmarshals an instance of VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 unmarshals an instance of VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID added in v0.51.0

func UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID unmarshals an instance of VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkePolicyPatch added in v0.14.0

func UnmarshalVPNGatewayConnectionIkePolicyPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkePolicyPatch unmarshals an instance of VPNGatewayConnectionIkePolicyPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref added in v0.14.0

func UnmarshalVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref unmarshals an instance of VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID added in v0.14.0

func UnmarshalVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID unmarshals an instance of VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkePolicyPrototype added in v0.14.0

func UnmarshalVPNGatewayConnectionIkePolicyPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkePolicyPrototype unmarshals an instance of VPNGatewayConnectionIkePolicyPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref added in v0.14.0

func UnmarshalVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref unmarshals an instance of VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID added in v0.14.0

func UnmarshalVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID unmarshals an instance of VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPatch added in v0.2.0

func UnmarshalVPNGatewayConnectionPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPatch unmarshals an instance of VPNGatewayConnectionPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatch unmarshals an instance of VPNGatewayConnectionPeerPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch unmarshals an instance of VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch unmarshals an instance of VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch unmarshals an instance of VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch unmarshals an instance of VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch unmarshals an instance of VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch added in v0.51.0

func UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch unmarshals an instance of VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyMode added in v0.3.0

func UnmarshalVPNGatewayConnectionPolicyMode(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyMode unmarshals an instance of VPNGatewayConnectionPolicyMode from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModeLocal added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModeLocal(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModeLocal unmarshals an instance of VPNGatewayConnectionPolicyModeLocal from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModeLocalPrototype added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModeLocalPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModeLocalPrototype unmarshals an instance of VPNGatewayConnectionPolicyModeLocalPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModePeer added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModePeer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModePeer unmarshals an instance of VPNGatewayConnectionPolicyModePeer from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModePeerPrototype added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModePeerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModePeerPrototype unmarshals an instance of VPNGatewayConnectionPolicyModePeerPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress unmarshals an instance of VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn unmarshals an instance of VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress unmarshals an instance of VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn added in v0.51.0

func UnmarshalVPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn unmarshals an instance of VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPrototype added in v0.3.0

func UnmarshalVPNGatewayConnectionPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPrototype unmarshals an instance of VPNGatewayConnectionPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype added in v0.3.0

func UnmarshalVPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype unmarshals an instance of VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype added in v0.3.0

func UnmarshalVPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype unmarshals an instance of VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionReference

func UnmarshalVPNGatewayConnectionReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionReference unmarshals an instance of VPNGatewayConnectionReference from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionReferenceDeleted added in v0.3.0

func UnmarshalVPNGatewayConnectionReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionReferenceDeleted unmarshals an instance of VPNGatewayConnectionReferenceDeleted from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionRouteMode added in v0.49.0

func UnmarshalVPNGatewayConnectionRouteMode(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionRouteMode unmarshals an instance of VPNGatewayConnectionRouteMode from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode added in v0.49.0

func UnmarshalVPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode unmarshals an instance of VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModeLocal added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModeLocal(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModeLocal unmarshals an instance of VPNGatewayConnectionStaticRouteModeLocal from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModeLocalPrototype added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModeLocalPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModeLocalPrototype unmarshals an instance of VPNGatewayConnectionStaticRouteModeLocalPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModePeer added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModePeer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModePeer unmarshals an instance of VPNGatewayConnectionStaticRouteModePeer from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototype added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototype unmarshals an instance of VPNGatewayConnectionStaticRouteModePeerPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress unmarshals an instance of VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn unmarshals an instance of VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress unmarshals an instance of VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn added in v0.51.0

func UnmarshalVPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn unmarshals an instance of VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStaticRouteModeTunnel added in v0.3.0

func UnmarshalVPNGatewayConnectionStaticRouteModeTunnel(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStaticRouteModeTunnel unmarshals an instance of VPNGatewayConnectionStaticRouteModeTunnel from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionStatusReason added in v0.43.0

func UnmarshalVPNGatewayConnectionStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionStatusReason unmarshals an instance of VPNGatewayConnectionStatusReason from the specified map of raw messages.

func UnmarshalVPNGatewayConnectionTunnelStatusReason added in v0.43.0

func UnmarshalVPNGatewayConnectionTunnelStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayConnectionTunnelStatusReason unmarshals an instance of VPNGatewayConnectionTunnelStatusReason from the specified map of raw messages.

func UnmarshalVPNGatewayHealthReason added in v0.43.0

func UnmarshalVPNGatewayHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayHealthReason unmarshals an instance of VPNGatewayHealthReason from the specified map of raw messages.

func UnmarshalVPNGatewayLifecycleReason added in v0.43.0

func UnmarshalVPNGatewayLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayLifecycleReason unmarshals an instance of VPNGatewayLifecycleReason from the specified map of raw messages.

func UnmarshalVPNGatewayMember added in v0.3.0

func UnmarshalVPNGatewayMember(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayMember unmarshals an instance of VPNGatewayMember from the specified map of raw messages.

func UnmarshalVPNGatewayMemberHealthReason added in v0.43.0

func UnmarshalVPNGatewayMemberHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayMemberHealthReason unmarshals an instance of VPNGatewayMemberHealthReason from the specified map of raw messages.

func UnmarshalVPNGatewayMemberLifecycleReason added in v0.43.0

func UnmarshalVPNGatewayMemberLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayMemberLifecycleReason unmarshals an instance of VPNGatewayMemberLifecycleReason from the specified map of raw messages.

func UnmarshalVPNGatewayPatch added in v0.2.0

func UnmarshalVPNGatewayPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayPatch unmarshals an instance of VPNGatewayPatch from the specified map of raw messages.

func UnmarshalVPNGatewayPolicyMode added in v0.3.0

func UnmarshalVPNGatewayPolicyMode(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayPolicyMode unmarshals an instance of VPNGatewayPolicyMode from the specified map of raw messages.

func UnmarshalVPNGatewayPrototype added in v0.3.0

func UnmarshalVPNGatewayPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayPrototype unmarshals an instance of VPNGatewayPrototype from the specified map of raw messages.

func UnmarshalVPNGatewayPrototypeVPNGatewayPolicyModePrototype added in v0.3.0

func UnmarshalVPNGatewayPrototypeVPNGatewayPolicyModePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayPrototypeVPNGatewayPolicyModePrototype unmarshals an instance of VPNGatewayPrototypeVPNGatewayPolicyModePrototype from the specified map of raw messages.

func UnmarshalVPNGatewayPrototypeVPNGatewayRouteModePrototype added in v0.3.0

func UnmarshalVPNGatewayPrototypeVPNGatewayRouteModePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayPrototypeVPNGatewayRouteModePrototype unmarshals an instance of VPNGatewayPrototypeVPNGatewayRouteModePrototype from the specified map of raw messages.

func UnmarshalVPNGatewayReferenceDeleted added in v0.19.0

func UnmarshalVPNGatewayReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayReferenceDeleted unmarshals an instance of VPNGatewayReferenceDeleted from the specified map of raw messages.

func UnmarshalVPNGatewayRouteMode added in v0.3.0

func UnmarshalVPNGatewayRouteMode(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNGatewayRouteMode unmarshals an instance of VPNGatewayRouteMode from the specified map of raw messages.

func UnmarshalVPNServer added in v0.22.0

func UnmarshalVPNServer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServer unmarshals an instance of VPNServer from the specified map of raw messages.

func UnmarshalVPNServerAuthentication added in v0.22.0

func UnmarshalVPNServerAuthentication(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthentication unmarshals an instance of VPNServerAuthentication from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationByCertificate added in v0.22.0

func UnmarshalVPNServerAuthenticationByCertificate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationByCertificate unmarshals an instance of VPNServerAuthenticationByCertificate from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationByUsername added in v0.22.0

func UnmarshalVPNServerAuthenticationByUsername(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationByUsername unmarshals an instance of VPNServerAuthenticationByUsername from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationByUsernameIDProvider added in v0.22.0

func UnmarshalVPNServerAuthenticationByUsernameIDProvider(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationByUsernameIDProvider unmarshals an instance of VPNServerAuthenticationByUsernameIDProvider from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationByUsernameIDProviderByIam added in v0.22.0

func UnmarshalVPNServerAuthenticationByUsernameIDProviderByIam(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationByUsernameIDProviderByIam unmarshals an instance of VPNServerAuthenticationByUsernameIDProviderByIam from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationPrototype added in v0.22.0

func UnmarshalVPNServerAuthenticationPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationPrototype unmarshals an instance of VPNServerAuthenticationPrototype from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype added in v0.22.0

func UnmarshalVPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype unmarshals an instance of VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype from the specified map of raw messages.

func UnmarshalVPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype added in v0.22.0

func UnmarshalVPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype unmarshals an instance of VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype from the specified map of raw messages.

func UnmarshalVPNServerClient added in v0.22.0

func UnmarshalVPNServerClient(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerClient unmarshals an instance of VPNServerClient from the specified map of raw messages.

func UnmarshalVPNServerClientCollection added in v0.22.0

func UnmarshalVPNServerClientCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerClientCollection unmarshals an instance of VPNServerClientCollection from the specified map of raw messages.

func UnmarshalVPNServerClientCollectionFirst added in v0.22.0

func UnmarshalVPNServerClientCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerClientCollectionFirst unmarshals an instance of VPNServerClientCollectionFirst from the specified map of raw messages.

func UnmarshalVPNServerClientCollectionNext added in v0.22.0

func UnmarshalVPNServerClientCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerClientCollectionNext unmarshals an instance of VPNServerClientCollectionNext from the specified map of raw messages.

func UnmarshalVPNServerCollection added in v0.22.0

func UnmarshalVPNServerCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerCollection unmarshals an instance of VPNServerCollection from the specified map of raw messages.

func UnmarshalVPNServerCollectionFirst added in v0.22.0

func UnmarshalVPNServerCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerCollectionFirst unmarshals an instance of VPNServerCollectionFirst from the specified map of raw messages.

func UnmarshalVPNServerCollectionNext added in v0.22.0

func UnmarshalVPNServerCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerCollectionNext unmarshals an instance of VPNServerCollectionNext from the specified map of raw messages.

func UnmarshalVPNServerHealthReason added in v0.43.0

func UnmarshalVPNServerHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerHealthReason unmarshals an instance of VPNServerHealthReason from the specified map of raw messages.

func UnmarshalVPNServerLifecycleReason added in v0.43.0

func UnmarshalVPNServerLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerLifecycleReason unmarshals an instance of VPNServerLifecycleReason from the specified map of raw messages.

func UnmarshalVPNServerPatch added in v0.22.0

func UnmarshalVPNServerPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerPatch unmarshals an instance of VPNServerPatch from the specified map of raw messages.

func UnmarshalVPNServerReferenceDeleted added in v0.22.0

func UnmarshalVPNServerReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerReferenceDeleted unmarshals an instance of VPNServerReferenceDeleted from the specified map of raw messages.

func UnmarshalVPNServerRoute added in v0.22.0

func UnmarshalVPNServerRoute(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRoute unmarshals an instance of VPNServerRoute from the specified map of raw messages.

func UnmarshalVPNServerRouteCollection added in v0.22.0

func UnmarshalVPNServerRouteCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRouteCollection unmarshals an instance of VPNServerRouteCollection from the specified map of raw messages.

func UnmarshalVPNServerRouteCollectionFirst added in v0.22.0

func UnmarshalVPNServerRouteCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRouteCollectionFirst unmarshals an instance of VPNServerRouteCollectionFirst from the specified map of raw messages.

func UnmarshalVPNServerRouteCollectionNext added in v0.22.0

func UnmarshalVPNServerRouteCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRouteCollectionNext unmarshals an instance of VPNServerRouteCollectionNext from the specified map of raw messages.

func UnmarshalVPNServerRouteHealthReason added in v0.43.0

func UnmarshalVPNServerRouteHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRouteHealthReason unmarshals an instance of VPNServerRouteHealthReason from the specified map of raw messages.

func UnmarshalVPNServerRouteLifecycleReason added in v0.43.0

func UnmarshalVPNServerRouteLifecycleReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRouteLifecycleReason unmarshals an instance of VPNServerRouteLifecycleReason from the specified map of raw messages.

func UnmarshalVPNServerRoutePatch added in v0.22.0

func UnmarshalVPNServerRoutePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVPNServerRoutePatch unmarshals an instance of VPNServerRoutePatch from the specified map of raw messages.

func UnmarshalVcpu added in v0.4.0

func UnmarshalVcpu(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVcpu unmarshals an instance of Vcpu from the specified map of raw messages.

func UnmarshalVirtualNetworkInterface added in v0.41.0

func UnmarshalVirtualNetworkInterface(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterface unmarshals an instance of VirtualNetworkInterface from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceCollection added in v0.41.0

func UnmarshalVirtualNetworkInterfaceCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceCollection unmarshals an instance of VirtualNetworkInterfaceCollection from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceCollectionFirst added in v0.41.0

func UnmarshalVirtualNetworkInterfaceCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceCollectionFirst unmarshals an instance of VirtualNetworkInterfaceCollectionFirst from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceCollectionNext added in v0.41.0

func UnmarshalVirtualNetworkInterfaceCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceCollectionNext unmarshals an instance of VirtualNetworkInterfaceCollectionNext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceIPPrototype added in v0.47.0

func UnmarshalVirtualNetworkInterfaceIPPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceIPPrototype unmarshals an instance of VirtualNetworkInterfaceIPPrototype from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext added in v0.47.0

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext unmarshals an instance of VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref added in v0.47.0

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref unmarshals an instance of VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID added in v0.47.0

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID unmarshals an instance of VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext added in v0.47.0

func UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext unmarshals an instance of VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfacePatch added in v0.41.0

func UnmarshalVirtualNetworkInterfacePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfacePatch unmarshals an instance of VirtualNetworkInterfacePatch from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototype added in v0.41.0

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfacePrimaryIPPrototype unmarshals an instance of VirtualNetworkInterfacePrimaryIPPrototype from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext added in v0.41.0

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext unmarshals an instance of VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref added in v0.41.0

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref unmarshals an instance of VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID added in v0.41.0

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID unmarshals an instance of VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext added in v0.41.0

func UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext unmarshals an instance of VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceReferenceAttachmentContext added in v0.41.0

func UnmarshalVirtualNetworkInterfaceReferenceAttachmentContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceReferenceAttachmentContext unmarshals an instance of VirtualNetworkInterfaceReferenceAttachmentContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceReferenceDeleted added in v0.41.0

func UnmarshalVirtualNetworkInterfaceReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceReferenceDeleted unmarshals an instance of VirtualNetworkInterfaceReferenceDeleted from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceTarget added in v0.41.0

func UnmarshalVirtualNetworkInterfaceTarget(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceTarget unmarshals an instance of VirtualNetworkInterfaceTarget from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext added in v0.47.0

func UnmarshalVirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext unmarshals an instance of VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext added in v0.47.0

func UnmarshalVirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext unmarshals an instance of VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext from the specified map of raw messages.

func UnmarshalVirtualNetworkInterfaceTargetShareMountTargetReference added in v0.41.0

func UnmarshalVirtualNetworkInterfaceTargetShareMountTargetReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVirtualNetworkInterfaceTargetShareMountTargetReference unmarshals an instance of VirtualNetworkInterfaceTargetShareMountTargetReference from the specified map of raw messages.

func UnmarshalVolume

func UnmarshalVolume(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolume unmarshals an instance of Volume from the specified map of raw messages.

func UnmarshalVolumeAttachment

func UnmarshalVolumeAttachment(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachment unmarshals an instance of VolumeAttachment from the specified map of raw messages.

func UnmarshalVolumeAttachmentCollection

func UnmarshalVolumeAttachmentCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentCollection unmarshals an instance of VolumeAttachmentCollection from the specified map of raw messages.

func UnmarshalVolumeAttachmentDevice

func UnmarshalVolumeAttachmentDevice(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentDevice unmarshals an instance of VolumeAttachmentDevice from the specified map of raw messages.

func UnmarshalVolumeAttachmentPatch added in v0.2.0

func UnmarshalVolumeAttachmentPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPatch unmarshals an instance of VolumeAttachmentPatch from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototype added in v0.28.0

func UnmarshalVolumeAttachmentPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototype unmarshals an instance of VolumeAttachmentPrototype from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeInstanceByImageContext

func UnmarshalVolumeAttachmentPrototypeInstanceByImageContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeInstanceByImageContext unmarshals an instance of VolumeAttachmentPrototypeInstanceByImageContext from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeInstanceBySourceSnapshotContext added in v0.18.0

func UnmarshalVolumeAttachmentPrototypeInstanceBySourceSnapshotContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeInstanceBySourceSnapshotContext unmarshals an instance of VolumeAttachmentPrototypeInstanceBySourceSnapshotContext from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeInstanceByVolumeContext added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeInstanceByVolumeContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeInstanceByVolumeContext unmarshals an instance of VolumeAttachmentPrototypeInstanceByVolumeContext from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolume added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolume(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolume unmarshals an instance of VolumeAttachmentPrototypeVolume from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentity added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentity unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumeIdentity from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity from the specified map of raw messages.

func UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot added in v0.7.0

func UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot unmarshals an instance of VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot from the specified map of raw messages.

func UnmarshalVolumeAttachmentReferenceInstanceContext

func UnmarshalVolumeAttachmentReferenceInstanceContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentReferenceInstanceContext unmarshals an instance of VolumeAttachmentReferenceInstanceContext from the specified map of raw messages.

func UnmarshalVolumeAttachmentReferenceInstanceContextDeleted added in v0.3.0

func UnmarshalVolumeAttachmentReferenceInstanceContextDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentReferenceInstanceContextDeleted unmarshals an instance of VolumeAttachmentReferenceInstanceContextDeleted from the specified map of raw messages.

func UnmarshalVolumeAttachmentReferenceVolumeContext

func UnmarshalVolumeAttachmentReferenceVolumeContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentReferenceVolumeContext unmarshals an instance of VolumeAttachmentReferenceVolumeContext from the specified map of raw messages.

func UnmarshalVolumeAttachmentReferenceVolumeContextDeleted added in v0.3.0

func UnmarshalVolumeAttachmentReferenceVolumeContextDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeAttachmentReferenceVolumeContextDeleted unmarshals an instance of VolumeAttachmentReferenceVolumeContextDeleted from the specified map of raw messages.

func UnmarshalVolumeCollection

func UnmarshalVolumeCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeCollection unmarshals an instance of VolumeCollection from the specified map of raw messages.

func UnmarshalVolumeCollectionFirst

func UnmarshalVolumeCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeCollectionFirst unmarshals an instance of VolumeCollectionFirst from the specified map of raw messages.

func UnmarshalVolumeCollectionNext

func UnmarshalVolumeCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeCollectionNext unmarshals an instance of VolumeCollectionNext from the specified map of raw messages.

func UnmarshalVolumeHealthReason added in v0.28.0

func UnmarshalVolumeHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeHealthReason unmarshals an instance of VolumeHealthReason from the specified map of raw messages.

func UnmarshalVolumeIdentity

func UnmarshalVolumeIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeIdentity unmarshals an instance of VolumeIdentity from the specified map of raw messages.

func UnmarshalVolumeIdentityByCRN

func UnmarshalVolumeIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeIdentityByCRN unmarshals an instance of VolumeIdentityByCRN from the specified map of raw messages.

func UnmarshalVolumeIdentityByHref

func UnmarshalVolumeIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeIdentityByHref unmarshals an instance of VolumeIdentityByHref from the specified map of raw messages.

func UnmarshalVolumeIdentityByID

func UnmarshalVolumeIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeIdentityByID unmarshals an instance of VolumeIdentityByID from the specified map of raw messages.

func UnmarshalVolumePatch added in v0.2.0

func UnmarshalVolumePatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumePatch unmarshals an instance of VolumePatch from the specified map of raw messages.

func UnmarshalVolumeProfile

func UnmarshalVolumeProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfile unmarshals an instance of VolumeProfile from the specified map of raw messages.

func UnmarshalVolumeProfileCollection

func UnmarshalVolumeProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileCollection unmarshals an instance of VolumeProfileCollection from the specified map of raw messages.

func UnmarshalVolumeProfileCollectionFirst

func UnmarshalVolumeProfileCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileCollectionFirst unmarshals an instance of VolumeProfileCollectionFirst from the specified map of raw messages.

func UnmarshalVolumeProfileCollectionNext

func UnmarshalVolumeProfileCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileCollectionNext unmarshals an instance of VolumeProfileCollectionNext from the specified map of raw messages.

func UnmarshalVolumeProfileIdentity

func UnmarshalVolumeProfileIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileIdentity unmarshals an instance of VolumeProfileIdentity from the specified map of raw messages.

func UnmarshalVolumeProfileIdentityByHref

func UnmarshalVolumeProfileIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileIdentityByHref unmarshals an instance of VolumeProfileIdentityByHref from the specified map of raw messages.

func UnmarshalVolumeProfileIdentityByName

func UnmarshalVolumeProfileIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileIdentityByName unmarshals an instance of VolumeProfileIdentityByName from the specified map of raw messages.

func UnmarshalVolumeProfileReference

func UnmarshalVolumeProfileReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeProfileReference unmarshals an instance of VolumeProfileReference from the specified map of raw messages.

func UnmarshalVolumePrototype

func UnmarshalVolumePrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumePrototype unmarshals an instance of VolumePrototype from the specified map of raw messages.

func UnmarshalVolumePrototypeInstanceByImageContext

func UnmarshalVolumePrototypeInstanceByImageContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumePrototypeInstanceByImageContext unmarshals an instance of VolumePrototypeInstanceByImageContext from the specified map of raw messages.

func UnmarshalVolumePrototypeInstanceBySourceSnapshotContext added in v0.18.0

func UnmarshalVolumePrototypeInstanceBySourceSnapshotContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumePrototypeInstanceBySourceSnapshotContext unmarshals an instance of VolumePrototypeInstanceBySourceSnapshotContext from the specified map of raw messages.

func UnmarshalVolumePrototypeVolumeByCapacity

func UnmarshalVolumePrototypeVolumeByCapacity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumePrototypeVolumeByCapacity unmarshals an instance of VolumePrototypeVolumeByCapacity from the specified map of raw messages.

func UnmarshalVolumePrototypeVolumeBySourceSnapshot added in v0.22.0

func UnmarshalVolumePrototypeVolumeBySourceSnapshot(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumePrototypeVolumeBySourceSnapshot unmarshals an instance of VolumePrototypeVolumeBySourceSnapshot from the specified map of raw messages.

func UnmarshalVolumeReference

func UnmarshalVolumeReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeReference unmarshals an instance of VolumeReference from the specified map of raw messages.

func UnmarshalVolumeReferenceDeleted added in v0.3.0

func UnmarshalVolumeReferenceDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeReferenceDeleted unmarshals an instance of VolumeReferenceDeleted from the specified map of raw messages.

func UnmarshalVolumeReferenceVolumeAttachmentContext added in v0.33.0

func UnmarshalVolumeReferenceVolumeAttachmentContext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeReferenceVolumeAttachmentContext unmarshals an instance of VolumeReferenceVolumeAttachmentContext from the specified map of raw messages.

func UnmarshalVolumeReferenceVolumeAttachmentContextDeleted added in v0.33.0

func UnmarshalVolumeReferenceVolumeAttachmentContextDeleted(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeReferenceVolumeAttachmentContextDeleted unmarshals an instance of VolumeReferenceVolumeAttachmentContextDeleted from the specified map of raw messages.

func UnmarshalVolumeRemote added in v0.39.0

func UnmarshalVolumeRemote(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeRemote unmarshals an instance of VolumeRemote from the specified map of raw messages.

func UnmarshalVolumeStatusReason added in v0.4.0

func UnmarshalVolumeStatusReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVolumeStatusReason unmarshals an instance of VolumeStatusReason from the specified map of raw messages.

func UnmarshalVpccseSourceIP

func UnmarshalVpccseSourceIP(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpccseSourceIP unmarshals an instance of VpccseSourceIP from the specified map of raw messages.

func UnmarshalVpcdns added in v0.43.0

func UnmarshalVpcdns(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdns unmarshals an instance of Vpcdns from the specified map of raw messages.

func UnmarshalVpcdnsPatch added in v0.43.0

func UnmarshalVpcdnsPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsPatch unmarshals an instance of VpcdnsPatch from the specified map of raw messages.

func UnmarshalVpcdnsPrototype added in v0.43.0

func UnmarshalVpcdnsPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsPrototype unmarshals an instance of VpcdnsPrototype from the specified map of raw messages.

func UnmarshalVpcdnsResolutionBinding added in v0.43.0

func UnmarshalVpcdnsResolutionBinding(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolutionBinding unmarshals an instance of VpcdnsResolutionBinding from the specified map of raw messages.

func UnmarshalVpcdnsResolutionBindingCollection added in v0.43.0

func UnmarshalVpcdnsResolutionBindingCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolutionBindingCollection unmarshals an instance of VpcdnsResolutionBindingCollection from the specified map of raw messages.

func UnmarshalVpcdnsResolutionBindingCollectionFirst added in v0.43.0

func UnmarshalVpcdnsResolutionBindingCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolutionBindingCollectionFirst unmarshals an instance of VpcdnsResolutionBindingCollectionFirst from the specified map of raw messages.

func UnmarshalVpcdnsResolutionBindingCollectionNext added in v0.43.0

func UnmarshalVpcdnsResolutionBindingCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolutionBindingCollectionNext unmarshals an instance of VpcdnsResolutionBindingCollectionNext from the specified map of raw messages.

func UnmarshalVpcdnsResolutionBindingHealthReason added in v0.49.0

func UnmarshalVpcdnsResolutionBindingHealthReason(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolutionBindingHealthReason unmarshals an instance of VpcdnsResolutionBindingHealthReason from the specified map of raw messages.

func UnmarshalVpcdnsResolutionBindingPatch added in v0.43.0

func UnmarshalVpcdnsResolutionBindingPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolutionBindingPatch unmarshals an instance of VpcdnsResolutionBindingPatch from the specified map of raw messages.

func UnmarshalVpcdnsResolver added in v0.43.0

func UnmarshalVpcdnsResolver(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolver unmarshals an instance of VpcdnsResolver from the specified map of raw messages.

func UnmarshalVpcdnsResolverPatch added in v0.43.0

func UnmarshalVpcdnsResolverPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverPatch unmarshals an instance of VpcdnsResolverPatch from the specified map of raw messages.

func UnmarshalVpcdnsResolverPrototype added in v0.43.0

func UnmarshalVpcdnsResolverPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverPrototype unmarshals an instance of VpcdnsResolverPrototype from the specified map of raw messages.

func UnmarshalVpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype added in v0.43.0

func UnmarshalVpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype unmarshals an instance of VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype from the specified map of raw messages.

func UnmarshalVpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype added in v0.43.0

func UnmarshalVpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype unmarshals an instance of VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype from the specified map of raw messages.

func UnmarshalVpcdnsResolverTypeDelegated added in v0.43.0

func UnmarshalVpcdnsResolverTypeDelegated(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverTypeDelegated unmarshals an instance of VpcdnsResolverTypeDelegated from the specified map of raw messages.

func UnmarshalVpcdnsResolverTypeManual added in v0.43.0

func UnmarshalVpcdnsResolverTypeManual(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverTypeManual unmarshals an instance of VpcdnsResolverTypeManual from the specified map of raw messages.

func UnmarshalVpcdnsResolverTypeSystem added in v0.43.0

func UnmarshalVpcdnsResolverTypeSystem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverTypeSystem unmarshals an instance of VpcdnsResolverTypeSystem from the specified map of raw messages.

func UnmarshalVpcdnsResolverVPCPatch added in v0.43.0

func UnmarshalVpcdnsResolverVPCPatch(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverVPCPatch unmarshals an instance of VpcdnsResolverVPCPatch from the specified map of raw messages.

func UnmarshalVpcdnsResolverVPCPatchVPCIdentityByCRN added in v0.43.0

func UnmarshalVpcdnsResolverVPCPatchVPCIdentityByCRN(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverVPCPatchVPCIdentityByCRN unmarshals an instance of VpcdnsResolverVPCPatchVPCIdentityByCRN from the specified map of raw messages.

func UnmarshalVpcdnsResolverVPCPatchVPCIdentityByHref added in v0.43.0

func UnmarshalVpcdnsResolverVPCPatchVPCIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverVPCPatchVPCIdentityByHref unmarshals an instance of VpcdnsResolverVPCPatchVPCIdentityByHref from the specified map of raw messages.

func UnmarshalVpcdnsResolverVPCPatchVPCIdentityByID added in v0.43.0

func UnmarshalVpcdnsResolverVPCPatchVPCIdentityByID(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVpcdnsResolverVPCPatchVPCIdentityByID unmarshals an instance of VpcdnsResolverVPCPatchVPCIdentityByID from the specified map of raw messages.

func UnmarshalZone

func UnmarshalZone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZone unmarshals an instance of Zone from the specified map of raw messages.

func UnmarshalZoneCollection

func UnmarshalZoneCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneCollection unmarshals an instance of ZoneCollection from the specified map of raw messages.

func UnmarshalZoneIdentity

func UnmarshalZoneIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneIdentity unmarshals an instance of ZoneIdentity from the specified map of raw messages.

func UnmarshalZoneIdentityByHref

func UnmarshalZoneIdentityByHref(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneIdentityByHref unmarshals an instance of ZoneIdentityByHref from the specified map of raw messages.

func UnmarshalZoneIdentityByName

func UnmarshalZoneIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneIdentityByName unmarshals an instance of ZoneIdentityByName from the specified map of raw messages.

func UnmarshalZoneReference

func UnmarshalZoneReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneReference unmarshals an instance of ZoneReference from the specified map of raw messages.

Types

type AccountReference added in v0.39.0

type AccountReference struct {
	// The unique identifier for this account.
	ID *string `json:"id" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

AccountReference : AccountReference struct

type ActivateReservationOptions added in v0.48.0

type ActivateReservationOptions struct {
	// The reservation identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ActivateReservationOptions : The ActivateReservation options.

func (*ActivateReservationOptions) SetHeaders added in v0.48.0

func (options *ActivateReservationOptions) SetHeaders(param map[string]string) *ActivateReservationOptions

SetHeaders : Allow user to set Headers

func (*ActivateReservationOptions) SetID added in v0.48.0

SetID : Allow user to set ID

type AddBareMetalServerNetworkInterfaceFloatingIPOptions added in v0.16.0

type AddBareMetalServerNetworkInterfaceFloatingIPOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddBareMetalServerNetworkInterfaceFloatingIPOptions : The AddBareMetalServerNetworkInterfaceFloatingIP options.

func (*AddBareMetalServerNetworkInterfaceFloatingIPOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*AddBareMetalServerNetworkInterfaceFloatingIPOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*AddBareMetalServerNetworkInterfaceFloatingIPOptions) SetID added in v0.16.0

SetID : Allow user to set ID

func (*AddBareMetalServerNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID added in v0.16.0

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type AddEndpointGatewayIPOptions added in v0.3.0

type AddEndpointGatewayIPOptions struct {
	// The endpoint gateway identifier.
	EndpointGatewayID *string `json:"endpoint_gateway_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddEndpointGatewayIPOptions : The AddEndpointGatewayIP options.

func (*AddEndpointGatewayIPOptions) SetEndpointGatewayID added in v0.3.0

func (_options *AddEndpointGatewayIPOptions) SetEndpointGatewayID(endpointGatewayID string) *AddEndpointGatewayIPOptions

SetEndpointGatewayID : Allow user to set EndpointGatewayID

func (*AddEndpointGatewayIPOptions) SetHeaders added in v0.3.0

func (options *AddEndpointGatewayIPOptions) SetHeaders(param map[string]string) *AddEndpointGatewayIPOptions

SetHeaders : Allow user to set Headers

func (*AddEndpointGatewayIPOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type AddInstanceNetworkInterfaceFloatingIPOptions

type AddInstanceNetworkInterfaceFloatingIPOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddInstanceNetworkInterfaceFloatingIPOptions : The AddInstanceNetworkInterfaceFloatingIP options.

func (*AddInstanceNetworkInterfaceFloatingIPOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*AddInstanceNetworkInterfaceFloatingIPOptions) SetID

SetID : Allow user to set ID

func (*AddInstanceNetworkInterfaceFloatingIPOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*AddInstanceNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID

func (_options *AddInstanceNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID(networkInterfaceID string) *AddInstanceNetworkInterfaceFloatingIPOptions

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type AddNetworkInterfaceFloatingIPOptions added in v0.47.0

type AddNetworkInterfaceFloatingIPOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddNetworkInterfaceFloatingIPOptions : The AddNetworkInterfaceFloatingIP options.

func (*AddNetworkInterfaceFloatingIPOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*AddNetworkInterfaceFloatingIPOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*AddNetworkInterfaceFloatingIPOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *AddNetworkInterfaceFloatingIPOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *AddNetworkInterfaceFloatingIPOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type AddVPNGatewayConnectionsLocalCIDROptions added in v0.51.0

type AddVPNGatewayConnectionsLocalCIDROptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IP address range in CIDR block notation.
	CIDR *string `json:"cidr" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddVPNGatewayConnectionsLocalCIDROptions : The AddVPNGatewayConnectionsLocalCIDR options.

func (*AddVPNGatewayConnectionsLocalCIDROptions) SetCIDR added in v0.51.0

SetCIDR : Allow user to set CIDR

func (*AddVPNGatewayConnectionsLocalCIDROptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*AddVPNGatewayConnectionsLocalCIDROptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*AddVPNGatewayConnectionsLocalCIDROptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type AddVPNGatewayConnectionsPeerCIDROptions added in v0.51.0

type AddVPNGatewayConnectionsPeerCIDROptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IP address range in CIDR block notation.
	CIDR *string `json:"cidr" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddVPNGatewayConnectionsPeerCIDROptions : The AddVPNGatewayConnectionsPeerCIDR options.

func (*AddVPNGatewayConnectionsPeerCIDROptions) SetCIDR added in v0.51.0

SetCIDR : Allow user to set CIDR

func (*AddVPNGatewayConnectionsPeerCIDROptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*AddVPNGatewayConnectionsPeerCIDROptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*AddVPNGatewayConnectionsPeerCIDROptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type AddVirtualNetworkInterfaceIPOptions added in v0.47.0

type AddVirtualNetworkInterfaceIPOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddVirtualNetworkInterfaceIPOptions : The AddVirtualNetworkInterfaceIP options.

func (*AddVirtualNetworkInterfaceIPOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*AddVirtualNetworkInterfaceIPOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*AddVirtualNetworkInterfaceIPOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *AddVirtualNetworkInterfaceIPOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *AddVirtualNetworkInterfaceIPOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type AddressPrefix

type AddressPrefix struct {
	// The CIDR block for this prefix.
	CIDR *string `json:"cidr" validate:"required"`

	// The date and time that the prefix was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

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

	// The URL for this address prefix.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this address prefix.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this is the default prefix for this zone in this VPC. If a default prefix was automatically
	// created when the VPC was created, the prefix is automatically named using a hyphenated list of randomly-selected
	// words, but may be changed.
	IsDefault *bool `json:"is_default" validate:"required"`

	// The name for this address prefix. The name must not be used by another address prefix for the VPC.
	Name *string `json:"name" validate:"required"`

	// The zone this address prefix resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

AddressPrefix : AddressPrefix struct

type AddressPrefixCollection

type AddressPrefixCollection struct {
	// Collection of address prefixes.
	AddressPrefixes []AddressPrefix `json:"address_prefixes" validate:"required"`

	// A link to the first page of resources.
	First *AddressPrefixCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *AddressPrefixCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

AddressPrefixCollection : AddressPrefixCollection struct

func (*AddressPrefixCollection) GetNextStart added in v0.8.0

func (resp *AddressPrefixCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type AddressPrefixCollectionFirst added in v0.1.0

type AddressPrefixCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

AddressPrefixCollectionFirst : A link to the first page of resources.

type AddressPrefixCollectionNext added in v0.1.0

type AddressPrefixCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

AddressPrefixCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type AddressPrefixPatch added in v0.2.0

type AddressPrefixPatch struct {
	// Indicates whether this is the default prefix for this zone in this VPC. Updating to true makes this prefix the
	// default prefix for this zone in this VPC, provided the VPC currently has no default address prefix for this zone.
	// Updating to false removes the default prefix for this zone in this VPC.
	IsDefault *bool `json:"is_default,omitempty"`

	// The name for this address prefix. The name must not be used by another address prefix for the VPC.
	Name *string `json:"name,omitempty"`
}

AddressPrefixPatch : AddressPrefixPatch struct

func (*AddressPrefixPatch) AsPatch added in v0.2.0

func (addressPrefixPatch *AddressPrefixPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the AddressPrefixPatch

type BackupPoliciesPager added in v0.25.0

type BackupPoliciesPager struct {
	// contains filtered or unexported fields
}

BackupPoliciesPager can be used to simplify the use of the "ListBackupPolicies" method.

func (*BackupPoliciesPager) GetAll added in v0.25.0

func (pager *BackupPoliciesPager) GetAll() (allItems []BackupPolicyIntf, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*BackupPoliciesPager) GetAllWithContext added in v0.25.0

func (pager *BackupPoliciesPager) GetAllWithContext(ctx context.Context) (allItems []BackupPolicyIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*BackupPoliciesPager) GetNext added in v0.25.0

func (pager *BackupPoliciesPager) GetNext() (page []BackupPolicyIntf, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*BackupPoliciesPager) GetNextWithContext added in v0.25.0

func (pager *BackupPoliciesPager) GetNextWithContext(ctx context.Context) (page []BackupPolicyIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*BackupPoliciesPager) HasNext added in v0.25.0

func (pager *BackupPoliciesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type BackupPolicy added in v0.21.0

type BackupPolicy struct {
	// The date and time that the backup policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this backup policy.
	CRN *string `json:"crn" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []BackupPolicyHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this backup policy.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this backup policy.
	ID *string `json:"id" validate:"required"`

	// The date and time that the most recent job for this backup policy completed.
	//
	// If absent, no job has yet completed for this backup policy.
	LastJobCompletedAt *strfmt.DateTime `json:"last_job_completed_at,omitempty"`

	// The lifecycle state of the backup policy.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The resource type this backup policy applies to. Resources that have both a matching type and a matching user tag
	// will be subject to the backup policy.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	MatchResourceType *string `json:"match_resource_type" validate:"required"`

	// The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will
	// be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags" validate:"required"`

	// The name for this backup policy. The name is unique across all backup policies in the region.
	Name *string `json:"name" validate:"required"`

	// The plans for the backup policy.
	Plans []BackupPolicyPlanReference `json:"plans" validate:"required"`

	// The resource group for this backup policy.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The scope for this backup policy.
	Scope BackupPolicyScopeIntf `json:"scope" validate:"required"`

	// The included content for backups created using this policy:
	// - `boot_volume`: Include the instance's boot volume.
	// - `data_volumes`: Include the instance's data volumes.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	IncludedContent []string `json:"included_content,omitempty"`
}

BackupPolicy : BackupPolicy struct Models which "extend" this model: - BackupPolicyMatchResourceTypeInstance - BackupPolicyMatchResourceTypeVolume

type BackupPolicyCollection added in v0.21.0

type BackupPolicyCollection struct {
	// Collection of backup policies.
	BackupPolicies []BackupPolicyIntf `json:"backup_policies" validate:"required"`

	// A link to the first page of resources.
	First *BackupPolicyCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BackupPolicyCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BackupPolicyCollection : BackupPolicyCollection struct

func (*BackupPolicyCollection) GetNextStart added in v0.21.0

func (resp *BackupPolicyCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type BackupPolicyCollectionFirst added in v0.21.0

type BackupPolicyCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BackupPolicyCollectionFirst : A link to the first page of resources.

type BackupPolicyCollectionNext added in v0.21.0

type BackupPolicyCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BackupPolicyCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BackupPolicyHealthReason added in v0.43.0

type BackupPolicyHealthReason struct {
	// A reason code for this health state.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

BackupPolicyHealthReason : BackupPolicyHealthReason struct

type BackupPolicyIntf added in v0.45.0

type BackupPolicyIntf interface {
	// contains filtered or unexported methods
}

type BackupPolicyJob added in v0.29.0

type BackupPolicyJob struct {
	// Indicates whether this backup policy job will be automatically deleted after it completes. At present, this is
	// always `true`, but may be modifiable in the future.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// If `auto_delete` is `true`, the days after completion that this backup policy job will be deleted. This value may be
	// modifiable in the future.
	AutoDeleteAfter *int64 `json:"auto_delete_after" validate:"required"`

	// The backup policy plan operated this backup policy job (may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	BackupPolicyPlan *BackupPolicyPlanReference `json:"backup_policy_plan" validate:"required"`

	// The date and time that the backup policy job was completed.
	//
	// If absent, the backup policy job has not yet completed.
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// The date and time that the backup policy job was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this backup policy job.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this backup policy job.
	ID *string `json:"id" validate:"required"`

	// The type of backup policy job.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	JobType *string `json:"job_type" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The source this backup was created from (may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	Source BackupPolicyJobSourceIntf `json:"source" validate:"required"`

	// The status of the backup policy job.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []BackupPolicyJobStatusReason `json:"status_reasons" validate:"required"`

	// The snapshots operated on by this backup policy job (may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	TargetSnapshots []SnapshotReference `json:"target_snapshots" validate:"required"`
}

BackupPolicyJob : BackupPolicyJob struct

type BackupPolicyJobCollection added in v0.29.0

type BackupPolicyJobCollection struct {
	// A link to the first page of resources.
	First *BackupPolicyJobCollectionFirst `json:"first" validate:"required"`

	// Collection of backup policy jobs.
	Jobs []BackupPolicyJob `json:"jobs" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BackupPolicyJobCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BackupPolicyJobCollection : BackupPolicyJobCollection struct

func (*BackupPolicyJobCollection) GetNextStart added in v0.29.0

func (resp *BackupPolicyJobCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type BackupPolicyJobCollectionFirst added in v0.29.0

type BackupPolicyJobCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BackupPolicyJobCollectionFirst : A link to the first page of resources.

type BackupPolicyJobCollectionNext added in v0.29.0

type BackupPolicyJobCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BackupPolicyJobCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BackupPolicyJobSource added in v0.29.0

type BackupPolicyJobSource struct {
	// The CRN for this volume.
	CRN *string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VolumeReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this volume.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this volume.
	ID *string `json:"id,omitempty"`

	// The name for this volume. The name is unique across all volumes in the region.
	Name *string `json:"name,omitempty"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *VolumeRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

BackupPolicyJobSource : The source this backup was created from (may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)). Models which "extend" this model: - BackupPolicyJobSourceVolumeReference - BackupPolicyJobSourceInstanceReference

type BackupPolicyJobSourceInstanceReference added in v0.45.0

type BackupPolicyJobSourceInstanceReference struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual server instance. The name is unique across all virtual server instances in the region.
	Name *string `json:"name" validate:"required"`
}

BackupPolicyJobSourceInstanceReference : BackupPolicyJobSourceInstanceReference struct This model "extends" BackupPolicyJobSource

type BackupPolicyJobSourceIntf added in v0.29.0

type BackupPolicyJobSourceIntf interface {
	// contains filtered or unexported methods
}

type BackupPolicyJobSourceVolumeReference added in v0.29.0

type BackupPolicyJobSourceVolumeReference struct {
	// The CRN for this volume.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VolumeReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this volume.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume.
	ID *string `json:"id" validate:"required"`

	// The name for this volume. The name is unique across all volumes in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *VolumeRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BackupPolicyJobSourceVolumeReference : BackupPolicyJobSourceVolumeReference struct This model "extends" BackupPolicyJobSource

type BackupPolicyJobStatusReason added in v0.29.0

type BackupPolicyJobStatusReason struct {
	// A reason code for the status:
	// - `internal_error`: Internal error (contact IBM support)
	// - `snapshot_pending`: Cannot delete backup (snapshot) in the `pending` lifecycle state
	// - `snapshot_volume_limit`: The snapshot limit for the source volume has been reached
	// - `source_volume_busy`: The source volume has `busy` set (after multiple retries)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

BackupPolicyJobStatusReason : BackupPolicyJobStatusReason struct

type BackupPolicyJobsPager added in v0.29.0

type BackupPolicyJobsPager struct {
	// contains filtered or unexported fields
}

BackupPolicyJobsPager can be used to simplify the use of the "ListBackupPolicyJobs" method.

func (*BackupPolicyJobsPager) GetAll added in v0.29.0

func (pager *BackupPolicyJobsPager) GetAll() (allItems []BackupPolicyJob, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*BackupPolicyJobsPager) GetAllWithContext added in v0.29.0

func (pager *BackupPolicyJobsPager) GetAllWithContext(ctx context.Context) (allItems []BackupPolicyJob, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*BackupPolicyJobsPager) GetNext added in v0.29.0

func (pager *BackupPolicyJobsPager) GetNext() (page []BackupPolicyJob, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*BackupPolicyJobsPager) GetNextWithContext added in v0.29.0

func (pager *BackupPolicyJobsPager) GetNextWithContext(ctx context.Context) (page []BackupPolicyJob, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*BackupPolicyJobsPager) HasNext added in v0.29.0

func (pager *BackupPolicyJobsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type BackupPolicyMatchResourceTypeInstance added in v0.45.0

type BackupPolicyMatchResourceTypeInstance struct {
	// The date and time that the backup policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this backup policy.
	CRN *string `json:"crn" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []BackupPolicyHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this backup policy.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this backup policy.
	ID *string `json:"id" validate:"required"`

	// The date and time that the most recent job for this backup policy completed.
	//
	// If absent, no job has yet completed for this backup policy.
	LastJobCompletedAt *strfmt.DateTime `json:"last_job_completed_at,omitempty"`

	// The lifecycle state of the backup policy.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will
	// be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags" validate:"required"`

	// The name for this backup policy. The name is unique across all backup policies in the region.
	Name *string `json:"name" validate:"required"`

	// The plans for the backup policy.
	Plans []BackupPolicyPlanReference `json:"plans" validate:"required"`

	// The resource group for this backup policy.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	Scope BackupPolicyScopeIntf `json:"scope" validate:"required"`

	// The included content for backups created using this policy:
	// - `boot_volume`: Include the instance's boot volume.
	// - `data_volumes`: Include the instance's data volumes.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	IncludedContent []string `json:"included_content" validate:"required"`

	// The resource type this backup policy applies to. Resources that have both a matching type and a matching user tag
	// will be subject to the backup policy.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	MatchResourceType *string `json:"match_resource_type" validate:"required"`
}

BackupPolicyMatchResourceTypeInstance : BackupPolicyMatchResourceTypeInstance struct This model "extends" BackupPolicy

type BackupPolicyMatchResourceTypeVolume added in v0.45.0

type BackupPolicyMatchResourceTypeVolume struct {
	// The date and time that the backup policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this backup policy.
	CRN *string `json:"crn" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []BackupPolicyHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this backup policy.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this backup policy.
	ID *string `json:"id" validate:"required"`

	// The date and time that the most recent job for this backup policy completed.
	//
	// If absent, no job has yet completed for this backup policy.
	LastJobCompletedAt *strfmt.DateTime `json:"last_job_completed_at,omitempty"`

	// The lifecycle state of the backup policy.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will
	// be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags" validate:"required"`

	// The name for this backup policy. The name is unique across all backup policies in the region.
	Name *string `json:"name" validate:"required"`

	// The plans for the backup policy.
	Plans []BackupPolicyPlanReference `json:"plans" validate:"required"`

	// The resource group for this backup policy.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	Scope BackupPolicyScopeIntf `json:"scope" validate:"required"`

	// The resource type this backup policy applies to. Resources that have both a matching type and a matching user tag
	// will be subject to the backup policy.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	MatchResourceType *string `json:"match_resource_type" validate:"required"`
}

BackupPolicyMatchResourceTypeVolume : BackupPolicyMatchResourceTypeVolume struct This model "extends" BackupPolicy

type BackupPolicyPatch added in v0.21.0

type BackupPolicyPatch struct {
	// The included content for backups created using this policy:
	// - `boot_volume`: Include the instance's boot volume.
	// - `data_volumes`: Include the instance's data volumes.
	IncludedContent []string `json:"included_content,omitempty"`

	// The user tags this backup policy will apply to (replacing any existing tags). Resources that have both a matching
	// user tag and a matching type will be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags,omitempty"`

	// The name for this backup policy. The name must not be used by another backup policy in the region.
	Name *string `json:"name,omitempty"`
}

BackupPolicyPatch : BackupPolicyPatch struct

func (*BackupPolicyPatch) AsPatch added in v0.21.0

func (backupPolicyPatch *BackupPolicyPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the BackupPolicyPatch

type BackupPolicyPlan added in v0.21.0

type BackupPolicyPlan struct {
	// Indicates whether the plan is active.
	Active *bool `json:"active" validate:"required"`

	// The user tags to attach to backups (snapshots) created by this plan.
	AttachUserTags []string `json:"attach_user_tags" validate:"required"`

	ClonePolicy *BackupPolicyPlanClonePolicy `json:"clone_policy" validate:"required"`

	// Indicates whether to copy the source's user tags to the created backups (snapshots).
	CopyUserTags *bool `json:"copy_user_tags" validate:"required"`

	// The date and time that the backup policy plan was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The cron specification for the backup schedule. The backup policy jobs
	// (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes
	// after this time.
	//
	// All backup schedules for plans in the same policy must be at least an hour apart.
	CronSpec *string `json:"cron_spec" validate:"required"`

	DeletionTrigger *BackupPolicyPlanDeletionTrigger `json:"deletion_trigger" validate:"required"`

	// The URL for this backup policy plan.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this backup policy plan.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of this backup policy plan.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this backup policy plan. The name is unique across all plans in the backup policy.
	Name *string `json:"name" validate:"required"`

	// The policies for additional backups in remote regions.
	RemoteRegionPolicies []BackupPolicyPlanRemoteRegionPolicy `json:"remote_region_policies" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BackupPolicyPlan : BackupPolicyPlan struct

type BackupPolicyPlanClonePolicy added in v0.31.0

type BackupPolicyPlanClonePolicy struct {
	// The maximum number of recent snapshots (per source) that will keep clones.
	MaxSnapshots *int64 `json:"max_snapshots" validate:"required"`

	// The zone this backup policy plan will create snapshot clones in.
	Zones []ZoneReference `json:"zones" validate:"required"`
}

BackupPolicyPlanClonePolicy : BackupPolicyPlanClonePolicy struct

type BackupPolicyPlanClonePolicyPatch added in v0.31.0

type BackupPolicyPlanClonePolicyPatch struct {
	// The maximum number of recent snapshots (per source) that will keep clones.
	MaxSnapshots *int64 `json:"max_snapshots,omitempty"`

	// The zones this backup policy plan will create snapshot clones in. Updating this value does not change the clones for
	// snapshots that have already been created by this plan.
	Zones []ZoneIdentityIntf `json:"zones,omitempty"`
}

BackupPolicyPlanClonePolicyPatch : BackupPolicyPlanClonePolicyPatch struct

type BackupPolicyPlanClonePolicyPrototype added in v0.31.0

type BackupPolicyPlanClonePolicyPrototype struct {
	// The maximum number of recent snapshots (per source) that will keep clones.
	MaxSnapshots *int64 `json:"max_snapshots,omitempty"`

	// The zone this backup policy plan will create snapshot clones in.
	Zones []ZoneIdentityIntf `json:"zones" validate:"required"`
}

BackupPolicyPlanClonePolicyPrototype : BackupPolicyPlanClonePolicyPrototype struct

type BackupPolicyPlanCollection added in v0.21.0

type BackupPolicyPlanCollection struct {
	// A link to the first page of resources.
	First *BackupPolicyPlanCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BackupPolicyPlanCollectionNext `json:"next,omitempty"`

	// Collection of backup policy plans.
	Plans []BackupPolicyPlan `json:"plans" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BackupPolicyPlanCollection : BackupPolicyPlanCollection struct

type BackupPolicyPlanCollectionFirst added in v0.49.0

type BackupPolicyPlanCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BackupPolicyPlanCollectionFirst : A link to the first page of resources.

type BackupPolicyPlanCollectionNext added in v0.49.0

type BackupPolicyPlanCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BackupPolicyPlanCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BackupPolicyPlanDeletionTrigger added in v0.21.0

type BackupPolicyPlanDeletionTrigger struct {
	// The maximum number of days to keep each backup after creation.
	DeleteAfter *int64 `json:"delete_after" validate:"required"`

	// The maximum number of recent backups to keep. If absent, there is no maximum.
	DeleteOverCount *int64 `json:"delete_over_count,omitempty"`
}

BackupPolicyPlanDeletionTrigger : BackupPolicyPlanDeletionTrigger struct

type BackupPolicyPlanDeletionTriggerPatch added in v0.21.0

type BackupPolicyPlanDeletionTriggerPatch struct {
	// The maximum number of days to keep each backup after creation.
	DeleteAfter *int64 `json:"delete_after,omitempty"`

	// The maximum number of recent backups to keep. Specify `null` to remove any existing maximum.
	DeleteOverCount *int64 `json:"delete_over_count,omitempty"`
}

BackupPolicyPlanDeletionTriggerPatch : BackupPolicyPlanDeletionTriggerPatch struct

type BackupPolicyPlanDeletionTriggerPrototype added in v0.21.0

type BackupPolicyPlanDeletionTriggerPrototype struct {
	// The maximum number of days to keep each backup after creation.
	DeleteAfter *int64 `json:"delete_after,omitempty"`

	// The maximum number of recent backups to keep. If unspecified, there will be no maximum.
	DeleteOverCount *int64 `json:"delete_over_count,omitempty"`
}

BackupPolicyPlanDeletionTriggerPrototype : BackupPolicyPlanDeletionTriggerPrototype struct

type BackupPolicyPlanPatch added in v0.21.0

type BackupPolicyPlanPatch struct {
	// Indicates whether the plan is active.
	Active *bool `json:"active,omitempty"`

	// The user tags to attach to backups (snapshots) created by this plan. Updating this value does not change the user
	// tags for backups that have already been created by this plan.
	AttachUserTags []string `json:"attach_user_tags,omitempty"`

	ClonePolicy *BackupPolicyPlanClonePolicyPatch `json:"clone_policy,omitempty"`

	// Indicates whether to copy the source's user tags to the created backups (snapshots).
	CopyUserTags *bool `json:"copy_user_tags,omitempty"`

	// The cron specification for the backup schedule. The backup policy jobs
	// (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes
	// after this time.
	//
	// All backup schedules for plans in the same policy must be at least an hour apart.
	CronSpec *string `json:"cron_spec,omitempty"`

	DeletionTrigger *BackupPolicyPlanDeletionTriggerPatch `json:"deletion_trigger,omitempty"`

	// The name for this backup policy plan. The name must not be used by another plan for the backup policy.
	Name *string `json:"name,omitempty"`

	// The policies for additional backups in remote regions (replacing any existing policies).
	RemoteRegionPolicies []BackupPolicyPlanRemoteRegionPolicyPrototype `json:"remote_region_policies,omitempty"`
}

BackupPolicyPlanPatch : BackupPolicyPlanPatch struct

func (*BackupPolicyPlanPatch) AsPatch added in v0.21.0

func (backupPolicyPlanPatch *BackupPolicyPlanPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the BackupPolicyPlanPatch

type BackupPolicyPlanPrototype added in v0.21.0

type BackupPolicyPlanPrototype struct {
	// Indicates whether the plan is active.
	Active *bool `json:"active,omitempty"`

	// User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
	AttachUserTags []string `json:"attach_user_tags,omitempty"`

	ClonePolicy *BackupPolicyPlanClonePolicyPrototype `json:"clone_policy,omitempty"`

	// Indicates whether to copy the source's user tags to the created backups (snapshots).
	CopyUserTags *bool `json:"copy_user_tags,omitempty"`

	// The cron specification for the backup schedule. The backup policy jobs
	// (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes
	// after this time.
	//
	// All backup schedules for plans in the same policy must be at least an hour apart.
	CronSpec *string `json:"cron_spec" validate:"required"`

	DeletionTrigger *BackupPolicyPlanDeletionTriggerPrototype `json:"deletion_trigger,omitempty"`

	// The name for this backup policy plan. The name must not be used by another plan for the backup policy. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The policies for additional backups in remote regions.
	RemoteRegionPolicies []BackupPolicyPlanRemoteRegionPolicyPrototype `json:"remote_region_policies,omitempty"`
}

BackupPolicyPlanPrototype : BackupPolicyPlanPrototype struct

type BackupPolicyPlanReference added in v0.21.0

type BackupPolicyPlanReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BackupPolicyPlanReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this backup policy plan.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this backup policy plan.
	ID *string `json:"id" validate:"required"`

	// The name for this backup policy plan. The name is unique across all plans in the backup policy.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *BackupPolicyPlanRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BackupPolicyPlanReference : BackupPolicyPlanReference struct

type BackupPolicyPlanReferenceDeleted added in v0.21.0

type BackupPolicyPlanReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

BackupPolicyPlanReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type BackupPolicyPlanRemote added in v0.39.0

type BackupPolicyPlanRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

BackupPolicyPlanRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type BackupPolicyPlanRemoteRegionPolicy added in v0.39.0

type BackupPolicyPlanRemoteRegionPolicy struct {
	// The region this backup policy plan will create backups in.
	DeleteOverCount *int64 `json:"delete_over_count" validate:"required"`

	// The root key used to rewrap the data encryption key for the backup (snapshot).
	EncryptionKey *EncryptionKeyReference `json:"encryption_key" validate:"required"`

	// The region this backup policy plan will create backups in.
	Region *RegionReference `json:"region" validate:"required"`
}

BackupPolicyPlanRemoteRegionPolicy : BackupPolicyPlanRemoteRegionPolicy struct

type BackupPolicyPlanRemoteRegionPolicyPrototype added in v0.39.0

type BackupPolicyPlanRemoteRegionPolicyPrototype struct {
	// The region this backup policy plan will create backups in.
	DeleteOverCount *int64 `json:"delete_over_count,omitempty"`

	// The root key to use to rewrap the data encryption key for the backup (snapshot).
	//
	// If unspecified, the source's `encryption_key` will be used.
	// The specified key may be in a different account, subject to IAM policies.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The region this backup policy plan will create backups in.
	Region RegionIdentityIntf `json:"region" validate:"required"`
}

BackupPolicyPlanRemoteRegionPolicyPrototype : BackupPolicyPlanRemoteRegionPolicyPrototype struct

type BackupPolicyPrototype added in v0.45.0

type BackupPolicyPrototype struct {
	// The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag
	// will be subject to the backup policy.
	MatchResourceType *string `json:"match_resource_type" validate:"required"`

	// The user tags this backup policy will apply to. Resources that have both a matching user tag and a matching type
	// will be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags" validate:"required"`

	// The name for this backup policy. The name must not be used by another backup policy in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The prototype objects for backup plans to be created for this backup policy.
	Plans []BackupPolicyPlanPrototype `json:"plans,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The scope to use for this backup policy.
	//
	// If unspecified, the policy will be scoped to the account.
	Scope BackupPolicyScopePrototypeIntf `json:"scope,omitempty"`

	// The included content for backups created using this policy:
	// - `boot_volume`: Include the instance's boot volume.
	// - `data_volumes`: Include the instance's data volumes.
	IncludedContent []string `json:"included_content,omitempty"`
}

BackupPolicyPrototype : BackupPolicyPrototype struct Models which "extend" this model: - BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype - BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype

type BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype added in v0.45.0

type BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype struct {
	// The user tags this backup policy will apply to. Resources that have both a matching user tag and a matching type
	// will be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags" validate:"required"`

	// The name for this backup policy. The name must not be used by another backup policy in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The prototype objects for backup plans to be created for this backup policy.
	Plans []BackupPolicyPlanPrototype `json:"plans,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	Scope BackupPolicyScopePrototypeIntf `json:"scope,omitempty"`

	// The included content for backups created using this policy:
	// - `boot_volume`: Include the instance's boot volume.
	// - `data_volumes`: Include the instance's data volumes.
	IncludedContent []string `json:"included_content,omitempty"`

	// The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag
	// will be subject to the backup policy.
	MatchResourceType *string `json:"match_resource_type" validate:"required"`
}

BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype : BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype struct This model "extends" BackupPolicyPrototype

type BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype added in v0.45.0

type BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype struct {
	// The user tags this backup policy will apply to. Resources that have both a matching user tag and a matching type
	// will be subject to the backup policy.
	MatchUserTags []string `json:"match_user_tags" validate:"required"`

	// The name for this backup policy. The name must not be used by another backup policy in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The prototype objects for backup plans to be created for this backup policy.
	Plans []BackupPolicyPlanPrototype `json:"plans,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	Scope BackupPolicyScopePrototypeIntf `json:"scope,omitempty"`

	// The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag
	// will be subject to the backup policy.
	MatchResourceType *string `json:"match_resource_type" validate:"required"`
}

BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype : BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype struct This model "extends" BackupPolicyPrototype

type BackupPolicyPrototypeIntf added in v0.45.0

type BackupPolicyPrototypeIntf interface {
	// contains filtered or unexported methods
}

type BackupPolicyScope added in v0.43.0

type BackupPolicyScope struct {
	// The CRN for this enterprise.
	CRN *string `json:"crn,omitempty"`

	// The unique identifier for this enterprise.
	ID *string `json:"id,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

BackupPolicyScope : The scope for this backup policy. Models which "extend" this model: - BackupPolicyScopeEnterpriseReference - BackupPolicyScopeAccountReference

type BackupPolicyScopeAccountReference added in v0.43.0

type BackupPolicyScopeAccountReference struct {
	// The unique identifier for this account.
	ID *string `json:"id" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BackupPolicyScopeAccountReference : BackupPolicyScopeAccountReference struct This model "extends" BackupPolicyScope

type BackupPolicyScopeEnterpriseReference added in v0.43.0

type BackupPolicyScopeEnterpriseReference struct {
	// The CRN for this enterprise.
	CRN *string `json:"crn" validate:"required"`

	// The unique identifier for this enterprise.
	ID *string `json:"id" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BackupPolicyScopeEnterpriseReference : BackupPolicyScopeEnterpriseReference struct This model "extends" BackupPolicyScope

type BackupPolicyScopeIntf added in v0.43.0

type BackupPolicyScopeIntf interface {
	// contains filtered or unexported methods
}

type BackupPolicyScopePrototype added in v0.43.0

type BackupPolicyScopePrototype struct {
	// The CRN for this enterprise.
	CRN *string `json:"crn,omitempty"`
}

BackupPolicyScopePrototype : The scope to use for this backup policy.

If unspecified, the policy will be scoped to the account. Models which "extend" this model: - BackupPolicyScopePrototypeEnterpriseIdentity

type BackupPolicyScopePrototypeEnterpriseIdentity added in v0.43.0

type BackupPolicyScopePrototypeEnterpriseIdentity struct {
	// The CRN for this enterprise.
	CRN *string `json:"crn,omitempty"`
}

BackupPolicyScopePrototypeEnterpriseIdentity : Identifies an enterprise by a unique property. Models which "extend" this model: - BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN This model "extends" BackupPolicyScopePrototype

type BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN added in v0.43.0

type BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN struct {
	// The CRN for this enterprise.
	CRN *string `json:"crn" validate:"required"`
}

BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN : BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN struct This model "extends" BackupPolicyScopePrototypeEnterpriseIdentity

type BackupPolicyScopePrototypeEnterpriseIdentityIntf added in v0.43.0

type BackupPolicyScopePrototypeEnterpriseIdentityIntf interface {
	BackupPolicyScopePrototypeIntf
	// contains filtered or unexported methods
}

type BackupPolicyScopePrototypeIntf added in v0.43.0

type BackupPolicyScopePrototypeIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServer added in v0.16.0

type BareMetalServer struct {
	// The total bandwidth (in megabits per second) shared across the bare metal server network attachments or bare metal
	// server network interfaces.
	Bandwidth *int64 `json:"bandwidth" validate:"required"`

	// The resource from which this bare metal server is booted.
	//
	// The resources supported by this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	BootTarget BareMetalServerBootTargetIntf `json:"boot_target" validate:"required"`

	// The bare metal server CPU configuration.
	Cpu *BareMetalServerCpu `json:"cpu" validate:"required"`

	// The date and time that the bare metal server was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this bare metal server.
	CRN *string `json:"crn" validate:"required"`

	// The disks for this bare metal server, including any disks that are associated with the
	// `boot_target`.
	Disks []BareMetalServerDisk `json:"disks" validate:"required"`

	// Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to
	// boot.
	EnableSecureBoot *bool `json:"enable_secure_boot" validate:"required"`

	// The URL for this bare metal server.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server.
	ID *string `json:"id" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []BareMetalServerLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the bare metal server.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The amount of memory, truncated to whole gibibytes.
	Memory *int64 `json:"memory" validate:"required"`

	// The name for this bare metal server. The name is unique across all bare metal servers in the region.
	Name *string `json:"name" validate:"required"`

	// The network attachments for this bare metal server, including the primary network attachment.
	NetworkAttachments []BareMetalServerNetworkAttachmentReference `json:"network_attachments,omitempty"`

	// The network interfaces for this bare metal server, including the primary network interface.
	//
	// If this bare metal server has network attachments, each network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface.
	NetworkInterfaces []NetworkInterfaceBareMetalServerContextReference `json:"network_interfaces" validate:"required"`

	// The primary network attachment for this bare metal server.
	PrimaryNetworkAttachment *BareMetalServerNetworkAttachmentReference `json:"primary_network_attachment,omitempty"`

	// The primary network interface for this bare metal server.
	//
	// If this bare metal server has network attachments, this primary network interface is
	// a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients)
	// of the primary network attachment and its attached virtual network interface.
	PrimaryNetworkInterface *NetworkInterfaceBareMetalServerContextReference `json:"primary_network_interface" validate:"required"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-bare-metal-servers-profile)
	// for this bare metal server.
	Profile *BareMetalServerProfileReference `json:"profile" validate:"required"`

	// The resource group for this bare metal server.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of this bare metal server:
	// - `deleting`: server is undergoing deletion
	// - `failed`: server is failed and not usable (see `status_reasons`)
	// - `maintenance`: server is undergoing maintenance (not usable)
	// - `pending`: server is being provisioned and not yet usable
	// - `restarting`: server is restarting and not yet usable
	// - `running`: server is powered on
	// - `starting`: server is starting and not yet usable
	// - `stopped`: server is powered off
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []BareMetalServerStatusReason `json:"status_reasons" validate:"required"`

	TrustedPlatformModule *BareMetalServerTrustedPlatformModule `json:"trusted_platform_module" validate:"required"`

	// The VPC this bare metal server resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// The zone this bare metal server resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

BareMetalServer : BareMetalServer struct

type BareMetalServerBootTarget added in v0.16.0

type BareMetalServerBootTarget struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BareMetalServerDiskReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server disk.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this bare metal server disk.
	ID *string `json:"id,omitempty"`

	// The name for this bare metal server disk. The name is unique across all disks on the bare metal server.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

BareMetalServerBootTarget : The resource from which this bare metal server is booted.

The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. Models which "extend" this model: - BareMetalServerBootTargetBareMetalServerDiskReference

type BareMetalServerBootTargetBareMetalServerDiskReference added in v0.16.0

type BareMetalServerBootTargetBareMetalServerDiskReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BareMetalServerDiskReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server disk.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server disk.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server disk. The name is unique across all disks on the bare metal server.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BareMetalServerBootTargetBareMetalServerDiskReference : BareMetalServerBootTargetBareMetalServerDiskReference struct This model "extends" BareMetalServerBootTarget

type BareMetalServerBootTargetIntf added in v0.16.0

type BareMetalServerBootTargetIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerCollection added in v0.16.0

type BareMetalServerCollection struct {
	// Collection of bare metal servers.
	BareMetalServers []BareMetalServer `json:"bare_metal_servers" validate:"required"`

	// A link to the first page of resources.
	First *BareMetalServerCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BareMetalServerCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BareMetalServerCollection : BareMetalServerCollection struct

func (*BareMetalServerCollection) GetNextStart added in v0.16.0

func (resp *BareMetalServerCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type BareMetalServerCollectionFirst added in v0.16.0

type BareMetalServerCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerCollectionFirst : A link to the first page of resources.

type BareMetalServerCollectionNext added in v0.16.0

type BareMetalServerCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BareMetalServerConsoleAccessToken added in v0.16.0

type BareMetalServerConsoleAccessToken struct {
	// A URL safe single-use token used to access the console WebSocket.
	AccessToken *string `json:"access_token" validate:"required"`

	// The bare metal server console type for which this token may be used.
	ConsoleType *string `json:"console_type" validate:"required"`

	// The date and time that the access token was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The date and time that the access token will expire.
	ExpiresAt *strfmt.DateTime `json:"expires_at" validate:"required"`

	// Indicates whether to disconnect an existing serial console session as the serial console cannot be shared.  This has
	// no effect on VNC consoles.
	Force *bool `json:"force" validate:"required"`

	// The URL to access this bare metal server console.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerConsoleAccessToken : The bare metal server console access token information.

type BareMetalServerCpu added in v0.16.0

type BareMetalServerCpu struct {
	// The CPU architecture.
	Architecture *string `json:"architecture" validate:"required"`

	// The total number of cores.
	CoreCount *int64 `json:"core_count" validate:"required"`

	// The total number of CPU sockets.
	SocketCount *int64 `json:"socket_count" validate:"required"`

	// The total number of hardware threads per core.
	ThreadsPerCore *int64 `json:"threads_per_core" validate:"required"`
}

BareMetalServerCpu : The bare metal server CPU configuration.

type BareMetalServerDisk added in v0.16.0

type BareMetalServerDisk struct {
	// The date and time that the disk was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this bare metal server disk.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server disk.
	ID *string `json:"id" validate:"required"`

	// The disk interface used for attaching the disk:
	// - `fcp`: Attached using Fiber Channel Protocol
	// - `sata`: Attached using Serial Advanced Technology Attachment
	// - `nvme`: Attached using Non-Volatile Memory Express
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The name for this bare metal server disk. The name is unique across all disks on the bare metal server.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The size of the disk in GB (gigabytes).
	Size *int64 `json:"size" validate:"required"`
}

BareMetalServerDisk : BareMetalServerDisk struct

type BareMetalServerDiskCollection added in v0.16.0

type BareMetalServerDiskCollection struct {
	// Collection of the bare metal server's disks.
	Disks []BareMetalServerDisk `json:"disks" validate:"required"`
}

BareMetalServerDiskCollection : BareMetalServerDiskCollection struct

type BareMetalServerDiskPatch added in v0.16.0

type BareMetalServerDiskPatch struct {
	// The name for this bare metal server disk. The name must not be used by another disk on the bare metal server.
	Name *string `json:"name,omitempty"`
}

BareMetalServerDiskPatch : BareMetalServerDiskPatch struct

func (*BareMetalServerDiskPatch) AsPatch added in v0.16.0

func (bareMetalServerDiskPatch *BareMetalServerDiskPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the BareMetalServerDiskPatch

type BareMetalServerDiskReferenceDeleted added in v0.16.0

type BareMetalServerDiskReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

BareMetalServerDiskReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type BareMetalServerInitialization added in v0.16.0

type BareMetalServerInitialization struct {
	// The image the bare metal server was provisioned from.
	Image *ImageReference `json:"image" validate:"required"`

	// The public SSH keys used at initialization.
	Keys []KeyReference `json:"keys" validate:"required"`

	// The user accounts that are created at initialization. There can be multiple account types distinguished by the
	// `resource_type` property.
	UserAccounts []BareMetalServerInitializationUserAccountIntf `json:"user_accounts" validate:"required"`
}

BareMetalServerInitialization : BareMetalServerInitialization struct

type BareMetalServerInitializationPrototype added in v0.16.0

type BareMetalServerInitializationPrototype struct {
	// The image to be used when provisioning the bare metal server.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The public SSH keys to install on the bare metal server. Keys will be made available to the bare metal server as
	// cloud-init vendor data. For cloud-init enabled images, these keys will also be added as SSH authorized keys for the
	// administrative user.
	//
	// For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator
	// password. Keys are optional for other images, but if no keys are specified, the instance will be inaccessible unless
	// the specified image provides another means of access.
	Keys []KeyIdentityIntf `json:"keys" validate:"required"`

	// User data to be made available when initializing the bare metal server.
	UserData *string `json:"user_data,omitempty"`
}

BareMetalServerInitializationPrototype : BareMetalServerInitializationPrototype struct

type BareMetalServerInitializationUserAccount added in v0.16.0

type BareMetalServerInitializationUserAccount struct {
	// The password at initialization, encrypted using `encryption_key`, and returned base64-encoded.
	EncryptedPassword *[]byte `json:"encrypted_password,omitempty"`

	// The public SSH key used to encrypt the password.
	EncryptionKey *KeyReference `json:"encryption_key,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`

	// The username for the account created at initialization.
	Username *string `json:"username,omitempty"`
}

BareMetalServerInitializationUserAccount : BareMetalServerInitializationUserAccount struct Models which "extend" this model: - BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount

type BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount added in v0.16.0

type BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount struct {
	// The password at initialization, encrypted using `encryption_key`, and returned base64-encoded.
	EncryptedPassword *[]byte `json:"encrypted_password" validate:"required"`

	// The public SSH key used to encrypt the password.
	EncryptionKey *KeyReference `json:"encryption_key" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The username for the account created at initialization.
	Username *string `json:"username" validate:"required"`
}

BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount : BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount struct This model "extends" BareMetalServerInitializationUserAccount

type BareMetalServerInitializationUserAccountIntf added in v0.16.0

type BareMetalServerInitializationUserAccountIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerLifecycleReason added in v0.36.0

type BareMetalServerLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

BareMetalServerLifecycleReason : BareMetalServerLifecycleReason struct

type BareMetalServerNetworkAttachment added in v0.47.0

type BareMetalServerNetworkAttachment struct {
	// The date and time that the bare metal server network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this bare metal server network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network attachment.
	ID *string `json:"id" validate:"required"`

	// The network attachment's interface type:
	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI attachment
	//   - Cannot directly use an IEEE 802.1Q tag.
	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its
	//   array of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The lifecycle state of the bare metal server network attachment.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this bare metal server network attachment. The name is unique across all network attachments for the
	// bare metal server.
	Name *string `json:"name" validate:"required"`

	// The port speed for this bare metal server network attachment in Mbps.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	// The primary IP address of the virtual network interface for the bare metal server
	// network attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the bare metal server network
	// attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network attachment type.
	Type *string `json:"type" validate:"required"`

	// The virtual network interface for this bare metal server network attachment.
	VirtualNetworkInterface *VirtualNetworkInterfaceReferenceAttachmentContext `json:"virtual_network_interface" validate:"required"`

	// The VLAN IDs allowed for `vlan` attachments using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// Indicates if the data path for the network attachment can float to another bare metal server. Can only be `true` for
	// network attachments with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network attachment will be automatically deleted from this bare metal server and a new network attachment with
	// the same `id`, `name` and `vlan` will be created on the other bare metal server.  The virtual network interface for
	// this network attachment will be automatically be attached to the new network attachment.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network attachment with `interface_type` of `pci` with `allowed_vlans` including
	// this network attachment's `vlan`.
	AllowToFloat *bool `json:"allow_to_float,omitempty"`

	// The IEEE 802.1Q VLAN ID that must be used for all traffic on this attachment.
	Vlan *int64 `json:"vlan,omitempty"`
}

BareMetalServerNetworkAttachment : BareMetalServerNetworkAttachment struct Models which "extend" this model: - BareMetalServerNetworkAttachmentByPci - BareMetalServerNetworkAttachmentByVlan

type BareMetalServerNetworkAttachmentByPci added in v0.47.0

type BareMetalServerNetworkAttachmentByPci struct {
	// The date and time that the bare metal server network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this bare metal server network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network attachment.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the bare metal server network attachment.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this bare metal server network attachment. The name is unique across all network attachments for the
	// bare metal server.
	Name *string `json:"name" validate:"required"`

	// The port speed for this bare metal server network attachment in Mbps.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	// The primary IP address of the virtual network interface for the bare metal server network attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the bare metal server network attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network attachment type.
	Type *string `json:"type" validate:"required"`

	// The virtual network interface for this bare metal server network attachment.
	VirtualNetworkInterface *VirtualNetworkInterfaceReferenceAttachmentContext `json:"virtual_network_interface" validate:"required"`

	// The VLAN IDs allowed for `vlan` attachments using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans" validate:"required"`

	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI attachment
	//   - Cannot directly use an IEEE 802.1Q tag.
	InterfaceType *string `json:"interface_type" validate:"required"`
}

BareMetalServerNetworkAttachmentByPci : BareMetalServerNetworkAttachmentByPci struct This model "extends" BareMetalServerNetworkAttachment

type BareMetalServerNetworkAttachmentByVlan added in v0.47.0

type BareMetalServerNetworkAttachmentByVlan struct {
	// The date and time that the bare metal server network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this bare metal server network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network attachment.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the bare metal server network attachment.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this bare metal server network attachment. The name is unique across all network attachments for the
	// bare metal server.
	Name *string `json:"name" validate:"required"`

	// The port speed for this bare metal server network attachment in Mbps.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	// The primary IP address of the virtual network interface for the bare metal server network attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the bare metal server network attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network attachment type.
	Type *string `json:"type" validate:"required"`

	// The virtual network interface for this bare metal server network attachment.
	VirtualNetworkInterface *VirtualNetworkInterfaceReferenceAttachmentContext `json:"virtual_network_interface" validate:"required"`

	// Indicates if the data path for the network attachment can float to another bare metal server. Can only be `true` for
	// network attachments with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network attachment will be automatically deleted from this bare metal server and a new network attachment with
	// the same `id`, `name` and `vlan` will be created on the other bare metal server.  The virtual network interface for
	// this network attachment will be automatically be attached to the new network attachment.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network attachment with `interface_type` of `pci` with `allowed_vlans` including
	// this network attachment's `vlan`.
	AllowToFloat *bool `json:"allow_to_float" validate:"required"`

	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array
	//    of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The IEEE 802.1Q VLAN ID that must be used for all traffic on this attachment.
	Vlan *int64 `json:"vlan" validate:"required"`
}

BareMetalServerNetworkAttachmentByVlan : BareMetalServerNetworkAttachmentByVlan struct This model "extends" BareMetalServerNetworkAttachment

type BareMetalServerNetworkAttachmentCollection added in v0.47.0

type BareMetalServerNetworkAttachmentCollection struct {
	// A link to the first page of resources.
	First *BareMetalServerNetworkAttachmentCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of bare metal server network attachments.
	NetworkAttachments []BareMetalServerNetworkAttachmentIntf `json:"network_attachments" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BareMetalServerNetworkAttachmentCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BareMetalServerNetworkAttachmentCollection : BareMetalServerNetworkAttachmentCollection struct

func (*BareMetalServerNetworkAttachmentCollection) GetNextStart added in v0.47.0

func (resp *BareMetalServerNetworkAttachmentCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type BareMetalServerNetworkAttachmentCollectionFirst added in v0.47.0

type BareMetalServerNetworkAttachmentCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerNetworkAttachmentCollectionFirst : A link to the first page of resources.

type BareMetalServerNetworkAttachmentCollectionNext added in v0.47.0

type BareMetalServerNetworkAttachmentCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerNetworkAttachmentCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BareMetalServerNetworkAttachmentIntf added in v0.47.0

type BareMetalServerNetworkAttachmentIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerNetworkAttachmentPatch added in v0.47.0

type BareMetalServerNetworkAttachmentPatch struct {
	// The VLAN IDs to allow for `vlan` attachments using this PCI attachment, replacing any existing VLAN IDs. The
	// specified values must include IDs for all `vlan` attachments currently using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// The name for this network attachment. The name must not be used by another network attachment for the bare metal
	// server.
	Name *string `json:"name,omitempty"`
}

BareMetalServerNetworkAttachmentPatch : BareMetalServerNetworkAttachmentPatch struct

func (*BareMetalServerNetworkAttachmentPatch) AsPatch added in v0.47.0

func (bareMetalServerNetworkAttachmentPatch *BareMetalServerNetworkAttachmentPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the BareMetalServerNetworkAttachmentPatch

type BareMetalServerNetworkAttachmentPrototype added in v0.47.0

type BareMetalServerNetworkAttachmentPrototype struct {
	// The network attachment's interface type:
	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI attachment
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`
	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its
	//   array of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The name for this bare metal server network attachment. Names must be unique within the bare metal server the
	// network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// A virtual network interface for the bare metal server network attachment. This can be
	// specified using an existing virtual network interface, or a prototype object for a new
	// virtual network interface.
	//
	// If an existing virtual network interface is specified, it must not be the target of a flow
	// log collector.
	VirtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`

	// The VLAN IDs to allow for `vlan` attachments using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// Indicates if the data path for the network attachment can float to another bare metal server. Can only be `true` for
	// network attachments with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network attachment will be automatically deleted from this bare metal server and a new network attachment with
	// the same `id`, `name` and `vlan` will be created on the other bare metal server.  The virtual network interface for
	// this network attachment will be automatically be attached to the new network attachment.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network attachment with `interface_type` of `pci` with `allowed_vlans` including
	// this network attachment's `vlan`.
	AllowToFloat *bool `json:"allow_to_float,omitempty"`

	// The IEEE 802.1Q VLAN ID that must be used for all traffic on this attachment.
	Vlan *int64 `json:"vlan,omitempty"`
}

BareMetalServerNetworkAttachmentPrototype : BareMetalServerNetworkAttachmentPrototype struct Models which "extend" this model: - BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype - BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype

type BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype struct {
	// The name for this bare metal server network attachment. Names must be unique within the bare metal server the
	// network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	VirtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`

	// The VLAN IDs to allow for `vlan` attachments using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI attachment
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type" validate:"required"`
}

BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype : BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype struct This model "extends" BareMetalServerNetworkAttachmentPrototype

type BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype struct {
	// The name for this bare metal server network attachment. Names must be unique within the bare metal server the
	// network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	VirtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`

	// Indicates if the data path for the network attachment can float to another bare metal server. Can only be `true` for
	// network attachments with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network attachment will be automatically deleted from this bare metal server and a new network attachment with
	// the same `id`, `name` and `vlan` will be created on the other bare metal server.  The virtual network interface for
	// this network attachment will be automatically be attached to the new network attachment.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network attachment with `interface_type` of `pci` with `allowed_vlans` including
	// this network attachment's `vlan`.
	AllowToFloat *bool `json:"allow_to_float,omitempty"`

	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array
	//    of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The IEEE 802.1Q VLAN ID that must be used for all traffic on this attachment.
	Vlan *int64 `json:"vlan" validate:"required"`
}

BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype : BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype struct This model "extends" BareMetalServerNetworkAttachmentPrototype

type BareMetalServerNetworkAttachmentPrototypeIntf added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use for this virtual network interface. If unspecified, the
	// bare metal server's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface : A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.

If an existing virtual network interface is specified, it must not be the target of a flow log collector. Models which "extend" this model: - BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext - BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityIntf interface {
	BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf
	// contains filtered or unexported methods
}

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext added in v0.47.0

type BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use for this virtual network interface. If unspecified, the
	// bare metal server's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`
}

BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeBareMetalServerNetworkAttachmentContext : The virtual network interface for this target. This model "extends" BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterface

type BareMetalServerNetworkAttachmentReference added in v0.47.0

type BareMetalServerNetworkAttachmentReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BareMetalServerNetworkAttachmentReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server network attachment. The name is unique across all network attachments for the
	// bare metal server.
	Name *string `json:"name" validate:"required"`

	// The primary IP address of the virtual network interface for the bare metal server
	// network attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the bare metal server network
	// attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

BareMetalServerNetworkAttachmentReference : BareMetalServerNetworkAttachmentReference struct

type BareMetalServerNetworkAttachmentReferenceDeleted added in v0.47.0

type BareMetalServerNetworkAttachmentReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

BareMetalServerNetworkAttachmentReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type BareMetalServerNetworkAttachmentsPager added in v0.47.0

type BareMetalServerNetworkAttachmentsPager struct {
	// contains filtered or unexported fields
}

BareMetalServerNetworkAttachmentsPager can be used to simplify the use of the "ListBareMetalServerNetworkAttachments" method.

func (*BareMetalServerNetworkAttachmentsPager) GetAll added in v0.47.0

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*BareMetalServerNetworkAttachmentsPager) GetAllWithContext added in v0.47.0

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*BareMetalServerNetworkAttachmentsPager) GetNext added in v0.47.0

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*BareMetalServerNetworkAttachmentsPager) GetNextWithContext added in v0.47.0

GetNextWithContext returns the next page of results using the specified Context.

func (*BareMetalServerNetworkAttachmentsPager) HasNext added in v0.47.0

HasNext returns true if there are potentially more results to be retrieved.

type BareMetalServerNetworkInterface added in v0.16.0

type BareMetalServerNetworkInterface struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing" validate:"required"`

	// The date and time that the bare metal server network interface was created.
	//
	// If this bare metal server has network attachments, this network interface was created as a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) when its corresponding
	// network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat" validate:"required"`

	// The floating IPs associated with this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the floating IPs are associated
	// with the attached virtual network interface.
	FloatingIps []FloatingIPReference `json:"floating_ips" validate:"required"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The interface type:
	// - `hipersocket`: a virtual device that provides high-speed TCP/IP connectivity
	//   within a `s390x` based system
	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI interface
	//   - Cannot directly use an IEEE 802.1Q tag.
	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its
	//   array of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	//   - Has its own security groups and does not inherit those of the PCI device through
	//     which traffic flows.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the interface type is that of the
	// corresponding network attachment.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The MAC address of this bare metal server network interface. If the MAC address has not yet been selected, the value
	// will be an empty string.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the MAC address is that of the
	// attached virtual network interface.
	MacAddress *string `json:"mac_address" validate:"required"`

	// The name for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the name matches its corresponding
	// network attachment.
	Name *string `json:"name" validate:"required"`

	// The bare metal server network interface port speed in Mbps.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the port speed is that of its
	// corresponding network attachment.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the security groups are associated
	// with the attached virtual network interface.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The status of the bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a read-only representation of its
	// corresponding network attachment and its attached virtual network interface, and the status is [computed from
	// them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).
	Status *string `json:"status" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network interface type.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the type is that of its
	// corresponding network attachment.
	Type *string `json:"type" validate:"required"`

	// The VLAN IDs allowed for `vlan` interfaces using this PCI interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN IDs match the
	// `allow_vlans` of the corresponding network attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// Indicates if the data path for the network interface can float to another bare metal server. Can only be `true` for
	// network interfaces with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network interface will be automatically deleted from this bare metal server and a new network interface with the
	// same `id`, `name` and `vlan` will be created on the other bare metal server.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network interface with `interface_type` of `pci` with `allowed_vlans` including
	// this network interface's `vlan`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the value of this property matches
	// that of the `allow_to_float` property of the corresponding network attachment.
	AllowInterfaceToFloat *bool `json:"allow_interface_to_float,omitempty"`

	// The VLAN ID used in the IEEE 802.1Q tag present in all traffic on this interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN ID matches the `vlan` of
	// the corresponding network attachment.
	Vlan *int64 `json:"vlan,omitempty"`
}

BareMetalServerNetworkInterface : BareMetalServerNetworkInterface struct Models which "extend" this model: - BareMetalServerNetworkInterfaceByHiperSocket - BareMetalServerNetworkInterfaceByPci - BareMetalServerNetworkInterfaceByVlan

type BareMetalServerNetworkInterfaceByHiperSocket added in v0.26.0

type BareMetalServerNetworkInterfaceByHiperSocket struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing" validate:"required"`

	// The date and time that the bare metal server network interface was created.
	//
	// If this bare metal server has network attachments, this network interface was created as a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) when its corresponding
	// network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat" validate:"required"`

	// The floating IPs associated with this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the floating IPs are associated
	// with the attached virtual network interface.
	FloatingIps []FloatingIPReference `json:"floating_ips" validate:"required"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The MAC address of this bare metal server network interface. If the MAC address has not yet been selected, the value
	// will be an empty string.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the MAC address is that of the
	// attached virtual network interface.
	MacAddress *string `json:"mac_address" validate:"required"`

	// The name for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the name matches its corresponding
	// network attachment.
	Name *string `json:"name" validate:"required"`

	// The bare metal server network interface port speed in Mbps.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the port speed is that of its
	// corresponding network attachment.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the security groups are associated
	// with the attached virtual network interface.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The status of the bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a read-only representation of its
	// corresponding network attachment and its attached virtual network interface, and the status is [computed from
	// them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).
	Status *string `json:"status" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network interface type.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the type is that of its
	// corresponding network attachment.
	Type *string `json:"type" validate:"required"`

	// - `hipersocket`: a virtual network device that provides high-speed TCP/IP connectivity
	//   within a `s390x` based system.
	InterfaceType *string `json:"interface_type" validate:"required"`
}

BareMetalServerNetworkInterfaceByHiperSocket : BareMetalServerNetworkInterfaceByHiperSocket struct This model "extends" BareMetalServerNetworkInterface

type BareMetalServerNetworkInterfaceByPci added in v0.16.0

type BareMetalServerNetworkInterfaceByPci struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing" validate:"required"`

	// The date and time that the bare metal server network interface was created.
	//
	// If this bare metal server has network attachments, this network interface was created as a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) when its corresponding
	// network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat" validate:"required"`

	// The floating IPs associated with this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the floating IPs are associated
	// with the attached virtual network interface.
	FloatingIps []FloatingIPReference `json:"floating_ips" validate:"required"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The MAC address of this bare metal server network interface. If the MAC address has not yet been selected, the value
	// will be an empty string.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the MAC address is that of the
	// attached virtual network interface.
	MacAddress *string `json:"mac_address" validate:"required"`

	// The name for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the name matches its corresponding
	// network attachment.
	Name *string `json:"name" validate:"required"`

	// The bare metal server network interface port speed in Mbps.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the port speed is that of its
	// corresponding network attachment.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the security groups are associated
	// with the attached virtual network interface.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The status of the bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a read-only representation of its
	// corresponding network attachment and its attached virtual network interface, and the status is [computed from
	// them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).
	Status *string `json:"status" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network interface type.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the type is that of its
	// corresponding network attachment.
	Type *string `json:"type" validate:"required"`

	// The VLAN IDs allowed for `vlan` interfaces using this PCI interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN IDs match the
	// `allow_vlans` of the corresponding network attachment.
	AllowedVlans []int64 `json:"allowed_vlans" validate:"required"`

	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI interface
	//   - Cannot directly use an IEEE 802.1Q tag.
	InterfaceType *string `json:"interface_type" validate:"required"`
}

BareMetalServerNetworkInterfaceByPci : BareMetalServerNetworkInterfaceByPci struct This model "extends" BareMetalServerNetworkInterface

type BareMetalServerNetworkInterfaceByVlan added in v0.16.0

type BareMetalServerNetworkInterfaceByVlan struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing" validate:"required"`

	// The date and time that the bare metal server network interface was created.
	//
	// If this bare metal server has network attachments, this network interface was created as a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) when its corresponding
	// network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat" validate:"required"`

	// The floating IPs associated with this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the floating IPs are associated
	// with the attached virtual network interface.
	FloatingIps []FloatingIPReference `json:"floating_ips" validate:"required"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The MAC address of this bare metal server network interface. If the MAC address has not yet been selected, the value
	// will be an empty string.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the MAC address is that of the
	// attached virtual network interface.
	MacAddress *string `json:"mac_address" validate:"required"`

	// The name for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the name matches its corresponding
	// network attachment.
	Name *string `json:"name" validate:"required"`

	// The bare metal server network interface port speed in Mbps.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the port speed is that of its
	// corresponding network attachment.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the security groups are associated
	// with the attached virtual network interface.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The status of the bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a read-only representation of its
	// corresponding network attachment and its attached virtual network interface, and the status is [computed from
	// them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).
	Status *string `json:"status" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The bare metal server network interface type.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the type is that of its
	// corresponding network attachment.
	Type *string `json:"type" validate:"required"`

	// Indicates if the data path for the network interface can float to another bare metal server. Can only be `true` for
	// network interfaces with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network interface will be automatically deleted from this bare metal server and a new network interface with the
	// same `id`, `name` and `vlan` will be created on the other bare metal server.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network interface with `interface_type` of `pci` with `allowed_vlans` including
	// this network interface's `vlan`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the value of this property matches
	// that of the `allow_to_float` property of the corresponding network attachment.
	AllowInterfaceToFloat *bool `json:"allow_interface_to_float" validate:"required"`

	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array
	//    of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	//   - Has its own security groups and does not inherit those of the PCI device through
	//     which traffic flows.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The VLAN ID used in the IEEE 802.1Q tag present in all traffic on this interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN ID matches the `vlan` of
	// the corresponding network attachment.
	Vlan *int64 `json:"vlan" validate:"required"`
}

BareMetalServerNetworkInterfaceByVlan : BareMetalServerNetworkInterfaceByVlan struct This model "extends" BareMetalServerNetworkInterface

type BareMetalServerNetworkInterfaceCollection added in v0.16.0

type BareMetalServerNetworkInterfaceCollection struct {
	// A link to the first page of resources.
	First *BareMetalServerNetworkInterfaceCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of bare metal server network interfaces.
	NetworkInterfaces []BareMetalServerNetworkInterfaceIntf `json:"network_interfaces" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BareMetalServerNetworkInterfaceCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BareMetalServerNetworkInterfaceCollection : BareMetalServerNetworkInterfaceCollection struct

func (*BareMetalServerNetworkInterfaceCollection) GetNextStart added in v0.16.0

func (resp *BareMetalServerNetworkInterfaceCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type BareMetalServerNetworkInterfaceCollectionFirst added in v0.16.0

type BareMetalServerNetworkInterfaceCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerNetworkInterfaceCollectionFirst : A link to the first page of resources.

type BareMetalServerNetworkInterfaceCollectionNext added in v0.16.0

type BareMetalServerNetworkInterfaceCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerNetworkInterfaceCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BareMetalServerNetworkInterfaceIntf added in v0.16.0

type BareMetalServerNetworkInterfaceIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerNetworkInterfacePatch added in v0.16.0

type BareMetalServerNetworkInterfacePatch struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// The VLAN IDs to allow for `vlan` interfaces using this PCI interface, replacing any existing VLAN IDs. The specified
	// values must include IDs for all `vlan` interfaces currently using this PCI interface.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The name for this bare metal server network interface. The name must not be used by another network interface on the
	// bare metal server.
	Name *string `json:"name,omitempty"`
}

BareMetalServerNetworkInterfacePatch : BareMetalServerNetworkInterfacePatch struct

func (*BareMetalServerNetworkInterfacePatch) AsPatch added in v0.16.0

func (bareMetalServerNetworkInterfacePatch *BareMetalServerNetworkInterfacePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the BareMetalServerNetworkInterfacePatch

type BareMetalServerNetworkInterfacePrototype added in v0.16.0

type BareMetalServerNetworkInterfacePrototype struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The interface type:
	// - `hipersocket`: a virtual device that provides high-speed TCP/IP connectivity
	//   within a `s390x` based system
	//   - Not supported on bare metal servers with a `cpu.architecture` of `amd64`
	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI interface
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`
	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its
	//   array of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	//   - Has its own security groups and does not inherit those of the PCI device through
	//     which traffic flows.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The name for this bare metal server network interface. The name must not be used by another network interface on the
	// bare metal server. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the bare metal server network interface. This can be
	// specified using an existing reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must
	// be available on the bare metal server network interface's subnet. Otherwise, an
	// available address on the subnet will be automatically selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this bare metal server network interface. If unspecified, the VPC's default security
	// group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// The VLAN IDs to allow for `vlan` interfaces using this PCI interface.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// Indicates if the data path for the network interface can float to another bare metal server. Can only be `true` for
	// network interfaces with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network interface will be automatically deleted from this bare metal server and a new network interface with the
	// same `id`, `name` and `vlan` will be created on the other bare metal server.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network interface with `interface_type` of `pci` with `allowed_vlans` including
	// this network interface's `vlan`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the value of this property matches
	// that of the `allow_to_float` property of the corresponding network attachment.
	AllowInterfaceToFloat *bool `json:"allow_interface_to_float,omitempty"`

	// The VLAN ID used in the IEEE 802.1Q tag present in all traffic on this interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN ID matches the `vlan` of
	// the corresponding network attachment.
	Vlan *int64 `json:"vlan,omitempty"`
}

BareMetalServerNetworkInterfacePrototype : BareMetalServerNetworkInterfacePrototype struct Models which "extend" this model: - BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype - BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype - BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype

type BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype added in v0.26.0

type BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The name for this bare metal server network interface. The name must not be used by another network interface on the
	// bare metal server. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the bare metal server network interface. This can be specified using an existing
	// reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must be available on the bare
	// metal server network interface's subnet. Otherwise, an available address on the subnet will be automatically
	// selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this bare metal server network interface. If unspecified, the VPC's default security
	// group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// - `hipersocket`: a virtual network device that provides high-speed TCP/IP connectivity
	//   within a `s390x` based system.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `amd64`.
	InterfaceType *string `json:"interface_type" validate:"required"`
}

BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype : BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype struct This model "extends" BareMetalServerNetworkInterfacePrototype

type BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype added in v0.16.0

type BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The name for this bare metal server network interface. The name must not be used by another network interface on the
	// bare metal server. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the bare metal server network interface. This can be specified using an existing
	// reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must be available on the bare
	// metal server network interface's subnet. Otherwise, an available address on the subnet will be automatically
	// selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this bare metal server network interface. If unspecified, the VPC's default security
	// group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// The VLAN IDs to allow for `vlan` interfaces using this PCI interface.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI interface
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type" validate:"required"`
}

BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype : BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype struct This model "extends" BareMetalServerNetworkInterfacePrototype

type BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype added in v0.16.0

type BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The name for this bare metal server network interface. The name must not be used by another network interface on the
	// bare metal server. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the bare metal server network interface. This can be specified using an existing
	// reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must be available on the bare
	// metal server network interface's subnet. Otherwise, an available address on the subnet will be automatically
	// selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this bare metal server network interface. If unspecified, the VPC's default security
	// group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// Indicates if the data path for the network interface can float to another bare metal server. Can only be `true` for
	// network interfaces with an `interface_type` of `vlan`.
	//
	// If `true`, and the network detects traffic for this data path on another bare metal server in the resource group,
	// the network interface will be automatically deleted from this bare metal server and a new network interface with the
	// same `id`, `name` and `vlan` will be created on the other bare metal server.
	//
	// For the data path to float, the other bare metal server must be in the same
	// `resource_group`, and must have a network interface with `interface_type` of `pci` with `allowed_vlans` including
	// this network interface's `vlan`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the value of this property matches
	// that of the `allow_to_float` property of the corresponding network attachment.
	AllowInterfaceToFloat *bool `json:"allow_interface_to_float,omitempty"`

	// - `vlan`: a virtual device, used through a `pci` device that has the `vlan` in its array
	//    of `allowed_vlans`.
	//   - Must use an IEEE 802.1Q tag.
	//   - Has its own security groups and does not inherit those of the PCI device through
	//     which traffic flows.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The VLAN ID used in the IEEE 802.1Q tag present in all traffic on this interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN ID matches the `vlan` of
	// the corresponding network attachment.
	Vlan *int64 `json:"vlan" validate:"required"`
}

BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype : BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype struct This model "extends" BareMetalServerNetworkInterfacePrototype

type BareMetalServerNetworkInterfacePrototypeIntf added in v0.16.0

type BareMetalServerNetworkInterfacePrototypeIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerNetworkInterfaceReferenceDeleted added in v0.41.0

type BareMetalServerNetworkInterfaceReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

BareMetalServerNetworkInterfaceReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type BareMetalServerNetworkInterfaceReferenceTargetContextDeleted added in v0.41.0

type BareMetalServerNetworkInterfaceReferenceTargetContextDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

BareMetalServerNetworkInterfaceReferenceTargetContextDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type BareMetalServerNetworkInterfacesPager added in v0.25.0

type BareMetalServerNetworkInterfacesPager struct {
	// contains filtered or unexported fields
}

BareMetalServerNetworkInterfacesPager can be used to simplify the use of the "ListBareMetalServerNetworkInterfaces" method.

func (*BareMetalServerNetworkInterfacesPager) GetAll added in v0.25.0

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*BareMetalServerNetworkInterfacesPager) GetAllWithContext added in v0.25.0

func (pager *BareMetalServerNetworkInterfacesPager) GetAllWithContext(ctx context.Context) (allItems []BareMetalServerNetworkInterfaceIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*BareMetalServerNetworkInterfacesPager) GetNext added in v0.25.0

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*BareMetalServerNetworkInterfacesPager) GetNextWithContext added in v0.25.0

GetNextWithContext returns the next page of results using the specified Context.

func (*BareMetalServerNetworkInterfacesPager) HasNext added in v0.25.0

HasNext returns true if there are potentially more results to be retrieved.

type BareMetalServerPatch added in v0.16.0

type BareMetalServerPatch struct {
	// Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the bare metal server
	// will fail to boot.
	//
	// For `enable_secure_boot` to be changed, the bare metal server `status` must be
	// `stopped`.
	EnableSecureBoot *bool `json:"enable_secure_boot,omitempty"`

	// The name for this bare metal server. The name must not be used by another bare metal server in the region. Changing
	// the name will not affect the system hostname.
	Name *string `json:"name,omitempty"`

	TrustedPlatformModule *BareMetalServerTrustedPlatformModulePatch `json:"trusted_platform_module,omitempty"`
}

BareMetalServerPatch : BareMetalServerPatch struct

func (*BareMetalServerPatch) AsPatch added in v0.16.0

func (bareMetalServerPatch *BareMetalServerPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the BareMetalServerPatch

type BareMetalServerPrimaryNetworkAttachmentPrototype added in v0.47.0

type BareMetalServerPrimaryNetworkAttachmentPrototype struct {
	// The network attachment's interface type:
	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI attachment
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type,omitempty"`

	// The name for this bare metal server network attachment. Names must be unique within the bare metal server the
	// network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// A virtual network interface for the bare metal server network attachment. This can be
	// specified using an existing virtual network interface, or a prototype object for a new
	// virtual network interface.
	//
	// If an existing virtual network interface is specified, it must not be the target of a flow
	// log collector.
	VirtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`

	// The VLAN IDs to allow for `vlan` attachments using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`
}

BareMetalServerPrimaryNetworkAttachmentPrototype : BareMetalServerPrimaryNetworkAttachmentPrototype struct Models which "extend" this model: - BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype

type BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype added in v0.47.0

type BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype struct {
	// The name for this bare metal server network attachment. Names must be unique within the bare metal server the
	// network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	VirtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`

	// The VLAN IDs to allow for `vlan` attachments using this PCI attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI attachment
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type,omitempty"`
}

BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype : BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype struct This model "extends" BareMetalServerPrimaryNetworkAttachmentPrototype

type BareMetalServerPrimaryNetworkAttachmentPrototypeIntf added in v0.47.0

type BareMetalServerPrimaryNetworkAttachmentPrototypeIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerPrimaryNetworkInterfacePrototype added in v0.16.0

type BareMetalServerPrimaryNetworkInterfacePrototype struct {
	// Indicates whether source IP spoofing is allowed on this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// The VLAN IDs allowed for `vlan` interfaces using this PCI interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the VLAN IDs match the
	// `allow_vlans` of the corresponding network attachment.
	AllowedVlans []int64 `json:"allowed_vlans,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the bare metal server network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - `interface_type` must not be `hipersocket`.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and infrastructure NAT is managed on
	// the attached virtual network interface.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The interface type:
	// - `hipersocket`: a virtual device that provides high-speed TCP/IP connectivity
	//   within a `s390x` based system.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `amd64`
	// - `pci`: a physical PCI device which can only be created or deleted when the bare metal
	//   server is stopped
	//   - Has an `allowed_vlans` property which controls the VLANs that will be permitted
	//     to use the PCI interface
	//   - Cannot directly use an IEEE 802.1Q tag.
	//   - Not supported on bare metal servers with a `cpu.architecture` of `s390x`.
	InterfaceType *string `json:"interface_type,omitempty"`

	// The name for this bare metal server network interface. The name must not be used by another network interface on the
	// bare metal server. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the bare metal server network interface. This can be
	// specified using an existing reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must
	// be available on the bare metal server network interface's subnet. Otherwise, an
	// available address on the subnet will be automatically selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this bare metal server network interface. If unspecified, the VPC's default security
	// group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`
}

BareMetalServerPrimaryNetworkInterfacePrototype : BareMetalServerPrimaryNetworkInterfacePrototype struct

type BareMetalServerProfile added in v0.16.0

type BareMetalServerProfile struct {
	Bandwidth BareMetalServerProfileBandwidthIntf `json:"bandwidth" validate:"required"`

	// The console type configuration for a bare metal server with this profile.
	ConsoleTypes *BareMetalServerProfileConsoleTypes `json:"console_types" validate:"required"`

	CpuArchitecture *BareMetalServerProfileCpuArchitecture `json:"cpu_architecture" validate:"required"`

	CpuCoreCount BareMetalServerProfileCpuCoreCountIntf `json:"cpu_core_count" validate:"required"`

	CpuSocketCount BareMetalServerProfileCpuSocketCountIntf `json:"cpu_socket_count" validate:"required"`

	// Collection of the bare metal server profile's disks.
	Disks []BareMetalServerProfileDisk `json:"disks" validate:"required"`

	// The product family this bare metal server profile belongs to.
	Family *string `json:"family" validate:"required"`

	// The URL for this bare metal server profile.
	Href *string `json:"href" validate:"required"`

	Memory BareMetalServerProfileMemoryIntf `json:"memory" validate:"required"`

	// The name for this bare metal server profile.
	Name *string `json:"name" validate:"required"`

	NetworkAttachmentCount BareMetalServerProfileNetworkAttachmentCountIntf `json:"network_attachment_count" validate:"required"`

	NetworkInterfaceCount BareMetalServerProfileNetworkInterfaceCountIntf `json:"network_interface_count" validate:"required"`

	OsArchitecture *BareMetalServerProfileOsArchitecture `json:"os_architecture" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The supported trusted platform module modes for this bare metal server profile.
	SupportedTrustedPlatformModuleModes *BareMetalServerProfileSupportedTrustedPlatformModuleModes `json:"supported_trusted_platform_module_modes" validate:"required"`

	// Indicates whether this profile supports virtual network interfaces.
	VirtualNetworkInterfacesSupported *BareMetalServerProfileVirtualNetworkInterfacesSupported `json:"virtual_network_interfaces_supported" validate:"required"`
}

BareMetalServerProfile : BareMetalServerProfile struct

type BareMetalServerProfileBandwidth added in v0.16.0

type BareMetalServerProfileBandwidth struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

BareMetalServerProfileBandwidth : BareMetalServerProfileBandwidth struct Models which "extend" this model: - BareMetalServerProfileBandwidthFixed - BareMetalServerProfileBandwidthRange - BareMetalServerProfileBandwidthEnum - BareMetalServerProfileBandwidthDependent

type BareMetalServerProfileBandwidthDependent added in v0.16.0

type BareMetalServerProfileBandwidthDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileBandwidthDependent : The total bandwidth shared across the bare metal server network attachments or bare metal server network interfaces of a bare metal server with this profile depends on its configuration. This model "extends" BareMetalServerProfileBandwidth

type BareMetalServerProfileBandwidthEnum added in v0.16.0

type BareMetalServerProfileBandwidthEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

BareMetalServerProfileBandwidthEnum : The permitted total bandwidth values (in megabits per second) shared across the bare metal server network attachments or bare metal server network interfaces of a bare metal server with this profile. This model "extends" BareMetalServerProfileBandwidth

type BareMetalServerProfileBandwidthFixed added in v0.16.0

type BareMetalServerProfileBandwidthFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

BareMetalServerProfileBandwidthFixed : The total bandwidth (in megabits per second) shared across the bare metal server network attachments or bare metal server network interfaces of a bare metal server with this profile. This model "extends" BareMetalServerProfileBandwidth

type BareMetalServerProfileBandwidthIntf added in v0.16.0

type BareMetalServerProfileBandwidthIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileBandwidthRange added in v0.16.0

type BareMetalServerProfileBandwidthRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileBandwidthRange : The permitted total bandwidth range (in megabits per second) shared across the network attachments or network interfaces of a bare metal server with this profile. This model "extends" BareMetalServerProfileBandwidth

type BareMetalServerProfileCollection added in v0.16.0

type BareMetalServerProfileCollection struct {
	// A link to the first page of resources.
	First *BareMetalServerProfileCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *BareMetalServerProfileCollectionNext `json:"next,omitempty"`

	// Collection of bare metal server profiles.
	Profiles []BareMetalServerProfile `json:"profiles" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

BareMetalServerProfileCollection : BareMetalServerProfileCollection struct

func (*BareMetalServerProfileCollection) GetNextStart added in v0.16.0

func (resp *BareMetalServerProfileCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type BareMetalServerProfileCollectionFirst added in v0.16.0

type BareMetalServerProfileCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerProfileCollectionFirst : A link to the first page of resources.

type BareMetalServerProfileCollectionNext added in v0.16.0

type BareMetalServerProfileCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerProfileCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type BareMetalServerProfileConsoleTypes added in v0.36.0

type BareMetalServerProfileConsoleTypes struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The console types for a bare metal server with this profile.
	Values []string `json:"values" validate:"required"`
}

BareMetalServerProfileConsoleTypes : The console type configuration for a bare metal server with this profile.

type BareMetalServerProfileCpuArchitecture added in v0.16.0

type BareMetalServerProfileCpuArchitecture struct {
	// The default CPU architecture for a bare metal server with this profile.
	Default *string `json:"default,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The CPU architecture for a bare metal server with this profile.
	Value *string `json:"value" validate:"required"`
}

BareMetalServerProfileCpuArchitecture : BareMetalServerProfileCpuArchitecture struct

type BareMetalServerProfileCpuCoreCount added in v0.16.0

type BareMetalServerProfileCpuCoreCount struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

BareMetalServerProfileCpuCoreCount : BareMetalServerProfileCpuCoreCount struct Models which "extend" this model: - BareMetalServerProfileCpuCoreCountFixed - BareMetalServerProfileCpuCoreCountRange - BareMetalServerProfileCpuCoreCountEnum - BareMetalServerProfileCpuCoreCountDependent

type BareMetalServerProfileCpuCoreCountDependent added in v0.16.0

type BareMetalServerProfileCpuCoreCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileCpuCoreCountDependent : The CPU core count for a bare metal server with this profile depends on its configuration. This model "extends" BareMetalServerProfileCpuCoreCount

type BareMetalServerProfileCpuCoreCountEnum added in v0.16.0

type BareMetalServerProfileCpuCoreCountEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

BareMetalServerProfileCpuCoreCountEnum : The permitted values for CPU cores for a bare metal server with this profile. This model "extends" BareMetalServerProfileCpuCoreCount

type BareMetalServerProfileCpuCoreCountFixed added in v0.16.0

type BareMetalServerProfileCpuCoreCountFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

BareMetalServerProfileCpuCoreCountFixed : The CPU core count for a bare metal server with this profile. This model "extends" BareMetalServerProfileCpuCoreCount

type BareMetalServerProfileCpuCoreCountIntf added in v0.16.0

type BareMetalServerProfileCpuCoreCountIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileCpuCoreCountRange added in v0.16.0

type BareMetalServerProfileCpuCoreCountRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileCpuCoreCountRange : The permitted range for the number of CPU cores for a bare metal server with this profile. This model "extends" BareMetalServerProfileCpuCoreCount

type BareMetalServerProfileCpuSocketCount added in v0.16.0

type BareMetalServerProfileCpuSocketCount struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

BareMetalServerProfileCpuSocketCount : BareMetalServerProfileCpuSocketCount struct Models which "extend" this model: - BareMetalServerProfileCpuSocketCountFixed - BareMetalServerProfileCpuSocketCountRange - BareMetalServerProfileCpuSocketCountEnum - BareMetalServerProfileCpuSocketCountDependent

type BareMetalServerProfileCpuSocketCountDependent added in v0.16.0

type BareMetalServerProfileCpuSocketCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileCpuSocketCountDependent : The CPU socket count for a bare metal server with this profile depends on its configuration. This model "extends" BareMetalServerProfileCpuSocketCount

type BareMetalServerProfileCpuSocketCountEnum added in v0.16.0

type BareMetalServerProfileCpuSocketCountEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

BareMetalServerProfileCpuSocketCountEnum : The permitted values for CPU sockets for a bare metal server with this profile. This model "extends" BareMetalServerProfileCpuSocketCount

type BareMetalServerProfileCpuSocketCountFixed added in v0.16.0

type BareMetalServerProfileCpuSocketCountFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

BareMetalServerProfileCpuSocketCountFixed : The number of CPU sockets for a bare metal server with this profile. This model "extends" BareMetalServerProfileCpuSocketCount

type BareMetalServerProfileCpuSocketCountIntf added in v0.16.0

type BareMetalServerProfileCpuSocketCountIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileCpuSocketCountRange added in v0.16.0

type BareMetalServerProfileCpuSocketCountRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileCpuSocketCountRange : The permitted range for the number of CPU sockets for a bare metal server with this profile. This model "extends" BareMetalServerProfileCpuSocketCount

type BareMetalServerProfileDisk added in v0.16.0

type BareMetalServerProfileDisk struct {
	Quantity BareMetalServerProfileDiskQuantityIntf `json:"quantity" validate:"required"`

	Size BareMetalServerProfileDiskSizeIntf `json:"size" validate:"required"`

	SupportedInterfaceTypes *BareMetalServerProfileDiskSupportedInterfaces `json:"supported_interface_types" validate:"required"`
}

BareMetalServerProfileDisk : Disks provided by this profile.

type BareMetalServerProfileDiskQuantity added in v0.16.0

type BareMetalServerProfileDiskQuantity struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

BareMetalServerProfileDiskQuantity : BareMetalServerProfileDiskQuantity struct Models which "extend" this model: - BareMetalServerProfileDiskQuantityFixed - BareMetalServerProfileDiskQuantityRange - BareMetalServerProfileDiskQuantityEnum - BareMetalServerProfileDiskQuantityDependent

type BareMetalServerProfileDiskQuantityDependent added in v0.16.0

type BareMetalServerProfileDiskQuantityDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileDiskQuantityDependent : The number of disks of this configuration for a bare metal server with this profile depends on its bare metal server configuration. This model "extends" BareMetalServerProfileDiskQuantity

type BareMetalServerProfileDiskQuantityEnum added in v0.16.0

type BareMetalServerProfileDiskQuantityEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

BareMetalServerProfileDiskQuantityEnum : The permitted the number of disks of this configuration for a bare metal server with this profile. This model "extends" BareMetalServerProfileDiskQuantity

type BareMetalServerProfileDiskQuantityFixed added in v0.16.0

type BareMetalServerProfileDiskQuantityFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

BareMetalServerProfileDiskQuantityFixed : The number of disks of this configuration for a bare metal server with this profile. This model "extends" BareMetalServerProfileDiskQuantity

type BareMetalServerProfileDiskQuantityIntf added in v0.16.0

type BareMetalServerProfileDiskQuantityIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileDiskQuantityRange added in v0.16.0

type BareMetalServerProfileDiskQuantityRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileDiskQuantityRange : The permitted range for the number of disks of this configuration for a bare metal server with this profile. This model "extends" BareMetalServerProfileDiskQuantity

type BareMetalServerProfileDiskSize added in v0.16.0

type BareMetalServerProfileDiskSize struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

BareMetalServerProfileDiskSize : BareMetalServerProfileDiskSize struct Models which "extend" this model: - BareMetalServerProfileDiskSizeFixed - BareMetalServerProfileDiskSizeRange - BareMetalServerProfileDiskSizeEnum - BareMetalServerProfileDiskSizeDependent

type BareMetalServerProfileDiskSizeDependent added in v0.16.0

type BareMetalServerProfileDiskSizeDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileDiskSizeDependent : The disk size in GB (gigabytes) of this configuration for a bare metal server with this profile depends on its bare metal server configuration. This model "extends" BareMetalServerProfileDiskSize

type BareMetalServerProfileDiskSizeEnum added in v0.16.0

type BareMetalServerProfileDiskSizeEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

BareMetalServerProfileDiskSizeEnum : The permitted disk size in GB (gigabytes) of this configuration for a bare metal server with this profile. This model "extends" BareMetalServerProfileDiskSize

type BareMetalServerProfileDiskSizeFixed added in v0.16.0

type BareMetalServerProfileDiskSizeFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

BareMetalServerProfileDiskSizeFixed : The size of the disk in GB (gigabytes). This model "extends" BareMetalServerProfileDiskSize

type BareMetalServerProfileDiskSizeIntf added in v0.16.0

type BareMetalServerProfileDiskSizeIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileDiskSizeRange added in v0.16.0

type BareMetalServerProfileDiskSizeRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileDiskSizeRange : The permitted range for the disk size of this configuration in GB (gigabytes) for a bare metal server with this profile. This model "extends" BareMetalServerProfileDiskSize

type BareMetalServerProfileDiskSupportedInterfaces added in v0.16.0

type BareMetalServerProfileDiskSupportedInterfaces struct {
	// The disk interface used for attaching the disk:
	// - `fcp`: Attached using Fiber Channel Protocol
	// - `sata`: Attached using Serial Advanced Technology Attachment
	// - `nvme`: Attached using Non-Volatile Memory Express
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Default *string `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported disk interfaces used for attaching the disk.
	Values []string `json:"values" validate:"required"`
}

BareMetalServerProfileDiskSupportedInterfaces : BareMetalServerProfileDiskSupportedInterfaces struct

type BareMetalServerProfileIdentity added in v0.16.0

type BareMetalServerProfileIdentity struct {
	// The name for this bare metal server profile.
	Name *string `json:"name,omitempty"`

	// The URL for this bare metal server profile.
	Href *string `json:"href,omitempty"`
}

BareMetalServerProfileIdentity : Identifies a bare metal server profile by a unique property. Models which "extend" this model: - BareMetalServerProfileIdentityByName - BareMetalServerProfileIdentityByHref

type BareMetalServerProfileIdentityByHref added in v0.16.0

type BareMetalServerProfileIdentityByHref struct {
	// The URL for this bare metal server profile.
	Href *string `json:"href" validate:"required"`
}

BareMetalServerProfileIdentityByHref : BareMetalServerProfileIdentityByHref struct This model "extends" BareMetalServerProfileIdentity

type BareMetalServerProfileIdentityByName added in v0.16.0

type BareMetalServerProfileIdentityByName struct {
	// The name for this bare metal server profile.
	Name *string `json:"name" validate:"required"`
}

BareMetalServerProfileIdentityByName : BareMetalServerProfileIdentityByName struct This model "extends" BareMetalServerProfileIdentity

type BareMetalServerProfileIdentityIntf added in v0.16.0

type BareMetalServerProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileMemory added in v0.16.0

type BareMetalServerProfileMemory struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

BareMetalServerProfileMemory : BareMetalServerProfileMemory struct Models which "extend" this model: - BareMetalServerProfileMemoryFixed - BareMetalServerProfileMemoryRange - BareMetalServerProfileMemoryEnum - BareMetalServerProfileMemoryDependent

type BareMetalServerProfileMemoryDependent added in v0.16.0

type BareMetalServerProfileMemoryDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileMemoryDependent : The memory value for a bare metal server with this profile depends on its configuration. This model "extends" BareMetalServerProfileMemory

type BareMetalServerProfileMemoryEnum added in v0.16.0

type BareMetalServerProfileMemoryEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

BareMetalServerProfileMemoryEnum : The permitted memory values (in gibibytes) for a bare metal server with this profile. This model "extends" BareMetalServerProfileMemory

type BareMetalServerProfileMemoryFixed added in v0.16.0

type BareMetalServerProfileMemoryFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

BareMetalServerProfileMemoryFixed : The memory (in gibibytes) for a bare metal server with this profile. This model "extends" BareMetalServerProfileMemory

type BareMetalServerProfileMemoryIntf added in v0.16.0

type BareMetalServerProfileMemoryIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileMemoryRange added in v0.16.0

type BareMetalServerProfileMemoryRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileMemoryRange : The permitted memory range (in gibibytes) for a bare metal server with this profile. This model "extends" BareMetalServerProfileMemory

type BareMetalServerProfileNetworkAttachmentCount added in v0.47.0

type BareMetalServerProfileNetworkAttachmentCount struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type,omitempty"`
}

BareMetalServerProfileNetworkAttachmentCount : BareMetalServerProfileNetworkAttachmentCount struct Models which "extend" this model: - BareMetalServerProfileNetworkAttachmentCountRange - BareMetalServerProfileNetworkAttachmentCountDependent

type BareMetalServerProfileNetworkAttachmentCountDependent added in v0.47.0

type BareMetalServerProfileNetworkAttachmentCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileNetworkAttachmentCountDependent : The number of network attachments supported on a bare metal server with this profile is dependent on its configuration. This model "extends" BareMetalServerProfileNetworkAttachmentCount

type BareMetalServerProfileNetworkAttachmentCountIntf added in v0.47.0

type BareMetalServerProfileNetworkAttachmentCountIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileNetworkAttachmentCountRange added in v0.47.0

type BareMetalServerProfileNetworkAttachmentCountRange struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileNetworkAttachmentCountRange : The number of network attachments supported on a bare metal server with this profile. This model "extends" BareMetalServerProfileNetworkAttachmentCount

type BareMetalServerProfileNetworkInterfaceCount added in v0.36.0

type BareMetalServerProfileNetworkInterfaceCount struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type,omitempty"`
}

BareMetalServerProfileNetworkInterfaceCount : BareMetalServerProfileNetworkInterfaceCount struct Models which "extend" this model: - BareMetalServerProfileNetworkInterfaceCountRange - BareMetalServerProfileNetworkInterfaceCountDependent

type BareMetalServerProfileNetworkInterfaceCountDependent added in v0.36.0

type BareMetalServerProfileNetworkInterfaceCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileNetworkInterfaceCountDependent : The number of bare metal server network interfaces supported on a bare metal server with this profile is dependent on its configuration. This model "extends" BareMetalServerProfileNetworkInterfaceCount

type BareMetalServerProfileNetworkInterfaceCountIntf added in v0.36.0

type BareMetalServerProfileNetworkInterfaceCountIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerProfileNetworkInterfaceCountRange added in v0.36.0

type BareMetalServerProfileNetworkInterfaceCountRange struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

BareMetalServerProfileNetworkInterfaceCountRange : The number of bare metal server network interfaces supported on a bare metal server with this profile. This model "extends" BareMetalServerProfileNetworkInterfaceCount

type BareMetalServerProfileOsArchitecture added in v0.16.0

type BareMetalServerProfileOsArchitecture struct {
	// The default OS architecture for a bare metal server with this profile.
	Default *string `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported OS architecture(s) for a bare metal server with this profile.
	Values []string `json:"values" validate:"required"`
}

BareMetalServerProfileOsArchitecture : BareMetalServerProfileOsArchitecture struct

type BareMetalServerProfileReference added in v0.16.0

type BareMetalServerProfileReference struct {
	// The URL for this bare metal server profile.
	Href *string `json:"href" validate:"required"`

	// The name for this bare metal server profile.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

BareMetalServerProfileReference : BareMetalServerProfileReference struct

type BareMetalServerProfileSupportedTrustedPlatformModuleModes added in v0.16.0

type BareMetalServerProfileSupportedTrustedPlatformModuleModes struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported trusted platform module modes.
	Values []string `json:"values" validate:"required"`
}

BareMetalServerProfileSupportedTrustedPlatformModuleModes : The supported trusted platform module modes for this bare metal server profile.

type BareMetalServerProfileVirtualNetworkInterfacesSupported added in v0.47.0

type BareMetalServerProfileVirtualNetworkInterfacesSupported struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *bool `json:"value" validate:"required"`
}

BareMetalServerProfileVirtualNetworkInterfacesSupported : Indicates whether this profile supports virtual network interfaces.

type BareMetalServerProfilesPager added in v0.25.0

type BareMetalServerProfilesPager struct {
	// contains filtered or unexported fields
}

BareMetalServerProfilesPager can be used to simplify the use of the "ListBareMetalServerProfiles" method.

func (*BareMetalServerProfilesPager) GetAll added in v0.25.0

func (pager *BareMetalServerProfilesPager) GetAll() (allItems []BareMetalServerProfile, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*BareMetalServerProfilesPager) GetAllWithContext added in v0.25.0

func (pager *BareMetalServerProfilesPager) GetAllWithContext(ctx context.Context) (allItems []BareMetalServerProfile, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*BareMetalServerProfilesPager) GetNext added in v0.25.0

func (pager *BareMetalServerProfilesPager) GetNext() (page []BareMetalServerProfile, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*BareMetalServerProfilesPager) GetNextWithContext added in v0.25.0

func (pager *BareMetalServerProfilesPager) GetNextWithContext(ctx context.Context) (page []BareMetalServerProfile, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*BareMetalServerProfilesPager) HasNext added in v0.25.0

func (pager *BareMetalServerProfilesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type BareMetalServerPrototype added in v0.47.0

type BareMetalServerPrototype struct {
	// Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to
	// boot.
	EnableSecureBoot *bool `json:"enable_secure_boot,omitempty"`

	Initialization *BareMetalServerInitializationPrototype `json:"initialization" validate:"required"`

	// The name for this bare metal server. The name must not be used by another bare metal server in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-bare-metal-servers-profile)
	// to use for this bare metal server.
	Profile BareMetalServerProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	TrustedPlatformModule *BareMetalServerTrustedPlatformModulePrototype `json:"trusted_platform_module,omitempty"`

	// The VPC this bare metal server will reside in.
	//
	// If specified, it must match the VPC for the subnets that the network attachments or
	// network interfaces of the bare metal server are attached to.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The zone this bare metal server will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the bare metal server.
	NetworkAttachments []BareMetalServerNetworkAttachmentPrototypeIntf `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the bare metal server.
	PrimaryNetworkAttachment BareMetalServerPrimaryNetworkAttachmentPrototypeIntf `json:"primary_network_attachment,omitempty"`

	// The additional bare metal server network interfaces to create.
	NetworkInterfaces []BareMetalServerNetworkInterfacePrototypeIntf `json:"network_interfaces,omitempty"`

	// The primary bare metal server network interface to create.
	PrimaryNetworkInterface *BareMetalServerPrimaryNetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

BareMetalServerPrototype : BareMetalServerPrototype struct Models which "extend" this model: - BareMetalServerPrototypeBareMetalServerByNetworkAttachment - BareMetalServerPrototypeBareMetalServerByNetworkInterface

type BareMetalServerPrototypeBareMetalServerByNetworkAttachment added in v0.47.0

type BareMetalServerPrototypeBareMetalServerByNetworkAttachment struct {
	// Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to
	// boot.
	EnableSecureBoot *bool `json:"enable_secure_boot,omitempty"`

	Initialization *BareMetalServerInitializationPrototype `json:"initialization" validate:"required"`

	// The name for this bare metal server. The name must not be used by another bare metal server in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-bare-metal-servers-profile) to use for this bare metal
	// server.
	Profile BareMetalServerProfileIdentityIntf `json:"profile" validate:"required"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	TrustedPlatformModule *BareMetalServerTrustedPlatformModulePrototype `json:"trusted_platform_module,omitempty"`

	// The VPC this bare metal server will reside in.
	//
	// If specified, it must match the VPC for the subnets that the network attachments or network interfaces of the bare
	// metal server are attached to.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The zone this bare metal server will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the bare metal server.
	NetworkAttachments []BareMetalServerNetworkAttachmentPrototypeIntf `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the bare metal server.
	PrimaryNetworkAttachment BareMetalServerPrimaryNetworkAttachmentPrototypeIntf `json:"primary_network_attachment" validate:"required"`
}

BareMetalServerPrototypeBareMetalServerByNetworkAttachment : BareMetalServerPrototypeBareMetalServerByNetworkAttachment struct This model "extends" BareMetalServerPrototype

type BareMetalServerPrototypeBareMetalServerByNetworkInterface added in v0.47.0

type BareMetalServerPrototypeBareMetalServerByNetworkInterface struct {
	// Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to
	// boot.
	EnableSecureBoot *bool `json:"enable_secure_boot,omitempty"`

	Initialization *BareMetalServerInitializationPrototype `json:"initialization" validate:"required"`

	// The name for this bare metal server. The name must not be used by another bare metal server in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-bare-metal-servers-profile) to use for this bare metal
	// server.
	Profile BareMetalServerProfileIdentityIntf `json:"profile" validate:"required"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	TrustedPlatformModule *BareMetalServerTrustedPlatformModulePrototype `json:"trusted_platform_module,omitempty"`

	// The VPC this bare metal server will reside in.
	//
	// If specified, it must match the VPC for the subnets that the network attachments or network interfaces of the bare
	// metal server are attached to.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The zone this bare metal server will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional bare metal server network interfaces to create.
	NetworkInterfaces []BareMetalServerNetworkInterfacePrototypeIntf `json:"network_interfaces,omitempty"`

	// The primary bare metal server network interface to create.
	PrimaryNetworkInterface *BareMetalServerPrimaryNetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

BareMetalServerPrototypeBareMetalServerByNetworkInterface : BareMetalServerPrototypeBareMetalServerByNetworkInterface struct This model "extends" BareMetalServerPrototype

type BareMetalServerPrototypeIntf added in v0.47.0

type BareMetalServerPrototypeIntf interface {
	// contains filtered or unexported methods
}

type BareMetalServerStatusReason added in v0.16.0

type BareMetalServerStatusReason struct {
	// The status reason code:
	// - `cannot_start`: Failed to start due to an internal error
	// - `cannot_start_capacity`: Insufficient capacity within the selected zone
	// - `cannot_start_compute`: An error occurred while allocating compute resources
	// - `cannot_start_ip_address`: An error occurred while allocating an IP address
	// - `cannot_start_network`: An error occurred while allocating network resources
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

BareMetalServerStatusReason : BareMetalServerStatusReason struct

type BareMetalServerTrustedPlatformModule added in v0.16.0

type BareMetalServerTrustedPlatformModule struct {
	// Indicates whether the trusted platform module is enabled.
	Enabled *bool `json:"enabled" validate:"required"`

	// The trusted platform module (TPM) mode:
	// - `disabled`: No TPM functionality
	// - `tpm_2`: TPM 2.0
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Mode *string `json:"mode" validate:"required"`

	// The supported trusted platform module modes.
	SupportedModes []string `json:"supported_modes" validate:"required"`
}

BareMetalServerTrustedPlatformModule : BareMetalServerTrustedPlatformModule struct

type BareMetalServerTrustedPlatformModulePatch added in v0.31.0

type BareMetalServerTrustedPlatformModulePatch struct {
	// The trusted platform module mode to use. The specified value must be listed in the bare metal server's
	// `supported_modes`.
	//
	// For the trusted platform module mode to be changed, the bare metal server `status` must be `stopped`.
	Mode *string `json:"mode,omitempty"`
}

BareMetalServerTrustedPlatformModulePatch : BareMetalServerTrustedPlatformModulePatch struct

type BareMetalServerTrustedPlatformModulePrototype added in v0.31.0

type BareMetalServerTrustedPlatformModulePrototype struct {
	// The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's
	// `supported_trusted_platform_module_modes`.
	Mode *string `json:"mode,omitempty"`
}

BareMetalServerTrustedPlatformModulePrototype : BareMetalServerTrustedPlatformModulePrototype struct

type BareMetalServersPager added in v0.25.0

type BareMetalServersPager struct {
	// contains filtered or unexported fields
}

BareMetalServersPager can be used to simplify the use of the "ListBareMetalServers" method.

func (*BareMetalServersPager) GetAll added in v0.25.0

func (pager *BareMetalServersPager) GetAll() (allItems []BareMetalServer, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*BareMetalServersPager) GetAllWithContext added in v0.25.0

func (pager *BareMetalServersPager) GetAllWithContext(ctx context.Context) (allItems []BareMetalServer, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*BareMetalServersPager) GetNext added in v0.25.0

func (pager *BareMetalServersPager) GetNext() (page []BareMetalServer, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*BareMetalServersPager) GetNextWithContext added in v0.25.0

func (pager *BareMetalServersPager) GetNextWithContext(ctx context.Context) (page []BareMetalServer, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*BareMetalServersPager) HasNext added in v0.25.0

func (pager *BareMetalServersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type CatalogOfferingIdentity added in v0.26.0

type CatalogOfferingIdentity struct {
	// The CRN for this
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering.
	CRN *string `json:"crn,omitempty"`
}

CatalogOfferingIdentity : Identifies a [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering by a unique property. Models which "extend" this model: - CatalogOfferingIdentityCatalogOfferingByCRN

type CatalogOfferingIdentityCatalogOfferingByCRN added in v0.26.0

type CatalogOfferingIdentityCatalogOfferingByCRN struct {
	// The CRN for this
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering.
	CRN *string `json:"crn" validate:"required"`
}

CatalogOfferingIdentityCatalogOfferingByCRN : CatalogOfferingIdentityCatalogOfferingByCRN struct This model "extends" CatalogOfferingIdentity

type CatalogOfferingIdentityIntf added in v0.26.0

type CatalogOfferingIdentityIntf interface {
	// contains filtered or unexported methods
}

type CatalogOfferingVersionIdentity added in v0.26.0

type CatalogOfferingVersionIdentity struct {
	// The CRN for this version of a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering.
	CRN *string `json:"crn,omitempty"`
}

CatalogOfferingVersionIdentity : Identifies a version of a [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering by a unique property. Models which "extend" this model: - CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN

type CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN added in v0.26.0

type CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN struct {
	// The CRN for this version of a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering.
	CRN *string `json:"crn" validate:"required"`
}

CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN : CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN struct This model "extends" CatalogOfferingVersionIdentity

type CatalogOfferingVersionIdentityIntf added in v0.26.0

type CatalogOfferingVersionIdentityIntf interface {
	// contains filtered or unexported methods
}

type CatalogOfferingVersionReference added in v0.26.0

type CatalogOfferingVersionReference struct {
	// The CRN for this version of a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering.
	CRN *string `json:"crn" validate:"required"`
}

CatalogOfferingVersionReference : CatalogOfferingVersionReference struct

type CertificateInstanceIdentity

type CertificateInstanceIdentity struct {
	// The CRN for this certificate instance.
	CRN *string `json:"crn,omitempty"`
}

CertificateInstanceIdentity : Identifies a certificate instance by a unique property. Models which "extend" this model: - CertificateInstanceIdentityByCRN

type CertificateInstanceIdentityByCRN

type CertificateInstanceIdentityByCRN struct {
	// The CRN for this certificate instance.
	CRN *string `json:"crn" validate:"required"`
}

CertificateInstanceIdentityByCRN : CertificateInstanceIdentityByCRN struct This model "extends" CertificateInstanceIdentity

type CertificateInstanceIdentityIntf

type CertificateInstanceIdentityIntf interface {
	// contains filtered or unexported methods
}

type CertificateInstanceReference

type CertificateInstanceReference struct {
	// The CRN for this certificate instance.
	CRN *string `json:"crn" validate:"required"`
}

CertificateInstanceReference : CertificateInstanceReference struct

type CheckVPNGatewayConnectionsLocalCIDROptions added in v0.51.0

type CheckVPNGatewayConnectionsLocalCIDROptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IP address range in CIDR block notation.
	CIDR *string `json:"cidr" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CheckVPNGatewayConnectionsLocalCIDROptions : The CheckVPNGatewayConnectionsLocalCIDR options.

func (*CheckVPNGatewayConnectionsLocalCIDROptions) SetCIDR added in v0.51.0

SetCIDR : Allow user to set CIDR

func (*CheckVPNGatewayConnectionsLocalCIDROptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*CheckVPNGatewayConnectionsLocalCIDROptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*CheckVPNGatewayConnectionsLocalCIDROptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type CheckVPNGatewayConnectionsPeerCIDROptions added in v0.51.0

type CheckVPNGatewayConnectionsPeerCIDROptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IP address range in CIDR block notation.
	CIDR *string `json:"cidr" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CheckVPNGatewayConnectionsPeerCIDROptions : The CheckVPNGatewayConnectionsPeerCIDR options.

func (*CheckVPNGatewayConnectionsPeerCIDROptions) SetCIDR added in v0.51.0

SetCIDR : Allow user to set CIDR

func (*CheckVPNGatewayConnectionsPeerCIDROptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*CheckVPNGatewayConnectionsPeerCIDROptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*CheckVPNGatewayConnectionsPeerCIDROptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type CloudObjectStorageBucketIdentity

type CloudObjectStorageBucketIdentity struct {
	// The globally unique name of this Cloud Object Storage bucket.
	Name *string `json:"name,omitempty"`

	// The CRN of this Cloud Object Storage bucket.
	CRN *string `json:"crn,omitempty"`
}

CloudObjectStorageBucketIdentity : Identifies a Cloud Object Storage bucket by a unique property. Models which "extend" this model: - CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName - CloudObjectStorageBucketIdentityByCRN

type CloudObjectStorageBucketIdentityByCRN added in v0.37.0

type CloudObjectStorageBucketIdentityByCRN struct {
	// The CRN of this Cloud Object Storage bucket.
	CRN *string `json:"crn" validate:"required"`
}

CloudObjectStorageBucketIdentityByCRN : CloudObjectStorageBucketIdentityByCRN struct This model "extends" CloudObjectStorageBucketIdentity

type CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName added in v0.37.0

type CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName struct {
	// The globally unique name of this Cloud Object Storage bucket.
	Name *string `json:"name" validate:"required"`
}

CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName : CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName struct This model "extends" CloudObjectStorageBucketIdentity

type CloudObjectStorageBucketIdentityIntf

type CloudObjectStorageBucketIdentityIntf interface {
	// contains filtered or unexported methods
}

type CloudObjectStorageBucketReference

type CloudObjectStorageBucketReference struct {
	// The CRN of this Cloud Object Storage bucket.
	CRN *string `json:"crn" validate:"required"`

	// The globally unique name of this Cloud Object Storage bucket.
	Name *string `json:"name" validate:"required"`
}

CloudObjectStorageBucketReference : CloudObjectStorageBucketReference struct

type CloudObjectStorageObjectReference added in v0.37.0

type CloudObjectStorageObjectReference struct {
	// The name of this Cloud Object Storage object. Names are unique within a Cloud Object Storage bucket.
	Name *string `json:"name" validate:"required"`
}

CloudObjectStorageObjectReference : CloudObjectStorageObjectReference struct

type CreateBackupPolicyOptions added in v0.21.0

type CreateBackupPolicyOptions struct {
	// The backup policy prototype object.
	BackupPolicyPrototype BackupPolicyPrototypeIntf `json:"BackupPolicyPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateBackupPolicyOptions : The CreateBackupPolicy options.

func (*CreateBackupPolicyOptions) SetBackupPolicyPrototype added in v0.45.0

func (_options *CreateBackupPolicyOptions) SetBackupPolicyPrototype(backupPolicyPrototype BackupPolicyPrototypeIntf) *CreateBackupPolicyOptions

SetBackupPolicyPrototype : Allow user to set BackupPolicyPrototype

func (*CreateBackupPolicyOptions) SetHeaders added in v0.21.0

func (options *CreateBackupPolicyOptions) SetHeaders(param map[string]string) *CreateBackupPolicyOptions

SetHeaders : Allow user to set Headers

type CreateBackupPolicyPlanOptions added in v0.21.0

type CreateBackupPolicyPlanOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// The cron specification for the backup schedule. The backup policy jobs
	// (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes
	// after this time.
	//
	// All backup schedules for plans in the same policy must be at least an hour apart.
	CronSpec *string `json:"cron_spec" validate:"required"`

	// Indicates whether the plan is active.
	Active *bool `json:"active,omitempty"`

	// User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
	AttachUserTags []string `json:"attach_user_tags,omitempty"`

	ClonePolicy *BackupPolicyPlanClonePolicyPrototype `json:"clone_policy,omitempty"`

	// Indicates whether to copy the source's user tags to the created backups (snapshots).
	CopyUserTags *bool `json:"copy_user_tags,omitempty"`

	DeletionTrigger *BackupPolicyPlanDeletionTriggerPrototype `json:"deletion_trigger,omitempty"`

	// The name for this backup policy plan. The name must not be used by another plan for the backup policy. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The policies for additional backups in remote regions.
	RemoteRegionPolicies []BackupPolicyPlanRemoteRegionPolicyPrototype `json:"remote_region_policies,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateBackupPolicyPlanOptions : The CreateBackupPolicyPlan options.

func (*CreateBackupPolicyPlanOptions) SetActive added in v0.21.0

SetActive : Allow user to set Active

func (*CreateBackupPolicyPlanOptions) SetAttachUserTags added in v0.21.0

func (_options *CreateBackupPolicyPlanOptions) SetAttachUserTags(attachUserTags []string) *CreateBackupPolicyPlanOptions

SetAttachUserTags : Allow user to set AttachUserTags

func (*CreateBackupPolicyPlanOptions) SetBackupPolicyID added in v0.21.0

func (_options *CreateBackupPolicyPlanOptions) SetBackupPolicyID(backupPolicyID string) *CreateBackupPolicyPlanOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*CreateBackupPolicyPlanOptions) SetClonePolicy added in v0.31.0

SetClonePolicy : Allow user to set ClonePolicy

func (*CreateBackupPolicyPlanOptions) SetCopyUserTags added in v0.21.0

func (_options *CreateBackupPolicyPlanOptions) SetCopyUserTags(copyUserTags bool) *CreateBackupPolicyPlanOptions

SetCopyUserTags : Allow user to set CopyUserTags

func (*CreateBackupPolicyPlanOptions) SetCronSpec added in v0.21.0

func (_options *CreateBackupPolicyPlanOptions) SetCronSpec(cronSpec string) *CreateBackupPolicyPlanOptions

SetCronSpec : Allow user to set CronSpec

func (*CreateBackupPolicyPlanOptions) SetDeletionTrigger added in v0.21.0

SetDeletionTrigger : Allow user to set DeletionTrigger

func (*CreateBackupPolicyPlanOptions) SetHeaders added in v0.21.0

SetHeaders : Allow user to set Headers

func (*CreateBackupPolicyPlanOptions) SetName added in v0.21.0

SetName : Allow user to set Name

func (*CreateBackupPolicyPlanOptions) SetRemoteRegionPolicies added in v0.39.0

func (_options *CreateBackupPolicyPlanOptions) SetRemoteRegionPolicies(remoteRegionPolicies []BackupPolicyPlanRemoteRegionPolicyPrototype) *CreateBackupPolicyPlanOptions

SetRemoteRegionPolicies : Allow user to set RemoteRegionPolicies

type CreateBareMetalServerConsoleAccessTokenOptions added in v0.16.0

type CreateBareMetalServerConsoleAccessTokenOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server console type for which this token may be used
	//
	// Must be `serial` for bare metal servers with a `cpu.architecture` of `s390x`.
	ConsoleType *string `json:"console_type" validate:"required"`

	// Indicates whether to disconnect an existing serial console session as the serial console cannot be shared.  This has
	// no effect on VNC consoles.
	Force *bool `json:"force,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateBareMetalServerConsoleAccessTokenOptions : The CreateBareMetalServerConsoleAccessToken options.

func (*CreateBareMetalServerConsoleAccessTokenOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*CreateBareMetalServerConsoleAccessTokenOptions) SetConsoleType added in v0.16.0

SetConsoleType : Allow user to set ConsoleType

func (*CreateBareMetalServerConsoleAccessTokenOptions) SetForce added in v0.16.0

SetForce : Allow user to set Force

func (*CreateBareMetalServerConsoleAccessTokenOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

type CreateBareMetalServerNetworkAttachmentOptions added in v0.47.0

type CreateBareMetalServerNetworkAttachmentOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network attachment prototype object.
	BareMetalServerNetworkAttachmentPrototype BareMetalServerNetworkAttachmentPrototypeIntf `json:"BareMetalServerNetworkAttachmentPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateBareMetalServerNetworkAttachmentOptions : The CreateBareMetalServerNetworkAttachment options.

func (*CreateBareMetalServerNetworkAttachmentOptions) SetBareMetalServerID added in v0.47.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*CreateBareMetalServerNetworkAttachmentOptions) SetBareMetalServerNetworkAttachmentPrototype added in v0.47.0

func (_options *CreateBareMetalServerNetworkAttachmentOptions) SetBareMetalServerNetworkAttachmentPrototype(bareMetalServerNetworkAttachmentPrototype BareMetalServerNetworkAttachmentPrototypeIntf) *CreateBareMetalServerNetworkAttachmentOptions

SetBareMetalServerNetworkAttachmentPrototype : Allow user to set BareMetalServerNetworkAttachmentPrototype

func (*CreateBareMetalServerNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

type CreateBareMetalServerNetworkInterfaceOptions added in v0.16.0

type CreateBareMetalServerNetworkInterfaceOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface prototype object.
	BareMetalServerNetworkInterfacePrototype BareMetalServerNetworkInterfacePrototypeIntf `json:"BareMetalServerNetworkInterfacePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateBareMetalServerNetworkInterfaceOptions : The CreateBareMetalServerNetworkInterface options.

func (*CreateBareMetalServerNetworkInterfaceOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*CreateBareMetalServerNetworkInterfaceOptions) SetBareMetalServerNetworkInterfacePrototype added in v0.16.0

func (_options *CreateBareMetalServerNetworkInterfaceOptions) SetBareMetalServerNetworkInterfacePrototype(bareMetalServerNetworkInterfacePrototype BareMetalServerNetworkInterfacePrototypeIntf) *CreateBareMetalServerNetworkInterfaceOptions

SetBareMetalServerNetworkInterfacePrototype : Allow user to set BareMetalServerNetworkInterfacePrototype

func (*CreateBareMetalServerNetworkInterfaceOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

type CreateBareMetalServerOptions added in v0.16.0

type CreateBareMetalServerOptions struct {
	// The bare metal server prototype object.
	BareMetalServerPrototype BareMetalServerPrototypeIntf `json:"BareMetalServerPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateBareMetalServerOptions : The CreateBareMetalServer options.

func (*CreateBareMetalServerOptions) SetBareMetalServerPrototype added in v0.47.0

func (_options *CreateBareMetalServerOptions) SetBareMetalServerPrototype(bareMetalServerPrototype BareMetalServerPrototypeIntf) *CreateBareMetalServerOptions

SetBareMetalServerPrototype : Allow user to set BareMetalServerPrototype

func (*CreateBareMetalServerOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

type CreateDedicatedHostGroupOptions added in v0.4.0

type CreateDedicatedHostGroupOptions struct {
	// The dedicated host profile class for hosts in this group.
	Class *string `json:"class" validate:"required"`

	// The dedicated host profile family for hosts in this group.
	Family *string `json:"family" validate:"required"`

	// The zone this dedicated host group will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The name for this dedicated host group. The name must not be used by another dedicated host group in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateDedicatedHostGroupOptions : The CreateDedicatedHostGroup options.

func (*CreateDedicatedHostGroupOptions) SetClass added in v0.4.0

SetClass : Allow user to set Class

func (*CreateDedicatedHostGroupOptions) SetFamily added in v0.4.0

SetFamily : Allow user to set Family

func (*CreateDedicatedHostGroupOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*CreateDedicatedHostGroupOptions) SetName added in v0.4.0

SetName : Allow user to set Name

func (*CreateDedicatedHostGroupOptions) SetResourceGroup added in v0.4.0

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateDedicatedHostGroupOptions) SetZone added in v0.4.0

SetZone : Allow user to set Zone

type CreateDedicatedHostOptions added in v0.4.0

type CreateDedicatedHostOptions struct {
	// The dedicated host prototype object.
	DedicatedHostPrototype DedicatedHostPrototypeIntf `json:"DedicatedHostPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateDedicatedHostOptions : The CreateDedicatedHost options.

func (*CreateDedicatedHostOptions) SetDedicatedHostPrototype added in v0.4.0

func (_options *CreateDedicatedHostOptions) SetDedicatedHostPrototype(dedicatedHostPrototype DedicatedHostPrototypeIntf) *CreateDedicatedHostOptions

SetDedicatedHostPrototype : Allow user to set DedicatedHostPrototype

func (*CreateDedicatedHostOptions) SetHeaders added in v0.4.0

func (options *CreateDedicatedHostOptions) SetHeaders(param map[string]string) *CreateDedicatedHostOptions

SetHeaders : Allow user to set Headers

type CreateEndpointGatewayOptions added in v0.3.0

type CreateEndpointGatewayOptions struct {
	// The target to use for this endpoint gateway. Must not already be the target of another
	// endpoint gateway in the VPC.
	Target EndpointGatewayTargetPrototypeIntf `json:"target" validate:"required"`

	// The VPC this endpoint gateway will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// Indicates whether to allow DNS resolution for this endpoint gateway when the VPC this endpoint gateway resides in
	// has a DNS resolution binding to a VPC with `dns.enable_hub` set to `true`.
	//
	// Must be `true` if the VPC this endpoint gateway resides in has `dns.enable_hub` set to
	// `true`.
	AllowDnsResolutionBinding *bool `json:"allow_dns_resolution_binding,omitempty"`

	// The reserved IPs to bind to this endpoint gateway. At most one reserved IP per zone is allowed.
	Ips []EndpointGatewayReservedIPIntf `json:"ips,omitempty"`

	// The name for this endpoint gateway. The name must not be used by another endpoint gateway in the VPC. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this endpoint gateway. If unspecified, the VPC's default security group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateEndpointGatewayOptions : The CreateEndpointGateway options.

func (*CreateEndpointGatewayOptions) SetAllowDnsResolutionBinding added in v0.43.0

func (_options *CreateEndpointGatewayOptions) SetAllowDnsResolutionBinding(allowDnsResolutionBinding bool) *CreateEndpointGatewayOptions

SetAllowDnsResolutionBinding : Allow user to set AllowDnsResolutionBinding

func (*CreateEndpointGatewayOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*CreateEndpointGatewayOptions) SetIps added in v0.3.0

SetIps : Allow user to set Ips

func (*CreateEndpointGatewayOptions) SetName added in v0.3.0

SetName : Allow user to set Name

func (*CreateEndpointGatewayOptions) SetResourceGroup added in v0.3.0

func (_options *CreateEndpointGatewayOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateEndpointGatewayOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateEndpointGatewayOptions) SetSecurityGroups added in v0.15.0

func (_options *CreateEndpointGatewayOptions) SetSecurityGroups(securityGroups []SecurityGroupIdentityIntf) *CreateEndpointGatewayOptions

SetSecurityGroups : Allow user to set SecurityGroups

func (*CreateEndpointGatewayOptions) SetTarget added in v0.3.0

SetTarget : Allow user to set Target

func (*CreateEndpointGatewayOptions) SetVPC added in v0.3.0

SetVPC : Allow user to set VPC

type CreateFloatingIPOptions

type CreateFloatingIPOptions struct {
	// The floating IP prototype object.
	FloatingIPPrototype FloatingIPPrototypeIntf `json:"FloatingIPPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateFloatingIPOptions : The CreateFloatingIP options.

func (*CreateFloatingIPOptions) SetFloatingIPPrototype

func (_options *CreateFloatingIPOptions) SetFloatingIPPrototype(floatingIPPrototype FloatingIPPrototypeIntf) *CreateFloatingIPOptions

SetFloatingIPPrototype : Allow user to set FloatingIPPrototype

func (*CreateFloatingIPOptions) SetHeaders

func (options *CreateFloatingIPOptions) SetHeaders(param map[string]string) *CreateFloatingIPOptions

SetHeaders : Allow user to set Headers

type CreateFlowLogCollectorOptions

type CreateFlowLogCollectorOptions struct {
	// The Cloud Object Storage bucket where the collected flows will be logged.
	// The bucket must exist and an IAM service authorization must grant
	// `IBM Cloud Flow Logs` resources of `VPC Infrastructure Services` writer
	// access to the bucket. For more information, see [Creating a flow log
	// collector](https://cloud.ibm.com/docs/vpc?topic=vpc-ordering-flow-log-collector).
	StorageBucket LegacyCloudObjectStorageBucketIdentityIntf `json:"storage_bucket" validate:"required"`

	// The target this collector will collect flow logs for.
	//
	// If the target is an instance, subnet, or VPC, flow logs will not be collected for any
	// instance network attachments, virtual network interfaces or instance network interfaces
	// within the target that are themselves the target of a more specific flow log collector.
	//
	// The target must not be a virtual network interface that is attached to a bare metal server
	// network attachment or to a file share mount target.
	Target FlowLogCollectorTargetPrototypeIntf `json:"target" validate:"required"`

	// Indicates whether this collector will be active upon creation.
	Active *bool `json:"active,omitempty"`

	// The name for this flow log collector. The name must not be used by another flow log collector in the VPC. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateFlowLogCollectorOptions : The CreateFlowLogCollector options.

func (*CreateFlowLogCollectorOptions) SetActive

SetActive : Allow user to set Active

func (*CreateFlowLogCollectorOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateFlowLogCollectorOptions) SetName

SetName : Allow user to set Name

func (*CreateFlowLogCollectorOptions) SetResourceGroup

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateFlowLogCollectorOptions) SetStorageBucket

SetStorageBucket : Allow user to set StorageBucket

func (*CreateFlowLogCollectorOptions) SetTarget

SetTarget : Allow user to set Target

type CreateIkePolicyOptions

type CreateIkePolicyOptions struct {
	// The authentication algorithm.
	AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"`

	// The Diffie-Hellman group.
	DhGroup *int64 `json:"dh_group" validate:"required"`

	// The encryption algorithm.
	EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"`

	// The IKE protocol version.
	IkeVersion *int64 `json:"ike_version" validate:"required"`

	// The key lifetime in seconds.
	KeyLifetime *int64 `json:"key_lifetime,omitempty"`

	// The name for this IKE policy. The name must not be used by another IKE policies in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateIkePolicyOptions : The CreateIkePolicy options.

func (*CreateIkePolicyOptions) SetAuthenticationAlgorithm

func (_options *CreateIkePolicyOptions) SetAuthenticationAlgorithm(authenticationAlgorithm string) *CreateIkePolicyOptions

SetAuthenticationAlgorithm : Allow user to set AuthenticationAlgorithm

func (*CreateIkePolicyOptions) SetDhGroup

func (_options *CreateIkePolicyOptions) SetDhGroup(dhGroup int64) *CreateIkePolicyOptions

SetDhGroup : Allow user to set DhGroup

func (*CreateIkePolicyOptions) SetEncryptionAlgorithm

func (_options *CreateIkePolicyOptions) SetEncryptionAlgorithm(encryptionAlgorithm string) *CreateIkePolicyOptions

SetEncryptionAlgorithm : Allow user to set EncryptionAlgorithm

func (*CreateIkePolicyOptions) SetHeaders

func (options *CreateIkePolicyOptions) SetHeaders(param map[string]string) *CreateIkePolicyOptions

SetHeaders : Allow user to set Headers

func (*CreateIkePolicyOptions) SetIkeVersion

func (_options *CreateIkePolicyOptions) SetIkeVersion(ikeVersion int64) *CreateIkePolicyOptions

SetIkeVersion : Allow user to set IkeVersion

func (*CreateIkePolicyOptions) SetKeyLifetime

func (_options *CreateIkePolicyOptions) SetKeyLifetime(keyLifetime int64) *CreateIkePolicyOptions

SetKeyLifetime : Allow user to set KeyLifetime

func (*CreateIkePolicyOptions) SetName

func (_options *CreateIkePolicyOptions) SetName(name string) *CreateIkePolicyOptions

SetName : Allow user to set Name

func (*CreateIkePolicyOptions) SetResourceGroup

func (_options *CreateIkePolicyOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateIkePolicyOptions

SetResourceGroup : Allow user to set ResourceGroup

type CreateImageExportJobOptions added in v0.37.0

type CreateImageExportJobOptions struct {
	// The image identifier.
	ImageID *string `json:"image_id" validate:"required,ne="`

	// The Cloud Object Storage bucket to export the image to. The bucket must exist and an IAM
	// service authorization must grant `Image Service for VPC` of
	// `VPC Infrastructure Services` writer access to the bucket.
	StorageBucket CloudObjectStorageBucketIdentityIntf `json:"storage_bucket" validate:"required"`

	// The format to use for the exported image. If the image is encrypted, only `qcow2` is supported.
	Format *string `json:"format,omitempty"`

	// The name for this image export job. The name must not be used by another export job for the image. If unspecified,
	// the name will be a hyphenated list of randomly-selected words prefixed with the first 16 characters of the parent
	// image name.
	//
	// The exported image object name in Cloud Object Storage (`storage_object.name` in the response) will be based on this
	// name. The object name will be unique within the bucket.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateImageExportJobOptions : The CreateImageExportJob options.

func (*CreateImageExportJobOptions) SetFormat added in v0.37.0

func (_options *CreateImageExportJobOptions) SetFormat(format string) *CreateImageExportJobOptions

SetFormat : Allow user to set Format

func (*CreateImageExportJobOptions) SetHeaders added in v0.37.0

func (options *CreateImageExportJobOptions) SetHeaders(param map[string]string) *CreateImageExportJobOptions

SetHeaders : Allow user to set Headers

func (*CreateImageExportJobOptions) SetImageID added in v0.37.0

func (_options *CreateImageExportJobOptions) SetImageID(imageID string) *CreateImageExportJobOptions

SetImageID : Allow user to set ImageID

func (*CreateImageExportJobOptions) SetName added in v0.37.0

SetName : Allow user to set Name

func (*CreateImageExportJobOptions) SetStorageBucket added in v0.37.0

SetStorageBucket : Allow user to set StorageBucket

type CreateImageOptions

type CreateImageOptions struct {
	// The image prototype object.
	ImagePrototype ImagePrototypeIntf `json:"ImagePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateImageOptions : The CreateImage options.

func (*CreateImageOptions) SetHeaders

func (options *CreateImageOptions) SetHeaders(param map[string]string) *CreateImageOptions

SetHeaders : Allow user to set Headers

func (*CreateImageOptions) SetImagePrototype

func (_options *CreateImageOptions) SetImagePrototype(imagePrototype ImagePrototypeIntf) *CreateImageOptions

SetImagePrototype : Allow user to set ImagePrototype

type CreateInstanceActionOptions

type CreateInstanceActionOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The type of action.
	Type *string `json:"type" validate:"required"`

	// If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action.
	Force *bool `json:"force,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceActionOptions : The CreateInstanceAction options.

func (*CreateInstanceActionOptions) SetForce

SetForce : Allow user to set Force

func (*CreateInstanceActionOptions) SetHeaders

func (options *CreateInstanceActionOptions) SetHeaders(param map[string]string) *CreateInstanceActionOptions

SetHeaders : Allow user to set Headers

func (*CreateInstanceActionOptions) SetInstanceID

func (_options *CreateInstanceActionOptions) SetInstanceID(instanceID string) *CreateInstanceActionOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateInstanceActionOptions) SetType

SetType : Allow user to set Type

type CreateInstanceConsoleAccessTokenOptions added in v0.5.0

type CreateInstanceConsoleAccessTokenOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance console type for which this token may be used.
	ConsoleType *string `json:"console_type" validate:"required"`

	// Indicates whether to disconnect an existing serial console session as the serial console cannot be shared.  This has
	// no effect on VNC consoles.
	Force *bool `json:"force,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceConsoleAccessTokenOptions : The CreateInstanceConsoleAccessToken options.

func (*CreateInstanceConsoleAccessTokenOptions) SetConsoleType added in v0.5.0

SetConsoleType : Allow user to set ConsoleType

func (*CreateInstanceConsoleAccessTokenOptions) SetForce added in v0.5.0

SetForce : Allow user to set Force

func (*CreateInstanceConsoleAccessTokenOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

func (*CreateInstanceConsoleAccessTokenOptions) SetInstanceID added in v0.5.0

SetInstanceID : Allow user to set InstanceID

type CreateInstanceGroupManagerActionOptions added in v0.6.0

type CreateInstanceGroupManagerActionOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager action prototype object.
	InstanceGroupManagerActionPrototype InstanceGroupManagerActionPrototypeIntf `json:"InstanceGroupManagerActionPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceGroupManagerActionOptions : The CreateInstanceGroupManagerAction options.

func (*CreateInstanceGroupManagerActionOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*CreateInstanceGroupManagerActionOptions) SetInstanceGroupID added in v0.6.0

func (_options *CreateInstanceGroupManagerActionOptions) SetInstanceGroupID(instanceGroupID string) *CreateInstanceGroupManagerActionOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*CreateInstanceGroupManagerActionOptions) SetInstanceGroupManagerActionPrototype added in v0.6.0

func (_options *CreateInstanceGroupManagerActionOptions) SetInstanceGroupManagerActionPrototype(instanceGroupManagerActionPrototype InstanceGroupManagerActionPrototypeIntf) *CreateInstanceGroupManagerActionOptions

SetInstanceGroupManagerActionPrototype : Allow user to set InstanceGroupManagerActionPrototype

func (*CreateInstanceGroupManagerActionOptions) SetInstanceGroupManagerID added in v0.6.0

func (_options *CreateInstanceGroupManagerActionOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *CreateInstanceGroupManagerActionOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

type CreateInstanceGroupManagerOptions added in v0.1.0

type CreateInstanceGroupManagerOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager prototype object.
	InstanceGroupManagerPrototype InstanceGroupManagerPrototypeIntf `json:"InstanceGroupManagerPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceGroupManagerOptions : The CreateInstanceGroupManager options.

func (*CreateInstanceGroupManagerOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*CreateInstanceGroupManagerOptions) SetInstanceGroupID added in v0.1.0

func (_options *CreateInstanceGroupManagerOptions) SetInstanceGroupID(instanceGroupID string) *CreateInstanceGroupManagerOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*CreateInstanceGroupManagerOptions) SetInstanceGroupManagerPrototype added in v0.1.0

func (_options *CreateInstanceGroupManagerOptions) SetInstanceGroupManagerPrototype(instanceGroupManagerPrototype InstanceGroupManagerPrototypeIntf) *CreateInstanceGroupManagerOptions

SetInstanceGroupManagerPrototype : Allow user to set InstanceGroupManagerPrototype

type CreateInstanceGroupManagerPolicyOptions added in v0.1.0

type CreateInstanceGroupManagerPolicyOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager policy prototype object.
	InstanceGroupManagerPolicyPrototype InstanceGroupManagerPolicyPrototypeIntf `json:"InstanceGroupManagerPolicyPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceGroupManagerPolicyOptions : The CreateInstanceGroupManagerPolicy options.

func (*CreateInstanceGroupManagerPolicyOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*CreateInstanceGroupManagerPolicyOptions) SetInstanceGroupID added in v0.1.0

func (_options *CreateInstanceGroupManagerPolicyOptions) SetInstanceGroupID(instanceGroupID string) *CreateInstanceGroupManagerPolicyOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*CreateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID added in v0.1.0

func (_options *CreateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *CreateInstanceGroupManagerPolicyOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

func (*CreateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerPolicyPrototype added in v0.1.0

func (_options *CreateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerPolicyPrototype(instanceGroupManagerPolicyPrototype InstanceGroupManagerPolicyPrototypeIntf) *CreateInstanceGroupManagerPolicyOptions

SetInstanceGroupManagerPolicyPrototype : Allow user to set InstanceGroupManagerPolicyPrototype

type CreateInstanceGroupOptions added in v0.1.0

type CreateInstanceGroupOptions struct {
	// Instance template to use when creating new instances.
	//
	// Instance groups are not compatible with instance templates that specify `true` for
	// `default_trusted_profile.auto_link`.
	InstanceTemplate InstanceTemplateIdentityIntf `json:"instance_template" validate:"required"`

	// The subnets to use when creating new instances.
	Subnets []SubnetIdentityIntf `json:"subnets" validate:"required"`

	// The port to use for new load balancer pool members created by this instance group. The load balancer pool member
	// will receive load balancer traffic on this port, unless the load balancer listener is using a port range. (Traffic
	// received on a listener using a port range will be sent to members using the same port the listener received it on.)
	//
	// This port will also be used for health checks unless the port property of
	// `health_monitor` property is specified.
	//
	// This property must be specified if and only if `load_balancer_pool` has been specified.
	ApplicationPort *int64 `json:"application_port,omitempty"`

	// The load balancer associated with the specified load balancer pool.
	// Required if `load_balancer_pool` is specified. The load balancer must have
	// `instance_groups_supported` set to `true`.
	LoadBalancer LoadBalancerIdentityIntf `json:"load_balancer,omitempty"`

	// If specified, this instance group will manage the load balancer pool. A pool member
	// will be created for each instance created by this group.  The specified load
	// balancer pool must not be used by another instance group in the VPC.
	//
	// If specified, `load_balancer` and `application_port` must also be specified.
	LoadBalancerPool LoadBalancerPoolIdentityIntf `json:"load_balancer_pool,omitempty"`

	// The number of instances in the instance group.
	MembershipCount *int64 `json:"membership_count,omitempty"`

	// The name for this instance group. The name must not be used by another instance group in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceGroupOptions : The CreateInstanceGroup options.

func (*CreateInstanceGroupOptions) SetApplicationPort added in v0.1.0

func (_options *CreateInstanceGroupOptions) SetApplicationPort(applicationPort int64) *CreateInstanceGroupOptions

SetApplicationPort : Allow user to set ApplicationPort

func (*CreateInstanceGroupOptions) SetHeaders added in v0.1.0

func (options *CreateInstanceGroupOptions) SetHeaders(param map[string]string) *CreateInstanceGroupOptions

SetHeaders : Allow user to set Headers

func (*CreateInstanceGroupOptions) SetInstanceTemplate added in v0.1.0

func (_options *CreateInstanceGroupOptions) SetInstanceTemplate(instanceTemplate InstanceTemplateIdentityIntf) *CreateInstanceGroupOptions

SetInstanceTemplate : Allow user to set InstanceTemplate

func (*CreateInstanceGroupOptions) SetLoadBalancer added in v0.1.0

func (_options *CreateInstanceGroupOptions) SetLoadBalancer(loadBalancer LoadBalancerIdentityIntf) *CreateInstanceGroupOptions

SetLoadBalancer : Allow user to set LoadBalancer

func (*CreateInstanceGroupOptions) SetLoadBalancerPool added in v0.1.0

func (_options *CreateInstanceGroupOptions) SetLoadBalancerPool(loadBalancerPool LoadBalancerPoolIdentityIntf) *CreateInstanceGroupOptions

SetLoadBalancerPool : Allow user to set LoadBalancerPool

func (*CreateInstanceGroupOptions) SetMembershipCount added in v0.1.0

func (_options *CreateInstanceGroupOptions) SetMembershipCount(membershipCount int64) *CreateInstanceGroupOptions

SetMembershipCount : Allow user to set MembershipCount

func (*CreateInstanceGroupOptions) SetName added in v0.1.0

SetName : Allow user to set Name

func (*CreateInstanceGroupOptions) SetResourceGroup added in v0.1.0

func (_options *CreateInstanceGroupOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateInstanceGroupOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateInstanceGroupOptions) SetSubnets added in v0.1.0

SetSubnets : Allow user to set Subnets

type CreateInstanceNetworkAttachmentOptions added in v0.47.0

type CreateInstanceNetworkAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// A virtual network interface for the instance network attachment. This can be specified
	// using an existing virtual network interface, or a prototype object for a new virtual
	// network interface.
	//
	// If an existing virtual network interface is specified, `enable_infrastructure_nat` must be
	// `true`.
	VirtualNetworkInterface InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`

	// The name for this network attachment. Names must be unique within the instance the network attachment resides in. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceNetworkAttachmentOptions : The CreateInstanceNetworkAttachment options.

func (*CreateInstanceNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*CreateInstanceNetworkAttachmentOptions) SetInstanceID added in v0.47.0

SetInstanceID : Allow user to set InstanceID

func (*CreateInstanceNetworkAttachmentOptions) SetName added in v0.47.0

SetName : Allow user to set Name

func (*CreateInstanceNetworkAttachmentOptions) SetVirtualNetworkInterface added in v0.47.0

SetVirtualNetworkInterface : Allow user to set VirtualNetworkInterface

type CreateInstanceNetworkInterfaceOptions

type CreateInstanceNetworkInterfaceOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// Indicates whether source IP spoofing is allowed on this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// The name for the instance network interface. The name must not be used by another network interface on the virtual
	// server instance. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the instance network interface. This can be
	// specified using an existing reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must
	// be available on the instance network interface's subnet. Otherwise, an
	// available address on the subnet will be automatically selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this instance network interface. If unspecified, the VPC's default security group is
	// used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceNetworkInterfaceOptions : The CreateInstanceNetworkInterface options.

func (*CreateInstanceNetworkInterfaceOptions) SetAllowIPSpoofing added in v0.3.0

func (_options *CreateInstanceNetworkInterfaceOptions) SetAllowIPSpoofing(allowIPSpoofing bool) *CreateInstanceNetworkInterfaceOptions

SetAllowIPSpoofing : Allow user to set AllowIPSpoofing

func (*CreateInstanceNetworkInterfaceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateInstanceNetworkInterfaceOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*CreateInstanceNetworkInterfaceOptions) SetName

SetName : Allow user to set Name

func (*CreateInstanceNetworkInterfaceOptions) SetPrimaryIP added in v0.19.0

SetPrimaryIP : Allow user to set PrimaryIP

func (*CreateInstanceNetworkInterfaceOptions) SetSecurityGroups

SetSecurityGroups : Allow user to set SecurityGroups

func (*CreateInstanceNetworkInterfaceOptions) SetSubnet

SetSubnet : Allow user to set Subnet

type CreateInstanceOptions

type CreateInstanceOptions struct {
	// The instance prototype object.
	InstancePrototype InstancePrototypeIntf `json:"InstancePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceOptions : The CreateInstance options.

func (*CreateInstanceOptions) SetHeaders

func (options *CreateInstanceOptions) SetHeaders(param map[string]string) *CreateInstanceOptions

SetHeaders : Allow user to set Headers

func (*CreateInstanceOptions) SetInstancePrototype

func (_options *CreateInstanceOptions) SetInstancePrototype(instancePrototype InstancePrototypeIntf) *CreateInstanceOptions

SetInstancePrototype : Allow user to set InstancePrototype

type CreateInstanceTemplateOptions added in v0.1.0

type CreateInstanceTemplateOptions struct {
	// The instance template prototype object.
	InstanceTemplatePrototype InstanceTemplatePrototypeIntf `json:"InstanceTemplatePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceTemplateOptions : The CreateInstanceTemplate options.

func (*CreateInstanceTemplateOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*CreateInstanceTemplateOptions) SetInstanceTemplatePrototype added in v0.1.0

func (_options *CreateInstanceTemplateOptions) SetInstanceTemplatePrototype(instanceTemplatePrototype InstanceTemplatePrototypeIntf) *CreateInstanceTemplateOptions

SetInstanceTemplatePrototype : Allow user to set InstanceTemplatePrototype

type CreateInstanceVolumeAttachmentOptions

type CreateInstanceVolumeAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// An existing volume to attach to the instance, or a prototype object for a new volume.
	Volume VolumeAttachmentPrototypeVolumeIntf `json:"volume" validate:"required"`

	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The name for this volume attachment. The name must not be used by another volume attachment on the instance. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateInstanceVolumeAttachmentOptions : The CreateInstanceVolumeAttachment options.

func (*CreateInstanceVolumeAttachmentOptions) SetDeleteVolumeOnInstanceDelete

func (_options *CreateInstanceVolumeAttachmentOptions) SetDeleteVolumeOnInstanceDelete(deleteVolumeOnInstanceDelete bool) *CreateInstanceVolumeAttachmentOptions

SetDeleteVolumeOnInstanceDelete : Allow user to set DeleteVolumeOnInstanceDelete

func (*CreateInstanceVolumeAttachmentOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateInstanceVolumeAttachmentOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*CreateInstanceVolumeAttachmentOptions) SetName

SetName : Allow user to set Name

func (*CreateInstanceVolumeAttachmentOptions) SetVolume

SetVolume : Allow user to set Volume

type CreateIpsecPolicyOptions

type CreateIpsecPolicyOptions struct {
	// The authentication algorithm
	//
	// Must be `disabled` if and only if the `encryption_algorithm` is
	// `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.
	AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"`

	// The encryption algorithm
	//
	// The `authentication_algorithm` must be `disabled` if and only if
	// `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or
	// `aes256gcm16`.
	EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"`

	// Perfect Forward Secrecy.
	Pfs *string `json:"pfs" validate:"required"`

	// The key lifetime in seconds.
	KeyLifetime *int64 `json:"key_lifetime,omitempty"`

	// The name for this IPsec policy. The name must not be used by another IPsec policies in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateIpsecPolicyOptions : The CreateIpsecPolicy options.

func (*CreateIpsecPolicyOptions) SetAuthenticationAlgorithm

func (_options *CreateIpsecPolicyOptions) SetAuthenticationAlgorithm(authenticationAlgorithm string) *CreateIpsecPolicyOptions

SetAuthenticationAlgorithm : Allow user to set AuthenticationAlgorithm

func (*CreateIpsecPolicyOptions) SetEncryptionAlgorithm

func (_options *CreateIpsecPolicyOptions) SetEncryptionAlgorithm(encryptionAlgorithm string) *CreateIpsecPolicyOptions

SetEncryptionAlgorithm : Allow user to set EncryptionAlgorithm

func (*CreateIpsecPolicyOptions) SetHeaders

func (options *CreateIpsecPolicyOptions) SetHeaders(param map[string]string) *CreateIpsecPolicyOptions

SetHeaders : Allow user to set Headers

func (*CreateIpsecPolicyOptions) SetKeyLifetime

func (_options *CreateIpsecPolicyOptions) SetKeyLifetime(keyLifetime int64) *CreateIpsecPolicyOptions

SetKeyLifetime : Allow user to set KeyLifetime

func (*CreateIpsecPolicyOptions) SetName

func (_options *CreateIpsecPolicyOptions) SetName(name string) *CreateIpsecPolicyOptions

SetName : Allow user to set Name

func (*CreateIpsecPolicyOptions) SetPfs

SetPfs : Allow user to set Pfs

func (*CreateIpsecPolicyOptions) SetResourceGroup

func (_options *CreateIpsecPolicyOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateIpsecPolicyOptions

SetResourceGroup : Allow user to set ResourceGroup

type CreateKeyOptions

type CreateKeyOptions struct {
	// A unique public SSH key to import, in OpenSSH format (consisting of three space-separated fields: the algorithm
	// name, base64-encoded key, and a comment). The algorithm and comment fields may be omitted, as only the key field is
	// imported.
	//
	// Keys of type `rsa` may be 2048 or 4096 bits in length, however 4096 is recommended. Keys of type `ed25519` are 256
	// bits in length.
	PublicKey *string `json:"public_key" validate:"required"`

	// The name for this key. The name must not be used by another key in the region. If unspecified, the name will be a
	// hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The crypto-system used by this key.
	Type *string `json:"type,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateKeyOptions : The CreateKey options.

func (*CreateKeyOptions) SetHeaders

func (options *CreateKeyOptions) SetHeaders(param map[string]string) *CreateKeyOptions

SetHeaders : Allow user to set Headers

func (*CreateKeyOptions) SetName

func (_options *CreateKeyOptions) SetName(name string) *CreateKeyOptions

SetName : Allow user to set Name

func (*CreateKeyOptions) SetPublicKey

func (_options *CreateKeyOptions) SetPublicKey(publicKey string) *CreateKeyOptions

SetPublicKey : Allow user to set PublicKey

func (*CreateKeyOptions) SetResourceGroup

func (_options *CreateKeyOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateKeyOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateKeyOptions) SetType

func (_options *CreateKeyOptions) SetType(typeVar string) *CreateKeyOptions

SetType : Allow user to set Type

type CreateLoadBalancerListenerOptions

type CreateLoadBalancerListenerOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener protocol. Each listener in the load balancer must have a unique `port` and `protocol` combination.
	//
	// Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the
	// `application` family support `tcp`, `http` and
	// `https`.
	//
	// Additional restrictions:
	// - If `default_pool` is set, the pool's protocol must match, or be compatible with
	//   the listener's protocol. At present, the compatible protocols are `http` and
	//   `https`.
	// - If `https_redirect` is set, the protocol must be `http`.
	Protocol *string `json:"protocol" validate:"required"`

	// If set to `true`, this listener will accept and forward PROXY protocol information. Supported by load balancers in
	// the `application` family (otherwise always `false`). Additional restrictions:
	// - If this listener has `https_redirect` specified, its `accept_proxy_protocol` value must
	//   match the `accept_proxy_protocol` value of the `https_redirect` listener.
	// - If this listener is the target of another listener's `https_redirect`, its
	//   `accept_proxy_protocol` value must match that listener's `accept_proxy_protocol` value.
	AcceptProxyProtocol *bool `json:"accept_proxy_protocol,omitempty"`

	// The certificate instance to use for SSL termination. The listener must have a
	// `protocol` of `https`.
	CertificateInstance CertificateInstanceIdentityIntf `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	ConnectionLimit *int64 `json:"connection_limit,omitempty"`

	// The default pool for this listener. If `https_redirect` is specified, the
	// default pool will not be used.
	// If specified, the pool must:
	//
	// - Belong to this load balancer.
	// - Have the same `protocol` as this listener, or have a compatible protocol.
	//   At present, the compatible protocols are `http` and `https`.
	// - Not already be the `default_pool` for another listener.
	//
	// If unspecified, this listener will be created with no default pool, but one may be
	// subsequently set.
	DefaultPool LoadBalancerPoolIdentityIntf `json:"default_pool,omitempty"`

	// The target listener that requests will be redirected to if none of the listener's
	// `policies` match.
	//
	// If specified, this listener must have a `protocol` of `http`, and the target
	// listener must have a `protocol` of `https`.
	HTTPSRedirect *LoadBalancerListenerHTTPSRedirectPrototype `json:"https_redirect,omitempty"`

	// The idle connection timeout of the listener in seconds. Supported for load balancers in the `application` family.
	IdleConnectionTimeout *int64 `json:"idle_connection_timeout,omitempty"`

	// The policy prototype objects for this listener. The load balancer must be in the
	// `application` family.
	Policies []LoadBalancerListenerPolicyPrototype `json:"policies,omitempty"`

	// The listener port number, or the inclusive lower bound of the port range. Each listener in the load balancer must
	// have a unique `port` and `protocol` combination.
	//
	// Not supported for load balancers operating with route mode enabled.
	Port *int64 `json:"port,omitempty"`

	// The inclusive upper bound of the range of ports used by this listener. Must not be less than `port_min`.
	//
	// At present, only load balancers operating with route mode enabled, and public load balancers in the `network` family
	// support different values for `port_min` and
	// `port_max`. When route mode is enabled, the value `65535` must be specified.
	//
	// The specified port range must not overlap with port ranges used by other listeners for this load balancer using the
	// same protocol.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of the range of ports used by this listener. Must not be greater than `port_max`.
	//
	// At present, only load balancers operating with route mode enabled, and public load balancers in the `network` family
	// support different values for `port_min` and
	// `port_max`. When route mode is enabled, the value `1` must be specified.
	//
	// The specified port range must not overlap with port ranges used by other listeners for this load balancer using the
	// same protocol.
	PortMin *int64 `json:"port_min,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerListenerOptions : The CreateLoadBalancerListener options.

func (*CreateLoadBalancerListenerOptions) SetAcceptProxyProtocol added in v0.3.0

func (_options *CreateLoadBalancerListenerOptions) SetAcceptProxyProtocol(acceptProxyProtocol bool) *CreateLoadBalancerListenerOptions

SetAcceptProxyProtocol : Allow user to set AcceptProxyProtocol

func (*CreateLoadBalancerListenerOptions) SetCertificateInstance

func (_options *CreateLoadBalancerListenerOptions) SetCertificateInstance(certificateInstance CertificateInstanceIdentityIntf) *CreateLoadBalancerListenerOptions

SetCertificateInstance : Allow user to set CertificateInstance

func (*CreateLoadBalancerListenerOptions) SetConnectionLimit

func (_options *CreateLoadBalancerListenerOptions) SetConnectionLimit(connectionLimit int64) *CreateLoadBalancerListenerOptions

SetConnectionLimit : Allow user to set ConnectionLimit

func (*CreateLoadBalancerListenerOptions) SetDefaultPool

SetDefaultPool : Allow user to set DefaultPool

func (*CreateLoadBalancerListenerOptions) SetHTTPSRedirect added in v0.10.0

SetHTTPSRedirect : Allow user to set HTTPSRedirect

func (*CreateLoadBalancerListenerOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerListenerOptions) SetIdleConnectionTimeout added in v0.33.0

func (_options *CreateLoadBalancerListenerOptions) SetIdleConnectionTimeout(idleConnectionTimeout int64) *CreateLoadBalancerListenerOptions

SetIdleConnectionTimeout : Allow user to set IdleConnectionTimeout

func (*CreateLoadBalancerListenerOptions) SetLoadBalancerID

func (_options *CreateLoadBalancerListenerOptions) SetLoadBalancerID(loadBalancerID string) *CreateLoadBalancerListenerOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*CreateLoadBalancerListenerOptions) SetPolicies

SetPolicies : Allow user to set Policies

func (*CreateLoadBalancerListenerOptions) SetPort

SetPort : Allow user to set Port

func (*CreateLoadBalancerListenerOptions) SetPortMax added in v0.12.0

SetPortMax : Allow user to set PortMax

func (*CreateLoadBalancerListenerOptions) SetPortMin added in v0.12.0

SetPortMin : Allow user to set PortMin

func (*CreateLoadBalancerListenerOptions) SetProtocol

SetProtocol : Allow user to set Protocol

type CreateLoadBalancerListenerPolicyOptions

type CreateLoadBalancerListenerPolicyOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy action.
	//
	// - `forward`: Requests will be forwarded to the specified `target` pool
	// - `https_redirect`: Requests will be redirected to the specified target listener. The
	//   listener must have a `protocol` of `http`, and the target listener must have a
	//   `protocol` of `https`
	// - `redirect`: Requests will be redirected to the specified `target.url`
	// - `reject`: Requests will be rejected with a `403` status code
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Action *string `json:"action" validate:"required"`

	// Priority of the policy. The priority is unique across all policies for this load balancer listener. Lower value
	// indicates higher priority.
	Priority *int64 `json:"priority" validate:"required"`

	// The name for this policy. The name must not be used by another policy for the load balancer listener. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The rule prototype objects for this policy.
	Rules []LoadBalancerListenerPolicyRulePrototype `json:"rules,omitempty"`

	// - If `action` is `forward`, specify a `LoadBalancerPoolIdentity`.
	// - If `action` is `https_redirect`, specify a
	// `LoadBalancerListenerPolicyHTTPSRedirectPrototype`.
	// - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPrototype`.
	Target LoadBalancerListenerPolicyTargetPrototypeIntf `json:"target,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerListenerPolicyOptions : The CreateLoadBalancerListenerPolicy options.

func (*CreateLoadBalancerListenerPolicyOptions) SetAction

SetAction : Allow user to set Action

func (*CreateLoadBalancerListenerPolicyOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerListenerPolicyOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*CreateLoadBalancerListenerPolicyOptions) SetLoadBalancerID

func (_options *CreateLoadBalancerListenerPolicyOptions) SetLoadBalancerID(loadBalancerID string) *CreateLoadBalancerListenerPolicyOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*CreateLoadBalancerListenerPolicyOptions) SetName

SetName : Allow user to set Name

func (*CreateLoadBalancerListenerPolicyOptions) SetPriority

SetPriority : Allow user to set Priority

func (*CreateLoadBalancerListenerPolicyOptions) SetRules

SetRules : Allow user to set Rules

func (*CreateLoadBalancerListenerPolicyOptions) SetTarget

SetTarget : Allow user to set Target

type CreateLoadBalancerListenerPolicyRuleOptions

type CreateLoadBalancerListenerPolicyRuleOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	PolicyID *string `json:"policy_id" validate:"required,ne="`

	// The condition of the rule.
	Condition *string `json:"condition" validate:"required"`

	// The type of the rule.
	//
	// Body rules are applied to form-encoded request bodies using the `UTF-8` character set.
	Type *string `json:"type" validate:"required"`

	// Value to be matched for rule condition.
	//
	// If the rule type is `query` and the rule condition is not `matches_regex`, the value must be percent-encoded.
	Value *string `json:"value" validate:"required"`

	// The field. This is applicable to `header`, `query`, and `body` rule types.
	//
	// If the rule type is `header`, this property is required.
	//
	// If the rule type is `query`, this is optional. If specified and the rule condition is not
	// `matches_regex`, the value must be percent-encoded.
	//
	// If the rule type is `body`, this is optional.
	Field *string `json:"field,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerListenerPolicyRuleOptions : The CreateLoadBalancerListenerPolicyRule options.

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetCondition

SetCondition : Allow user to set Condition

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetField

SetField : Allow user to set Field

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetLoadBalancerID

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetPolicyID

SetPolicyID : Allow user to set PolicyID

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetType

SetType : Allow user to set Type

func (*CreateLoadBalancerListenerPolicyRuleOptions) SetValue

SetValue : Allow user to set Value

type CreateLoadBalancerOptions

type CreateLoadBalancerOptions struct {
	// Indicates whether this load balancer is public.
	//
	// At present, if route mode is enabled, the load balancer must not be public.
	IsPublic *bool `json:"is_public" validate:"required"`

	// The subnets to provision this load balancer in. The subnets must be in the same VPC. The load balancer's
	// availability will depend on the availability of the zones that the subnets reside in.
	//
	// Load balancers in the `network` family allow only one subnet to be specified.
	Subnets []SubnetIdentityIntf `json:"subnets" validate:"required"`

	// The DNS configuration for this load balancer.
	//
	// If unspecified, DNS `A` records for this load balancer's `hostname` property will be added
	// to the public DNS zone `lb.appdomain.cloud`. Otherwise, those DNS `A` records will be
	// added to the specified `zone`.
	Dns *LoadBalancerDnsPrototype `json:"dns,omitempty"`

	// The listeners of this load balancer.
	Listeners []LoadBalancerListenerPrototypeLoadBalancerContext `json:"listeners,omitempty"`

	// The logging configuration to use for this load balancer. See [VPC Datapath
	// Logging](https://cloud.ibm.com/docs/vpc?topic=vpc-datapath-logging) on the logging
	// format, fields and permitted values. If unspecified, `datapath.active` will be `false`.
	//
	// To activate logging, the load balancer profile must support the specified logging type.
	Logging *LoadBalancerLoggingPrototype `json:"logging,omitempty"`

	// The name for this load balancer. The name must not be used by another load balancer in the VPC.  If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The pools of this load balancer.
	Pools []LoadBalancerPoolPrototype `json:"pools,omitempty"`

	// The profile to use for this load balancer.
	//
	// If unspecified, `application` will be used.
	Profile LoadBalancerProfileIdentityIntf `json:"profile,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Indicates whether route mode is enabled for this load balancer.
	//
	// At present, public load balancers are not supported with route mode enabled.
	RouteMode *bool `json:"route_mode,omitempty"`

	// The security groups to use for this load balancer. If unspecified, the VPC's default security group is used.
	//
	// The load balancer profile must support security groups.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerOptions : The CreateLoadBalancer options.

func (*CreateLoadBalancerOptions) SetDns added in v0.35.0

SetDns : Allow user to set Dns

func (*CreateLoadBalancerOptions) SetHeaders

func (options *CreateLoadBalancerOptions) SetHeaders(param map[string]string) *CreateLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerOptions) SetIsPublic

func (_options *CreateLoadBalancerOptions) SetIsPublic(isPublic bool) *CreateLoadBalancerOptions

SetIsPublic : Allow user to set IsPublic

func (*CreateLoadBalancerOptions) SetListeners

SetListeners : Allow user to set Listeners

func (*CreateLoadBalancerOptions) SetLogging added in v0.4.0

SetLogging : Allow user to set Logging

func (*CreateLoadBalancerOptions) SetName

SetName : Allow user to set Name

func (*CreateLoadBalancerOptions) SetPools

SetPools : Allow user to set Pools

func (*CreateLoadBalancerOptions) SetProfile added in v0.1.0

SetProfile : Allow user to set Profile

func (*CreateLoadBalancerOptions) SetResourceGroup

func (_options *CreateLoadBalancerOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateLoadBalancerOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateLoadBalancerOptions) SetRouteMode added in v0.12.0

func (_options *CreateLoadBalancerOptions) SetRouteMode(routeMode bool) *CreateLoadBalancerOptions

SetRouteMode : Allow user to set RouteMode

func (*CreateLoadBalancerOptions) SetSecurityGroups added in v0.5.0

func (_options *CreateLoadBalancerOptions) SetSecurityGroups(securityGroups []SecurityGroupIdentityIntf) *CreateLoadBalancerOptions

SetSecurityGroups : Allow user to set SecurityGroups

func (*CreateLoadBalancerOptions) SetSubnets

SetSubnets : Allow user to set Subnets

type CreateLoadBalancerPoolMemberOptions

type CreateLoadBalancerPoolMemberOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// The port the member will receive load balancer traffic on. Applies only to load balancer traffic received on a
	// listener with a single port. (If the traffic is received on a listener with a port range, the member will receive
	// the traffic on the same port the listener received it on.)
	//
	// This port will also be used for health checks unless the `port` property of
	// `health_monitor` property is specified.
	//
	// The port must be unique across all members for all pools associated with this pool's listener.
	Port *int64 `json:"port" validate:"required"`

	// The pool member target. Load balancers in the `network` family support virtual server
	// instances. Load balancers in the `application` family support IP addresses. If the load
	// balancer has route mode enabled, the member must be in a zone the load balancer has a
	// subnet in.
	Target LoadBalancerPoolMemberTargetPrototypeIntf `json:"target" validate:"required"`

	// Weight of the server member. Applicable only if the pool algorithm is
	// `weighted_round_robin`.
	Weight *int64 `json:"weight,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerPoolMemberOptions : The CreateLoadBalancerPoolMember options.

func (*CreateLoadBalancerPoolMemberOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerPoolMemberOptions) SetLoadBalancerID

func (_options *CreateLoadBalancerPoolMemberOptions) SetLoadBalancerID(loadBalancerID string) *CreateLoadBalancerPoolMemberOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*CreateLoadBalancerPoolMemberOptions) SetPoolID

SetPoolID : Allow user to set PoolID

func (*CreateLoadBalancerPoolMemberOptions) SetPort

SetPort : Allow user to set Port

func (*CreateLoadBalancerPoolMemberOptions) SetTarget

SetTarget : Allow user to set Target

func (*CreateLoadBalancerPoolMemberOptions) SetWeight

SetWeight : Allow user to set Weight

type CreateLoadBalancerPoolOptions

type CreateLoadBalancerPoolOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The load balancing algorithm.
	Algorithm *string `json:"algorithm" validate:"required"`

	// The health monitor of this pool.
	HealthMonitor *LoadBalancerPoolHealthMonitorPrototype `json:"health_monitor" validate:"required"`

	// The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if
	// `udp_supported` is `true`). Load balancers in the
	// `application` family support `tcp`, `http`, and `https`.
	Protocol *string `json:"protocol" validate:"required"`

	// The members for this load balancer pool. For load balancers in the `network` family, the same `port` and `target`
	// tuple cannot be shared by a pool member of any other load balancer in the same VPC.
	Members []LoadBalancerPoolMemberPrototype `json:"members,omitempty"`

	// The name for this load balancer pool. The name must not be used by another pool for the load balancer. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The PROXY protocol setting for this pool:
	// - `v1`: Enabled with version 1 (human-readable header format)
	// - `v2`: Enabled with version 2 (binary header format)
	// - `disabled`: Disabled
	//
	// Supported by load balancers in the `application` family (otherwise always `disabled`).
	ProxyProtocol *string `json:"proxy_protocol,omitempty"`

	// The session persistence of this pool. If unspecified, session persistence will be
	// disabled, and traffic will be distributed across backend server members of the
	// pool.
	SessionPersistence *LoadBalancerPoolSessionPersistencePrototype `json:"session_persistence,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerPoolOptions : The CreateLoadBalancerPool options.

func (*CreateLoadBalancerPoolOptions) SetAlgorithm

func (_options *CreateLoadBalancerPoolOptions) SetAlgorithm(algorithm string) *CreateLoadBalancerPoolOptions

SetAlgorithm : Allow user to set Algorithm

func (*CreateLoadBalancerPoolOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerPoolOptions) SetHealthMonitor

SetHealthMonitor : Allow user to set HealthMonitor

func (*CreateLoadBalancerPoolOptions) SetLoadBalancerID

func (_options *CreateLoadBalancerPoolOptions) SetLoadBalancerID(loadBalancerID string) *CreateLoadBalancerPoolOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*CreateLoadBalancerPoolOptions) SetMembers

SetMembers : Allow user to set Members

func (*CreateLoadBalancerPoolOptions) SetName

SetName : Allow user to set Name

func (*CreateLoadBalancerPoolOptions) SetProtocol

func (_options *CreateLoadBalancerPoolOptions) SetProtocol(protocol string) *CreateLoadBalancerPoolOptions

SetProtocol : Allow user to set Protocol

func (*CreateLoadBalancerPoolOptions) SetProxyProtocol added in v0.3.0

func (_options *CreateLoadBalancerPoolOptions) SetProxyProtocol(proxyProtocol string) *CreateLoadBalancerPoolOptions

SetProxyProtocol : Allow user to set ProxyProtocol

func (*CreateLoadBalancerPoolOptions) SetSessionPersistence

SetSessionPersistence : Allow user to set SessionPersistence

type CreateNetworkACLOptions

type CreateNetworkACLOptions struct {
	// The network ACL prototype object.
	NetworkACLPrototype NetworkACLPrototypeIntf `json:"NetworkACLPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateNetworkACLOptions : The CreateNetworkACL options.

func (*CreateNetworkACLOptions) SetHeaders

func (options *CreateNetworkACLOptions) SetHeaders(param map[string]string) *CreateNetworkACLOptions

SetHeaders : Allow user to set Headers

func (*CreateNetworkACLOptions) SetNetworkACLPrototype

func (_options *CreateNetworkACLOptions) SetNetworkACLPrototype(networkACLPrototype NetworkACLPrototypeIntf) *CreateNetworkACLOptions

SetNetworkACLPrototype : Allow user to set NetworkACLPrototype

type CreateNetworkACLRuleOptions

type CreateNetworkACLRuleOptions struct {
	// The network ACL identifier.
	NetworkACLID *string `json:"network_acl_id" validate:"required,ne="`

	// The network ACL rule prototype object.
	NetworkACLRulePrototype NetworkACLRulePrototypeIntf `json:"NetworkACLRulePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateNetworkACLRuleOptions : The CreateNetworkACLRule options.

func (*CreateNetworkACLRuleOptions) SetHeaders

func (options *CreateNetworkACLRuleOptions) SetHeaders(param map[string]string) *CreateNetworkACLRuleOptions

SetHeaders : Allow user to set Headers

func (*CreateNetworkACLRuleOptions) SetNetworkACLID

func (_options *CreateNetworkACLRuleOptions) SetNetworkACLID(networkACLID string) *CreateNetworkACLRuleOptions

SetNetworkACLID : Allow user to set NetworkACLID

func (*CreateNetworkACLRuleOptions) SetNetworkACLRulePrototype

func (_options *CreateNetworkACLRuleOptions) SetNetworkACLRulePrototype(networkACLRulePrototype NetworkACLRulePrototypeIntf) *CreateNetworkACLRuleOptions

SetNetworkACLRulePrototype : Allow user to set NetworkACLRulePrototype

type CreatePlacementGroupOptions added in v0.9.0

type CreatePlacementGroupOptions struct {
	// The strategy for this placement group:
	// - `host_spread`: place on different compute hosts
	// - `power_spread`: place on compute hosts that use different power sources
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Strategy *string `json:"strategy" validate:"required"`

	// The name for this placement group. The name must not be used by another placement group in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreatePlacementGroupOptions : The CreatePlacementGroup options.

func (*CreatePlacementGroupOptions) SetHeaders added in v0.9.0

func (options *CreatePlacementGroupOptions) SetHeaders(param map[string]string) *CreatePlacementGroupOptions

SetHeaders : Allow user to set Headers

func (*CreatePlacementGroupOptions) SetName added in v0.9.0

SetName : Allow user to set Name

func (*CreatePlacementGroupOptions) SetResourceGroup added in v0.9.0

func (_options *CreatePlacementGroupOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreatePlacementGroupOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreatePlacementGroupOptions) SetStrategy added in v0.9.0

func (_options *CreatePlacementGroupOptions) SetStrategy(strategy string) *CreatePlacementGroupOptions

SetStrategy : Allow user to set Strategy

type CreatePublicGatewayOptions

type CreatePublicGatewayOptions struct {
	// The VPC this public gateway will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The zone this public gateway will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	FloatingIP PublicGatewayFloatingIPPrototypeIntf `json:"floating_ip,omitempty"`

	// The name for this public gateway. The name must not be used by another public gateway in the VPC. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreatePublicGatewayOptions : The CreatePublicGateway options.

func (*CreatePublicGatewayOptions) SetFloatingIP

SetFloatingIP : Allow user to set FloatingIP

func (*CreatePublicGatewayOptions) SetHeaders

func (options *CreatePublicGatewayOptions) SetHeaders(param map[string]string) *CreatePublicGatewayOptions

SetHeaders : Allow user to set Headers

func (*CreatePublicGatewayOptions) SetName

SetName : Allow user to set Name

func (*CreatePublicGatewayOptions) SetResourceGroup

func (_options *CreatePublicGatewayOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreatePublicGatewayOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreatePublicGatewayOptions) SetVPC

SetVPC : Allow user to set VPC

func (*CreatePublicGatewayOptions) SetZone

SetZone : Allow user to set Zone

type CreateReservationOptions added in v0.48.0

type CreateReservationOptions struct {
	// The capacity reservation configuration to use.
	Capacity *ReservationCapacityPrototype `json:"capacity" validate:"required"`

	// The committed use configuration to use for this reservation.
	CommittedUse *ReservationCommittedUsePrototype `json:"committed_use" validate:"required"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this
	// reservation.
	Profile *ReservationProfilePrototype `json:"profile" validate:"required"`

	// The zone to use for this reservation.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The affinity policy to use for this reservation:
	// - `restricted`: The reservation must be manually requested.
	AffinityPolicy *string `json:"affinity_policy,omitempty"`

	// The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateReservationOptions : The CreateReservation options.

func (*CreateReservationOptions) SetAffinityPolicy added in v0.48.0

func (_options *CreateReservationOptions) SetAffinityPolicy(affinityPolicy string) *CreateReservationOptions

SetAffinityPolicy : Allow user to set AffinityPolicy

func (*CreateReservationOptions) SetCapacity added in v0.48.0

SetCapacity : Allow user to set Capacity

func (*CreateReservationOptions) SetCommittedUse added in v0.48.0

SetCommittedUse : Allow user to set CommittedUse

func (*CreateReservationOptions) SetHeaders added in v0.48.0

func (options *CreateReservationOptions) SetHeaders(param map[string]string) *CreateReservationOptions

SetHeaders : Allow user to set Headers

func (*CreateReservationOptions) SetName added in v0.48.0

func (_options *CreateReservationOptions) SetName(name string) *CreateReservationOptions

SetName : Allow user to set Name

func (*CreateReservationOptions) SetProfile added in v0.48.0

SetProfile : Allow user to set Profile

func (*CreateReservationOptions) SetResourceGroup added in v0.48.0

func (_options *CreateReservationOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateReservationOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateReservationOptions) SetZone added in v0.48.0

SetZone : Allow user to set Zone

type CreateSecurityGroupOptions

type CreateSecurityGroupOptions struct {
	// The VPC this security group will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The name for this security group. The name must not be used by another security group for the VPC. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The prototype objects for rules to be created for this security group. If unspecified, no rules will be created,
	// resulting in all traffic being denied.
	Rules []SecurityGroupRulePrototypeIntf `json:"rules,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSecurityGroupOptions : The CreateSecurityGroup options.

func (*CreateSecurityGroupOptions) SetHeaders

func (options *CreateSecurityGroupOptions) SetHeaders(param map[string]string) *CreateSecurityGroupOptions

SetHeaders : Allow user to set Headers

func (*CreateSecurityGroupOptions) SetName

SetName : Allow user to set Name

func (*CreateSecurityGroupOptions) SetResourceGroup

func (_options *CreateSecurityGroupOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateSecurityGroupOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateSecurityGroupOptions) SetRules

SetRules : Allow user to set Rules

func (*CreateSecurityGroupOptions) SetVPC

SetVPC : Allow user to set VPC

type CreateSecurityGroupRuleOptions

type CreateSecurityGroupRuleOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The properties of the security group rule to be created.
	SecurityGroupRulePrototype SecurityGroupRulePrototypeIntf `json:"SecurityGroupRulePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSecurityGroupRuleOptions : The CreateSecurityGroupRule options.

func (*CreateSecurityGroupRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateSecurityGroupRuleOptions) SetSecurityGroupID

func (_options *CreateSecurityGroupRuleOptions) SetSecurityGroupID(securityGroupID string) *CreateSecurityGroupRuleOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

func (*CreateSecurityGroupRuleOptions) SetSecurityGroupRulePrototype

func (_options *CreateSecurityGroupRuleOptions) SetSecurityGroupRulePrototype(securityGroupRulePrototype SecurityGroupRulePrototypeIntf) *CreateSecurityGroupRuleOptions

SetSecurityGroupRulePrototype : Allow user to set SecurityGroupRulePrototype

type CreateSecurityGroupTargetBindingOptions added in v0.5.0

type CreateSecurityGroupTargetBindingOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The security group target identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSecurityGroupTargetBindingOptions : The CreateSecurityGroupTargetBinding options.

func (*CreateSecurityGroupTargetBindingOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

func (*CreateSecurityGroupTargetBindingOptions) SetID added in v0.5.0

SetID : Allow user to set ID

func (*CreateSecurityGroupTargetBindingOptions) SetSecurityGroupID added in v0.5.0

func (_options *CreateSecurityGroupTargetBindingOptions) SetSecurityGroupID(securityGroupID string) *CreateSecurityGroupTargetBindingOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

type CreateShareMountTargetOptions added in v0.41.0

type CreateShareMountTargetOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// The share mount target prototype object.
	ShareMountTargetPrototype ShareMountTargetPrototypeIntf `json:"ShareMountTargetPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateShareMountTargetOptions : The CreateShareMountTarget options.

func (*CreateShareMountTargetOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*CreateShareMountTargetOptions) SetShareID added in v0.41.0

SetShareID : Allow user to set ShareID

func (*CreateShareMountTargetOptions) SetShareMountTargetPrototype added in v0.41.0

func (_options *CreateShareMountTargetOptions) SetShareMountTargetPrototype(shareMountTargetPrototype ShareMountTargetPrototypeIntf) *CreateShareMountTargetOptions

SetShareMountTargetPrototype : Allow user to set ShareMountTargetPrototype

type CreateShareOptions added in v0.41.0

type CreateShareOptions struct {
	// The file share prototype object.
	SharePrototype SharePrototypeIntf `json:"SharePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateShareOptions : The CreateShare options.

func (*CreateShareOptions) SetHeaders added in v0.41.0

func (options *CreateShareOptions) SetHeaders(param map[string]string) *CreateShareOptions

SetHeaders : Allow user to set Headers

func (*CreateShareOptions) SetSharePrototype added in v0.41.0

func (_options *CreateShareOptions) SetSharePrototype(sharePrototype SharePrototypeIntf) *CreateShareOptions

SetSharePrototype : Allow user to set SharePrototype

type CreateSnapshotCloneOptions added in v0.31.0

type CreateSnapshotCloneOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The zone name.
	ZoneName *string `json:"zone_name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSnapshotCloneOptions : The CreateSnapshotClone options.

func (*CreateSnapshotCloneOptions) SetHeaders added in v0.31.0

func (options *CreateSnapshotCloneOptions) SetHeaders(param map[string]string) *CreateSnapshotCloneOptions

SetHeaders : Allow user to set Headers

func (*CreateSnapshotCloneOptions) SetID added in v0.31.0

SetID : Allow user to set ID

func (*CreateSnapshotCloneOptions) SetZoneName added in v0.31.0

func (_options *CreateSnapshotCloneOptions) SetZoneName(zoneName string) *CreateSnapshotCloneOptions

SetZoneName : Allow user to set ZoneName

type CreateSnapshotConsistencyGroupOptions added in v0.45.0

type CreateSnapshotConsistencyGroupOptions struct {
	// The snapshot consistency group prototype object.
	SnapshotConsistencyGroupPrototype SnapshotConsistencyGroupPrototypeIntf `json:"SnapshotConsistencyGroupPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSnapshotConsistencyGroupOptions : The CreateSnapshotConsistencyGroup options.

func (*CreateSnapshotConsistencyGroupOptions) SetHeaders added in v0.45.0

SetHeaders : Allow user to set Headers

func (*CreateSnapshotConsistencyGroupOptions) SetSnapshotConsistencyGroupPrototype added in v0.45.0

func (_options *CreateSnapshotConsistencyGroupOptions) SetSnapshotConsistencyGroupPrototype(snapshotConsistencyGroupPrototype SnapshotConsistencyGroupPrototypeIntf) *CreateSnapshotConsistencyGroupOptions

SetSnapshotConsistencyGroupPrototype : Allow user to set SnapshotConsistencyGroupPrototype

type CreateSnapshotOptions added in v0.7.0

type CreateSnapshotOptions struct {
	// The snapshot prototype object.
	SnapshotPrototype SnapshotPrototypeIntf `json:"SnapshotPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSnapshotOptions : The CreateSnapshot options.

func (*CreateSnapshotOptions) SetHeaders added in v0.7.0

func (options *CreateSnapshotOptions) SetHeaders(param map[string]string) *CreateSnapshotOptions

SetHeaders : Allow user to set Headers

func (*CreateSnapshotOptions) SetSnapshotPrototype added in v0.20.0

func (_options *CreateSnapshotOptions) SetSnapshotPrototype(snapshotPrototype SnapshotPrototypeIntf) *CreateSnapshotOptions

SetSnapshotPrototype : Allow user to set SnapshotPrototype

type CreateSubnetOptions

type CreateSubnetOptions struct {
	// The subnet prototype object.
	SubnetPrototype SubnetPrototypeIntf `json:"SubnetPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSubnetOptions : The CreateSubnet options.

func (*CreateSubnetOptions) SetHeaders

func (options *CreateSubnetOptions) SetHeaders(param map[string]string) *CreateSubnetOptions

SetHeaders : Allow user to set Headers

func (*CreateSubnetOptions) SetSubnetPrototype

func (_options *CreateSubnetOptions) SetSubnetPrototype(subnetPrototype SubnetPrototypeIntf) *CreateSubnetOptions

SetSubnetPrototype : Allow user to set SubnetPrototype

type CreateSubnetReservedIPOptions added in v0.3.0

type CreateSubnetReservedIPOptions struct {
	// The subnet identifier.
	SubnetID *string `json:"subnet_id" validate:"required,ne="`

	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound. Must be `false` if the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The target to bind this reserved IP to.  The target must be in the same VPC.
	//
	// The following targets are supported:
	// - An endpoint gateway not already bound to a reserved IP in the subnet's zone.
	// - A virtual network interface.
	//
	// If unspecified, the reserved IP will be created unbound.
	Target ReservedIPTargetPrototypeIntf `json:"target,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSubnetReservedIPOptions : The CreateSubnetReservedIP options.

func (*CreateSubnetReservedIPOptions) SetAddress added in v0.19.0

SetAddress : Allow user to set Address

func (*CreateSubnetReservedIPOptions) SetAutoDelete added in v0.3.0

func (_options *CreateSubnetReservedIPOptions) SetAutoDelete(autoDelete bool) *CreateSubnetReservedIPOptions

SetAutoDelete : Allow user to set AutoDelete

func (*CreateSubnetReservedIPOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*CreateSubnetReservedIPOptions) SetName added in v0.3.0

SetName : Allow user to set Name

func (*CreateSubnetReservedIPOptions) SetSubnetID added in v0.3.0

func (_options *CreateSubnetReservedIPOptions) SetSubnetID(subnetID string) *CreateSubnetReservedIPOptions

SetSubnetID : Allow user to set SubnetID

func (*CreateSubnetReservedIPOptions) SetTarget added in v0.3.0

SetTarget : Allow user to set Target

type CreateVPCAddressPrefixOptions

type CreateVPCAddressPrefixOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The IPv4 range of the address prefix, expressed in CIDR format. The range must not overlap with any existing address
	// prefixes in the VPC or any of the following reserved address ranges:
	//
	//   - `127.0.0.0/8` (IPv4 loopback addresses)
	//   - `161.26.0.0/16` (IBM services)
	//   - `166.8.0.0/14` (Cloud Service Endpoints)
	//   - `169.254.0.0/16` (IPv4 link-local addresses)
	//   - `224.0.0.0/4` (IPv4 multicast addresses)
	//
	// The prefix length of the address prefix's CIDR must be between `/9` (8,388,608 addresses) and `/29` (8 addresses).
	CIDR *string `json:"cidr" validate:"required"`

	// The zone this address prefix will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// Indicates whether this will be the default address prefix for this zone in this VPC. If `true`, the VPC must not
	// have a default address prefix for this zone.
	IsDefault *bool `json:"is_default,omitempty"`

	// The name for this address prefix. The name must not be used by another address prefix for the VPC. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPCAddressPrefixOptions : The CreateVPCAddressPrefix options.

func (*CreateVPCAddressPrefixOptions) SetCIDR

SetCIDR : Allow user to set CIDR

func (*CreateVPCAddressPrefixOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateVPCAddressPrefixOptions) SetIsDefault

func (_options *CreateVPCAddressPrefixOptions) SetIsDefault(isDefault bool) *CreateVPCAddressPrefixOptions

SetIsDefault : Allow user to set IsDefault

func (*CreateVPCAddressPrefixOptions) SetName

SetName : Allow user to set Name

func (*CreateVPCAddressPrefixOptions) SetVPCID

SetVPCID : Allow user to set VPCID

func (*CreateVPCAddressPrefixOptions) SetZone

SetZone : Allow user to set Zone

type CreateVPCDnsResolutionBindingOptions added in v0.43.0

type CreateVPCDnsResolutionBindingOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// Another VPC to bind this VPC to for DNS resolution. The VPC must have
	// `dns.enable_hub` set to `true`, and may be in a different account (subject to
	// IAM policies).
	//
	// Additionally, the VPC specified in the URL (this VPC) must have `dns.enable_hub`
	// set to `false` and a `dns.resolution_binding_count` of zero.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The name for this DNS resolution binding. The name must not be used by another DNS resolution binding for the VPC.
	// If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPCDnsResolutionBindingOptions : The CreateVPCDnsResolutionBinding options.

func (*CreateVPCDnsResolutionBindingOptions) SetHeaders added in v0.43.0

SetHeaders : Allow user to set Headers

func (*CreateVPCDnsResolutionBindingOptions) SetName added in v0.43.0

SetName : Allow user to set Name

func (*CreateVPCDnsResolutionBindingOptions) SetVPC added in v0.43.0

SetVPC : Allow user to set VPC

func (*CreateVPCDnsResolutionBindingOptions) SetVPCID added in v0.43.0

SetVPCID : Allow user to set VPCID

type CreateVPCOptions

type CreateVPCOptions struct {
	// Indicates whether a [default address prefix](https://cloud.ibm.com/docs/vpc?topic=vpc-configuring-address-prefixes)
	// will be automatically created for each zone in this VPC. If `manual`, this VPC will be created with no default
	// address prefixes.
	//
	// Since address prefixes are managed identically regardless of whether they were automatically created, the value is
	// not preserved as a VPC property.
	AddressPrefixManagement *string `json:"address_prefix_management,omitempty"`

	// Indicates whether this VPC will be connected to Classic Infrastructure. If true, this VPC's resources will have
	// private network connectivity to the account's Classic Infrastructure resources. Only one VPC, per region, may be
	// connected in this way. This value is set at creation and subsequently immutable.
	ClassicAccess *bool `json:"classic_access,omitempty"`

	// The DNS configuration for this VPC.
	//
	// If unspecified, the system will assign DNS servers capable of resolving hosts and endpoint
	// gateways within this VPC, and hosts on the internet.
	Dns *VpcdnsPrototype `json:"dns,omitempty"`

	// The name for this VPC. The name must not be used by another VPC in the region. If unspecified, the name will be a
	// hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPCOptions : The CreateVPC options.

func (*CreateVPCOptions) SetAddressPrefixManagement

func (_options *CreateVPCOptions) SetAddressPrefixManagement(addressPrefixManagement string) *CreateVPCOptions

SetAddressPrefixManagement : Allow user to set AddressPrefixManagement

func (*CreateVPCOptions) SetClassicAccess

func (_options *CreateVPCOptions) SetClassicAccess(classicAccess bool) *CreateVPCOptions

SetClassicAccess : Allow user to set ClassicAccess

func (*CreateVPCOptions) SetDns added in v0.43.0

func (_options *CreateVPCOptions) SetDns(dns *VpcdnsPrototype) *CreateVPCOptions

SetDns : Allow user to set Dns

func (*CreateVPCOptions) SetHeaders

func (options *CreateVPCOptions) SetHeaders(param map[string]string) *CreateVPCOptions

SetHeaders : Allow user to set Headers

func (*CreateVPCOptions) SetName

func (_options *CreateVPCOptions) SetName(name string) *CreateVPCOptions

SetName : Allow user to set Name

func (*CreateVPCOptions) SetResourceGroup

func (_options *CreateVPCOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateVPCOptions

SetResourceGroup : Allow user to set ResourceGroup

type CreateVPCRouteOptions

type CreateVPCRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The destination CIDR of the route. The host identifier in the CIDR must be zero.
	//
	// At most two routes per `zone` in a table can have the same `destination` and
	// `priority`, and only if both routes have an `action` of `deliver` and the `next_hop` is an IP address.
	Destination *string `json:"destination" validate:"required"`

	// The zone to apply the route to.
	//
	// If subnets are attached to the route's routing table, egress traffic from those
	// subnets in this zone will be subject to this route. If this route's routing table
	// has any of `route_direct_link_ingress`, `route_internet_ingress`,
	// `route_transit_gateway_ingress` or `route_vpc_zone_ingress`  set to`true`, traffic
	// from those ingress sources arriving in this zone will be subject to this route.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The action to perform with a packet matching the route:
	// - `delegate`: delegate to system-provided routes
	// - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes
	// - `deliver`: deliver the packet to the specified `next_hop`
	// - `drop`: drop the packet.
	Action *string `json:"action,omitempty"`

	// Indicates whether this route will be advertised to the ingress sources specified by the `advertise_routes_to`
	// routing table property.
	//
	// All routes in a routing table with the same `destination` and `zone` must have the same
	// `advertise` value.
	Advertise *bool `json:"advertise,omitempty"`

	// The name for this route. The name must not be used by another route in the routing table. Names starting with `ibm-`
	// are reserved for system-provided routes, and are not allowed. If unspecified, the name will be a hyphenated list of
	// randomly-selected words.
	Name *string `json:"name,omitempty"`

	// If `action` is `deliver`, the next hop that packets will be delivered to. For other
	// `action` values, it must be omitted or specified as `0.0.0.0`.
	//
	// At most two routes per `zone` in a table can have the same `destination` and `priority`,
	// and only when each route has an `action` of `deliver` and `next_hop` is an IP address.
	NextHop RoutePrototypeNextHopIntf `json:"next_hop,omitempty"`

	// The priority of this route. Smaller values have higher priority.
	//
	// If a routing table contains multiple routes with the same `zone` and `destination`, the route with the highest
	// priority (smallest value) is selected. If two routes have the same `destination` and `priority`, traffic is
	// distributed between them.
	Priority *int64 `json:"priority,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPCRouteOptions : The CreateVPCRoute options.

func (*CreateVPCRouteOptions) SetAction added in v0.3.0

func (_options *CreateVPCRouteOptions) SetAction(action string) *CreateVPCRouteOptions

SetAction : Allow user to set Action

func (*CreateVPCRouteOptions) SetAdvertise added in v0.47.0

func (_options *CreateVPCRouteOptions) SetAdvertise(advertise bool) *CreateVPCRouteOptions

SetAdvertise : Allow user to set Advertise

func (*CreateVPCRouteOptions) SetDestination

func (_options *CreateVPCRouteOptions) SetDestination(destination string) *CreateVPCRouteOptions

SetDestination : Allow user to set Destination

func (*CreateVPCRouteOptions) SetHeaders

func (options *CreateVPCRouteOptions) SetHeaders(param map[string]string) *CreateVPCRouteOptions

SetHeaders : Allow user to set Headers

func (*CreateVPCRouteOptions) SetName

func (_options *CreateVPCRouteOptions) SetName(name string) *CreateVPCRouteOptions

SetName : Allow user to set Name

func (*CreateVPCRouteOptions) SetNextHop

SetNextHop : Allow user to set NextHop

func (*CreateVPCRouteOptions) SetPriority added in v0.34.0

func (_options *CreateVPCRouteOptions) SetPriority(priority int64) *CreateVPCRouteOptions

SetPriority : Allow user to set Priority

func (*CreateVPCRouteOptions) SetVPCID

func (_options *CreateVPCRouteOptions) SetVPCID(vpcID string) *CreateVPCRouteOptions

SetVPCID : Allow user to set VPCID

func (*CreateVPCRouteOptions) SetZone

SetZone : Allow user to set Zone

type CreateVPCRoutingTableOptions added in v0.3.0

type CreateVPCRoutingTableOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The filters specifying the resources that may create routes in this routing table.
	AcceptRoutesFrom []ResourceFilter `json:"accept_routes_from,omitempty"`

	// The ingress sources to advertise routes to. Routes in the table with `advertise` enabled will be advertised to these
	// sources.
	AdvertiseRoutesTo []string `json:"advertise_routes_to,omitempty"`

	// The name for this routing table. The name must not be used by another routing table in the VPC. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// If set to `true`, this routing table will be used to route traffic that originates from [Direct
	// Link](https://cloud.ibm.com/docs/dl) to this VPC. The VPC must not already have a routing table with this property
	// set to `true`.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	//
	// If [Classic Access](https://cloud.ibm.com/docs/vpc?topic=vpc-setting-up-access-to-classic-infrastructure) is enabled
	// for this VPC, and this property is set to `true`, its incoming traffic will also be routed according to this routing
	// table.
	RouteDirectLinkIngress *bool `json:"route_direct_link_ingress,omitempty"`

	// If set to `true`, this routing table will be used to route traffic that originates from the internet. For this to
	// succeed, the VPC must not already have a routing table with this property set to `true`.
	//
	// Incoming traffic will be routed according to the routing table with two exceptions:
	// - Traffic destined for IP addresses associated with public gateways will not be
	//   subject to routes in this routing table.
	// - Routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is
	//   an IP address in a subnet in the route's `zone` that is able to accept traffic.
	//   Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	//   connection, the packet will be dropped.
	RouteInternetIngress *bool `json:"route_internet_ingress,omitempty"`

	// If set to `true`, this routing table will be used to route traffic that originates from [Transit
	// Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC. The VPC must not already have a routing table with
	// this property set to `true`.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteTransitGatewayIngress *bool `json:"route_transit_gateway_ingress,omitempty"`

	// If set to `true`, this routing table will be used to route traffic that originates from subnets in other zones in
	// this VPC. The VPC must not already have a routing table with this property set to `true`.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteVPCZoneIngress *bool `json:"route_vpc_zone_ingress,omitempty"`

	// The prototype objects for routes to create for this routing table. If unspecified, the routing table will be created
	// with no routes.
	Routes []RoutePrototype `json:"routes,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPCRoutingTableOptions : The CreateVPCRoutingTable options.

func (*CreateVPCRoutingTableOptions) SetAcceptRoutesFrom added in v0.22.0

func (_options *CreateVPCRoutingTableOptions) SetAcceptRoutesFrom(acceptRoutesFrom []ResourceFilter) *CreateVPCRoutingTableOptions

SetAcceptRoutesFrom : Allow user to set AcceptRoutesFrom

func (*CreateVPCRoutingTableOptions) SetAdvertiseRoutesTo added in v0.47.0

func (_options *CreateVPCRoutingTableOptions) SetAdvertiseRoutesTo(advertiseRoutesTo []string) *CreateVPCRoutingTableOptions

SetAdvertiseRoutesTo : Allow user to set AdvertiseRoutesTo

func (*CreateVPCRoutingTableOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*CreateVPCRoutingTableOptions) SetName added in v0.3.0

SetName : Allow user to set Name

func (*CreateVPCRoutingTableOptions) SetRouteDirectLinkIngress added in v0.3.0

func (_options *CreateVPCRoutingTableOptions) SetRouteDirectLinkIngress(routeDirectLinkIngress bool) *CreateVPCRoutingTableOptions

SetRouteDirectLinkIngress : Allow user to set RouteDirectLinkIngress

func (*CreateVPCRoutingTableOptions) SetRouteInternetIngress added in v0.27.0

func (_options *CreateVPCRoutingTableOptions) SetRouteInternetIngress(routeInternetIngress bool) *CreateVPCRoutingTableOptions

SetRouteInternetIngress : Allow user to set RouteInternetIngress

func (*CreateVPCRoutingTableOptions) SetRouteTransitGatewayIngress added in v0.3.0

func (_options *CreateVPCRoutingTableOptions) SetRouteTransitGatewayIngress(routeTransitGatewayIngress bool) *CreateVPCRoutingTableOptions

SetRouteTransitGatewayIngress : Allow user to set RouteTransitGatewayIngress

func (*CreateVPCRoutingTableOptions) SetRouteVPCZoneIngress added in v0.3.0

func (_options *CreateVPCRoutingTableOptions) SetRouteVPCZoneIngress(routeVPCZoneIngress bool) *CreateVPCRoutingTableOptions

SetRouteVPCZoneIngress : Allow user to set RouteVPCZoneIngress

func (*CreateVPCRoutingTableOptions) SetRoutes added in v0.3.0

SetRoutes : Allow user to set Routes

func (*CreateVPCRoutingTableOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type CreateVPCRoutingTableRouteOptions added in v0.3.0

type CreateVPCRoutingTableRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	RoutingTableID *string `json:"routing_table_id" validate:"required,ne="`

	// The destination CIDR of the route. The host identifier in the CIDR must be zero.
	//
	// At most two routes per `zone` in a table can have the same `destination` and
	// `priority`, and only if both routes have an `action` of `deliver` and the `next_hop` is an IP address.
	Destination *string `json:"destination" validate:"required"`

	// The zone to apply the route to.
	//
	// If subnets are attached to the route's routing table, egress traffic from those
	// subnets in this zone will be subject to this route. If this route's routing table
	// has any of `route_direct_link_ingress`, `route_internet_ingress`,
	// `route_transit_gateway_ingress` or `route_vpc_zone_ingress`  set to`true`, traffic
	// from those ingress sources arriving in this zone will be subject to this route.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The action to perform with a packet matching the route:
	// - `delegate`: delegate to system-provided routes
	// - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes
	// - `deliver`: deliver the packet to the specified `next_hop`
	// - `drop`: drop the packet.
	Action *string `json:"action,omitempty"`

	// Indicates whether this route will be advertised to the ingress sources specified by the `advertise_routes_to`
	// routing table property.
	//
	// All routes in a routing table with the same `destination` and `zone` must have the same
	// `advertise` value.
	Advertise *bool `json:"advertise,omitempty"`

	// The name for this route. The name must not be used by another route in the routing table. Names starting with `ibm-`
	// are reserved for system-provided routes, and are not allowed. If unspecified, the name will be a hyphenated list of
	// randomly-selected words.
	Name *string `json:"name,omitempty"`

	// If `action` is `deliver`, the next hop that packets will be delivered to. For other
	// `action` values, it must be omitted or specified as `0.0.0.0`.
	//
	// At most two routes per `zone` in a table can have the same `destination` and `priority`,
	// and only when each route has an `action` of `deliver` and `next_hop` is an IP address.
	NextHop RoutePrototypeNextHopIntf `json:"next_hop,omitempty"`

	// The priority of this route. Smaller values have higher priority.
	//
	// If a routing table contains multiple routes with the same `zone` and `destination`, the route with the highest
	// priority (smallest value) is selected. If two routes have the same `destination` and `priority`, traffic is
	// distributed between them.
	Priority *int64 `json:"priority,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPCRoutingTableRouteOptions : The CreateVPCRoutingTableRoute options.

func (*CreateVPCRoutingTableRouteOptions) SetAction added in v0.3.0

SetAction : Allow user to set Action

func (*CreateVPCRoutingTableRouteOptions) SetAdvertise added in v0.47.0

SetAdvertise : Allow user to set Advertise

func (*CreateVPCRoutingTableRouteOptions) SetDestination added in v0.3.0

func (_options *CreateVPCRoutingTableRouteOptions) SetDestination(destination string) *CreateVPCRoutingTableRouteOptions

SetDestination : Allow user to set Destination

func (*CreateVPCRoutingTableRouteOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*CreateVPCRoutingTableRouteOptions) SetName added in v0.3.0

SetName : Allow user to set Name

func (*CreateVPCRoutingTableRouteOptions) SetNextHop added in v0.3.0

SetNextHop : Allow user to set NextHop

func (*CreateVPCRoutingTableRouteOptions) SetPriority added in v0.34.0

SetPriority : Allow user to set Priority

func (*CreateVPCRoutingTableRouteOptions) SetRoutingTableID added in v0.3.0

func (_options *CreateVPCRoutingTableRouteOptions) SetRoutingTableID(routingTableID string) *CreateVPCRoutingTableRouteOptions

SetRoutingTableID : Allow user to set RoutingTableID

func (*CreateVPCRoutingTableRouteOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

func (*CreateVPCRoutingTableRouteOptions) SetZone added in v0.3.0

SetZone : Allow user to set Zone

type CreateVPNGatewayConnectionOptions

type CreateVPNGatewayConnectionOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection prototype object.
	VPNGatewayConnectionPrototype VPNGatewayConnectionPrototypeIntf `json:"VPNGatewayConnectionPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPNGatewayConnectionOptions : The CreateVPNGatewayConnection options.

func (*CreateVPNGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateVPNGatewayConnectionOptions) SetVPNGatewayConnectionPrototype added in v0.3.0

func (_options *CreateVPNGatewayConnectionOptions) SetVPNGatewayConnectionPrototype(vpnGatewayConnectionPrototype VPNGatewayConnectionPrototypeIntf) *CreateVPNGatewayConnectionOptions

SetVPNGatewayConnectionPrototype : Allow user to set VPNGatewayConnectionPrototype

func (*CreateVPNGatewayConnectionOptions) SetVPNGatewayID

func (_options *CreateVPNGatewayConnectionOptions) SetVPNGatewayID(vpnGatewayID string) *CreateVPNGatewayConnectionOptions

SetVPNGatewayID : Allow user to set VPNGatewayID

type CreateVPNGatewayOptions

type CreateVPNGatewayOptions struct {
	// The VPN gateway prototype object.
	VPNGatewayPrototype VPNGatewayPrototypeIntf `json:"VPNGatewayPrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPNGatewayOptions : The CreateVPNGateway options.

func (*CreateVPNGatewayOptions) SetHeaders

func (options *CreateVPNGatewayOptions) SetHeaders(param map[string]string) *CreateVPNGatewayOptions

SetHeaders : Allow user to set Headers

func (*CreateVPNGatewayOptions) SetVPNGatewayPrototype added in v0.3.0

func (_options *CreateVPNGatewayOptions) SetVPNGatewayPrototype(vpnGatewayPrototype VPNGatewayPrototypeIntf) *CreateVPNGatewayOptions

SetVPNGatewayPrototype : Allow user to set VPNGatewayPrototype

type CreateVPNServerOptions added in v0.22.0

type CreateVPNServerOptions struct {
	// The certificate instance for this VPN server.
	Certificate CertificateInstanceIdentityIntf `json:"certificate" validate:"required"`

	// The methods used to authenticate VPN clients to this VPN server. VPN clients must authenticate against all specified
	// methods.
	ClientAuthentication []VPNServerAuthenticationPrototypeIntf `json:"client_authentication" validate:"required"`

	// The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address
	// prefixes in the VPC or any of the following reserved address ranges:
	//   - `127.0.0.0/8` (IPv4 loopback addresses)
	//   - `161.26.0.0/16` (IBM services)
	//   - `166.8.0.0/14` (Cloud Service Endpoints)
	//   - `169.254.0.0/16` (IPv4 link-local addresses)
	//   - `224.0.0.0/4` (IPv4 multicast addresses)
	//
	// The prefix length of the client IP address pool's CIDR must be between
	// `/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses
	// that are required to enable the maximum number of concurrent connections is recommended.
	ClientIPPool *string `json:"client_ip_pool" validate:"required"`

	// The subnets to provision this VPN server in.  Use subnets in different zones for high availability.
	Subnets []SubnetIdentityIntf `json:"subnets" validate:"required"`

	// The DNS server addresses that will be provided to VPN clients connected to this VPN server.
	ClientDnsServerIps []IP `json:"client_dns_server_ips,omitempty"`

	// The seconds a VPN client can be idle before this VPN server will disconnect it.   Specify `0` to prevent the server
	// from disconnecting idle clients.
	ClientIdleTimeout *int64 `json:"client_idle_timeout,omitempty"`

	// Indicates whether the split tunneling is enabled on this VPN server.
	EnableSplitTunneling *bool `json:"enable_split_tunneling,omitempty"`

	// The name for this VPN server. The name must not be used by another VPN server in the VPC. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The port number to use for this VPN server.
	Port *int64 `json:"port,omitempty"`

	// The transport protocol to use for this VPN server.
	Protocol *string `json:"protocol,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this VPN server. If unspecified, the VPC's default security group is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPNServerOptions : The CreateVPNServer options.

func (*CreateVPNServerOptions) SetCertificate added in v0.22.0

func (_options *CreateVPNServerOptions) SetCertificate(certificate CertificateInstanceIdentityIntf) *CreateVPNServerOptions

SetCertificate : Allow user to set Certificate

func (*CreateVPNServerOptions) SetClientAuthentication added in v0.22.0

func (_options *CreateVPNServerOptions) SetClientAuthentication(clientAuthentication []VPNServerAuthenticationPrototypeIntf) *CreateVPNServerOptions

SetClientAuthentication : Allow user to set ClientAuthentication

func (*CreateVPNServerOptions) SetClientDnsServerIps added in v0.22.0

func (_options *CreateVPNServerOptions) SetClientDnsServerIps(clientDnsServerIps []IP) *CreateVPNServerOptions

SetClientDnsServerIps : Allow user to set ClientDnsServerIps

func (*CreateVPNServerOptions) SetClientIPPool added in v0.22.0

func (_options *CreateVPNServerOptions) SetClientIPPool(clientIPPool string) *CreateVPNServerOptions

SetClientIPPool : Allow user to set ClientIPPool

func (*CreateVPNServerOptions) SetClientIdleTimeout added in v0.22.0

func (_options *CreateVPNServerOptions) SetClientIdleTimeout(clientIdleTimeout int64) *CreateVPNServerOptions

SetClientIdleTimeout : Allow user to set ClientIdleTimeout

func (*CreateVPNServerOptions) SetEnableSplitTunneling added in v0.22.0

func (_options *CreateVPNServerOptions) SetEnableSplitTunneling(enableSplitTunneling bool) *CreateVPNServerOptions

SetEnableSplitTunneling : Allow user to set EnableSplitTunneling

func (*CreateVPNServerOptions) SetHeaders added in v0.22.0

func (options *CreateVPNServerOptions) SetHeaders(param map[string]string) *CreateVPNServerOptions

SetHeaders : Allow user to set Headers

func (*CreateVPNServerOptions) SetName added in v0.22.0

func (_options *CreateVPNServerOptions) SetName(name string) *CreateVPNServerOptions

SetName : Allow user to set Name

func (*CreateVPNServerOptions) SetPort added in v0.22.0

func (_options *CreateVPNServerOptions) SetPort(port int64) *CreateVPNServerOptions

SetPort : Allow user to set Port

func (*CreateVPNServerOptions) SetProtocol added in v0.22.0

func (_options *CreateVPNServerOptions) SetProtocol(protocol string) *CreateVPNServerOptions

SetProtocol : Allow user to set Protocol

func (*CreateVPNServerOptions) SetResourceGroup added in v0.22.0

func (_options *CreateVPNServerOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateVPNServerOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateVPNServerOptions) SetSecurityGroups added in v0.22.0

func (_options *CreateVPNServerOptions) SetSecurityGroups(securityGroups []SecurityGroupIdentityIntf) *CreateVPNServerOptions

SetSecurityGroups : Allow user to set SecurityGroups

func (*CreateVPNServerOptions) SetSubnets added in v0.22.0

func (_options *CreateVPNServerOptions) SetSubnets(subnets []SubnetIdentityIntf) *CreateVPNServerOptions

SetSubnets : Allow user to set Subnets

type CreateVPNServerRouteOptions added in v0.22.0

type CreateVPNServerRouteOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming
	// packet does not match any destination, it will be dropped.
	Destination *string `json:"destination" validate:"required"`

	// The action to perform with a packet matching the VPN route:
	// - `translate`: translate the source IP address to one of the private IP addresses of
	//   the VPN server, then deliver the packet to target.
	// - `deliver`: deliver the packet to the target.
	// - `drop`: drop the packet.
	Action *string `json:"action,omitempty"`

	// The name for this VPN server route. The name must not be used by another route for the VPN server. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVPNServerRouteOptions : The CreateVPNServerRoute options.

func (*CreateVPNServerRouteOptions) SetAction added in v0.22.0

func (_options *CreateVPNServerRouteOptions) SetAction(action string) *CreateVPNServerRouteOptions

SetAction : Allow user to set Action

func (*CreateVPNServerRouteOptions) SetDestination added in v0.22.0

func (_options *CreateVPNServerRouteOptions) SetDestination(destination string) *CreateVPNServerRouteOptions

SetDestination : Allow user to set Destination

func (*CreateVPNServerRouteOptions) SetHeaders added in v0.22.0

func (options *CreateVPNServerRouteOptions) SetHeaders(param map[string]string) *CreateVPNServerRouteOptions

SetHeaders : Allow user to set Headers

func (*CreateVPNServerRouteOptions) SetName added in v0.22.0

SetName : Allow user to set Name

func (*CreateVPNServerRouteOptions) SetVPNServerID added in v0.22.0

func (_options *CreateVPNServerRouteOptions) SetVPNServerID(vpnServerID string) *CreateVPNServerRouteOptions

SetVPNServerID : Allow user to set VPNServerID

type CreateVirtualNetworkInterfaceOptions added in v0.47.0

type CreateVirtualNetworkInterfaceOptions struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted. Must be `false` if the virtual network interface is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVirtualNetworkInterfaceOptions : The CreateVirtualNetworkInterface options.

func (*CreateVirtualNetworkInterfaceOptions) SetAllowIPSpoofing added in v0.47.0

func (_options *CreateVirtualNetworkInterfaceOptions) SetAllowIPSpoofing(allowIPSpoofing bool) *CreateVirtualNetworkInterfaceOptions

SetAllowIPSpoofing : Allow user to set AllowIPSpoofing

func (*CreateVirtualNetworkInterfaceOptions) SetAutoDelete added in v0.47.0

SetAutoDelete : Allow user to set AutoDelete

func (*CreateVirtualNetworkInterfaceOptions) SetEnableInfrastructureNat added in v0.47.0

func (_options *CreateVirtualNetworkInterfaceOptions) SetEnableInfrastructureNat(enableInfrastructureNat bool) *CreateVirtualNetworkInterfaceOptions

SetEnableInfrastructureNat : Allow user to set EnableInfrastructureNat

func (*CreateVirtualNetworkInterfaceOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*CreateVirtualNetworkInterfaceOptions) SetIps added in v0.47.0

SetIps : Allow user to set Ips

func (*CreateVirtualNetworkInterfaceOptions) SetName added in v0.47.0

SetName : Allow user to set Name

func (*CreateVirtualNetworkInterfaceOptions) SetPrimaryIP added in v0.47.0

SetPrimaryIP : Allow user to set PrimaryIP

func (*CreateVirtualNetworkInterfaceOptions) SetResourceGroup added in v0.47.0

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateVirtualNetworkInterfaceOptions) SetSecurityGroups added in v0.47.0

SetSecurityGroups : Allow user to set SecurityGroups

func (*CreateVirtualNetworkInterfaceOptions) SetSubnet added in v0.47.0

SetSubnet : Allow user to set Subnet

type CreateVolumeOptions

type CreateVolumeOptions struct {
	// The volume prototype object.
	VolumePrototype VolumePrototypeIntf `json:"VolumePrototype" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVolumeOptions : The CreateVolume options.

func (*CreateVolumeOptions) SetHeaders

func (options *CreateVolumeOptions) SetHeaders(param map[string]string) *CreateVolumeOptions

SetHeaders : Allow user to set Headers

func (*CreateVolumeOptions) SetVolumePrototype

func (_options *CreateVolumeOptions) SetVolumePrototype(volumePrototype VolumePrototypeIntf) *CreateVolumeOptions

SetVolumePrototype : Allow user to set VolumePrototype

type DedicatedHost added in v0.4.0

type DedicatedHost struct {
	// The amount of memory in gibibytes that is currently available for instances.
	AvailableMemory *int64 `json:"available_memory" validate:"required"`

	// The available VCPU for the dedicated host.
	AvailableVcpu *Vcpu `json:"available_vcpu" validate:"required"`

	// The date and time that the dedicated host was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this dedicated host.
	CRN *string `json:"crn" validate:"required"`

	// Collection of the dedicated host's disks.
	Disks []DedicatedHostDisk `json:"disks" validate:"required"`

	// The dedicated host group this dedicated host is in.
	Group *DedicatedHostGroupReference `json:"group" validate:"required"`

	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this dedicated host.
	ID *string `json:"id" validate:"required"`

	// If set to true, instances can be placed on this dedicated host.
	InstancePlacementEnabled *bool `json:"instance_placement_enabled" validate:"required"`

	// The instances that are allocated to this dedicated host.
	Instances []InstanceReference `json:"instances" validate:"required"`

	// The lifecycle state of the dedicated host.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The total amount of memory in gibibytes for this host.
	Memory *int64 `json:"memory" validate:"required"`

	// The name for this dedicated host. The name is unique across all dedicated hosts in the region.
	Name *string `json:"name" validate:"required"`

	// The dedicated host NUMA configuration.
	Numa *DedicatedHostNuma `json:"numa" validate:"required"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) for this
	// dedicated host.
	Profile *DedicatedHostProfileReference `json:"profile" validate:"required"`

	// Indicates whether this dedicated host is available for instance creation.
	Provisionable *bool `json:"provisionable" validate:"required"`

	// The resource group for this dedicated host.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The total number of sockets for this host.
	SocketCount *int64 `json:"socket_count" validate:"required"`

	// The administrative state of the dedicated host.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	State *string `json:"state" validate:"required"`

	// The instance profiles usable by instances placed on this dedicated host.
	SupportedInstanceProfiles []InstanceProfileReference `json:"supported_instance_profiles" validate:"required"`

	// The total VCPU of the dedicated host.
	Vcpu *Vcpu `json:"vcpu" validate:"required"`

	// The zone this dedicated host resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

DedicatedHost : DedicatedHost struct

type DedicatedHostCollection added in v0.4.0

type DedicatedHostCollection struct {
	// Collection of dedicated hosts.
	DedicatedHosts []DedicatedHost `json:"dedicated_hosts" validate:"required"`

	// A link to the first page of resources.
	First *DedicatedHostCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *DedicatedHostCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

DedicatedHostCollection : DedicatedHostCollection struct

func (*DedicatedHostCollection) GetNextStart added in v0.8.0

func (resp *DedicatedHostCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type DedicatedHostCollectionFirst added in v0.4.0

type DedicatedHostCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostCollectionFirst : A link to the first page of resources.

type DedicatedHostCollectionNext added in v0.4.0

type DedicatedHostCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type DedicatedHostDisk added in v0.5.0

type DedicatedHostDisk struct {
	// The remaining space left for instance placement in GB (gigabytes).
	Available *int64 `json:"available" validate:"required"`

	// The date and time that the disk was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this disk.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this disk.
	ID *string `json:"id" validate:"required"`

	// Instance disks that are on this dedicated host disk.
	InstanceDisks []InstanceDiskReference `json:"instance_disks" validate:"required"`

	// The disk interface used for attaching the disk
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The lifecycle state of this dedicated host disk.
	LifecycleState *string `json:"lifecycle_state,omitempty"`

	// The name for this dedicated host disk. The name is unique across all disks on the dedicated host.
	Name *string `json:"name" validate:"required"`

	// Indicates whether this dedicated host disk is available for instance disk creation.
	Provisionable *bool `json:"provisionable" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The size of the disk in GB (gigabytes).
	Size *int64 `json:"size" validate:"required"`

	// The instance disk interfaces supported for this dedicated host disk.
	SupportedInstanceInterfaceTypes []string `json:"supported_instance_interface_types" validate:"required"`
}

DedicatedHostDisk : DedicatedHostDisk struct

type DedicatedHostDiskCollection added in v0.5.0

type DedicatedHostDiskCollection struct {
	// Collection of the dedicated host's disks.
	Disks []DedicatedHostDisk `json:"disks" validate:"required"`
}

DedicatedHostDiskCollection : DedicatedHostDiskCollection struct

type DedicatedHostDiskPatch added in v0.5.0

type DedicatedHostDiskPatch struct {
	// The name for this dedicated host disk. The name must not be used by another disk on the dedicated host.
	Name *string `json:"name,omitempty"`
}

DedicatedHostDiskPatch : DedicatedHostDiskPatch struct

func (*DedicatedHostDiskPatch) AsPatch added in v0.5.0

func (dedicatedHostDiskPatch *DedicatedHostDiskPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the DedicatedHostDiskPatch

type DedicatedHostGroup added in v0.4.0

type DedicatedHostGroup struct {
	// The dedicated host profile class for hosts in this group.
	Class *string `json:"class" validate:"required"`

	// The date and time that the dedicated host group was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this dedicated host group.
	CRN *string `json:"crn" validate:"required"`

	// The dedicated hosts that are in this dedicated host group.
	DedicatedHosts []DedicatedHostReference `json:"dedicated_hosts" validate:"required"`

	// The dedicated host profile family for hosts in this group.
	Family *string `json:"family" validate:"required"`

	// The URL for this dedicated host group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this dedicated host group.
	ID *string `json:"id" validate:"required"`

	// The name for this dedicated host group. The name is unique across all dedicated host groups in the region.
	Name *string `json:"name" validate:"required"`

	// The resource group for this dedicated host group.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The instance profiles usable by instances placed on this dedicated host group.
	SupportedInstanceProfiles []InstanceProfileReference `json:"supported_instance_profiles" validate:"required"`

	// The zone this dedicated host group resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

DedicatedHostGroup : DedicatedHostGroup struct

type DedicatedHostGroupCollection added in v0.4.0

type DedicatedHostGroupCollection struct {
	// A link to the first page of resources.
	First *DedicatedHostGroupCollectionFirst `json:"first" validate:"required"`

	// Collection of dedicated host groups.
	Groups []DedicatedHostGroup `json:"groups" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *DedicatedHostGroupCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

DedicatedHostGroupCollection : DedicatedHostGroupCollection struct

func (*DedicatedHostGroupCollection) GetNextStart added in v0.8.0

func (resp *DedicatedHostGroupCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type DedicatedHostGroupCollectionFirst added in v0.4.0

type DedicatedHostGroupCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostGroupCollectionFirst : A link to the first page of resources.

type DedicatedHostGroupCollectionNext added in v0.4.0

type DedicatedHostGroupCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostGroupCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type DedicatedHostGroupIdentity added in v0.4.0

type DedicatedHostGroupIdentity struct {
	// The unique identifier for this dedicated host group.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host group.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host group.
	Href *string `json:"href,omitempty"`
}

DedicatedHostGroupIdentity : Identifies a dedicated host group by a unique property. Models which "extend" this model: - DedicatedHostGroupIdentityByID - DedicatedHostGroupIdentityByCRN - DedicatedHostGroupIdentityByHref

type DedicatedHostGroupIdentityByCRN added in v0.4.0

type DedicatedHostGroupIdentityByCRN struct {
	// The CRN for this dedicated host group.
	CRN *string `json:"crn" validate:"required"`
}

DedicatedHostGroupIdentityByCRN : DedicatedHostGroupIdentityByCRN struct This model "extends" DedicatedHostGroupIdentity

type DedicatedHostGroupIdentityByHref added in v0.4.0

type DedicatedHostGroupIdentityByHref struct {
	// The URL for this dedicated host group.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostGroupIdentityByHref : DedicatedHostGroupIdentityByHref struct This model "extends" DedicatedHostGroupIdentity

type DedicatedHostGroupIdentityByID added in v0.4.0

type DedicatedHostGroupIdentityByID struct {
	// The unique identifier for this dedicated host group.
	ID *string `json:"id" validate:"required"`
}

DedicatedHostGroupIdentityByID : DedicatedHostGroupIdentityByID struct This model "extends" DedicatedHostGroupIdentity

type DedicatedHostGroupIdentityIntf added in v0.4.0

type DedicatedHostGroupIdentityIntf interface {
	// contains filtered or unexported methods
}

type DedicatedHostGroupPatch added in v0.4.0

type DedicatedHostGroupPatch struct {
	// The name for this dedicated host group. The name must not be used by another dedicated host group in the region.
	Name *string `json:"name,omitempty"`
}

DedicatedHostGroupPatch : DedicatedHostGroupPatch struct

func (*DedicatedHostGroupPatch) AsPatch added in v0.4.0

func (dedicatedHostGroupPatch *DedicatedHostGroupPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the DedicatedHostGroupPatch

type DedicatedHostGroupPrototypeDedicatedHostByZoneContext added in v0.4.0

type DedicatedHostGroupPrototypeDedicatedHostByZoneContext struct {
	// The name for this dedicated host group. The name must not be used by another dedicated host group in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the host's resource group is used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`
}

DedicatedHostGroupPrototypeDedicatedHostByZoneContext : DedicatedHostGroupPrototypeDedicatedHostByZoneContext struct

type DedicatedHostGroupReference added in v0.4.0

type DedicatedHostGroupReference struct {
	// The CRN for this dedicated host group.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *DedicatedHostGroupReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this dedicated host group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this dedicated host group.
	ID *string `json:"id" validate:"required"`

	// The name for this dedicated host group. The name is unique across all dedicated host groups in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

DedicatedHostGroupReference : DedicatedHostGroupReference struct

type DedicatedHostGroupReferenceDeleted added in v0.4.0

type DedicatedHostGroupReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

DedicatedHostGroupReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type DedicatedHostGroupsPager added in v0.25.0

type DedicatedHostGroupsPager struct {
	// contains filtered or unexported fields
}

DedicatedHostGroupsPager can be used to simplify the use of the "ListDedicatedHostGroups" method.

func (*DedicatedHostGroupsPager) GetAll added in v0.25.0

func (pager *DedicatedHostGroupsPager) GetAll() (allItems []DedicatedHostGroup, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*DedicatedHostGroupsPager) GetAllWithContext added in v0.25.0

func (pager *DedicatedHostGroupsPager) GetAllWithContext(ctx context.Context) (allItems []DedicatedHostGroup, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*DedicatedHostGroupsPager) GetNext added in v0.25.0

func (pager *DedicatedHostGroupsPager) GetNext() (page []DedicatedHostGroup, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*DedicatedHostGroupsPager) GetNextWithContext added in v0.25.0

func (pager *DedicatedHostGroupsPager) GetNextWithContext(ctx context.Context) (page []DedicatedHostGroup, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*DedicatedHostGroupsPager) HasNext added in v0.25.0

func (pager *DedicatedHostGroupsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type DedicatedHostNuma added in v0.43.0

type DedicatedHostNuma struct {
	// The total number of NUMA nodes for this dedicated host.
	Count *int64 `json:"count" validate:"required"`

	// The NUMA nodes for this dedicated host.
	Nodes []DedicatedHostNumaNode `json:"nodes" validate:"required"`
}

DedicatedHostNuma : The dedicated host NUMA configuration.

type DedicatedHostNumaNode added in v0.43.0

type DedicatedHostNumaNode struct {
	// The available VCPU for this NUMA node.
	AvailableVcpu *int64 `json:"available_vcpu" validate:"required"`

	// The total VCPU capacity for this NUMA node.
	Vcpu *int64 `json:"vcpu" validate:"required"`
}

DedicatedHostNumaNode : The dedicated host NUMA node configuration.

type DedicatedHostPatch added in v0.4.0

type DedicatedHostPatch struct {
	// If set to true, instances can be placed on this dedicated host.
	InstancePlacementEnabled *bool `json:"instance_placement_enabled,omitempty"`

	// The name for this dedicated host. The name must not be used by another dedicated host in the region.
	Name *string `json:"name,omitempty"`
}

DedicatedHostPatch : DedicatedHostPatch struct

func (*DedicatedHostPatch) AsPatch added in v0.4.0

func (dedicatedHostPatch *DedicatedHostPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the DedicatedHostPatch

type DedicatedHostProfile added in v0.4.0

type DedicatedHostProfile struct {
	// The product class this dedicated host profile belongs to.
	Class *string `json:"class" validate:"required"`

	// Collection of the dedicated host profile's disks.
	Disks []DedicatedHostProfileDisk `json:"disks" validate:"required"`

	// The product family this dedicated host profile belongs to
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Family *string `json:"family" validate:"required"`

	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`

	Memory DedicatedHostProfileMemoryIntf `json:"memory" validate:"required"`

	// The globally unique name for this dedicated host profile.
	Name *string `json:"name" validate:"required"`

	SocketCount DedicatedHostProfileSocketIntf `json:"socket_count" validate:"required"`

	// The status of the dedicated host profile:
	// - `previous`: This dedicated host profile is an older revision, but remains provisionable
	//   and usable.
	// - `current`: This dedicated host profile is the latest revision.
	//
	// Revisions are indicated by the generation of a dedicated host profile. Refer to the [profile naming conventions]
	// (https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles&interface=ui#profiles-naming-rule) for information on how
	// generations are defined within a dedicated host profile.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The instance profiles usable by instances placed on dedicated hosts with this profile.
	SupportedInstanceProfiles []InstanceProfileReference `json:"supported_instance_profiles" validate:"required"`

	VcpuArchitecture *DedicatedHostProfileVcpuArchitecture `json:"vcpu_architecture" validate:"required"`

	VcpuCount DedicatedHostProfileVcpuIntf `json:"vcpu_count" validate:"required"`

	VcpuManufacturer *DedicatedHostProfileVcpuManufacturer `json:"vcpu_manufacturer" validate:"required"`
}

DedicatedHostProfile : DedicatedHostProfile struct

type DedicatedHostProfileCollection added in v0.4.0

type DedicatedHostProfileCollection struct {
	// A link to the first page of resources.
	First *DedicatedHostProfileCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *DedicatedHostProfileCollectionNext `json:"next,omitempty"`

	// Collection of dedicated host profiles.
	Profiles []DedicatedHostProfile `json:"profiles" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

DedicatedHostProfileCollection : DedicatedHostProfileCollection struct

func (*DedicatedHostProfileCollection) GetNextStart added in v0.8.0

func (resp *DedicatedHostProfileCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type DedicatedHostProfileCollectionFirst added in v0.4.0

type DedicatedHostProfileCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostProfileCollectionFirst : A link to the first page of resources.

type DedicatedHostProfileCollectionNext added in v0.4.0

type DedicatedHostProfileCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostProfileCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type DedicatedHostProfileDisk added in v0.5.0

type DedicatedHostProfileDisk struct {
	InterfaceType *DedicatedHostProfileDiskInterface `json:"interface_type" validate:"required"`

	// The number of disks of this type for a dedicated host with this profile.
	Quantity *DedicatedHostProfileDiskQuantity `json:"quantity" validate:"required"`

	// The size of the disk in GB (gigabytes).
	Size *DedicatedHostProfileDiskSize `json:"size" validate:"required"`

	SupportedInstanceInterfaceTypes *DedicatedHostProfileDiskSupportedInterfaces `json:"supported_instance_interface_types" validate:"required"`
}

DedicatedHostProfileDisk : Disks provided by this profile.

type DedicatedHostProfileDiskInterface added in v0.5.0

type DedicatedHostProfileDiskInterface struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The interface of the disk for a dedicated host with this profile
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Value *string `json:"value" validate:"required"`
}

DedicatedHostProfileDiskInterface : DedicatedHostProfileDiskInterface struct

type DedicatedHostProfileDiskQuantity added in v0.5.0

type DedicatedHostProfileDiskQuantity struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

DedicatedHostProfileDiskQuantity : The number of disks of this type for a dedicated host with this profile.

type DedicatedHostProfileDiskSize added in v0.5.0

type DedicatedHostProfileDiskSize struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The size of the disk in GB (gigabytes).
	Value *int64 `json:"value" validate:"required"`
}

DedicatedHostProfileDiskSize : The size of the disk in GB (gigabytes).

type DedicatedHostProfileDiskSupportedInterfaces added in v0.5.0

type DedicatedHostProfileDiskSupportedInterfaces struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The instance disk interfaces supported for a dedicated host with this profile.
	Value []string `json:"value" validate:"required"`
}

DedicatedHostProfileDiskSupportedInterfaces : DedicatedHostProfileDiskSupportedInterfaces struct

type DedicatedHostProfileIdentity added in v0.4.0

type DedicatedHostProfileIdentity struct {
	// The globally unique name for this dedicated host profile.
	Name *string `json:"name,omitempty"`

	// The URL for this dedicated host profile.
	Href *string `json:"href,omitempty"`
}

DedicatedHostProfileIdentity : Identifies a dedicated host profile by a unique property. Models which "extend" this model: - DedicatedHostProfileIdentityByName - DedicatedHostProfileIdentityByHref

type DedicatedHostProfileIdentityByHref added in v0.4.0

type DedicatedHostProfileIdentityByHref struct {
	// The URL for this dedicated host profile.
	Href *string `json:"href" validate:"required"`
}

DedicatedHostProfileIdentityByHref : DedicatedHostProfileIdentityByHref struct This model "extends" DedicatedHostProfileIdentity

type DedicatedHostProfileIdentityByName added in v0.4.0

type DedicatedHostProfileIdentityByName struct {
	// The globally unique name for this dedicated host profile.
	Name *string `json:"name" validate:"required"`
}

DedicatedHostProfileIdentityByName : DedicatedHostProfileIdentityByName struct This model "extends" DedicatedHostProfileIdentity

type DedicatedHostProfileIdentityIntf added in v0.4.0

type DedicatedHostProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type DedicatedHostProfileMemory added in v0.4.0

type DedicatedHostProfileMemory struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

DedicatedHostProfileMemory : DedicatedHostProfileMemory struct Models which "extend" this model: - DedicatedHostProfileMemoryFixed - DedicatedHostProfileMemoryRange - DedicatedHostProfileMemoryEnum - DedicatedHostProfileMemoryDependent

type DedicatedHostProfileMemoryDependent added in v0.4.0

type DedicatedHostProfileMemoryDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

DedicatedHostProfileMemoryDependent : The memory value for a dedicated host with this profile depends on its configuration. This model "extends" DedicatedHostProfileMemory

type DedicatedHostProfileMemoryEnum added in v0.4.0

type DedicatedHostProfileMemoryEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

DedicatedHostProfileMemoryEnum : The permitted memory values (in gibibytes) for a dedicated host with this profile. This model "extends" DedicatedHostProfileMemory

type DedicatedHostProfileMemoryFixed added in v0.4.0

type DedicatedHostProfileMemoryFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

DedicatedHostProfileMemoryFixed : The memory (in gibibytes) for a dedicated host with this profile. This model "extends" DedicatedHostProfileMemory

type DedicatedHostProfileMemoryIntf added in v0.4.0

type DedicatedHostProfileMemoryIntf interface {
	// contains filtered or unexported methods
}

type DedicatedHostProfileMemoryRange added in v0.4.0

type DedicatedHostProfileMemoryRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

DedicatedHostProfileMemoryRange : The permitted memory range (in gibibytes) for a dedicated host with this profile. This model "extends" DedicatedHostProfileMemory

type DedicatedHostProfileReference added in v0.4.0

type DedicatedHostProfileReference struct {
	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this dedicated host profile.
	Name *string `json:"name" validate:"required"`
}

DedicatedHostProfileReference : DedicatedHostProfileReference struct

type DedicatedHostProfileSocket added in v0.4.0

type DedicatedHostProfileSocket struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

DedicatedHostProfileSocket : DedicatedHostProfileSocket struct Models which "extend" this model: - DedicatedHostProfileSocketFixed - DedicatedHostProfileSocketRange - DedicatedHostProfileSocketEnum - DedicatedHostProfileSocketDependent

type DedicatedHostProfileSocketDependent added in v0.4.0

type DedicatedHostProfileSocketDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

DedicatedHostProfileSocketDependent : The CPU socket count for a dedicated host with this profile depends on its configuration. This model "extends" DedicatedHostProfileSocket

type DedicatedHostProfileSocketEnum added in v0.4.0

type DedicatedHostProfileSocketEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

DedicatedHostProfileSocketEnum : The permitted values for CPU socket count for a dedicated host with this profile. This model "extends" DedicatedHostProfileSocket

type DedicatedHostProfileSocketFixed added in v0.4.0

type DedicatedHostProfileSocketFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

DedicatedHostProfileSocketFixed : The CPU socket count for a dedicated host with this profile. This model "extends" DedicatedHostProfileSocket

type DedicatedHostProfileSocketIntf added in v0.4.0

type DedicatedHostProfileSocketIntf interface {
	// contains filtered or unexported methods
}

type DedicatedHostProfileSocketRange added in v0.4.0

type DedicatedHostProfileSocketRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

DedicatedHostProfileSocketRange : The permitted range for CPU socket count for a dedicated host with this profile. This model "extends" DedicatedHostProfileSocket

type DedicatedHostProfileVcpu added in v0.4.0

type DedicatedHostProfileVcpu struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

DedicatedHostProfileVcpu : DedicatedHostProfileVcpu struct Models which "extend" this model: - DedicatedHostProfileVcpuFixed - DedicatedHostProfileVcpuRange - DedicatedHostProfileVcpuEnum - DedicatedHostProfileVcpuDependent

type DedicatedHostProfileVcpuArchitecture added in v0.4.0

type DedicatedHostProfileVcpuArchitecture struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The VCPU architecture for a dedicated host with this profile.
	Value *string `json:"value" validate:"required"`
}

DedicatedHostProfileVcpuArchitecture : DedicatedHostProfileVcpuArchitecture struct

type DedicatedHostProfileVcpuDependent added in v0.4.0

type DedicatedHostProfileVcpuDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

DedicatedHostProfileVcpuDependent : The VCPU count for a dedicated host with this profile depends on its configuration. This model "extends" DedicatedHostProfileVcpu

type DedicatedHostProfileVcpuEnum added in v0.4.0

type DedicatedHostProfileVcpuEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

DedicatedHostProfileVcpuEnum : The permitted values for VCPU count for a dedicated host with this profile. This model "extends" DedicatedHostProfileVcpu

type DedicatedHostProfileVcpuFixed added in v0.4.0

type DedicatedHostProfileVcpuFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

DedicatedHostProfileVcpuFixed : The VCPU count for a dedicated host with this profile. This model "extends" DedicatedHostProfileVcpu

type DedicatedHostProfileVcpuIntf added in v0.4.0

type DedicatedHostProfileVcpuIntf interface {
	// contains filtered or unexported methods
}

type DedicatedHostProfileVcpuManufacturer added in v0.35.0

type DedicatedHostProfileVcpuManufacturer struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The VCPU manufacturer for a dedicated host with this profile.
	Value *string `json:"value" validate:"required"`
}

DedicatedHostProfileVcpuManufacturer : DedicatedHostProfileVcpuManufacturer struct

type DedicatedHostProfileVcpuRange added in v0.4.0

type DedicatedHostProfileVcpuRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

DedicatedHostProfileVcpuRange : The permitted range for VCPU count for a dedicated host with this profile. This model "extends" DedicatedHostProfileVcpu

type DedicatedHostProfilesPager added in v0.25.0

type DedicatedHostProfilesPager struct {
	// contains filtered or unexported fields
}

DedicatedHostProfilesPager can be used to simplify the use of the "ListDedicatedHostProfiles" method.

func (*DedicatedHostProfilesPager) GetAll added in v0.25.0

func (pager *DedicatedHostProfilesPager) GetAll() (allItems []DedicatedHostProfile, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*DedicatedHostProfilesPager) GetAllWithContext added in v0.25.0

func (pager *DedicatedHostProfilesPager) GetAllWithContext(ctx context.Context) (allItems []DedicatedHostProfile, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*DedicatedHostProfilesPager) GetNext added in v0.25.0

func (pager *DedicatedHostProfilesPager) GetNext() (page []DedicatedHostProfile, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*DedicatedHostProfilesPager) GetNextWithContext added in v0.25.0

func (pager *DedicatedHostProfilesPager) GetNextWithContext(ctx context.Context) (page []DedicatedHostProfile, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*DedicatedHostProfilesPager) HasNext added in v0.25.0

func (pager *DedicatedHostProfilesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type DedicatedHostPrototype added in v0.4.0

type DedicatedHostPrototype struct {
	// If set to true, instances can be placed on this dedicated host.
	InstancePlacementEnabled *bool `json:"instance_placement_enabled,omitempty"`

	// The name for this dedicated host. The name must not be used by another dedicated host in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) to use for this
	// dedicated host.
	Profile DedicatedHostProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The dedicated host group for this dedicated host.
	Group DedicatedHostGroupIdentityIntf `json:"group,omitempty"`

	// The zone this dedicated host will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`
}

DedicatedHostPrototype : DedicatedHostPrototype struct Models which "extend" this model: - DedicatedHostPrototypeDedicatedHostByGroup - DedicatedHostPrototypeDedicatedHostByZone

type DedicatedHostPrototypeDedicatedHostByGroup added in v0.4.0

type DedicatedHostPrototypeDedicatedHostByGroup struct {
	// If set to true, instances can be placed on this dedicated host.
	InstancePlacementEnabled *bool `json:"instance_placement_enabled,omitempty"`

	// The name for this dedicated host. The name must not be used by another dedicated host in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) to use for this dedicated host.
	Profile DedicatedHostProfileIdentityIntf `json:"profile" validate:"required"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The dedicated host group for this dedicated host.
	Group DedicatedHostGroupIdentityIntf `json:"group" validate:"required"`
}

DedicatedHostPrototypeDedicatedHostByGroup : DedicatedHostPrototypeDedicatedHostByGroup struct This model "extends" DedicatedHostPrototype

type DedicatedHostPrototypeDedicatedHostByZone added in v0.4.0

type DedicatedHostPrototypeDedicatedHostByZone struct {
	// If set to true, instances can be placed on this dedicated host.
	InstancePlacementEnabled *bool `json:"instance_placement_enabled,omitempty"`

	// The name for this dedicated host. The name must not be used by another dedicated host in the region. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) to use for this dedicated host.
	Profile DedicatedHostProfileIdentityIntf `json:"profile" validate:"required"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	Group *DedicatedHostGroupPrototypeDedicatedHostByZoneContext `json:"group,omitempty"`

	// The zone this dedicated host will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`
}

DedicatedHostPrototypeDedicatedHostByZone : DedicatedHostPrototypeDedicatedHostByZone struct This model "extends" DedicatedHostPrototype

type DedicatedHostPrototypeIntf added in v0.4.0

type DedicatedHostPrototypeIntf interface {
	// contains filtered or unexported methods
}

type DedicatedHostReference added in v0.4.0

type DedicatedHostReference struct {
	// The CRN for this dedicated host.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *DedicatedHostReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this dedicated host.
	ID *string `json:"id" validate:"required"`

	// The name for this dedicated host. The name is unique across all dedicated hosts in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

DedicatedHostReference : DedicatedHostReference struct

type DedicatedHostReferenceDeleted added in v0.4.0

type DedicatedHostReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

DedicatedHostReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type DedicatedHostsPager added in v0.25.0

type DedicatedHostsPager struct {
	// contains filtered or unexported fields
}

DedicatedHostsPager can be used to simplify the use of the "ListDedicatedHosts" method.

func (*DedicatedHostsPager) GetAll added in v0.25.0

func (pager *DedicatedHostsPager) GetAll() (allItems []DedicatedHost, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*DedicatedHostsPager) GetAllWithContext added in v0.25.0

func (pager *DedicatedHostsPager) GetAllWithContext(ctx context.Context) (allItems []DedicatedHost, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*DedicatedHostsPager) GetNext added in v0.25.0

func (pager *DedicatedHostsPager) GetNext() (page []DedicatedHost, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*DedicatedHostsPager) GetNextWithContext added in v0.25.0

func (pager *DedicatedHostsPager) GetNextWithContext(ctx context.Context) (page []DedicatedHost, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*DedicatedHostsPager) HasNext added in v0.25.0

func (pager *DedicatedHostsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type DefaultNetworkACL

type DefaultNetworkACL struct {
	// The date and time that the network ACL was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this network ACL.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this network ACL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL.
	ID *string `json:"id" validate:"required"`

	// The name of the default network ACL created for a VPC. The name will be a hyphenated list of randomly-selected words
	// at creation, but may be changed.
	Name *string `json:"name" validate:"required"`

	// The resource group for the default network ACL for a VPC. Set to the VPC's
	// resource group at creation.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The ordered rules for the default network ACL for a VPC. Defaults to two rules which allow all inbound and outbound
	// traffic, respectively. Rules for the default network ACL may be changed, added, or removed.
	Rules []NetworkACLRuleItemIntf `json:"rules" validate:"required"`

	// The subnets to which this network ACL is attached.
	Subnets []SubnetReference `json:"subnets" validate:"required"`

	// The VPC this network ACL resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

DefaultNetworkACL : DefaultNetworkACL struct

type DefaultRoutingTable added in v0.3.0

type DefaultRoutingTable struct {
	// The filters specifying the resources that may create routes in this routing table.
	//
	// At present, only the `resource_type` filter is permitted, and only the values
	// `vpn_gateway` and `vpn_server` are supported, but filter support is expected to expand in the future.
	AcceptRoutesFrom []ResourceFilter `json:"accept_routes_from" validate:"required"`

	// The ingress sources to advertise routes to. Routes in the table with `advertise` enabled will be advertised to these
	// sources.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	AdvertiseRoutesTo []string `json:"advertise_routes_to" validate:"required"`

	// The date and time that this routing table was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this routing table.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this routing table.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this is the default routing table for this VPC.
	IsDefault *bool `json:"is_default" validate:"required"`

	// The lifecycle state of the routing table.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name of the default routing table created for this VPC. The name will be a hyphenated list of randomly-selected
	// words at creation, but may be changed.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from
	// [Direct Link](https://cloud.ibm.com/docs/dl) to this VPC.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteDirectLinkIngress *bool `json:"route_direct_link_ingress" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from the internet.
	//
	// Incoming traffic will be routed according to the routing table with two exceptions:
	// - Traffic destined for IP addresses associated with public gateways will not be
	//   subject to routes in this routing table.
	// - Routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is
	//   an IP address in a subnet in the route's `zone` that is able to accept traffic.
	//   Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	//   connection, the packet will be dropped.
	RouteInternetIngress *bool `json:"route_internet_ingress" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from from [Transit
	// Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteTransitGatewayIngress *bool `json:"route_transit_gateway_ingress" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this
	// VPC.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteVPCZoneIngress *bool `json:"route_vpc_zone_ingress" validate:"required"`

	// The routes for the default routing table for this VPC. The table is created with no routes, but routes may be added,
	// changed, or removed with a subsequent request.
	Routes []RouteReference `json:"routes" validate:"required"`

	// The subnets to which this routing table is attached.
	Subnets []SubnetReference `json:"subnets" validate:"required"`
}

DefaultRoutingTable : DefaultRoutingTable struct

type DefaultSecurityGroup

type DefaultSecurityGroup struct {
	// The date and time that this security group was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`

	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`

	// The name for the default security group for a VPC. The name will be a hyphenated list of randomly-selected words at
	// creation, but may changed.
	Name *string `json:"name" validate:"required"`

	// The resource group for this security group.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The rules for the default security group for a VPC. Defaults to allowing all outbound traffic, and allowing all
	// inbound traffic from other interfaces in the VPC's default security group. Rules for the default security group may
	// be changed, added or removed.
	Rules []SecurityGroupRuleIntf `json:"rules" validate:"required"`

	// The targets for this security group.
	Targets []SecurityGroupTargetReferenceIntf `json:"targets" validate:"required"`

	// The VPC this security group resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

DefaultSecurityGroup : DefaultSecurityGroup struct

type DeleteBackupPolicyOptions added in v0.21.0

type DeleteBackupPolicyOptions struct {
	// The backup policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteBackupPolicyOptions : The DeleteBackupPolicy options.

func (*DeleteBackupPolicyOptions) SetHeaders added in v0.21.0

func (options *DeleteBackupPolicyOptions) SetHeaders(param map[string]string) *DeleteBackupPolicyOptions

SetHeaders : Allow user to set Headers

func (*DeleteBackupPolicyOptions) SetID added in v0.21.0

SetID : Allow user to set ID

func (*DeleteBackupPolicyOptions) SetIfMatch added in v0.21.0

func (_options *DeleteBackupPolicyOptions) SetIfMatch(ifMatch string) *DeleteBackupPolicyOptions

SetIfMatch : Allow user to set IfMatch

type DeleteBackupPolicyPlanOptions added in v0.21.0

type DeleteBackupPolicyPlanOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// The backup policy plan identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteBackupPolicyPlanOptions : The DeleteBackupPolicyPlan options.

func (*DeleteBackupPolicyPlanOptions) SetBackupPolicyID added in v0.21.0

func (_options *DeleteBackupPolicyPlanOptions) SetBackupPolicyID(backupPolicyID string) *DeleteBackupPolicyPlanOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*DeleteBackupPolicyPlanOptions) SetHeaders added in v0.21.0

SetHeaders : Allow user to set Headers

func (*DeleteBackupPolicyPlanOptions) SetID added in v0.21.0

SetID : Allow user to set ID

func (*DeleteBackupPolicyPlanOptions) SetIfMatch added in v0.21.0

SetIfMatch : Allow user to set IfMatch

type DeleteBareMetalServerNetworkAttachmentOptions added in v0.47.0

type DeleteBareMetalServerNetworkAttachmentOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteBareMetalServerNetworkAttachmentOptions : The DeleteBareMetalServerNetworkAttachment options.

func (*DeleteBareMetalServerNetworkAttachmentOptions) SetBareMetalServerID added in v0.47.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*DeleteBareMetalServerNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*DeleteBareMetalServerNetworkAttachmentOptions) SetID added in v0.47.0

SetID : Allow user to set ID

type DeleteBareMetalServerNetworkInterfaceOptions added in v0.16.0

type DeleteBareMetalServerNetworkInterfaceOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteBareMetalServerNetworkInterfaceOptions : The DeleteBareMetalServerNetworkInterface options.

func (*DeleteBareMetalServerNetworkInterfaceOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*DeleteBareMetalServerNetworkInterfaceOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*DeleteBareMetalServerNetworkInterfaceOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type DeleteBareMetalServerOptions added in v0.16.0

type DeleteBareMetalServerOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteBareMetalServerOptions : The DeleteBareMetalServer options.

func (*DeleteBareMetalServerOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*DeleteBareMetalServerOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type DeleteDedicatedHostGroupOptions added in v0.4.0

type DeleteDedicatedHostGroupOptions struct {
	// The dedicated host group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteDedicatedHostGroupOptions : The DeleteDedicatedHostGroup options.

func (*DeleteDedicatedHostGroupOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*DeleteDedicatedHostGroupOptions) SetID added in v0.4.0

SetID : Allow user to set ID

type DeleteDedicatedHostOptions added in v0.4.0

type DeleteDedicatedHostOptions struct {
	// The dedicated host identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteDedicatedHostOptions : The DeleteDedicatedHost options.

func (*DeleteDedicatedHostOptions) SetHeaders added in v0.4.0

func (options *DeleteDedicatedHostOptions) SetHeaders(param map[string]string) *DeleteDedicatedHostOptions

SetHeaders : Allow user to set Headers

func (*DeleteDedicatedHostOptions) SetID added in v0.4.0

SetID : Allow user to set ID

type DeleteEndpointGatewayOptions added in v0.3.0

type DeleteEndpointGatewayOptions struct {
	// The endpoint gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteEndpointGatewayOptions : The DeleteEndpointGateway options.

func (*DeleteEndpointGatewayOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*DeleteEndpointGatewayOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type DeleteFloatingIPOptions

type DeleteFloatingIPOptions struct {
	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteFloatingIPOptions : The DeleteFloatingIP options.

func (*DeleteFloatingIPOptions) SetHeaders

func (options *DeleteFloatingIPOptions) SetHeaders(param map[string]string) *DeleteFloatingIPOptions

SetHeaders : Allow user to set Headers

func (*DeleteFloatingIPOptions) SetID

SetID : Allow user to set ID

type DeleteFlowLogCollectorOptions

type DeleteFlowLogCollectorOptions struct {
	// The flow log collector identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteFlowLogCollectorOptions : The DeleteFlowLogCollector options.

func (*DeleteFlowLogCollectorOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteFlowLogCollectorOptions) SetID

SetID : Allow user to set ID

type DeleteIkePolicyOptions

type DeleteIkePolicyOptions struct {
	// The IKE policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteIkePolicyOptions : The DeleteIkePolicy options.

func (*DeleteIkePolicyOptions) SetHeaders

func (options *DeleteIkePolicyOptions) SetHeaders(param map[string]string) *DeleteIkePolicyOptions

SetHeaders : Allow user to set Headers

func (*DeleteIkePolicyOptions) SetID

SetID : Allow user to set ID

type DeleteImageExportJobOptions added in v0.37.0

type DeleteImageExportJobOptions struct {
	// The image identifier.
	ImageID *string `json:"image_id" validate:"required,ne="`

	// The image export job identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteImageExportJobOptions : The DeleteImageExportJob options.

func (*DeleteImageExportJobOptions) SetHeaders added in v0.37.0

func (options *DeleteImageExportJobOptions) SetHeaders(param map[string]string) *DeleteImageExportJobOptions

SetHeaders : Allow user to set Headers

func (*DeleteImageExportJobOptions) SetID added in v0.37.0

SetID : Allow user to set ID

func (*DeleteImageExportJobOptions) SetImageID added in v0.37.0

func (_options *DeleteImageExportJobOptions) SetImageID(imageID string) *DeleteImageExportJobOptions

SetImageID : Allow user to set ImageID

type DeleteImageOptions

type DeleteImageOptions struct {
	// The image identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteImageOptions : The DeleteImage options.

func (*DeleteImageOptions) SetHeaders

func (options *DeleteImageOptions) SetHeaders(param map[string]string) *DeleteImageOptions

SetHeaders : Allow user to set Headers

func (*DeleteImageOptions) SetID

func (_options *DeleteImageOptions) SetID(id string) *DeleteImageOptions

SetID : Allow user to set ID

type DeleteInstanceGroupLoadBalancerOptions added in v0.1.0

type DeleteInstanceGroupLoadBalancerOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupLoadBalancerOptions : The DeleteInstanceGroupLoadBalancer options.

func (*DeleteInstanceGroupLoadBalancerOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupLoadBalancerOptions) SetInstanceGroupID added in v0.1.0

func (_options *DeleteInstanceGroupLoadBalancerOptions) SetInstanceGroupID(instanceGroupID string) *DeleteInstanceGroupLoadBalancerOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

type DeleteInstanceGroupManagerActionOptions added in v0.6.0

type DeleteInstanceGroupManagerActionOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager action identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupManagerActionOptions : The DeleteInstanceGroupManagerAction options.

func (*DeleteInstanceGroupManagerActionOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupManagerActionOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*DeleteInstanceGroupManagerActionOptions) SetInstanceGroupID added in v0.6.0

func (_options *DeleteInstanceGroupManagerActionOptions) SetInstanceGroupID(instanceGroupID string) *DeleteInstanceGroupManagerActionOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*DeleteInstanceGroupManagerActionOptions) SetInstanceGroupManagerID added in v0.6.0

func (_options *DeleteInstanceGroupManagerActionOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *DeleteInstanceGroupManagerActionOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

type DeleteInstanceGroupManagerOptions added in v0.1.0

type DeleteInstanceGroupManagerOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupManagerOptions : The DeleteInstanceGroupManager options.

func (*DeleteInstanceGroupManagerOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupManagerOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*DeleteInstanceGroupManagerOptions) SetInstanceGroupID added in v0.1.0

func (_options *DeleteInstanceGroupManagerOptions) SetInstanceGroupID(instanceGroupID string) *DeleteInstanceGroupManagerOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

type DeleteInstanceGroupManagerPolicyOptions added in v0.1.0

type DeleteInstanceGroupManagerPolicyOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupManagerPolicyOptions : The DeleteInstanceGroupManagerPolicy options.

func (*DeleteInstanceGroupManagerPolicyOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupManagerPolicyOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*DeleteInstanceGroupManagerPolicyOptions) SetInstanceGroupID added in v0.1.0

func (_options *DeleteInstanceGroupManagerPolicyOptions) SetInstanceGroupID(instanceGroupID string) *DeleteInstanceGroupManagerPolicyOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*DeleteInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID added in v0.1.0

func (_options *DeleteInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *DeleteInstanceGroupManagerPolicyOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

type DeleteInstanceGroupMembershipOptions added in v0.1.0

type DeleteInstanceGroupMembershipOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group membership identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupMembershipOptions : The DeleteInstanceGroupMembership options.

func (*DeleteInstanceGroupMembershipOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupMembershipOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*DeleteInstanceGroupMembershipOptions) SetInstanceGroupID added in v0.1.0

func (_options *DeleteInstanceGroupMembershipOptions) SetInstanceGroupID(instanceGroupID string) *DeleteInstanceGroupMembershipOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

type DeleteInstanceGroupMembershipsOptions added in v0.1.0

type DeleteInstanceGroupMembershipsOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupMembershipsOptions : The DeleteInstanceGroupMemberships options.

func (*DeleteInstanceGroupMembershipsOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupMembershipsOptions) SetInstanceGroupID added in v0.1.0

func (_options *DeleteInstanceGroupMembershipsOptions) SetInstanceGroupID(instanceGroupID string) *DeleteInstanceGroupMembershipsOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

type DeleteInstanceGroupOptions added in v0.1.0

type DeleteInstanceGroupOptions struct {
	// The instance group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceGroupOptions : The DeleteInstanceGroup options.

func (*DeleteInstanceGroupOptions) SetHeaders added in v0.1.0

func (options *DeleteInstanceGroupOptions) SetHeaders(param map[string]string) *DeleteInstanceGroupOptions

SetHeaders : Allow user to set Headers

func (*DeleteInstanceGroupOptions) SetID added in v0.1.0

SetID : Allow user to set ID

type DeleteInstanceNetworkAttachmentOptions added in v0.47.0

type DeleteInstanceNetworkAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceNetworkAttachmentOptions : The DeleteInstanceNetworkAttachment options.

func (*DeleteInstanceNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceNetworkAttachmentOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*DeleteInstanceNetworkAttachmentOptions) SetInstanceID added in v0.47.0

SetInstanceID : Allow user to set InstanceID

type DeleteInstanceNetworkInterfaceOptions

type DeleteInstanceNetworkInterfaceOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceNetworkInterfaceOptions : The DeleteInstanceNetworkInterface options.

func (*DeleteInstanceNetworkInterfaceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteInstanceNetworkInterfaceOptions) SetID

SetID : Allow user to set ID

func (*DeleteInstanceNetworkInterfaceOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

type DeleteInstanceOptions

type DeleteInstanceOptions struct {
	// The virtual server instance identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceOptions : The DeleteInstance options.

func (*DeleteInstanceOptions) SetHeaders

func (options *DeleteInstanceOptions) SetHeaders(param map[string]string) *DeleteInstanceOptions

SetHeaders : Allow user to set Headers

func (*DeleteInstanceOptions) SetID

func (_options *DeleteInstanceOptions) SetID(id string) *DeleteInstanceOptions

SetID : Allow user to set ID

func (*DeleteInstanceOptions) SetIfMatch added in v0.48.0

func (_options *DeleteInstanceOptions) SetIfMatch(ifMatch string) *DeleteInstanceOptions

SetIfMatch : Allow user to set IfMatch

type DeleteInstanceTemplateOptions added in v0.1.0

type DeleteInstanceTemplateOptions struct {
	// The instance template identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceTemplateOptions : The DeleteInstanceTemplate options.

func (*DeleteInstanceTemplateOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*DeleteInstanceTemplateOptions) SetID added in v0.1.0

SetID : Allow user to set ID

type DeleteInstanceVolumeAttachmentOptions

type DeleteInstanceVolumeAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The volume attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteInstanceVolumeAttachmentOptions : The DeleteInstanceVolumeAttachment options.

func (*DeleteInstanceVolumeAttachmentOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteInstanceVolumeAttachmentOptions) SetID

SetID : Allow user to set ID

func (*DeleteInstanceVolumeAttachmentOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

type DeleteIpsecPolicyOptions

type DeleteIpsecPolicyOptions struct {
	// The IPsec policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteIpsecPolicyOptions : The DeleteIpsecPolicy options.

func (*DeleteIpsecPolicyOptions) SetHeaders

func (options *DeleteIpsecPolicyOptions) SetHeaders(param map[string]string) *DeleteIpsecPolicyOptions

SetHeaders : Allow user to set Headers

func (*DeleteIpsecPolicyOptions) SetID

SetID : Allow user to set ID

type DeleteKeyOptions

type DeleteKeyOptions struct {
	// The key identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteKeyOptions : The DeleteKey options.

func (*DeleteKeyOptions) SetHeaders

func (options *DeleteKeyOptions) SetHeaders(param map[string]string) *DeleteKeyOptions

SetHeaders : Allow user to set Headers

func (*DeleteKeyOptions) SetID

func (_options *DeleteKeyOptions) SetID(id string) *DeleteKeyOptions

SetID : Allow user to set ID

type DeleteLoadBalancerListenerOptions

type DeleteLoadBalancerListenerOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerListenerOptions : The DeleteLoadBalancerListener options.

func (*DeleteLoadBalancerListenerOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerListenerOptions) SetID

SetID : Allow user to set ID

func (*DeleteLoadBalancerListenerOptions) SetLoadBalancerID

func (_options *DeleteLoadBalancerListenerOptions) SetLoadBalancerID(loadBalancerID string) *DeleteLoadBalancerListenerOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type DeleteLoadBalancerListenerPolicyOptions

type DeleteLoadBalancerListenerPolicyOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerListenerPolicyOptions : The DeleteLoadBalancerListenerPolicy options.

func (*DeleteLoadBalancerListenerPolicyOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerListenerPolicyOptions) SetID

SetID : Allow user to set ID

func (*DeleteLoadBalancerListenerPolicyOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*DeleteLoadBalancerListenerPolicyOptions) SetLoadBalancerID

func (_options *DeleteLoadBalancerListenerPolicyOptions) SetLoadBalancerID(loadBalancerID string) *DeleteLoadBalancerListenerPolicyOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type DeleteLoadBalancerListenerPolicyRuleOptions

type DeleteLoadBalancerListenerPolicyRuleOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	PolicyID *string `json:"policy_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerListenerPolicyRuleOptions : The DeleteLoadBalancerListenerPolicyRule options.

func (*DeleteLoadBalancerListenerPolicyRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerListenerPolicyRuleOptions) SetID

SetID : Allow user to set ID

func (*DeleteLoadBalancerListenerPolicyRuleOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*DeleteLoadBalancerListenerPolicyRuleOptions) SetLoadBalancerID

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*DeleteLoadBalancerListenerPolicyRuleOptions) SetPolicyID

SetPolicyID : Allow user to set PolicyID

type DeleteLoadBalancerOptions

type DeleteLoadBalancerOptions struct {
	// The load balancer identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerOptions : The DeleteLoadBalancer options.

func (*DeleteLoadBalancerOptions) SetHeaders

func (options *DeleteLoadBalancerOptions) SetHeaders(param map[string]string) *DeleteLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerOptions) SetID

SetID : Allow user to set ID

func (*DeleteLoadBalancerOptions) SetIfMatch added in v0.24.0

func (_options *DeleteLoadBalancerOptions) SetIfMatch(ifMatch string) *DeleteLoadBalancerOptions

SetIfMatch : Allow user to set IfMatch

type DeleteLoadBalancerPoolMemberOptions

type DeleteLoadBalancerPoolMemberOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// The member identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerPoolMemberOptions : The DeleteLoadBalancerPoolMember options.

func (*DeleteLoadBalancerPoolMemberOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerPoolMemberOptions) SetID

SetID : Allow user to set ID

func (*DeleteLoadBalancerPoolMemberOptions) SetLoadBalancerID

func (_options *DeleteLoadBalancerPoolMemberOptions) SetLoadBalancerID(loadBalancerID string) *DeleteLoadBalancerPoolMemberOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*DeleteLoadBalancerPoolMemberOptions) SetPoolID

SetPoolID : Allow user to set PoolID

type DeleteLoadBalancerPoolOptions

type DeleteLoadBalancerPoolOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerPoolOptions : The DeleteLoadBalancerPool options.

func (*DeleteLoadBalancerPoolOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerPoolOptions) SetID

SetID : Allow user to set ID

func (*DeleteLoadBalancerPoolOptions) SetLoadBalancerID

func (_options *DeleteLoadBalancerPoolOptions) SetLoadBalancerID(loadBalancerID string) *DeleteLoadBalancerPoolOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type DeleteNetworkACLOptions

type DeleteNetworkACLOptions struct {
	// The network ACL identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteNetworkACLOptions : The DeleteNetworkACL options.

func (*DeleteNetworkACLOptions) SetHeaders

func (options *DeleteNetworkACLOptions) SetHeaders(param map[string]string) *DeleteNetworkACLOptions

SetHeaders : Allow user to set Headers

func (*DeleteNetworkACLOptions) SetID

SetID : Allow user to set ID

type DeleteNetworkACLRuleOptions

type DeleteNetworkACLRuleOptions struct {
	// The network ACL identifier.
	NetworkACLID *string `json:"network_acl_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteNetworkACLRuleOptions : The DeleteNetworkACLRule options.

func (*DeleteNetworkACLRuleOptions) SetHeaders

func (options *DeleteNetworkACLRuleOptions) SetHeaders(param map[string]string) *DeleteNetworkACLRuleOptions

SetHeaders : Allow user to set Headers

func (*DeleteNetworkACLRuleOptions) SetID

SetID : Allow user to set ID

func (*DeleteNetworkACLRuleOptions) SetNetworkACLID

func (_options *DeleteNetworkACLRuleOptions) SetNetworkACLID(networkACLID string) *DeleteNetworkACLRuleOptions

SetNetworkACLID : Allow user to set NetworkACLID

type DeletePlacementGroupOptions added in v0.9.0

type DeletePlacementGroupOptions struct {
	// The placement group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeletePlacementGroupOptions : The DeletePlacementGroup options.

func (*DeletePlacementGroupOptions) SetHeaders added in v0.9.0

func (options *DeletePlacementGroupOptions) SetHeaders(param map[string]string) *DeletePlacementGroupOptions

SetHeaders : Allow user to set Headers

func (*DeletePlacementGroupOptions) SetID added in v0.9.0

SetID : Allow user to set ID

type DeletePublicGatewayOptions

type DeletePublicGatewayOptions struct {
	// The public gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeletePublicGatewayOptions : The DeletePublicGateway options.

func (*DeletePublicGatewayOptions) SetHeaders

func (options *DeletePublicGatewayOptions) SetHeaders(param map[string]string) *DeletePublicGatewayOptions

SetHeaders : Allow user to set Headers

func (*DeletePublicGatewayOptions) SetID

SetID : Allow user to set ID

type DeleteReservationOptions added in v0.48.0

type DeleteReservationOptions struct {
	// The reservation identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteReservationOptions : The DeleteReservation options.

func (*DeleteReservationOptions) SetHeaders added in v0.48.0

func (options *DeleteReservationOptions) SetHeaders(param map[string]string) *DeleteReservationOptions

SetHeaders : Allow user to set Headers

func (*DeleteReservationOptions) SetID added in v0.48.0

SetID : Allow user to set ID

type DeleteSecurityGroupOptions

type DeleteSecurityGroupOptions struct {
	// The security group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSecurityGroupOptions : The DeleteSecurityGroup options.

func (*DeleteSecurityGroupOptions) SetHeaders

func (options *DeleteSecurityGroupOptions) SetHeaders(param map[string]string) *DeleteSecurityGroupOptions

SetHeaders : Allow user to set Headers

func (*DeleteSecurityGroupOptions) SetID

SetID : Allow user to set ID

type DeleteSecurityGroupRuleOptions

type DeleteSecurityGroupRuleOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSecurityGroupRuleOptions : The DeleteSecurityGroupRule options.

func (*DeleteSecurityGroupRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteSecurityGroupRuleOptions) SetID

SetID : Allow user to set ID

func (*DeleteSecurityGroupRuleOptions) SetSecurityGroupID

func (_options *DeleteSecurityGroupRuleOptions) SetSecurityGroupID(securityGroupID string) *DeleteSecurityGroupRuleOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

type DeleteSecurityGroupTargetBindingOptions added in v0.5.0

type DeleteSecurityGroupTargetBindingOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The security group target identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSecurityGroupTargetBindingOptions : The DeleteSecurityGroupTargetBinding options.

func (*DeleteSecurityGroupTargetBindingOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

func (*DeleteSecurityGroupTargetBindingOptions) SetID added in v0.5.0

SetID : Allow user to set ID

func (*DeleteSecurityGroupTargetBindingOptions) SetSecurityGroupID added in v0.5.0

func (_options *DeleteSecurityGroupTargetBindingOptions) SetSecurityGroupID(securityGroupID string) *DeleteSecurityGroupTargetBindingOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

type DeleteShareMountTargetOptions added in v0.41.0

type DeleteShareMountTargetOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// The share mount target identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteShareMountTargetOptions : The DeleteShareMountTarget options.

func (*DeleteShareMountTargetOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*DeleteShareMountTargetOptions) SetID added in v0.41.0

SetID : Allow user to set ID

func (*DeleteShareMountTargetOptions) SetShareID added in v0.41.0

SetShareID : Allow user to set ShareID

type DeleteShareOptions added in v0.41.0

type DeleteShareOptions struct {
	// The file share identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteShareOptions : The DeleteShare options.

func (*DeleteShareOptions) SetHeaders added in v0.41.0

func (options *DeleteShareOptions) SetHeaders(param map[string]string) *DeleteShareOptions

SetHeaders : Allow user to set Headers

func (*DeleteShareOptions) SetID added in v0.41.0

func (_options *DeleteShareOptions) SetID(id string) *DeleteShareOptions

SetID : Allow user to set ID

func (*DeleteShareOptions) SetIfMatch added in v0.41.0

func (_options *DeleteShareOptions) SetIfMatch(ifMatch string) *DeleteShareOptions

SetIfMatch : Allow user to set IfMatch

type DeleteShareSourceOptions added in v0.41.0

type DeleteShareSourceOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteShareSourceOptions : The DeleteShareSource options.

func (*DeleteShareSourceOptions) SetHeaders added in v0.41.0

func (options *DeleteShareSourceOptions) SetHeaders(param map[string]string) *DeleteShareSourceOptions

SetHeaders : Allow user to set Headers

func (*DeleteShareSourceOptions) SetShareID added in v0.41.0

func (_options *DeleteShareSourceOptions) SetShareID(shareID string) *DeleteShareSourceOptions

SetShareID : Allow user to set ShareID

type DeleteSnapshotCloneOptions added in v0.31.0

type DeleteSnapshotCloneOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The zone name.
	ZoneName *string `json:"zone_name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSnapshotCloneOptions : The DeleteSnapshotClone options.

func (*DeleteSnapshotCloneOptions) SetHeaders added in v0.31.0

func (options *DeleteSnapshotCloneOptions) SetHeaders(param map[string]string) *DeleteSnapshotCloneOptions

SetHeaders : Allow user to set Headers

func (*DeleteSnapshotCloneOptions) SetID added in v0.31.0

SetID : Allow user to set ID

func (*DeleteSnapshotCloneOptions) SetZoneName added in v0.31.0

func (_options *DeleteSnapshotCloneOptions) SetZoneName(zoneName string) *DeleteSnapshotCloneOptions

SetZoneName : Allow user to set ZoneName

type DeleteSnapshotConsistencyGroupOptions added in v0.45.0

type DeleteSnapshotConsistencyGroupOptions struct {
	// The snapshot consistency group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSnapshotConsistencyGroupOptions : The DeleteSnapshotConsistencyGroup options.

func (*DeleteSnapshotConsistencyGroupOptions) SetHeaders added in v0.45.0

SetHeaders : Allow user to set Headers

func (*DeleteSnapshotConsistencyGroupOptions) SetID added in v0.45.0

SetID : Allow user to set ID

type DeleteSnapshotOptions added in v0.7.0

type DeleteSnapshotOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSnapshotOptions : The DeleteSnapshot options.

func (*DeleteSnapshotOptions) SetHeaders added in v0.7.0

func (options *DeleteSnapshotOptions) SetHeaders(param map[string]string) *DeleteSnapshotOptions

SetHeaders : Allow user to set Headers

func (*DeleteSnapshotOptions) SetID added in v0.7.0

func (_options *DeleteSnapshotOptions) SetID(id string) *DeleteSnapshotOptions

SetID : Allow user to set ID

func (*DeleteSnapshotOptions) SetIfMatch added in v0.20.0

func (_options *DeleteSnapshotOptions) SetIfMatch(ifMatch string) *DeleteSnapshotOptions

SetIfMatch : Allow user to set IfMatch

type DeleteSnapshotsOptions added in v0.7.0

type DeleteSnapshotsOptions struct {
	// Filters the collection to resources with a `source_volume.id` property matching the specified identifier.
	SourceVolumeID *string `json:"source_volume.id" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSnapshotsOptions : The DeleteSnapshots options.

func (*DeleteSnapshotsOptions) SetHeaders added in v0.7.0

func (options *DeleteSnapshotsOptions) SetHeaders(param map[string]string) *DeleteSnapshotsOptions

SetHeaders : Allow user to set Headers

func (*DeleteSnapshotsOptions) SetSourceVolumeID added in v0.7.0

func (_options *DeleteSnapshotsOptions) SetSourceVolumeID(sourceVolumeID string) *DeleteSnapshotsOptions

SetSourceVolumeID : Allow user to set SourceVolumeID

type DeleteSubnetOptions

type DeleteSubnetOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSubnetOptions : The DeleteSubnet options.

func (*DeleteSubnetOptions) SetHeaders

func (options *DeleteSubnetOptions) SetHeaders(param map[string]string) *DeleteSubnetOptions

SetHeaders : Allow user to set Headers

func (*DeleteSubnetOptions) SetID

func (_options *DeleteSubnetOptions) SetID(id string) *DeleteSubnetOptions

SetID : Allow user to set ID

type DeleteSubnetReservedIPOptions added in v0.3.0

type DeleteSubnetReservedIPOptions struct {
	// The subnet identifier.
	SubnetID *string `json:"subnet_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSubnetReservedIPOptions : The DeleteSubnetReservedIP options.

func (*DeleteSubnetReservedIPOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*DeleteSubnetReservedIPOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*DeleteSubnetReservedIPOptions) SetSubnetID added in v0.3.0

func (_options *DeleteSubnetReservedIPOptions) SetSubnetID(subnetID string) *DeleteSubnetReservedIPOptions

SetSubnetID : Allow user to set SubnetID

type DeleteVPCAddressPrefixOptions

type DeleteVPCAddressPrefixOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The prefix identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPCAddressPrefixOptions : The DeleteVPCAddressPrefix options.

func (*DeleteVPCAddressPrefixOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteVPCAddressPrefixOptions) SetID

SetID : Allow user to set ID

func (*DeleteVPCAddressPrefixOptions) SetVPCID

SetVPCID : Allow user to set VPCID

type DeleteVPCDnsResolutionBindingOptions added in v0.43.0

type DeleteVPCDnsResolutionBindingOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The DNS resolution binding identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPCDnsResolutionBindingOptions : The DeleteVPCDnsResolutionBinding options.

func (*DeleteVPCDnsResolutionBindingOptions) SetHeaders added in v0.43.0

SetHeaders : Allow user to set Headers

func (*DeleteVPCDnsResolutionBindingOptions) SetID added in v0.43.0

SetID : Allow user to set ID

func (*DeleteVPCDnsResolutionBindingOptions) SetVPCID added in v0.43.0

SetVPCID : Allow user to set VPCID

type DeleteVPCOptions

type DeleteVPCOptions struct {
	// The VPC identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPCOptions : The DeleteVPC options.

func (*DeleteVPCOptions) SetHeaders

func (options *DeleteVPCOptions) SetHeaders(param map[string]string) *DeleteVPCOptions

SetHeaders : Allow user to set Headers

func (*DeleteVPCOptions) SetID

func (_options *DeleteVPCOptions) SetID(id string) *DeleteVPCOptions

SetID : Allow user to set ID

func (*DeleteVPCOptions) SetIfMatch added in v0.43.0

func (_options *DeleteVPCOptions) SetIfMatch(ifMatch string) *DeleteVPCOptions

SetIfMatch : Allow user to set IfMatch

type DeleteVPCRouteOptions

type DeleteVPCRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPCRouteOptions : The DeleteVPCRoute options.

func (*DeleteVPCRouteOptions) SetHeaders

func (options *DeleteVPCRouteOptions) SetHeaders(param map[string]string) *DeleteVPCRouteOptions

SetHeaders : Allow user to set Headers

func (*DeleteVPCRouteOptions) SetID

func (_options *DeleteVPCRouteOptions) SetID(id string) *DeleteVPCRouteOptions

SetID : Allow user to set ID

func (*DeleteVPCRouteOptions) SetVPCID

func (_options *DeleteVPCRouteOptions) SetVPCID(vpcID string) *DeleteVPCRouteOptions

SetVPCID : Allow user to set VPCID

type DeleteVPCRoutingTableOptions added in v0.3.0

type DeleteVPCRoutingTableOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPCRoutingTableOptions : The DeleteVPCRoutingTable options.

func (*DeleteVPCRoutingTableOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*DeleteVPCRoutingTableOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*DeleteVPCRoutingTableOptions) SetIfMatch added in v0.22.0

func (_options *DeleteVPCRoutingTableOptions) SetIfMatch(ifMatch string) *DeleteVPCRoutingTableOptions

SetIfMatch : Allow user to set IfMatch

func (*DeleteVPCRoutingTableOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type DeleteVPCRoutingTableRouteOptions added in v0.3.0

type DeleteVPCRoutingTableRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	RoutingTableID *string `json:"routing_table_id" validate:"required,ne="`

	// The VPC routing table route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPCRoutingTableRouteOptions : The DeleteVPCRoutingTableRoute options.

func (*DeleteVPCRoutingTableRouteOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*DeleteVPCRoutingTableRouteOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*DeleteVPCRoutingTableRouteOptions) SetRoutingTableID added in v0.3.0

func (_options *DeleteVPCRoutingTableRouteOptions) SetRoutingTableID(routingTableID string) *DeleteVPCRoutingTableRouteOptions

SetRoutingTableID : Allow user to set RoutingTableID

func (*DeleteVPCRoutingTableRouteOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type DeleteVPNGatewayConnectionOptions

type DeleteVPNGatewayConnectionOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPNGatewayConnectionOptions : The DeleteVPNGatewayConnection options.

func (*DeleteVPNGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteVPNGatewayConnectionOptions) SetID

SetID : Allow user to set ID

func (*DeleteVPNGatewayConnectionOptions) SetVPNGatewayID

func (_options *DeleteVPNGatewayConnectionOptions) SetVPNGatewayID(vpnGatewayID string) *DeleteVPNGatewayConnectionOptions

SetVPNGatewayID : Allow user to set VPNGatewayID

type DeleteVPNGatewayOptions

type DeleteVPNGatewayOptions struct {
	// The VPN gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPNGatewayOptions : The DeleteVPNGateway options.

func (*DeleteVPNGatewayOptions) SetHeaders

func (options *DeleteVPNGatewayOptions) SetHeaders(param map[string]string) *DeleteVPNGatewayOptions

SetHeaders : Allow user to set Headers

func (*DeleteVPNGatewayOptions) SetID

SetID : Allow user to set ID

type DeleteVPNServerClientOptions added in v0.22.0

type DeleteVPNServerClientOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The VPN client identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPNServerClientOptions : The DeleteVPNServerClient options.

func (*DeleteVPNServerClientOptions) SetHeaders added in v0.22.0

SetHeaders : Allow user to set Headers

func (*DeleteVPNServerClientOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*DeleteVPNServerClientOptions) SetVPNServerID added in v0.22.0

func (_options *DeleteVPNServerClientOptions) SetVPNServerID(vpnServerID string) *DeleteVPNServerClientOptions

SetVPNServerID : Allow user to set VPNServerID

type DeleteVPNServerOptions added in v0.22.0

type DeleteVPNServerOptions struct {
	// The VPN server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPNServerOptions : The DeleteVPNServer options.

func (*DeleteVPNServerOptions) SetHeaders added in v0.22.0

func (options *DeleteVPNServerOptions) SetHeaders(param map[string]string) *DeleteVPNServerOptions

SetHeaders : Allow user to set Headers

func (*DeleteVPNServerOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*DeleteVPNServerOptions) SetIfMatch added in v0.22.0

func (_options *DeleteVPNServerOptions) SetIfMatch(ifMatch string) *DeleteVPNServerOptions

SetIfMatch : Allow user to set IfMatch

type DeleteVPNServerRouteOptions added in v0.22.0

type DeleteVPNServerRouteOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The VPN route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVPNServerRouteOptions : The DeleteVPNServerRoute options.

func (*DeleteVPNServerRouteOptions) SetHeaders added in v0.22.0

func (options *DeleteVPNServerRouteOptions) SetHeaders(param map[string]string) *DeleteVPNServerRouteOptions

SetHeaders : Allow user to set Headers

func (*DeleteVPNServerRouteOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*DeleteVPNServerRouteOptions) SetVPNServerID added in v0.22.0

func (_options *DeleteVPNServerRouteOptions) SetVPNServerID(vpnServerID string) *DeleteVPNServerRouteOptions

SetVPNServerID : Allow user to set VPNServerID

type DeleteVirtualNetworkInterfacesOptions added in v0.47.0

type DeleteVirtualNetworkInterfacesOptions struct {
	// The virtual network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVirtualNetworkInterfacesOptions : The DeleteVirtualNetworkInterfaces options.

func (*DeleteVirtualNetworkInterfacesOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*DeleteVirtualNetworkInterfacesOptions) SetID added in v0.47.0

SetID : Allow user to set ID

type DeleteVolumeOptions

type DeleteVolumeOptions struct {
	// The volume identifier.
	ID *string `json:"id" validate:"required,ne="`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVolumeOptions : The DeleteVolume options.

func (*DeleteVolumeOptions) SetHeaders

func (options *DeleteVolumeOptions) SetHeaders(param map[string]string) *DeleteVolumeOptions

SetHeaders : Allow user to set Headers

func (*DeleteVolumeOptions) SetID

func (_options *DeleteVolumeOptions) SetID(id string) *DeleteVolumeOptions

SetID : Allow user to set ID

func (*DeleteVolumeOptions) SetIfMatch added in v0.20.0

func (_options *DeleteVolumeOptions) SetIfMatch(ifMatch string) *DeleteVolumeOptions

SetIfMatch : Allow user to set IfMatch

type DeprecateImageOptions added in v0.40.0

type DeprecateImageOptions struct {
	// The image identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeprecateImageOptions : The DeprecateImage options.

func (*DeprecateImageOptions) SetHeaders added in v0.40.0

func (options *DeprecateImageOptions) SetHeaders(param map[string]string) *DeprecateImageOptions

SetHeaders : Allow user to set Headers

func (*DeprecateImageOptions) SetID added in v0.40.0

func (_options *DeprecateImageOptions) SetID(id string) *DeprecateImageOptions

SetID : Allow user to set ID

type DisconnectVPNClientOptions added in v0.22.0

type DisconnectVPNClientOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The VPN client identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DisconnectVPNClientOptions : The DisconnectVPNClient options.

func (*DisconnectVPNClientOptions) SetHeaders added in v0.22.0

func (options *DisconnectVPNClientOptions) SetHeaders(param map[string]string) *DisconnectVPNClientOptions

SetHeaders : Allow user to set Headers

func (*DisconnectVPNClientOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*DisconnectVPNClientOptions) SetVPNServerID added in v0.22.0

func (_options *DisconnectVPNClientOptions) SetVPNServerID(vpnServerID string) *DisconnectVPNClientOptions

SetVPNServerID : Allow user to set VPNServerID

type DnsInstanceIdentity added in v0.35.0

type DnsInstanceIdentity struct {
	// The CRN for this DNS instance.
	CRN *string `json:"crn,omitempty"`
}

DnsInstanceIdentity : Identifies a DNS instance by a unique property. Models which "extend" this model: - DnsInstanceIdentityByCRN

type DnsInstanceIdentityByCRN added in v0.35.0

type DnsInstanceIdentityByCRN struct {
	// The CRN for this DNS instance.
	CRN *string `json:"crn" validate:"required"`
}

DnsInstanceIdentityByCRN : DnsInstanceIdentityByCRN struct This model "extends" DnsInstanceIdentity

type DnsInstanceIdentityIntf added in v0.35.0

type DnsInstanceIdentityIntf interface {
	// contains filtered or unexported methods
}

type DnsInstanceReference added in v0.35.0

type DnsInstanceReference struct {
	// The CRN for this DNS instance.
	CRN *string `json:"crn" validate:"required"`
}

DnsInstanceReference : DnsInstanceReference struct

type DnsServer added in v0.43.0

type DnsServer struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`

	// If present, DHCP configuration for this zone will have this DNS server listed first.
	ZoneAffinity *ZoneReference `json:"zone_affinity,omitempty"`
}

DnsServer : A DNS server.

type DnsServerPrototype added in v0.43.0

type DnsServerPrototype struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`

	// DHCP configuration for the specified zone will have this DNS server listed first.
	ZoneAffinity ZoneIdentityIntf `json:"zone_affinity,omitempty"`
}

DnsServerPrototype : DnsServerPrototype struct

type DnsZoneIdentity added in v0.35.0

type DnsZoneIdentity struct {
	ID *string `json:"id,omitempty"`
}

DnsZoneIdentity : Identifies a DNS zone by a unique property. Models which "extend" this model: - DnsZoneIdentityByID

type DnsZoneIdentityByID added in v0.35.0

type DnsZoneIdentityByID struct {
	ID *string `json:"id" validate:"required"`
}

DnsZoneIdentityByID : DnsZoneIdentityByID struct This model "extends" DnsZoneIdentity

type DnsZoneIdentityIntf added in v0.35.0

type DnsZoneIdentityIntf interface {
	// contains filtered or unexported methods
}

type DnsZoneReference added in v0.35.0

type DnsZoneReference struct {
	ID *string `json:"id" validate:"required"`
}

DnsZoneReference : DnsZoneReference struct

type EncryptionKeyIdentity added in v0.0.3

type EncryptionKeyIdentity struct {
	// The CRN of the [Key Protect Root
	// Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto
	// Services Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource.
	CRN *string `json:"crn,omitempty"`
}

EncryptionKeyIdentity : Identifies an encryption key by a unique property. Models which "extend" this model: - EncryptionKeyIdentityByCRN

type EncryptionKeyIdentityByCRN added in v0.0.3

type EncryptionKeyIdentityByCRN struct {
	// The CRN of the [Key Protect Root
	// Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto
	// Services Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource.
	CRN *string `json:"crn" validate:"required"`
}

EncryptionKeyIdentityByCRN : EncryptionKeyIdentityByCRN struct This model "extends" EncryptionKeyIdentity

type EncryptionKeyIdentityIntf added in v0.0.3

type EncryptionKeyIdentityIntf interface {
	// contains filtered or unexported methods
}

type EncryptionKeyReference added in v0.0.3

type EncryptionKeyReference struct {
	// The CRN of the [Key Protect Root
	// Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto
	// Services Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource.
	CRN *string `json:"crn" validate:"required"`
}

EncryptionKeyReference : EncryptionKeyReference struct

type EndpointGateway added in v0.3.0

type EndpointGateway struct {
	// Indicates whether to allow DNS resolution for this endpoint gateway when the VPC this endpoint gateway resides in
	// has a DNS resolution binding to a VPC with `dns.enable_hub` set to `true`.
	AllowDnsResolutionBinding *bool `json:"allow_dns_resolution_binding" validate:"required"`

	// The date and time that the endpoint gateway was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this endpoint gateway.
	CRN *string `json:"crn" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this endpoint gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this endpoint gateway.
	ID *string `json:"id" validate:"required"`

	// The reserved IPs bound to this endpoint gateway.
	Ips []ReservedIPReference `json:"ips" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []EndpointGatewayLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the endpoint gateway.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this endpoint gateway. The name is unique across all endpoint gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this endpoint gateway.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this endpoint gateway.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The fully qualified domain name for the target service.
	// Deprecated: this field is deprecated and may be removed in a future release.
	ServiceEndpoint *string `json:"service_endpoint,omitempty"`

	// The fully qualified domain names for the target service.
	ServiceEndpoints []string `json:"service_endpoints" validate:"required"`

	// The target for this endpoint gateway.
	Target EndpointGatewayTargetIntf `json:"target" validate:"required"`

	// The VPC this endpoint gateway resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

EndpointGateway : EndpointGateway struct

type EndpointGatewayCollection added in v0.3.0

type EndpointGatewayCollection struct {
	// Collection of endpoint gateways.
	EndpointGateways []EndpointGateway `json:"endpoint_gateways" validate:"required"`

	// A link to the first page of resources.
	First *EndpointGatewayCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *EndpointGatewayCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

EndpointGatewayCollection : EndpointGatewayCollection struct

func (*EndpointGatewayCollection) GetNextStart added in v0.8.0

func (resp *EndpointGatewayCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type EndpointGatewayCollectionFirst added in v0.3.0

type EndpointGatewayCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

EndpointGatewayCollectionFirst : A link to the first page of resources.

type EndpointGatewayCollectionNext added in v0.3.0

type EndpointGatewayCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

EndpointGatewayCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type EndpointGatewayIpsPager added in v0.25.0

type EndpointGatewayIpsPager struct {
	// contains filtered or unexported fields
}

EndpointGatewayIpsPager can be used to simplify the use of the "ListEndpointGatewayIps" method.

func (*EndpointGatewayIpsPager) GetAll added in v0.25.0

func (pager *EndpointGatewayIpsPager) GetAll() (allItems []ReservedIP, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*EndpointGatewayIpsPager) GetAllWithContext added in v0.25.0

func (pager *EndpointGatewayIpsPager) GetAllWithContext(ctx context.Context) (allItems []ReservedIP, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*EndpointGatewayIpsPager) GetNext added in v0.25.0

func (pager *EndpointGatewayIpsPager) GetNext() (page []ReservedIP, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*EndpointGatewayIpsPager) GetNextWithContext added in v0.25.0

func (pager *EndpointGatewayIpsPager) GetNextWithContext(ctx context.Context) (page []ReservedIP, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*EndpointGatewayIpsPager) HasNext added in v0.25.0

func (pager *EndpointGatewayIpsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type EndpointGatewayLifecycleReason added in v0.44.0

type EndpointGatewayLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `dns_resolution_binding_pending`: the DNS resolution binding is being set up
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

EndpointGatewayLifecycleReason : EndpointGatewayLifecycleReason struct

type EndpointGatewayPatch added in v0.3.0

type EndpointGatewayPatch struct {
	// Indicates whether to allow DNS resolution for this endpoint gateway when the VPC this endpoint gateway resides in
	// has a DNS resolution binding to a VPC with `dns.enable_hub` set to `true`.
	//
	// Must be `true` if the VPC this endpoint gateway resides in has `dns.enable_hub` set to
	// `true`.
	AllowDnsResolutionBinding *bool `json:"allow_dns_resolution_binding,omitempty"`

	// The name for this endpoint gateway. The name must not be used by another endpoint gateway in the VPC.
	Name *string `json:"name,omitempty"`
}

EndpointGatewayPatch : EndpointGatewayPatch struct

func (*EndpointGatewayPatch) AsPatch added in v0.3.0

func (endpointGatewayPatch *EndpointGatewayPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the EndpointGatewayPatch

type EndpointGatewayReferenceDeleted added in v0.3.0

type EndpointGatewayReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

EndpointGatewayReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type EndpointGatewayReferenceRemote added in v0.43.0

type EndpointGatewayReferenceRemote struct {
	// The CRN for this endpoint gateway.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this endpoint gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this endpoint gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this endpoint gateway. The name is unique across all endpoint gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *EndpointGatewayRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

EndpointGatewayReferenceRemote : EndpointGatewayReferenceRemote struct

type EndpointGatewayRemote added in v0.43.0

type EndpointGatewayRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// account, and identifies the owning account.
	Account *AccountReference `json:"account,omitempty"`

	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

EndpointGatewayRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type EndpointGatewayReservedIP added in v0.3.0

type EndpointGatewayReservedIP struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`

	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The subnet in which to create this reserved IP.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`
}

EndpointGatewayReservedIP : A reserved IP to bind to the endpoint gateway. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP. The reserved IP will be bound to the endpoint gateway to function as a virtual private endpoint for the service. Models which "extend" this model: - EndpointGatewayReservedIPReservedIPIdentity - EndpointGatewayReservedIPReservedIPPrototypeTargetContext

type EndpointGatewayReservedIPIntf added in v0.3.0

type EndpointGatewayReservedIPIntf interface {
	// contains filtered or unexported methods
}

type EndpointGatewayReservedIPReservedIPIdentity added in v0.3.0

type EndpointGatewayReservedIPReservedIPIdentity struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`
}

EndpointGatewayReservedIPReservedIPIdentity : Identifies a reserved IP by a unique property. Models which "extend" this model: - EndpointGatewayReservedIPReservedIPIdentityByID - EndpointGatewayReservedIPReservedIPIdentityByHref This model "extends" EndpointGatewayReservedIP

type EndpointGatewayReservedIPReservedIPIdentityByHref added in v0.41.0

type EndpointGatewayReservedIPReservedIPIdentityByHref struct {
	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`
}

EndpointGatewayReservedIPReservedIPIdentityByHref : EndpointGatewayReservedIPReservedIPIdentityByHref struct This model "extends" EndpointGatewayReservedIPReservedIPIdentity

type EndpointGatewayReservedIPReservedIPIdentityByID added in v0.41.0

type EndpointGatewayReservedIPReservedIPIdentityByID struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`
}

EndpointGatewayReservedIPReservedIPIdentityByID : EndpointGatewayReservedIPReservedIPIdentityByID struct This model "extends" EndpointGatewayReservedIPReservedIPIdentity

type EndpointGatewayReservedIPReservedIPIdentityIntf added in v0.3.0

type EndpointGatewayReservedIPReservedIPIdentityIntf interface {
	EndpointGatewayReservedIPIntf
	// contains filtered or unexported methods
}

type EndpointGatewayReservedIPReservedIPPrototypeTargetContext added in v0.3.0

type EndpointGatewayReservedIPReservedIPPrototypeTargetContext struct {
	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The subnet in which to create this reserved IP.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`
}

EndpointGatewayReservedIPReservedIPPrototypeTargetContext : EndpointGatewayReservedIPReservedIPPrototypeTargetContext struct This model "extends" EndpointGatewayReservedIP

type EndpointGatewayTarget added in v0.3.0

type EndpointGatewayTarget struct {
	// The CRN for this provider cloud service, or the CRN for the user's instance of a provider cloud service.
	CRN *string `json:"crn,omitempty"`

	// The type of target.
	ResourceType *string `json:"resource_type,omitempty"`

	// The name of a provider infrastructure service. Must be:
	// - `ibm-ntp-server`: An NTP (Network Time Protocol) server provided by IBM.
	Name *string `json:"name,omitempty"`
}

EndpointGatewayTarget : The target for this endpoint gateway. Models which "extend" this model: - EndpointGatewayTargetProviderCloudServiceReference - EndpointGatewayTargetProviderInfrastructureServiceReference

type EndpointGatewayTargetIntf added in v0.3.0

type EndpointGatewayTargetIntf interface {
	// contains filtered or unexported methods
}

type EndpointGatewayTargetPrototype added in v0.3.0

type EndpointGatewayTargetPrototype struct {
	// The type of target for this endpoint gateway.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The CRN for this provider cloud service, or the CRN for the user's instance of a provider cloud service.
	CRN *string `json:"crn,omitempty"`

	// The name of a provider infrastructure service. Must be:
	// - `ibm-ntp-server`: An NTP (Network Time Protocol) server provided by IBM.
	Name *string `json:"name,omitempty"`
}

EndpointGatewayTargetPrototype : The target to use for this endpoint gateway. Must not already be the target of another endpoint gateway in the VPC. Models which "extend" this model: - EndpointGatewayTargetPrototypeProviderCloudServiceIdentity - EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity

type EndpointGatewayTargetPrototypeIntf added in v0.3.0

type EndpointGatewayTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type EndpointGatewayTargetPrototypeProviderCloudServiceIdentity added in v0.3.0

type EndpointGatewayTargetPrototypeProviderCloudServiceIdentity struct {
	// The type of target for this endpoint gateway.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The CRN for this provider cloud service, or the CRN for the user's instance of a provider cloud service.
	CRN *string `json:"crn,omitempty"`
}

EndpointGatewayTargetPrototypeProviderCloudServiceIdentity : EndpointGatewayTargetPrototypeProviderCloudServiceIdentity struct Models which "extend" this model: - EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN This model "extends" EndpointGatewayTargetPrototype

type EndpointGatewayTargetPrototypeProviderCloudServiceIdentityIntf added in v0.3.0

type EndpointGatewayTargetPrototypeProviderCloudServiceIdentityIntf interface {
	EndpointGatewayTargetPrototypeIntf
	// contains filtered or unexported methods
}

type EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN added in v0.3.0

type EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN struct {
	// The type of target for this endpoint gateway.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The CRN for this provider cloud service, or the CRN for the user's instance of a provider cloud service.
	CRN *string `json:"crn" validate:"required"`
}

EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN : EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN struct This model "extends" EndpointGatewayTargetPrototypeProviderCloudServiceIdentity

type EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity added in v0.3.0

type EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity struct {
	// The type of target for this endpoint gateway.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The name of a provider infrastructure service. Must be:
	// - `ibm-ntp-server`: An NTP (Network Time Protocol) server provided by IBM.
	Name *string `json:"name,omitempty"`
}

EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity : EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity struct Models which "extend" this model: - EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName This model "extends" EndpointGatewayTargetPrototype

type EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityIntf added in v0.3.0

type EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityIntf interface {
	EndpointGatewayTargetPrototypeIntf
	// contains filtered or unexported methods
}

type EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName added in v0.3.0

type EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName struct {
	// The type of target for this endpoint gateway.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The name of a provider infrastructure service. Must be:
	// - `ibm-ntp-server`: An NTP (Network Time Protocol) server provided by IBM.
	Name *string `json:"name" validate:"required"`
}

EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName : The name of this provider infrastructure service. This model "extends" EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentity

type EndpointGatewayTargetProviderCloudServiceReference added in v0.3.0

type EndpointGatewayTargetProviderCloudServiceReference struct {
	// The CRN for this provider cloud service, or the CRN for the user's instance of a provider cloud service.
	CRN *string `json:"crn" validate:"required"`

	// The type of target.
	ResourceType *string `json:"resource_type" validate:"required"`
}

EndpointGatewayTargetProviderCloudServiceReference : EndpointGatewayTargetProviderCloudServiceReference struct This model "extends" EndpointGatewayTarget

type EndpointGatewayTargetProviderInfrastructureServiceReference added in v0.3.0

type EndpointGatewayTargetProviderInfrastructureServiceReference struct {
	// The name of a provider infrastructure service. Must be:
	// - `ibm-ntp-server`: An NTP (Network Time Protocol) server provided by IBM.
	Name *string `json:"name" validate:"required"`

	// The type of target.
	ResourceType *string `json:"resource_type" validate:"required"`
}

EndpointGatewayTargetProviderInfrastructureServiceReference : The name of this provider infrastructure service. This model "extends" EndpointGatewayTarget

type EndpointGatewaysPager added in v0.25.0

type EndpointGatewaysPager struct {
	// contains filtered or unexported fields
}

EndpointGatewaysPager can be used to simplify the use of the "ListEndpointGateways" method.

func (*EndpointGatewaysPager) GetAll added in v0.25.0

func (pager *EndpointGatewaysPager) GetAll() (allItems []EndpointGateway, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*EndpointGatewaysPager) GetAllWithContext added in v0.25.0

func (pager *EndpointGatewaysPager) GetAllWithContext(ctx context.Context) (allItems []EndpointGateway, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*EndpointGatewaysPager) GetNext added in v0.25.0

func (pager *EndpointGatewaysPager) GetNext() (page []EndpointGateway, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*EndpointGatewaysPager) GetNextWithContext added in v0.25.0

func (pager *EndpointGatewaysPager) GetNextWithContext(ctx context.Context) (page []EndpointGateway, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*EndpointGatewaysPager) HasNext added in v0.25.0

func (pager *EndpointGatewaysPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type FailoverShareOptions added in v0.41.0

type FailoverShareOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// The action to take if the failover request is accepted but cannot be performed or times out:
	// - `fail`: Fail the operation, resulting in the replication relationship being unchanged.
	// - `split`: Split the replica from its source, resulting in two individual read-write
	//     file shares. Because the final sync was not completed, the replica may be
	//     out-of-date. This occurs in disaster recovery scenarios where the source is known to
	//     be unreachable.
	FallbackPolicy *string `json:"fallback_policy,omitempty"`

	// The failover timeout in seconds.
	//
	// If the timeout is reached, the `fallback_policy` will be triggered.
	Timeout *int64 `json:"timeout,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

FailoverShareOptions : The FailoverShare options.

func (*FailoverShareOptions) SetFallbackPolicy added in v0.41.0

func (_options *FailoverShareOptions) SetFallbackPolicy(fallbackPolicy string) *FailoverShareOptions

SetFallbackPolicy : Allow user to set FallbackPolicy

func (*FailoverShareOptions) SetHeaders added in v0.41.0

func (options *FailoverShareOptions) SetHeaders(param map[string]string) *FailoverShareOptions

SetHeaders : Allow user to set Headers

func (*FailoverShareOptions) SetShareID added in v0.41.0

func (_options *FailoverShareOptions) SetShareID(shareID string) *FailoverShareOptions

SetShareID : Allow user to set ShareID

func (*FailoverShareOptions) SetTimeout added in v0.41.0

func (_options *FailoverShareOptions) SetTimeout(timeout int64) *FailoverShareOptions

SetTimeout : Allow user to set Timeout

type FloatingIP

type FloatingIP struct {
	// The globally unique IP address.
	Address *string `json:"address" validate:"required"`

	// The date and time that the floating IP was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this floating IP.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this floating IP.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this floating IP.
	ID *string `json:"id" validate:"required"`

	// The name for this floating IP. The name is unique across all floating IPs in the region.
	Name *string `json:"name" validate:"required"`

	// The resource group for this floating IP.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The status of the floating IP.
	Status *string `json:"status" validate:"required"`

	// The target of this floating IP.
	Target FloatingIPTargetIntf `json:"target,omitempty"`

	// The zone this floating IP resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

FloatingIP : FloatingIP struct

type FloatingIPCollection

type FloatingIPCollection struct {
	// A link to the first page of resources.
	First *FloatingIPCollectionFirst `json:"first" validate:"required"`

	// Collection of floating IPs.
	FloatingIps []FloatingIP `json:"floating_ips" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *FloatingIPCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

FloatingIPCollection : FloatingIPCollection struct

func (*FloatingIPCollection) GetNextStart added in v0.8.0

func (resp *FloatingIPCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type FloatingIPCollectionFirst

type FloatingIPCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

FloatingIPCollectionFirst : A link to the first page of resources.

type FloatingIPCollectionNext

type FloatingIPCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

FloatingIPCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type FloatingIPCollectionVirtualNetworkInterfaceContext added in v0.47.0

type FloatingIPCollectionVirtualNetworkInterfaceContext struct {
	// A link to the first page of resources.
	First *FloatingIPCollectionVirtualNetworkInterfaceContextFirst `json:"first" validate:"required"`

	// Collection of floating IPs bound to the virtual network interface specified by the identifier in the URL.
	FloatingIps []FloatingIPReference `json:"floating_ips" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *FloatingIPCollectionVirtualNetworkInterfaceContextNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

FloatingIPCollectionVirtualNetworkInterfaceContext : FloatingIPCollectionVirtualNetworkInterfaceContext struct

func (*FloatingIPCollectionVirtualNetworkInterfaceContext) GetNextStart added in v0.47.0

Retrieve the value to be passed to a request to access the next page of results

type FloatingIPCollectionVirtualNetworkInterfaceContextFirst added in v0.47.0

type FloatingIPCollectionVirtualNetworkInterfaceContextFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

FloatingIPCollectionVirtualNetworkInterfaceContextFirst : A link to the first page of resources.

type FloatingIPCollectionVirtualNetworkInterfaceContextNext added in v0.47.0

type FloatingIPCollectionVirtualNetworkInterfaceContextNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

FloatingIPCollectionVirtualNetworkInterfaceContextNext : A link to the next page of resources. This property is present for all pages except the last page.

type FloatingIPPatch added in v0.2.0

type FloatingIPPatch struct {
	// The name for this floating IP. The name must not be used by another floating IP in the region.
	Name *string `json:"name,omitempty"`

	// The target resource to bind this floating IP to, replacing any existing binding.
	// The floating IP must not be required by another resource, such as a public gateway.
	//
	// The target resource must not already have a floating IP bound to it if the target
	// resource is:
	//
	// - an instance network interface
	// - a bare metal server network interface with `enable_infrastructure_nat` set to `true`
	// - a virtual network interface with `enable_infrastructure_nat` set to `true`
	//
	// Specify `null` to remove an existing binding.
	Target FloatingIPTargetPatchIntf `json:"target,omitempty"`
}

FloatingIPPatch : FloatingIPPatch struct

func (*FloatingIPPatch) AsPatch added in v0.2.0

func (floatingIPPatch *FloatingIPPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the FloatingIPPatch

type FloatingIPPrototype

type FloatingIPPrototype struct {
	// The name for this floating IP. The name must not be used by another floating IP in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The zone this floating IP will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`

	// The target resource to bind this floating IP to.
	//
	// The target resource must not already have a floating IP bound to it if the target
	// resource is:
	//
	// - an instance network interface
	// - a bare metal server network interface with `enable_infrastructure_nat` set to `true`
	// - a virtual network interface with `enable_infrastructure_nat` set to `true`.
	Target FloatingIPTargetPrototypeIntf `json:"target,omitempty"`
}

FloatingIPPrototype : FloatingIPPrototype struct Models which "extend" this model: - FloatingIPPrototypeFloatingIPByZone - FloatingIPPrototypeFloatingIPByTarget

type FloatingIPPrototypeFloatingIPByTarget

type FloatingIPPrototypeFloatingIPByTarget struct {
	// The name for this floating IP. The name must not be used by another floating IP in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The target resource to bind this floating IP to.
	//
	// The target resource must not already have a floating IP bound to it if the target
	// resource is:
	//
	// - an instance network interface
	// - a bare metal server network interface with `enable_infrastructure_nat` set to `true`
	// - a virtual network interface with `enable_infrastructure_nat` set to `true`.
	Target FloatingIPTargetPrototypeIntf `json:"target" validate:"required"`
}

FloatingIPPrototypeFloatingIPByTarget : FloatingIPPrototypeFloatingIPByTarget struct This model "extends" FloatingIPPrototype

type FloatingIPPrototypeFloatingIPByZone

type FloatingIPPrototypeFloatingIPByZone struct {
	// The name for this floating IP. The name must not be used by another floating IP in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The zone this floating IP will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`
}

FloatingIPPrototypeFloatingIPByZone : FloatingIPPrototypeFloatingIPByZone struct This model "extends" FloatingIPPrototype

type FloatingIPPrototypeIntf

type FloatingIPPrototypeIntf interface {
	// contains filtered or unexported methods
}

type FloatingIPReference

type FloatingIPReference struct {
	// The globally unique IP address.
	Address *string `json:"address" validate:"required"`

	// The CRN for this floating IP.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *FloatingIPReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this floating IP.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this floating IP.
	ID *string `json:"id" validate:"required"`

	// The name for this floating IP. The name is unique across all floating IPs in the region.
	Name *string `json:"name" validate:"required"`
}

FloatingIPReference : FloatingIPReference struct

type FloatingIPReferenceDeleted added in v0.3.0

type FloatingIPReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

FloatingIPReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type FloatingIPTarget

type FloatingIPTarget struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The name for this instance network interface.
	Name *string `json:"name,omitempty"`

	PrimaryIP *ReservedIPReference `json:"primary_ip,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`

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

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet,omitempty"`
}

FloatingIPTarget : The target of this floating IP. Models which "extend" this model: - FloatingIPTargetNetworkInterfaceReference - FloatingIPTargetBareMetalServerNetworkInterfaceReference - FloatingIPTargetPublicGatewayReference - FloatingIPTargetVirtualNetworkInterfaceReference

type FloatingIPTargetBareMetalServerNetworkInterfaceReference added in v0.41.0

type FloatingIPTargetBareMetalServerNetworkInterfaceReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BareMetalServerNetworkInterfaceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server network interface.
	Name *string `json:"name" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FloatingIPTargetBareMetalServerNetworkInterfaceReference : FloatingIPTargetBareMetalServerNetworkInterfaceReference struct This model "extends" FloatingIPTarget

type FloatingIPTargetIntf

type FloatingIPTargetIntf interface {
	// contains filtered or unexported methods
}

type FloatingIPTargetNetworkInterfaceReference

type FloatingIPTargetNetworkInterfaceReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network interface.
	Name *string `json:"name" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FloatingIPTargetNetworkInterfaceReference : FloatingIPTargetNetworkInterfaceReference struct This model "extends" FloatingIPTarget

type FloatingIPTargetPatch added in v0.15.0

type FloatingIPTargetPatch struct {
	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

FloatingIPTargetPatch : The target resource to bind this floating IP to, replacing any existing binding. The floating IP must not be required by another resource, such as a public gateway.

The target resource must not already have a floating IP bound to it if the target resource is:

- an instance network interface - a bare metal server network interface with `enable_infrastructure_nat` set to `true` - a virtual network interface with `enable_infrastructure_nat` set to `true`

Specify `null` to remove an existing binding. Models which "extend" this model: - FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity - FloatingIPTargetPatchNetworkInterfaceIdentity - FloatingIPTargetPatchVirtualNetworkInterfaceIdentity

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity added in v0.42.0

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity struct {
	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`
}

FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity : Identifies a bare metal server network interface by a unique property. Models which "extend" this model: - FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID - FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref This model "extends" FloatingIPTargetPatch

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref added in v0.42.0

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref struct {
	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`
}

FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref : FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref struct This model "extends" FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID added in v0.42.0

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID struct {
	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`
}

FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID : FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID struct This model "extends" FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityIntf added in v0.42.0

type FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityIntf interface {
	FloatingIPTargetPatchIntf
	// contains filtered or unexported methods
}

type FloatingIPTargetPatchIntf added in v0.15.0

type FloatingIPTargetPatchIntf interface {
	// contains filtered or unexported methods
}

type FloatingIPTargetPatchNetworkInterfaceIdentity added in v0.36.0

type FloatingIPTargetPatchNetworkInterfaceIdentity struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`
}

FloatingIPTargetPatchNetworkInterfaceIdentity : Identifies an instance network interface by a unique property. Models which "extend" this model: - FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID - FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref This model "extends" FloatingIPTargetPatch

type FloatingIPTargetPatchNetworkInterfaceIdentityIntf added in v0.36.0

type FloatingIPTargetPatchNetworkInterfaceIdentityIntf interface {
	FloatingIPTargetPatchIntf
	// contains filtered or unexported methods
}

type FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

type FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref struct {
	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`
}

FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref : FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref struct This model "extends" FloatingIPTargetPatchNetworkInterfaceIdentity

type FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

type FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`
}

FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID : FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID struct This model "extends" FloatingIPTargetPatchNetworkInterfaceIdentity

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentity added in v0.47.0

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

FloatingIPTargetPatchVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" FloatingIPTargetPatch

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityIntf interface {
	FloatingIPTargetPatchIntf
	// contains filtered or unexported methods
}

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" FloatingIPTargetPatchVirtualNetworkInterfaceIdentity

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" FloatingIPTargetPatchVirtualNetworkInterfaceIdentity

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" FloatingIPTargetPatchVirtualNetworkInterfaceIdentity

type FloatingIPTargetPrototype added in v0.36.0

type FloatingIPTargetPrototype struct {
	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

FloatingIPTargetPrototype : The target resource to bind this floating IP to.

The target resource must not already have a floating IP bound to it if the target resource is:

- an instance network interface - a bare metal server network interface with `enable_infrastructure_nat` set to `true` - a virtual network interface with `enable_infrastructure_nat` set to `true`. Models which "extend" this model: - FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity - FloatingIPTargetPrototypeNetworkInterfaceIdentity - FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity added in v0.42.0

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity struct {
	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`
}

FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity : Identifies a bare metal server network interface by a unique property. Models which "extend" this model: - FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID - FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref This model "extends" FloatingIPTargetPrototype

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref added in v0.42.0

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref struct {
	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`
}

FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref : FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref struct This model "extends" FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID added in v0.42.0

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID struct {
	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`
}

FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID : FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID struct This model "extends" FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentity

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityIntf added in v0.42.0

type FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityIntf interface {
	FloatingIPTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FloatingIPTargetPrototypeIntf added in v0.36.0

type FloatingIPTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type FloatingIPTargetPrototypeNetworkInterfaceIdentity added in v0.36.0

type FloatingIPTargetPrototypeNetworkInterfaceIdentity struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`
}

FloatingIPTargetPrototypeNetworkInterfaceIdentity : Identifies an instance network interface by a unique property. Models which "extend" this model: - FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID - FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref This model "extends" FloatingIPTargetPrototype

type FloatingIPTargetPrototypeNetworkInterfaceIdentityIntf added in v0.36.0

type FloatingIPTargetPrototypeNetworkInterfaceIdentityIntf interface {
	FloatingIPTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

type FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref struct {
	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`
}

FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref : FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref struct This model "extends" FloatingIPTargetPrototypeNetworkInterfaceIdentity

type FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

type FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`
}

FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID : FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID struct This model "extends" FloatingIPTargetPrototypeNetworkInterfaceIdentity

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" FloatingIPTargetPrototype

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityIntf interface {
	FloatingIPTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentity

type FloatingIPTargetPublicGatewayReference

type FloatingIPTargetPublicGatewayReference struct {
	// The CRN for this public gateway.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *PublicGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this public gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this public gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this public gateway. The name is unique across all public gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FloatingIPTargetPublicGatewayReference : FloatingIPTargetPublicGatewayReference struct This model "extends" FloatingIPTarget

type FloatingIPTargetVirtualNetworkInterfaceReference added in v0.47.0

type FloatingIPTargetVirtualNetworkInterfaceReference struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VirtualNetworkInterfaceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
	Name *string `json:"name" validate:"required"`

	// The primary IP for this virtual network interface.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

FloatingIPTargetVirtualNetworkInterfaceReference : FloatingIPTargetVirtualNetworkInterfaceReference struct This model "extends" FloatingIPTarget

type FloatingIPUnpaginatedCollection

type FloatingIPUnpaginatedCollection struct {
	// Collection of floating IPs.
	FloatingIps []FloatingIP `json:"floating_ips" validate:"required"`
}

FloatingIPUnpaginatedCollection : FloatingIPUnpaginatedCollection struct

type FloatingIpsPager added in v0.25.0

type FloatingIpsPager struct {
	// contains filtered or unexported fields
}

FloatingIpsPager can be used to simplify the use of the "ListFloatingIps" method.

func (*FloatingIpsPager) GetAll added in v0.25.0

func (pager *FloatingIpsPager) GetAll() (allItems []FloatingIP, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*FloatingIpsPager) GetAllWithContext added in v0.25.0

func (pager *FloatingIpsPager) GetAllWithContext(ctx context.Context) (allItems []FloatingIP, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*FloatingIpsPager) GetNext added in v0.25.0

func (pager *FloatingIpsPager) GetNext() (page []FloatingIP, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*FloatingIpsPager) GetNextWithContext added in v0.25.0

func (pager *FloatingIpsPager) GetNextWithContext(ctx context.Context) (page []FloatingIP, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*FloatingIpsPager) HasNext added in v0.25.0

func (pager *FloatingIpsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type FlowLogCollector

type FlowLogCollector struct {
	// Indicates whether this collector is active.
	Active *bool `json:"active" validate:"required"`

	// Indicates whether this flow log collector will be automatically deleted when `target` is deleted. At present, this
	// is always `true`, but may be modifiable in the future.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// The date and time that the flow log collector was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this flow log collector.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this flow log collector.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this flow log collector.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the flow log collector.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this flow log collector. The name is unique across all flow log collectors in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this flow log collector.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The Cloud Object Storage bucket where the collected flows are logged. For more
	// information, see [Viewing flow log
	// objects](https://cloud.ibm.com/docs/vpc?topic=vpc-fl-analyze).
	StorageBucket *LegacyCloudObjectStorageBucketReference `json:"storage_bucket" validate:"required"`

	// The target this collector is collecting flow logs for.
	//
	// - If the target is an instance network attachment, flow logs will be collected
	//   for that instance network attachment.
	// - If the target is an instance network interface, flow logs will be collected
	//   for that instance network interface.
	// - If the target is a virtual network interface, flow logs will be collected for the
	//   virtual network interface's `target` resource if the resource is an instance network
	//   attachment, unless the target resource is itself the target of a flow log collector.
	// - If the target is a virtual server instance, flow logs will be collected
	//   for all network attachments or network interfaces on that instance.
	// - If the target is a subnet, flow logs will be collected
	//   for all instance network interfaces and virtual network interfaces
	//   attached to that subnet.
	// - If the target is a VPC, flow logs will be collected for all instance network
	//   interfaces and virtual network interfaces  attached to all subnets within that VPC.
	//
	// If the target is an instance, subnet, or VPC, flow logs will not be collected
	// for any instance network attachments or instance network interfaces within the target
	// that are themselves the target of a more specific flow log collector.
	Target FlowLogCollectorTargetIntf `json:"target" validate:"required"`

	// The VPC this flow log collector resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

FlowLogCollector : FlowLogCollector struct

type FlowLogCollectorCollection

type FlowLogCollectorCollection struct {
	// A link to the first page of resources.
	First *FlowLogCollectorCollectionFirst `json:"first" validate:"required"`

	// Collection of flow log collectors.
	FlowLogCollectors []FlowLogCollector `json:"flow_log_collectors" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *FlowLogCollectorCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

FlowLogCollectorCollection : FlowLogCollectorCollection struct

func (*FlowLogCollectorCollection) GetNextStart added in v0.8.0

func (resp *FlowLogCollectorCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type FlowLogCollectorCollectionFirst

type FlowLogCollectorCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorCollectionFirst : A link to the first page of resources.

type FlowLogCollectorCollectionNext

type FlowLogCollectorCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type FlowLogCollectorPatch added in v0.2.0

type FlowLogCollectorPatch struct {
	// Indicates whether this collector is active. Updating to false deactivates the collector and updating to true
	// activates the collector.
	Active *bool `json:"active,omitempty"`

	// The name for this flow log collector. The name must not be used by another flow log collector in the VPC.
	Name *string `json:"name,omitempty"`
}

FlowLogCollectorPatch : FlowLogCollectorPatch struct

func (*FlowLogCollectorPatch) AsPatch added in v0.2.0

func (flowLogCollectorPatch *FlowLogCollectorPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the FlowLogCollectorPatch

type FlowLogCollectorTarget

type FlowLogCollectorTarget struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The name for this instance network interface.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`

	// The CRN for this virtual server instance.
	CRN *string `json:"crn,omitempty"`

	// The primary IP address of the virtual network interface for the instance network
	// attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip,omitempty"`

	// The subnet of the virtual network interface for the instance network attachment.
	Subnet *SubnetReference `json:"subnet,omitempty"`
}

FlowLogCollectorTarget : The target this collector is collecting flow logs for.

  • If the target is an instance network attachment, flow logs will be collected for that instance network attachment.
  • If the target is an instance network interface, flow logs will be collected for that instance network interface.
  • If the target is a virtual network interface, flow logs will be collected for the virtual network interface's `target` resource if the resource is an instance network attachment, unless the target resource is itself the target of a flow log collector.
  • If the target is a virtual server instance, flow logs will be collected for all network attachments or network interfaces on that instance.
  • If the target is a subnet, flow logs will be collected for all instance network interfaces and virtual network interfaces attached to that subnet.
  • If the target is a VPC, flow logs will be collected for all instance network interfaces and virtual network interfaces attached to all subnets within that VPC.

If the target is an instance, subnet, or VPC, flow logs will not be collected for any instance network attachments or instance network interfaces within the target that are themselves the target of a more specific flow log collector. Models which "extend" this model: - FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext - FlowLogCollectorTargetInstanceReference - FlowLogCollectorTargetSubnetReference - FlowLogCollectorTargetVPCReference - FlowLogCollectorTargetInstanceNetworkAttachmentReference - FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext

type FlowLogCollectorTargetInstanceNetworkAttachmentReference added in v0.47.0

type FlowLogCollectorTargetInstanceNetworkAttachmentReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceNetworkAttachmentReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network attachment. The name is unique across all network attachments for the instance.
	Name *string `json:"name" validate:"required"`

	// The primary IP address of the virtual network interface for the instance network
	// attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the instance network attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

FlowLogCollectorTargetInstanceNetworkAttachmentReference : FlowLogCollectorTargetInstanceNetworkAttachmentReference struct This model "extends" FlowLogCollectorTarget

type FlowLogCollectorTargetInstanceReference

type FlowLogCollectorTargetInstanceReference struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual server instance. The name is unique across all virtual server instances in the region.
	Name *string `json:"name" validate:"required"`
}

FlowLogCollectorTargetInstanceReference : FlowLogCollectorTargetInstanceReference struct This model "extends" FlowLogCollectorTarget

type FlowLogCollectorTargetIntf

type FlowLogCollectorTargetIntf interface {
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext

type FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network interface.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext : FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext struct This model "extends" FlowLogCollectorTarget

type FlowLogCollectorTargetPrototype added in v0.3.0

type FlowLogCollectorTargetPrototype struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual server instance.
	CRN *string `json:"crn,omitempty"`
}

FlowLogCollectorTargetPrototype : The target this collector will collect flow logs for.

If the target is an instance, subnet, or VPC, flow logs will not be collected for any instance network attachments, virtual network interfaces or instance network interfaces within the target that are themselves the target of a more specific flow log collector.

The target must not be a virtual network interface that is attached to a bare metal server network attachment or to a file share mount target. Models which "extend" this model: - FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity - FlowLogCollectorTargetPrototypeInstanceIdentity - FlowLogCollectorTargetPrototypeSubnetIdentity - FlowLogCollectorTargetPrototypeVPCIdentity - FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity - FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity

type FlowLogCollectorTargetPrototypeInstanceIdentity added in v0.3.0

type FlowLogCollectorTargetPrototypeInstanceIdentity struct {
	// The unique identifier for this virtual server instance.
	ID *string `json:"id,omitempty"`

	// The CRN for this virtual server instance.
	CRN *string `json:"crn,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href,omitempty"`
}

FlowLogCollectorTargetPrototypeInstanceIdentity : Identifies a virtual server instance by a unique property. Models which "extend" this model: - FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID - FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN - FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref This model "extends" FlowLogCollectorTargetPrototype

type FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN added in v0.3.0

type FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`
}

FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN : FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN struct This model "extends" FlowLogCollectorTargetPrototypeInstanceIdentity

type FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref added in v0.3.0

type FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref struct {
	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref : FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref struct This model "extends" FlowLogCollectorTargetPrototypeInstanceIdentity

type FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID added in v0.3.0

type FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID struct {
	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`
}

FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID : FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID struct This model "extends" FlowLogCollectorTargetPrototypeInstanceIdentity

type FlowLogCollectorTargetPrototypeInstanceIdentityIntf added in v0.3.0

type FlowLogCollectorTargetPrototypeInstanceIdentityIntf interface {
	FlowLogCollectorTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity added in v0.47.0

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity struct {
	// The unique identifier for this instance network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this instance network attachment.
	Href *string `json:"href,omitempty"`
}

FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity : Identifies an instance network attachment by a unique property. Models which "extend" this model: - FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID - FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref This model "extends" FlowLogCollectorTargetPrototype

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref added in v0.47.0

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref struct {
	// The URL for this instance network attachment.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref : FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref struct This model "extends" FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID added in v0.47.0

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID struct {
	// The unique identifier for this instance network attachment.
	ID *string `json:"id" validate:"required"`
}

FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID : FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID struct This model "extends" FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentity

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityIntf added in v0.47.0

type FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityIntf interface {
	FlowLogCollectorTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeIntf added in v0.3.0

type FlowLogCollectorTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity added in v0.3.0

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`
}

FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity : Identifies an instance network interface by a unique property. Models which "extend" this model: - FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID - FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref This model "extends" FlowLogCollectorTargetPrototype

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityIntf added in v0.3.0

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityIntf interface {
	FlowLogCollectorTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref struct {
	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref : FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref struct This model "extends" FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

type FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID struct {
	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`
}

FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID : FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID struct This model "extends" FlowLogCollectorTargetPrototypeNetworkInterfaceIdentity

type FlowLogCollectorTargetPrototypeSubnetIdentity added in v0.3.0

type FlowLogCollectorTargetPrototypeSubnetIdentity struct {
	// The unique identifier for this subnet.
	ID *string `json:"id,omitempty"`

	// The CRN for this subnet.
	CRN *string `json:"crn,omitempty"`

	// The URL for this subnet.
	Href *string `json:"href,omitempty"`
}

FlowLogCollectorTargetPrototypeSubnetIdentity : Identifies a subnet by a unique property. Models which "extend" this model: - FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID - FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN - FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref This model "extends" FlowLogCollectorTargetPrototype

type FlowLogCollectorTargetPrototypeSubnetIdentityIntf added in v0.3.0

type FlowLogCollectorTargetPrototypeSubnetIdentityIntf interface {
	FlowLogCollectorTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN added in v0.3.0

type FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN struct {
	// The CRN for this subnet.
	CRN *string `json:"crn" validate:"required"`
}

FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN : FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN struct This model "extends" FlowLogCollectorTargetPrototypeSubnetIdentity

type FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref added in v0.3.0

type FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref struct {
	// The URL for this subnet.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref : FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref struct This model "extends" FlowLogCollectorTargetPrototypeSubnetIdentity

type FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID added in v0.3.0

type FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID struct {
	// The unique identifier for this subnet.
	ID *string `json:"id" validate:"required"`
}

FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID : FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID struct This model "extends" FlowLogCollectorTargetPrototypeSubnetIdentity

type FlowLogCollectorTargetPrototypeVPCIdentity added in v0.3.0

type FlowLogCollectorTargetPrototypeVPCIdentity struct {
	// The unique identifier for this VPC.
	ID *string `json:"id,omitempty"`

	// The CRN for this VPC.
	CRN *string `json:"crn,omitempty"`

	// The URL for this VPC.
	Href *string `json:"href,omitempty"`
}

FlowLogCollectorTargetPrototypeVPCIdentity : Identifies a VPC by a unique property. Models which "extend" this model: - FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID - FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN - FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref This model "extends" FlowLogCollectorTargetPrototype

type FlowLogCollectorTargetPrototypeVPCIdentityIntf added in v0.3.0

type FlowLogCollectorTargetPrototypeVPCIdentityIntf interface {
	FlowLogCollectorTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN added in v0.3.0

type FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`
}

FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN : FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN struct This model "extends" FlowLogCollectorTargetPrototypeVPCIdentity

type FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref added in v0.3.0

type FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref struct {
	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref : FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref struct This model "extends" FlowLogCollectorTargetPrototypeVPCIdentity

type FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID added in v0.3.0

type FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID struct {
	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`
}

FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID : FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID struct This model "extends" FlowLogCollectorTargetPrototypeVPCIdentity

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" FlowLogCollectorTargetPrototype

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityIntf interface {
	FlowLogCollectorTargetPrototypeIntf
	// contains filtered or unexported methods
}

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentity

type FlowLogCollectorTargetSubnetReference

type FlowLogCollectorTargetSubnetReference struct {
	// The CRN for this subnet.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SubnetReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this subnet.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this subnet.
	ID *string `json:"id" validate:"required"`

	// The name for this subnet. The name is unique across all subnets in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FlowLogCollectorTargetSubnetReference : FlowLogCollectorTargetSubnetReference struct This model "extends" FlowLogCollectorTarget

type FlowLogCollectorTargetVPCReference

type FlowLogCollectorTargetVPCReference struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPCReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`

	// The name for this VPC. The name is unique across all VPCs in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FlowLogCollectorTargetVPCReference : FlowLogCollectorTargetVPCReference struct This model "extends" FlowLogCollectorTarget

type FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext added in v0.47.0

type FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext : FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext struct This model "extends" FlowLogCollectorTarget

type FlowLogCollectorsPager added in v0.25.0

type FlowLogCollectorsPager struct {
	// contains filtered or unexported fields
}

FlowLogCollectorsPager can be used to simplify the use of the "ListFlowLogCollectors" method.

func (*FlowLogCollectorsPager) GetAll added in v0.25.0

func (pager *FlowLogCollectorsPager) GetAll() (allItems []FlowLogCollector, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*FlowLogCollectorsPager) GetAllWithContext added in v0.25.0

func (pager *FlowLogCollectorsPager) GetAllWithContext(ctx context.Context) (allItems []FlowLogCollector, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*FlowLogCollectorsPager) GetNext added in v0.25.0

func (pager *FlowLogCollectorsPager) GetNext() (page []FlowLogCollector, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*FlowLogCollectorsPager) GetNextWithContext added in v0.25.0

func (pager *FlowLogCollectorsPager) GetNextWithContext(ctx context.Context) (page []FlowLogCollector, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*FlowLogCollectorsPager) HasNext added in v0.25.0

func (pager *FlowLogCollectorsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type GenericResourceReferenceDeleted added in v0.19.0

type GenericResourceReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

GenericResourceReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type GetBackupPolicyJobOptions added in v0.29.0

type GetBackupPolicyJobOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// The backup policy job identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBackupPolicyJobOptions : The GetBackupPolicyJob options.

func (*GetBackupPolicyJobOptions) SetBackupPolicyID added in v0.29.0

func (_options *GetBackupPolicyJobOptions) SetBackupPolicyID(backupPolicyID string) *GetBackupPolicyJobOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*GetBackupPolicyJobOptions) SetHeaders added in v0.29.0

func (options *GetBackupPolicyJobOptions) SetHeaders(param map[string]string) *GetBackupPolicyJobOptions

SetHeaders : Allow user to set Headers

func (*GetBackupPolicyJobOptions) SetID added in v0.29.0

SetID : Allow user to set ID

type GetBackupPolicyOptions added in v0.21.0

type GetBackupPolicyOptions struct {
	// The backup policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBackupPolicyOptions : The GetBackupPolicy options.

func (*GetBackupPolicyOptions) SetHeaders added in v0.21.0

func (options *GetBackupPolicyOptions) SetHeaders(param map[string]string) *GetBackupPolicyOptions

SetHeaders : Allow user to set Headers

func (*GetBackupPolicyOptions) SetID added in v0.21.0

SetID : Allow user to set ID

type GetBackupPolicyPlanOptions added in v0.21.0

type GetBackupPolicyPlanOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// The backup policy plan identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBackupPolicyPlanOptions : The GetBackupPolicyPlan options.

func (*GetBackupPolicyPlanOptions) SetBackupPolicyID added in v0.21.0

func (_options *GetBackupPolicyPlanOptions) SetBackupPolicyID(backupPolicyID string) *GetBackupPolicyPlanOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*GetBackupPolicyPlanOptions) SetHeaders added in v0.21.0

func (options *GetBackupPolicyPlanOptions) SetHeaders(param map[string]string) *GetBackupPolicyPlanOptions

SetHeaders : Allow user to set Headers

func (*GetBackupPolicyPlanOptions) SetID added in v0.21.0

SetID : Allow user to set ID

type GetBareMetalServerDiskOptions added in v0.16.0

type GetBareMetalServerDiskOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server disk identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerDiskOptions : The GetBareMetalServerDisk options.

func (*GetBareMetalServerDiskOptions) SetBareMetalServerID added in v0.16.0

func (_options *GetBareMetalServerDiskOptions) SetBareMetalServerID(bareMetalServerID string) *GetBareMetalServerDiskOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*GetBareMetalServerDiskOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerDiskOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type GetBareMetalServerInitializationOptions added in v0.16.0

type GetBareMetalServerInitializationOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerInitializationOptions : The GetBareMetalServerInitialization options.

func (*GetBareMetalServerInitializationOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerInitializationOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type GetBareMetalServerNetworkAttachmentOptions added in v0.47.0

type GetBareMetalServerNetworkAttachmentOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerNetworkAttachmentOptions : The GetBareMetalServerNetworkAttachment options.

func (*GetBareMetalServerNetworkAttachmentOptions) SetBareMetalServerID added in v0.47.0

func (_options *GetBareMetalServerNetworkAttachmentOptions) SetBareMetalServerID(bareMetalServerID string) *GetBareMetalServerNetworkAttachmentOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*GetBareMetalServerNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerNetworkAttachmentOptions) SetID added in v0.47.0

SetID : Allow user to set ID

type GetBareMetalServerNetworkInterfaceFloatingIPOptions added in v0.16.0

type GetBareMetalServerNetworkInterfaceFloatingIPOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerNetworkInterfaceFloatingIPOptions : The GetBareMetalServerNetworkInterfaceFloatingIP options.

func (*GetBareMetalServerNetworkInterfaceFloatingIPOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*GetBareMetalServerNetworkInterfaceFloatingIPOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerNetworkInterfaceFloatingIPOptions) SetID added in v0.16.0

SetID : Allow user to set ID

func (*GetBareMetalServerNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID added in v0.16.0

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type GetBareMetalServerNetworkInterfaceIPOptions added in v0.19.0

type GetBareMetalServerNetworkInterfaceIPOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerNetworkInterfaceIPOptions : The GetBareMetalServerNetworkInterfaceIP options.

func (*GetBareMetalServerNetworkInterfaceIPOptions) SetBareMetalServerID added in v0.19.0

func (_options *GetBareMetalServerNetworkInterfaceIPOptions) SetBareMetalServerID(bareMetalServerID string) *GetBareMetalServerNetworkInterfaceIPOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*GetBareMetalServerNetworkInterfaceIPOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerNetworkInterfaceIPOptions) SetID added in v0.19.0

SetID : Allow user to set ID

func (*GetBareMetalServerNetworkInterfaceIPOptions) SetNetworkInterfaceID added in v0.19.0

func (_options *GetBareMetalServerNetworkInterfaceIPOptions) SetNetworkInterfaceID(networkInterfaceID string) *GetBareMetalServerNetworkInterfaceIPOptions

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type GetBareMetalServerNetworkInterfaceOptions added in v0.16.0

type GetBareMetalServerNetworkInterfaceOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerNetworkInterfaceOptions : The GetBareMetalServerNetworkInterface options.

func (*GetBareMetalServerNetworkInterfaceOptions) SetBareMetalServerID added in v0.16.0

func (_options *GetBareMetalServerNetworkInterfaceOptions) SetBareMetalServerID(bareMetalServerID string) *GetBareMetalServerNetworkInterfaceOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*GetBareMetalServerNetworkInterfaceOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerNetworkInterfaceOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type GetBareMetalServerOptions added in v0.16.0

type GetBareMetalServerOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerOptions : The GetBareMetalServer options.

func (*GetBareMetalServerOptions) SetHeaders added in v0.16.0

func (options *GetBareMetalServerOptions) SetHeaders(param map[string]string) *GetBareMetalServerOptions

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type GetBareMetalServerProfileOptions added in v0.16.0

type GetBareMetalServerProfileOptions struct {
	// The bare metal server profile name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetBareMetalServerProfileOptions : The GetBareMetalServerProfile options.

func (*GetBareMetalServerProfileOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*GetBareMetalServerProfileOptions) SetName added in v0.16.0

SetName : Allow user to set Name

type GetDedicatedHostDiskOptions added in v0.5.0

type GetDedicatedHostDiskOptions struct {
	// The dedicated host identifier.
	DedicatedHostID *string `json:"dedicated_host_id" validate:"required,ne="`

	// The dedicated host disk identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetDedicatedHostDiskOptions : The GetDedicatedHostDisk options.

func (*GetDedicatedHostDiskOptions) SetDedicatedHostID added in v0.5.0

func (_options *GetDedicatedHostDiskOptions) SetDedicatedHostID(dedicatedHostID string) *GetDedicatedHostDiskOptions

SetDedicatedHostID : Allow user to set DedicatedHostID

func (*GetDedicatedHostDiskOptions) SetHeaders added in v0.5.0

func (options *GetDedicatedHostDiskOptions) SetHeaders(param map[string]string) *GetDedicatedHostDiskOptions

SetHeaders : Allow user to set Headers

func (*GetDedicatedHostDiskOptions) SetID added in v0.5.0

SetID : Allow user to set ID

type GetDedicatedHostGroupOptions added in v0.4.0

type GetDedicatedHostGroupOptions struct {
	// The dedicated host group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetDedicatedHostGroupOptions : The GetDedicatedHostGroup options.

func (*GetDedicatedHostGroupOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*GetDedicatedHostGroupOptions) SetID added in v0.4.0

SetID : Allow user to set ID

type GetDedicatedHostOptions added in v0.4.0

type GetDedicatedHostOptions struct {
	// The dedicated host identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetDedicatedHostOptions : The GetDedicatedHost options.

func (*GetDedicatedHostOptions) SetHeaders added in v0.4.0

func (options *GetDedicatedHostOptions) SetHeaders(param map[string]string) *GetDedicatedHostOptions

SetHeaders : Allow user to set Headers

func (*GetDedicatedHostOptions) SetID added in v0.4.0

SetID : Allow user to set ID

type GetDedicatedHostProfileOptions added in v0.4.0

type GetDedicatedHostProfileOptions struct {
	// The dedicated host profile name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetDedicatedHostProfileOptions : The GetDedicatedHostProfile options.

func (*GetDedicatedHostProfileOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*GetDedicatedHostProfileOptions) SetName added in v0.4.0

SetName : Allow user to set Name

type GetEndpointGatewayIPOptions added in v0.3.0

type GetEndpointGatewayIPOptions struct {
	// The endpoint gateway identifier.
	EndpointGatewayID *string `json:"endpoint_gateway_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetEndpointGatewayIPOptions : The GetEndpointGatewayIP options.

func (*GetEndpointGatewayIPOptions) SetEndpointGatewayID added in v0.3.0

func (_options *GetEndpointGatewayIPOptions) SetEndpointGatewayID(endpointGatewayID string) *GetEndpointGatewayIPOptions

SetEndpointGatewayID : Allow user to set EndpointGatewayID

func (*GetEndpointGatewayIPOptions) SetHeaders added in v0.3.0

func (options *GetEndpointGatewayIPOptions) SetHeaders(param map[string]string) *GetEndpointGatewayIPOptions

SetHeaders : Allow user to set Headers

func (*GetEndpointGatewayIPOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type GetEndpointGatewayOptions added in v0.3.0

type GetEndpointGatewayOptions struct {
	// The endpoint gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetEndpointGatewayOptions : The GetEndpointGateway options.

func (*GetEndpointGatewayOptions) SetHeaders added in v0.3.0

func (options *GetEndpointGatewayOptions) SetHeaders(param map[string]string) *GetEndpointGatewayOptions

SetHeaders : Allow user to set Headers

func (*GetEndpointGatewayOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type GetFloatingIPOptions

type GetFloatingIPOptions struct {
	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetFloatingIPOptions : The GetFloatingIP options.

func (*GetFloatingIPOptions) SetHeaders

func (options *GetFloatingIPOptions) SetHeaders(param map[string]string) *GetFloatingIPOptions

SetHeaders : Allow user to set Headers

func (*GetFloatingIPOptions) SetID

func (_options *GetFloatingIPOptions) SetID(id string) *GetFloatingIPOptions

SetID : Allow user to set ID

type GetFlowLogCollectorOptions

type GetFlowLogCollectorOptions struct {
	// The flow log collector identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetFlowLogCollectorOptions : The GetFlowLogCollector options.

func (*GetFlowLogCollectorOptions) SetHeaders

func (options *GetFlowLogCollectorOptions) SetHeaders(param map[string]string) *GetFlowLogCollectorOptions

SetHeaders : Allow user to set Headers

func (*GetFlowLogCollectorOptions) SetID

SetID : Allow user to set ID

type GetIkePolicyOptions

type GetIkePolicyOptions struct {
	// The IKE policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetIkePolicyOptions : The GetIkePolicy options.

func (*GetIkePolicyOptions) SetHeaders

func (options *GetIkePolicyOptions) SetHeaders(param map[string]string) *GetIkePolicyOptions

SetHeaders : Allow user to set Headers

func (*GetIkePolicyOptions) SetID

func (_options *GetIkePolicyOptions) SetID(id string) *GetIkePolicyOptions

SetID : Allow user to set ID

type GetImageExportJobOptions added in v0.37.0

type GetImageExportJobOptions struct {
	// The image identifier.
	ImageID *string `json:"image_id" validate:"required,ne="`

	// The image export job identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetImageExportJobOptions : The GetImageExportJob options.

func (*GetImageExportJobOptions) SetHeaders added in v0.37.0

func (options *GetImageExportJobOptions) SetHeaders(param map[string]string) *GetImageExportJobOptions

SetHeaders : Allow user to set Headers

func (*GetImageExportJobOptions) SetID added in v0.37.0

SetID : Allow user to set ID

func (*GetImageExportJobOptions) SetImageID added in v0.37.0

func (_options *GetImageExportJobOptions) SetImageID(imageID string) *GetImageExportJobOptions

SetImageID : Allow user to set ImageID

type GetImageOptions

type GetImageOptions struct {
	// The image identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetImageOptions : The GetImage options.

func (*GetImageOptions) SetHeaders

func (options *GetImageOptions) SetHeaders(param map[string]string) *GetImageOptions

SetHeaders : Allow user to set Headers

func (*GetImageOptions) SetID

func (_options *GetImageOptions) SetID(id string) *GetImageOptions

SetID : Allow user to set ID

type GetInstanceDiskOptions added in v0.5.0

type GetInstanceDiskOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance disk identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceDiskOptions : The GetInstanceDisk options.

func (*GetInstanceDiskOptions) SetHeaders added in v0.5.0

func (options *GetInstanceDiskOptions) SetHeaders(param map[string]string) *GetInstanceDiskOptions

SetHeaders : Allow user to set Headers

func (*GetInstanceDiskOptions) SetID added in v0.5.0

SetID : Allow user to set ID

func (*GetInstanceDiskOptions) SetInstanceID added in v0.5.0

func (_options *GetInstanceDiskOptions) SetInstanceID(instanceID string) *GetInstanceDiskOptions

SetInstanceID : Allow user to set InstanceID

type GetInstanceGroupManagerActionOptions added in v0.6.0

type GetInstanceGroupManagerActionOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager action identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceGroupManagerActionOptions : The GetInstanceGroupManagerAction options.

func (*GetInstanceGroupManagerActionOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*GetInstanceGroupManagerActionOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*GetInstanceGroupManagerActionOptions) SetInstanceGroupID added in v0.6.0

func (_options *GetInstanceGroupManagerActionOptions) SetInstanceGroupID(instanceGroupID string) *GetInstanceGroupManagerActionOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*GetInstanceGroupManagerActionOptions) SetInstanceGroupManagerID added in v0.6.0

func (_options *GetInstanceGroupManagerActionOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *GetInstanceGroupManagerActionOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

type GetInstanceGroupManagerOptions added in v0.1.0

type GetInstanceGroupManagerOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceGroupManagerOptions : The GetInstanceGroupManager options.

func (*GetInstanceGroupManagerOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*GetInstanceGroupManagerOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*GetInstanceGroupManagerOptions) SetInstanceGroupID added in v0.1.0

func (_options *GetInstanceGroupManagerOptions) SetInstanceGroupID(instanceGroupID string) *GetInstanceGroupManagerOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

type GetInstanceGroupManagerPolicyOptions added in v0.1.0

type GetInstanceGroupManagerPolicyOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceGroupManagerPolicyOptions : The GetInstanceGroupManagerPolicy options.

func (*GetInstanceGroupManagerPolicyOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*GetInstanceGroupManagerPolicyOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*GetInstanceGroupManagerPolicyOptions) SetInstanceGroupID added in v0.1.0

func (_options *GetInstanceGroupManagerPolicyOptions) SetInstanceGroupID(instanceGroupID string) *GetInstanceGroupManagerPolicyOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*GetInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID added in v0.1.0

func (_options *GetInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *GetInstanceGroupManagerPolicyOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

type GetInstanceGroupMembershipOptions added in v0.1.0

type GetInstanceGroupMembershipOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group membership identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceGroupMembershipOptions : The GetInstanceGroupMembership options.

func (*GetInstanceGroupMembershipOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*GetInstanceGroupMembershipOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*GetInstanceGroupMembershipOptions) SetInstanceGroupID added in v0.1.0

func (_options *GetInstanceGroupMembershipOptions) SetInstanceGroupID(instanceGroupID string) *GetInstanceGroupMembershipOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

type GetInstanceGroupOptions added in v0.1.0

type GetInstanceGroupOptions struct {
	// The instance group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceGroupOptions : The GetInstanceGroup options.

func (*GetInstanceGroupOptions) SetHeaders added in v0.1.0

func (options *GetInstanceGroupOptions) SetHeaders(param map[string]string) *GetInstanceGroupOptions

SetHeaders : Allow user to set Headers

func (*GetInstanceGroupOptions) SetID added in v0.1.0

SetID : Allow user to set ID

type GetInstanceInitializationOptions

type GetInstanceInitializationOptions struct {
	// The instance identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceInitializationOptions : The GetInstanceInitialization options.

func (*GetInstanceInitializationOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetInstanceInitializationOptions) SetID

SetID : Allow user to set ID

type GetInstanceNetworkAttachmentOptions added in v0.47.0

type GetInstanceNetworkAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceNetworkAttachmentOptions : The GetInstanceNetworkAttachment options.

func (*GetInstanceNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*GetInstanceNetworkAttachmentOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*GetInstanceNetworkAttachmentOptions) SetInstanceID added in v0.47.0

SetInstanceID : Allow user to set InstanceID

type GetInstanceNetworkInterfaceFloatingIPOptions

type GetInstanceNetworkInterfaceFloatingIPOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceNetworkInterfaceFloatingIPOptions : The GetInstanceNetworkInterfaceFloatingIP options.

func (*GetInstanceNetworkInterfaceFloatingIPOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetInstanceNetworkInterfaceFloatingIPOptions) SetID

SetID : Allow user to set ID

func (*GetInstanceNetworkInterfaceFloatingIPOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*GetInstanceNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID

func (_options *GetInstanceNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID(networkInterfaceID string) *GetInstanceNetworkInterfaceFloatingIPOptions

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type GetInstanceNetworkInterfaceIPOptions added in v0.19.0

type GetInstanceNetworkInterfaceIPOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceNetworkInterfaceIPOptions : The GetInstanceNetworkInterfaceIP options.

func (*GetInstanceNetworkInterfaceIPOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*GetInstanceNetworkInterfaceIPOptions) SetID added in v0.19.0

SetID : Allow user to set ID

func (*GetInstanceNetworkInterfaceIPOptions) SetInstanceID added in v0.19.0

SetInstanceID : Allow user to set InstanceID

func (*GetInstanceNetworkInterfaceIPOptions) SetNetworkInterfaceID added in v0.19.0

func (_options *GetInstanceNetworkInterfaceIPOptions) SetNetworkInterfaceID(networkInterfaceID string) *GetInstanceNetworkInterfaceIPOptions

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type GetInstanceNetworkInterfaceOptions

type GetInstanceNetworkInterfaceOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceNetworkInterfaceOptions : The GetInstanceNetworkInterface options.

func (*GetInstanceNetworkInterfaceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetInstanceNetworkInterfaceOptions) SetID

SetID : Allow user to set ID

func (*GetInstanceNetworkInterfaceOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

type GetInstanceOptions

type GetInstanceOptions struct {
	// The virtual server instance identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceOptions : The GetInstance options.

func (*GetInstanceOptions) SetHeaders

func (options *GetInstanceOptions) SetHeaders(param map[string]string) *GetInstanceOptions

SetHeaders : Allow user to set Headers

func (*GetInstanceOptions) SetID

func (_options *GetInstanceOptions) SetID(id string) *GetInstanceOptions

SetID : Allow user to set ID

type GetInstanceProfileOptions

type GetInstanceProfileOptions struct {
	// The instance profile name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceProfileOptions : The GetInstanceProfile options.

func (*GetInstanceProfileOptions) SetHeaders

func (options *GetInstanceProfileOptions) SetHeaders(param map[string]string) *GetInstanceProfileOptions

SetHeaders : Allow user to set Headers

func (*GetInstanceProfileOptions) SetName

SetName : Allow user to set Name

type GetInstanceTemplateOptions added in v0.1.0

type GetInstanceTemplateOptions struct {
	// The instance template identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceTemplateOptions : The GetInstanceTemplate options.

func (*GetInstanceTemplateOptions) SetHeaders added in v0.1.0

func (options *GetInstanceTemplateOptions) SetHeaders(param map[string]string) *GetInstanceTemplateOptions

SetHeaders : Allow user to set Headers

func (*GetInstanceTemplateOptions) SetID added in v0.1.0

SetID : Allow user to set ID

type GetInstanceVolumeAttachmentOptions

type GetInstanceVolumeAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The volume attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetInstanceVolumeAttachmentOptions : The GetInstanceVolumeAttachment options.

func (*GetInstanceVolumeAttachmentOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetInstanceVolumeAttachmentOptions) SetID

SetID : Allow user to set ID

func (*GetInstanceVolumeAttachmentOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

type GetIpsecPolicyOptions

type GetIpsecPolicyOptions struct {
	// The IPsec policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetIpsecPolicyOptions : The GetIpsecPolicy options.

func (*GetIpsecPolicyOptions) SetHeaders

func (options *GetIpsecPolicyOptions) SetHeaders(param map[string]string) *GetIpsecPolicyOptions

SetHeaders : Allow user to set Headers

func (*GetIpsecPolicyOptions) SetID

func (_options *GetIpsecPolicyOptions) SetID(id string) *GetIpsecPolicyOptions

SetID : Allow user to set ID

type GetKeyOptions

type GetKeyOptions struct {
	// The key identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetKeyOptions : The GetKey options.

func (*GetKeyOptions) SetHeaders

func (options *GetKeyOptions) SetHeaders(param map[string]string) *GetKeyOptions

SetHeaders : Allow user to set Headers

func (*GetKeyOptions) SetID

func (_options *GetKeyOptions) SetID(id string) *GetKeyOptions

SetID : Allow user to set ID

type GetLoadBalancerListenerOptions

type GetLoadBalancerListenerOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerListenerOptions : The GetLoadBalancerListener options.

func (*GetLoadBalancerListenerOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerListenerOptions) SetID

SetID : Allow user to set ID

func (*GetLoadBalancerListenerOptions) SetLoadBalancerID

func (_options *GetLoadBalancerListenerOptions) SetLoadBalancerID(loadBalancerID string) *GetLoadBalancerListenerOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type GetLoadBalancerListenerPolicyOptions

type GetLoadBalancerListenerPolicyOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerListenerPolicyOptions : The GetLoadBalancerListenerPolicy options.

func (*GetLoadBalancerListenerPolicyOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerListenerPolicyOptions) SetID

SetID : Allow user to set ID

func (*GetLoadBalancerListenerPolicyOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*GetLoadBalancerListenerPolicyOptions) SetLoadBalancerID

func (_options *GetLoadBalancerListenerPolicyOptions) SetLoadBalancerID(loadBalancerID string) *GetLoadBalancerListenerPolicyOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type GetLoadBalancerListenerPolicyRuleOptions

type GetLoadBalancerListenerPolicyRuleOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	PolicyID *string `json:"policy_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerListenerPolicyRuleOptions : The GetLoadBalancerListenerPolicyRule options.

func (*GetLoadBalancerListenerPolicyRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerListenerPolicyRuleOptions) SetID

SetID : Allow user to set ID

func (*GetLoadBalancerListenerPolicyRuleOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*GetLoadBalancerListenerPolicyRuleOptions) SetLoadBalancerID

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*GetLoadBalancerListenerPolicyRuleOptions) SetPolicyID

SetPolicyID : Allow user to set PolicyID

type GetLoadBalancerOptions

type GetLoadBalancerOptions struct {
	// The load balancer identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerOptions : The GetLoadBalancer options.

func (*GetLoadBalancerOptions) SetHeaders

func (options *GetLoadBalancerOptions) SetHeaders(param map[string]string) *GetLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerOptions) SetID

SetID : Allow user to set ID

type GetLoadBalancerPoolMemberOptions

type GetLoadBalancerPoolMemberOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// The member identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerPoolMemberOptions : The GetLoadBalancerPoolMember options.

func (*GetLoadBalancerPoolMemberOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerPoolMemberOptions) SetID

SetID : Allow user to set ID

func (*GetLoadBalancerPoolMemberOptions) SetLoadBalancerID

func (_options *GetLoadBalancerPoolMemberOptions) SetLoadBalancerID(loadBalancerID string) *GetLoadBalancerPoolMemberOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*GetLoadBalancerPoolMemberOptions) SetPoolID

SetPoolID : Allow user to set PoolID

type GetLoadBalancerPoolOptions

type GetLoadBalancerPoolOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerPoolOptions : The GetLoadBalancerPool options.

func (*GetLoadBalancerPoolOptions) SetHeaders

func (options *GetLoadBalancerPoolOptions) SetHeaders(param map[string]string) *GetLoadBalancerPoolOptions

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerPoolOptions) SetID

SetID : Allow user to set ID

func (*GetLoadBalancerPoolOptions) SetLoadBalancerID

func (_options *GetLoadBalancerPoolOptions) SetLoadBalancerID(loadBalancerID string) *GetLoadBalancerPoolOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type GetLoadBalancerProfileOptions added in v0.1.0

type GetLoadBalancerProfileOptions struct {
	// The load balancer profile name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerProfileOptions : The GetLoadBalancerProfile options.

func (*GetLoadBalancerProfileOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerProfileOptions) SetName added in v0.1.0

SetName : Allow user to set Name

type GetLoadBalancerStatisticsOptions

type GetLoadBalancerStatisticsOptions struct {
	// The load balancer identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerStatisticsOptions : The GetLoadBalancerStatistics options.

func (*GetLoadBalancerStatisticsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerStatisticsOptions) SetID

SetID : Allow user to set ID

type GetNetworkACLOptions

type GetNetworkACLOptions struct {
	// The network ACL identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetNetworkACLOptions : The GetNetworkACL options.

func (*GetNetworkACLOptions) SetHeaders

func (options *GetNetworkACLOptions) SetHeaders(param map[string]string) *GetNetworkACLOptions

SetHeaders : Allow user to set Headers

func (*GetNetworkACLOptions) SetID

func (_options *GetNetworkACLOptions) SetID(id string) *GetNetworkACLOptions

SetID : Allow user to set ID

type GetNetworkACLRuleOptions

type GetNetworkACLRuleOptions struct {
	// The network ACL identifier.
	NetworkACLID *string `json:"network_acl_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetNetworkACLRuleOptions : The GetNetworkACLRule options.

func (*GetNetworkACLRuleOptions) SetHeaders

func (options *GetNetworkACLRuleOptions) SetHeaders(param map[string]string) *GetNetworkACLRuleOptions

SetHeaders : Allow user to set Headers

func (*GetNetworkACLRuleOptions) SetID

SetID : Allow user to set ID

func (*GetNetworkACLRuleOptions) SetNetworkACLID

func (_options *GetNetworkACLRuleOptions) SetNetworkACLID(networkACLID string) *GetNetworkACLRuleOptions

SetNetworkACLID : Allow user to set NetworkACLID

type GetNetworkInterfaceFloatingIPOptions added in v0.47.0

type GetNetworkInterfaceFloatingIPOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetNetworkInterfaceFloatingIPOptions : The GetNetworkInterfaceFloatingIP options.

func (*GetNetworkInterfaceFloatingIPOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*GetNetworkInterfaceFloatingIPOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*GetNetworkInterfaceFloatingIPOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *GetNetworkInterfaceFloatingIPOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *GetNetworkInterfaceFloatingIPOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type GetOperatingSystemOptions

type GetOperatingSystemOptions struct {
	// The operating system name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetOperatingSystemOptions : The GetOperatingSystem options.

func (*GetOperatingSystemOptions) SetHeaders

func (options *GetOperatingSystemOptions) SetHeaders(param map[string]string) *GetOperatingSystemOptions

SetHeaders : Allow user to set Headers

func (*GetOperatingSystemOptions) SetName

SetName : Allow user to set Name

type GetPlacementGroupOptions added in v0.9.0

type GetPlacementGroupOptions struct {
	// The placement group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetPlacementGroupOptions : The GetPlacementGroup options.

func (*GetPlacementGroupOptions) SetHeaders added in v0.9.0

func (options *GetPlacementGroupOptions) SetHeaders(param map[string]string) *GetPlacementGroupOptions

SetHeaders : Allow user to set Headers

func (*GetPlacementGroupOptions) SetID added in v0.9.0

SetID : Allow user to set ID

type GetPublicGatewayOptions

type GetPublicGatewayOptions struct {
	// The public gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetPublicGatewayOptions : The GetPublicGateway options.

func (*GetPublicGatewayOptions) SetHeaders

func (options *GetPublicGatewayOptions) SetHeaders(param map[string]string) *GetPublicGatewayOptions

SetHeaders : Allow user to set Headers

func (*GetPublicGatewayOptions) SetID

SetID : Allow user to set ID

type GetRegionOptions

type GetRegionOptions struct {
	// The region name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetRegionOptions : The GetRegion options.

func (*GetRegionOptions) SetHeaders

func (options *GetRegionOptions) SetHeaders(param map[string]string) *GetRegionOptions

SetHeaders : Allow user to set Headers

func (*GetRegionOptions) SetName

func (_options *GetRegionOptions) SetName(name string) *GetRegionOptions

SetName : Allow user to set Name

type GetRegionZoneOptions

type GetRegionZoneOptions struct {
	// The region name.
	RegionName *string `json:"region_name" validate:"required,ne="`

	// The zone name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetRegionZoneOptions : The GetRegionZone options.

func (*GetRegionZoneOptions) SetHeaders

func (options *GetRegionZoneOptions) SetHeaders(param map[string]string) *GetRegionZoneOptions

SetHeaders : Allow user to set Headers

func (*GetRegionZoneOptions) SetName added in v0.3.0

func (_options *GetRegionZoneOptions) SetName(name string) *GetRegionZoneOptions

SetName : Allow user to set Name

func (*GetRegionZoneOptions) SetRegionName

func (_options *GetRegionZoneOptions) SetRegionName(regionName string) *GetRegionZoneOptions

SetRegionName : Allow user to set RegionName

type GetReservationOptions added in v0.48.0

type GetReservationOptions struct {
	// The reservation identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetReservationOptions : The GetReservation options.

func (*GetReservationOptions) SetHeaders added in v0.48.0

func (options *GetReservationOptions) SetHeaders(param map[string]string) *GetReservationOptions

SetHeaders : Allow user to set Headers

func (*GetReservationOptions) SetID added in v0.48.0

func (_options *GetReservationOptions) SetID(id string) *GetReservationOptions

SetID : Allow user to set ID

type GetSecurityGroupOptions

type GetSecurityGroupOptions struct {
	// The security group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSecurityGroupOptions : The GetSecurityGroup options.

func (*GetSecurityGroupOptions) SetHeaders

func (options *GetSecurityGroupOptions) SetHeaders(param map[string]string) *GetSecurityGroupOptions

SetHeaders : Allow user to set Headers

func (*GetSecurityGroupOptions) SetID

SetID : Allow user to set ID

type GetSecurityGroupRuleOptions

type GetSecurityGroupRuleOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSecurityGroupRuleOptions : The GetSecurityGroupRule options.

func (*GetSecurityGroupRuleOptions) SetHeaders

func (options *GetSecurityGroupRuleOptions) SetHeaders(param map[string]string) *GetSecurityGroupRuleOptions

SetHeaders : Allow user to set Headers

func (*GetSecurityGroupRuleOptions) SetID

SetID : Allow user to set ID

func (*GetSecurityGroupRuleOptions) SetSecurityGroupID

func (_options *GetSecurityGroupRuleOptions) SetSecurityGroupID(securityGroupID string) *GetSecurityGroupRuleOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

type GetSecurityGroupTargetOptions added in v0.5.0

type GetSecurityGroupTargetOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The security group target identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSecurityGroupTargetOptions : The GetSecurityGroupTarget options.

func (*GetSecurityGroupTargetOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

func (*GetSecurityGroupTargetOptions) SetID added in v0.5.0

SetID : Allow user to set ID

func (*GetSecurityGroupTargetOptions) SetSecurityGroupID added in v0.5.0

func (_options *GetSecurityGroupTargetOptions) SetSecurityGroupID(securityGroupID string) *GetSecurityGroupTargetOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

type GetShareMountTargetOptions added in v0.41.0

type GetShareMountTargetOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// The share mount target identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetShareMountTargetOptions : The GetShareMountTarget options.

func (*GetShareMountTargetOptions) SetHeaders added in v0.41.0

func (options *GetShareMountTargetOptions) SetHeaders(param map[string]string) *GetShareMountTargetOptions

SetHeaders : Allow user to set Headers

func (*GetShareMountTargetOptions) SetID added in v0.41.0

SetID : Allow user to set ID

func (*GetShareMountTargetOptions) SetShareID added in v0.41.0

func (_options *GetShareMountTargetOptions) SetShareID(shareID string) *GetShareMountTargetOptions

SetShareID : Allow user to set ShareID

type GetShareOptions added in v0.41.0

type GetShareOptions struct {
	// The file share identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetShareOptions : The GetShare options.

func (*GetShareOptions) SetHeaders added in v0.41.0

func (options *GetShareOptions) SetHeaders(param map[string]string) *GetShareOptions

SetHeaders : Allow user to set Headers

func (*GetShareOptions) SetID added in v0.41.0

func (_options *GetShareOptions) SetID(id string) *GetShareOptions

SetID : Allow user to set ID

type GetShareProfileOptions added in v0.41.0

type GetShareProfileOptions struct {
	// The file share profile name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetShareProfileOptions : The GetShareProfile options.

func (*GetShareProfileOptions) SetHeaders added in v0.41.0

func (options *GetShareProfileOptions) SetHeaders(param map[string]string) *GetShareProfileOptions

SetHeaders : Allow user to set Headers

func (*GetShareProfileOptions) SetName added in v0.41.0

func (_options *GetShareProfileOptions) SetName(name string) *GetShareProfileOptions

SetName : Allow user to set Name

type GetShareSourceOptions added in v0.41.0

type GetShareSourceOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetShareSourceOptions : The GetShareSource options.

func (*GetShareSourceOptions) SetHeaders added in v0.41.0

func (options *GetShareSourceOptions) SetHeaders(param map[string]string) *GetShareSourceOptions

SetHeaders : Allow user to set Headers

func (*GetShareSourceOptions) SetShareID added in v0.41.0

func (_options *GetShareSourceOptions) SetShareID(shareID string) *GetShareSourceOptions

SetShareID : Allow user to set ShareID

type GetSnapshotCloneOptions added in v0.31.0

type GetSnapshotCloneOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The zone name.
	ZoneName *string `json:"zone_name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSnapshotCloneOptions : The GetSnapshotClone options.

func (*GetSnapshotCloneOptions) SetHeaders added in v0.31.0

func (options *GetSnapshotCloneOptions) SetHeaders(param map[string]string) *GetSnapshotCloneOptions

SetHeaders : Allow user to set Headers

func (*GetSnapshotCloneOptions) SetID added in v0.31.0

SetID : Allow user to set ID

func (*GetSnapshotCloneOptions) SetZoneName added in v0.31.0

func (_options *GetSnapshotCloneOptions) SetZoneName(zoneName string) *GetSnapshotCloneOptions

SetZoneName : Allow user to set ZoneName

type GetSnapshotConsistencyGroupOptions added in v0.45.0

type GetSnapshotConsistencyGroupOptions struct {
	// The snapshot consistency group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSnapshotConsistencyGroupOptions : The GetSnapshotConsistencyGroup options.

func (*GetSnapshotConsistencyGroupOptions) SetHeaders added in v0.45.0

SetHeaders : Allow user to set Headers

func (*GetSnapshotConsistencyGroupOptions) SetID added in v0.45.0

SetID : Allow user to set ID

type GetSnapshotOptions added in v0.7.0

type GetSnapshotOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSnapshotOptions : The GetSnapshot options.

func (*GetSnapshotOptions) SetHeaders added in v0.7.0

func (options *GetSnapshotOptions) SetHeaders(param map[string]string) *GetSnapshotOptions

SetHeaders : Allow user to set Headers

func (*GetSnapshotOptions) SetID added in v0.7.0

func (_options *GetSnapshotOptions) SetID(id string) *GetSnapshotOptions

SetID : Allow user to set ID

type GetSubnetNetworkACLOptions

type GetSubnetNetworkACLOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSubnetNetworkACLOptions : The GetSubnetNetworkACL options.

func (*GetSubnetNetworkACLOptions) SetHeaders

func (options *GetSubnetNetworkACLOptions) SetHeaders(param map[string]string) *GetSubnetNetworkACLOptions

SetHeaders : Allow user to set Headers

func (*GetSubnetNetworkACLOptions) SetID

SetID : Allow user to set ID

type GetSubnetOptions

type GetSubnetOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSubnetOptions : The GetSubnet options.

func (*GetSubnetOptions) SetHeaders

func (options *GetSubnetOptions) SetHeaders(param map[string]string) *GetSubnetOptions

SetHeaders : Allow user to set Headers

func (*GetSubnetOptions) SetID

func (_options *GetSubnetOptions) SetID(id string) *GetSubnetOptions

SetID : Allow user to set ID

type GetSubnetPublicGatewayOptions

type GetSubnetPublicGatewayOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSubnetPublicGatewayOptions : The GetSubnetPublicGateway options.

func (*GetSubnetPublicGatewayOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetSubnetPublicGatewayOptions) SetID

SetID : Allow user to set ID

type GetSubnetReservedIPOptions added in v0.3.0

type GetSubnetReservedIPOptions struct {
	// The subnet identifier.
	SubnetID *string `json:"subnet_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSubnetReservedIPOptions : The GetSubnetReservedIP options.

func (*GetSubnetReservedIPOptions) SetHeaders added in v0.3.0

func (options *GetSubnetReservedIPOptions) SetHeaders(param map[string]string) *GetSubnetReservedIPOptions

SetHeaders : Allow user to set Headers

func (*GetSubnetReservedIPOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*GetSubnetReservedIPOptions) SetSubnetID added in v0.3.0

func (_options *GetSubnetReservedIPOptions) SetSubnetID(subnetID string) *GetSubnetReservedIPOptions

SetSubnetID : Allow user to set SubnetID

type GetSubnetRoutingTableOptions added in v0.3.0

type GetSubnetRoutingTableOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSubnetRoutingTableOptions : The GetSubnetRoutingTable options.

func (*GetSubnetRoutingTableOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*GetSubnetRoutingTableOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type GetVPCAddressPrefixOptions

type GetVPCAddressPrefixOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The prefix identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCAddressPrefixOptions : The GetVPCAddressPrefix options.

func (*GetVPCAddressPrefixOptions) SetHeaders

func (options *GetVPCAddressPrefixOptions) SetHeaders(param map[string]string) *GetVPCAddressPrefixOptions

SetHeaders : Allow user to set Headers

func (*GetVPCAddressPrefixOptions) SetID

SetID : Allow user to set ID

func (*GetVPCAddressPrefixOptions) SetVPCID

SetVPCID : Allow user to set VPCID

type GetVPCDefaultNetworkACLOptions

type GetVPCDefaultNetworkACLOptions struct {
	// The VPC identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCDefaultNetworkACLOptions : The GetVPCDefaultNetworkACL options.

func (*GetVPCDefaultNetworkACLOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetVPCDefaultNetworkACLOptions) SetID

SetID : Allow user to set ID

type GetVPCDefaultRoutingTableOptions added in v0.3.0

type GetVPCDefaultRoutingTableOptions struct {
	// The VPC identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCDefaultRoutingTableOptions : The GetVPCDefaultRoutingTable options.

func (*GetVPCDefaultRoutingTableOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*GetVPCDefaultRoutingTableOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type GetVPCDefaultSecurityGroupOptions

type GetVPCDefaultSecurityGroupOptions struct {
	// The VPC identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCDefaultSecurityGroupOptions : The GetVPCDefaultSecurityGroup options.

func (*GetVPCDefaultSecurityGroupOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetVPCDefaultSecurityGroupOptions) SetID

SetID : Allow user to set ID

type GetVPCDnsResolutionBindingOptions added in v0.43.0

type GetVPCDnsResolutionBindingOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The DNS resolution binding identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCDnsResolutionBindingOptions : The GetVPCDnsResolutionBinding options.

func (*GetVPCDnsResolutionBindingOptions) SetHeaders added in v0.43.0

SetHeaders : Allow user to set Headers

func (*GetVPCDnsResolutionBindingOptions) SetID added in v0.43.0

SetID : Allow user to set ID

func (*GetVPCDnsResolutionBindingOptions) SetVPCID added in v0.43.0

SetVPCID : Allow user to set VPCID

type GetVPCOptions

type GetVPCOptions struct {
	// The VPC identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCOptions : The GetVPC options.

func (*GetVPCOptions) SetHeaders

func (options *GetVPCOptions) SetHeaders(param map[string]string) *GetVPCOptions

SetHeaders : Allow user to set Headers

func (*GetVPCOptions) SetID

func (_options *GetVPCOptions) SetID(id string) *GetVPCOptions

SetID : Allow user to set ID

type GetVPCRouteOptions

type GetVPCRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCRouteOptions : The GetVPCRoute options.

func (*GetVPCRouteOptions) SetHeaders

func (options *GetVPCRouteOptions) SetHeaders(param map[string]string) *GetVPCRouteOptions

SetHeaders : Allow user to set Headers

func (*GetVPCRouteOptions) SetID

func (_options *GetVPCRouteOptions) SetID(id string) *GetVPCRouteOptions

SetID : Allow user to set ID

func (*GetVPCRouteOptions) SetVPCID

func (_options *GetVPCRouteOptions) SetVPCID(vpcID string) *GetVPCRouteOptions

SetVPCID : Allow user to set VPCID

type GetVPCRoutingTableOptions added in v0.3.0

type GetVPCRoutingTableOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCRoutingTableOptions : The GetVPCRoutingTable options.

func (*GetVPCRoutingTableOptions) SetHeaders added in v0.3.0

func (options *GetVPCRoutingTableOptions) SetHeaders(param map[string]string) *GetVPCRoutingTableOptions

SetHeaders : Allow user to set Headers

func (*GetVPCRoutingTableOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*GetVPCRoutingTableOptions) SetVPCID added in v0.3.0

func (_options *GetVPCRoutingTableOptions) SetVPCID(vpcID string) *GetVPCRoutingTableOptions

SetVPCID : Allow user to set VPCID

type GetVPCRoutingTableRouteOptions added in v0.3.0

type GetVPCRoutingTableRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	RoutingTableID *string `json:"routing_table_id" validate:"required,ne="`

	// The VPC routing table route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPCRoutingTableRouteOptions : The GetVPCRoutingTableRoute options.

func (*GetVPCRoutingTableRouteOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*GetVPCRoutingTableRouteOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*GetVPCRoutingTableRouteOptions) SetRoutingTableID added in v0.3.0

func (_options *GetVPCRoutingTableRouteOptions) SetRoutingTableID(routingTableID string) *GetVPCRoutingTableRouteOptions

SetRoutingTableID : Allow user to set RoutingTableID

func (*GetVPCRoutingTableRouteOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type GetVPNGatewayConnectionOptions

type GetVPNGatewayConnectionOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPNGatewayConnectionOptions : The GetVPNGatewayConnection options.

func (*GetVPNGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetVPNGatewayConnectionOptions) SetID

SetID : Allow user to set ID

func (*GetVPNGatewayConnectionOptions) SetVPNGatewayID

func (_options *GetVPNGatewayConnectionOptions) SetVPNGatewayID(vpnGatewayID string) *GetVPNGatewayConnectionOptions

SetVPNGatewayID : Allow user to set VPNGatewayID

type GetVPNGatewayOptions

type GetVPNGatewayOptions struct {
	// The VPN gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPNGatewayOptions : The GetVPNGateway options.

func (*GetVPNGatewayOptions) SetHeaders

func (options *GetVPNGatewayOptions) SetHeaders(param map[string]string) *GetVPNGatewayOptions

SetHeaders : Allow user to set Headers

func (*GetVPNGatewayOptions) SetID

func (_options *GetVPNGatewayOptions) SetID(id string) *GetVPNGatewayOptions

SetID : Allow user to set ID

type GetVPNServerClientConfigurationOptions added in v0.22.0

type GetVPNServerClientConfigurationOptions struct {
	// The VPN server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPNServerClientConfigurationOptions : The GetVPNServerClientConfiguration options.

func (*GetVPNServerClientConfigurationOptions) SetHeaders added in v0.22.0

SetHeaders : Allow user to set Headers

func (*GetVPNServerClientConfigurationOptions) SetID added in v0.22.0

SetID : Allow user to set ID

type GetVPNServerClientOptions added in v0.22.0

type GetVPNServerClientOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The VPN client identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPNServerClientOptions : The GetVPNServerClient options.

func (*GetVPNServerClientOptions) SetHeaders added in v0.22.0

func (options *GetVPNServerClientOptions) SetHeaders(param map[string]string) *GetVPNServerClientOptions

SetHeaders : Allow user to set Headers

func (*GetVPNServerClientOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*GetVPNServerClientOptions) SetVPNServerID added in v0.22.0

func (_options *GetVPNServerClientOptions) SetVPNServerID(vpnServerID string) *GetVPNServerClientOptions

SetVPNServerID : Allow user to set VPNServerID

type GetVPNServerOptions added in v0.22.0

type GetVPNServerOptions struct {
	// The VPN server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPNServerOptions : The GetVPNServer options.

func (*GetVPNServerOptions) SetHeaders added in v0.22.0

func (options *GetVPNServerOptions) SetHeaders(param map[string]string) *GetVPNServerOptions

SetHeaders : Allow user to set Headers

func (*GetVPNServerOptions) SetID added in v0.22.0

func (_options *GetVPNServerOptions) SetID(id string) *GetVPNServerOptions

SetID : Allow user to set ID

type GetVPNServerRouteOptions added in v0.22.0

type GetVPNServerRouteOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The VPN route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVPNServerRouteOptions : The GetVPNServerRoute options.

func (*GetVPNServerRouteOptions) SetHeaders added in v0.22.0

func (options *GetVPNServerRouteOptions) SetHeaders(param map[string]string) *GetVPNServerRouteOptions

SetHeaders : Allow user to set Headers

func (*GetVPNServerRouteOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*GetVPNServerRouteOptions) SetVPNServerID added in v0.22.0

func (_options *GetVPNServerRouteOptions) SetVPNServerID(vpnServerID string) *GetVPNServerRouteOptions

SetVPNServerID : Allow user to set VPNServerID

type GetVirtualNetworkInterfaceIPOptions added in v0.47.0

type GetVirtualNetworkInterfaceIPOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVirtualNetworkInterfaceIPOptions : The GetVirtualNetworkInterfaceIP options.

func (*GetVirtualNetworkInterfaceIPOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*GetVirtualNetworkInterfaceIPOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*GetVirtualNetworkInterfaceIPOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *GetVirtualNetworkInterfaceIPOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *GetVirtualNetworkInterfaceIPOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type GetVirtualNetworkInterfaceOptions added in v0.41.0

type GetVirtualNetworkInterfaceOptions struct {
	// The virtual network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVirtualNetworkInterfaceOptions : The GetVirtualNetworkInterface options.

func (*GetVirtualNetworkInterfaceOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*GetVirtualNetworkInterfaceOptions) SetID added in v0.41.0

SetID : Allow user to set ID

type GetVolumeOptions

type GetVolumeOptions struct {
	// The volume identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVolumeOptions : The GetVolume options.

func (*GetVolumeOptions) SetHeaders

func (options *GetVolumeOptions) SetHeaders(param map[string]string) *GetVolumeOptions

SetHeaders : Allow user to set Headers

func (*GetVolumeOptions) SetID

func (_options *GetVolumeOptions) SetID(id string) *GetVolumeOptions

SetID : Allow user to set ID

type GetVolumeProfileOptions

type GetVolumeProfileOptions struct {
	// The volume profile name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVolumeProfileOptions : The GetVolumeProfile options.

func (*GetVolumeProfileOptions) SetHeaders

func (options *GetVolumeProfileOptions) SetHeaders(param map[string]string) *GetVolumeProfileOptions

SetHeaders : Allow user to set Headers

func (*GetVolumeProfileOptions) SetName

func (_options *GetVolumeProfileOptions) SetName(name string) *GetVolumeProfileOptions

SetName : Allow user to set Name

type IP

type IP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

IP : IP struct

type IPsecPolicy

type IPsecPolicy struct {
	// The authentication algorithm
	//
	// The `md5` and `sha1` algorithms have been deprecated
	//
	// Must be `disabled` if and only if the `encryption_algorithm` is
	// `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.
	AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"`

	// The VPN gateway connections that use this IPsec policy.
	Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"`

	// The date and time that this IPsec policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The encapsulation mode used. Only `tunnel` is supported.
	EncapsulationMode *string `json:"encapsulation_mode" validate:"required"`

	// The encryption algorithm
	//
	// The `triple_des` algorithm has been deprecated
	//
	// The `authentication_algorithm` must be `disabled` if and only if
	// `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or
	// `aes256gcm16`.
	EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"`

	// The IPsec policy's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this IPsec policy.
	ID *string `json:"id" validate:"required"`

	// The key lifetime in seconds.
	KeyLifetime *int64 `json:"key_lifetime" validate:"required"`

	// The name for this IPsec policy. The name is unique across all IPsec policies in the region.
	Name *string `json:"name" validate:"required"`

	// Perfect Forward Secrecy
	//
	// Groups `group_2` and `group_5` have been deprecated.
	Pfs *string `json:"pfs" validate:"required"`

	// The resource group for this IPsec policy.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The transform protocol used. Only `esp` is supported.
	TransformProtocol *string `json:"transform_protocol" validate:"required"`
}

IPsecPolicy : IPsecPolicy struct

type IPsecPolicyCollection

type IPsecPolicyCollection struct {
	// A link to the first page of resources.
	First *IPsecPolicyCollectionFirst `json:"first" validate:"required"`

	// Collection of IPsec policies.
	IpsecPolicies []IPsecPolicy `json:"ipsec_policies" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *IPsecPolicyCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

IPsecPolicyCollection : IPsecPolicyCollection struct

func (*IPsecPolicyCollection) GetNextStart added in v0.8.0

func (resp *IPsecPolicyCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type IPsecPolicyCollectionFirst

type IPsecPolicyCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

IPsecPolicyCollectionFirst : A link to the first page of resources.

type IPsecPolicyCollectionNext

type IPsecPolicyCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

IPsecPolicyCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type IPsecPolicyPatch added in v0.2.0

type IPsecPolicyPatch struct {
	// The authentication algorithm
	//
	// Must be `disabled` if and only if the `encryption_algorithm` is
	// `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.
	AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"`

	// The encryption algorithm
	//
	// The `authentication_algorithm` must be `disabled` if and only if
	// `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or
	// `aes256gcm16`.
	EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"`

	// The key lifetime in seconds.
	KeyLifetime *int64 `json:"key_lifetime,omitempty"`

	// The name for this IPsec policy. The name must not be used by another IPsec policy in the region.
	Name *string `json:"name,omitempty"`

	// Perfect Forward Secrecy.
	Pfs *string `json:"pfs,omitempty"`
}

IPsecPolicyPatch : IPsecPolicyPatch struct

func (*IPsecPolicyPatch) AsPatch added in v0.2.0

func (iPsecPolicyPatch *IPsecPolicyPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the IPsecPolicyPatch

type IPsecPolicyReference added in v0.0.3

type IPsecPolicyReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *IPsecPolicyReferenceDeleted `json:"deleted,omitempty"`

	// The IPsec policy's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this IPsec policy.
	ID *string `json:"id" validate:"required"`

	// The name for this IPsec policy. The name is unique across all IPsec policies in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

IPsecPolicyReference : IPsecPolicyReference struct

type IPsecPolicyReferenceDeleted added in v0.3.0

type IPsecPolicyReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

IPsecPolicyReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type IkePoliciesPager added in v0.25.0

type IkePoliciesPager struct {
	// contains filtered or unexported fields
}

IkePoliciesPager can be used to simplify the use of the "ListIkePolicies" method.

func (*IkePoliciesPager) GetAll added in v0.25.0

func (pager *IkePoliciesPager) GetAll() (allItems []IkePolicy, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*IkePoliciesPager) GetAllWithContext added in v0.25.0

func (pager *IkePoliciesPager) GetAllWithContext(ctx context.Context) (allItems []IkePolicy, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*IkePoliciesPager) GetNext added in v0.25.0

func (pager *IkePoliciesPager) GetNext() (page []IkePolicy, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*IkePoliciesPager) GetNextWithContext added in v0.25.0

func (pager *IkePoliciesPager) GetNextWithContext(ctx context.Context) (page []IkePolicy, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*IkePoliciesPager) HasNext added in v0.25.0

func (pager *IkePoliciesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type IkePolicy

type IkePolicy struct {
	// The authentication algorithm
	//
	// The `md5` and `sha1` algorithms have been deprecated.
	AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"`

	// The VPN gateway connections that use this IKE policy.
	Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"`

	// The date and time that this IKE policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The Diffie-Hellman group
	//
	// Groups `2` and `5` have been deprecated.
	DhGroup *int64 `json:"dh_group" validate:"required"`

	// The encryption algorithm
	//
	// The `triple_des` algorithm has been deprecated.
	EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"`

	// The IKE policy's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this IKE policy.
	ID *string `json:"id" validate:"required"`

	// The IKE protocol version.
	IkeVersion *int64 `json:"ike_version" validate:"required"`

	// The key lifetime in seconds.
	KeyLifetime *int64 `json:"key_lifetime" validate:"required"`

	// The name for this IKE policy. The name is unique across all IKE policies in the region.
	Name *string `json:"name" validate:"required"`

	// The IKE negotiation mode. Only `main` is supported.
	NegotiationMode *string `json:"negotiation_mode" validate:"required"`

	// The resource group for this IKE policy.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

IkePolicy : IkePolicy struct

type IkePolicyCollection

type IkePolicyCollection struct {
	// A link to the first page of resources.
	First *IkePolicyCollectionFirst `json:"first" validate:"required"`

	// Collection of IKE policies.
	IkePolicies []IkePolicy `json:"ike_policies" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *IkePolicyCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

IkePolicyCollection : IkePolicyCollection struct

func (*IkePolicyCollection) GetNextStart added in v0.8.0

func (resp *IkePolicyCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type IkePolicyCollectionFirst

type IkePolicyCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

IkePolicyCollectionFirst : A link to the first page of resources.

type IkePolicyCollectionNext

type IkePolicyCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

IkePolicyCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type IkePolicyPatch added in v0.2.0

type IkePolicyPatch struct {
	// The authentication algorithm.
	AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"`

	// The Diffie-Hellman group.
	DhGroup *int64 `json:"dh_group,omitempty"`

	// The encryption algorithm.
	EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"`

	// The IKE protocol version.
	IkeVersion *int64 `json:"ike_version,omitempty"`

	// The key lifetime in seconds.
	KeyLifetime *int64 `json:"key_lifetime,omitempty"`

	// The name for this IKE policy. The name must not be used by another IKE policy in the region.
	Name *string `json:"name,omitempty"`
}

IkePolicyPatch : IkePolicyPatch struct

func (*IkePolicyPatch) AsPatch added in v0.2.0

func (ikePolicyPatch *IkePolicyPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the IkePolicyPatch

type IkePolicyReference added in v0.0.3

type IkePolicyReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *IkePolicyReferenceDeleted `json:"deleted,omitempty"`

	// The IKE policy's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this IKE policy.
	ID *string `json:"id" validate:"required"`

	// The name for this IKE policy. The name is unique across all IKE policies in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

IkePolicyReference : IkePolicyReference struct

type IkePolicyReferenceDeleted added in v0.3.0

type IkePolicyReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

IkePolicyReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type Image

type Image struct {
	CatalogOffering *ImageCatalogOffering `json:"catalog_offering" validate:"required"`

	// The date and time that the image was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this image.
	CRN *string `json:"crn" validate:"required"`

	// The deprecation date and time (UTC) for this image.
	//
	// If absent, no deprecation date and time has been set.
	DeprecationAt *strfmt.DateTime `json:"deprecation_at,omitempty"`

	// The type of encryption used on the image.
	Encryption *string `json:"encryption" validate:"required"`

	// The key that will be used to encrypt volumes created from this image (unless an
	// alternate `encryption_key` is specified at volume creation).
	//
	// This property will be present for images with an `encryption` type of `user_managed`.
	EncryptionKey *EncryptionKeyReference `json:"encryption_key,omitempty"`

	// Details for the stored image file.
	File *ImageFile `json:"file" validate:"required"`

	// The URL for this image.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this image.
	ID *string `json:"id" validate:"required"`

	// The minimum size (in gigabytes) of a volume onto which this image may be provisioned.
	//
	// This property may be absent if the image has a `status` of `pending` or `failed`.
	MinimumProvisionedSize *int64 `json:"minimum_provisioned_size,omitempty"`

	// The name for this image. The name is unique across all images in the region.
	Name *string `json:"name" validate:"required"`

	// The obsolescence date and time (UTC) for this image.
	//
	// If absent, no obsolescence date and time has been set.
	ObsolescenceAt *strfmt.DateTime `json:"obsolescence_at,omitempty"`

	// The operating system included in this image.
	OperatingSystem *OperatingSystem `json:"operating_system,omitempty"`

	// The resource group for this image.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The volume used to create this image (this may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	// If absent, this image was not created from a volume.
	SourceVolume *VolumeReference `json:"source_volume,omitempty"`

	// The status of this image:
	// - available: image can be used (provisionable)
	// - deleting: image is being deleted, and can no longer be used to provision new
	//   resources
	// - deprecated: image is administratively slated to become `obsolete`
	// - failed: image is corrupt or did not pass validation
	// - obsolete: image administratively set to not be used for new resources
	// - pending: image is being imported and is not yet `available`
	// - unusable: image cannot be used (see `status_reasons[]` for possible remediation)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	StatusReasons []ImageStatusReason `json:"status_reasons" validate:"required"`

	// The visibility of this image.
	// - `private`: Visible only to this account
	// - `public`: Visible to all accounts.
	Visibility *string `json:"visibility" validate:"required"`
}

Image : Image struct

type ImageCatalogOffering added in v0.26.0

type ImageCatalogOffering struct {
	// Indicates whether this image is managed as part of a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering. If an image is managed,
	// accounts with access to that catalog can specify the image's catalog offering version CRN to provision virtual
	// server instances using the image.
	Managed *bool `json:"managed" validate:"required"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user)
	// offering version associated with this image.
	//
	// If absent, this image is not associated with a cloud catalog offering.
	Version *CatalogOfferingVersionReference `json:"version,omitempty"`
}

ImageCatalogOffering : ImageCatalogOffering struct

type ImageCollection

type ImageCollection struct {
	// A link to the first page of resources.
	First *ImageCollectionFirst `json:"first" validate:"required"`

	// Collection of images.
	Images []Image `json:"images" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ImageCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ImageCollection : ImageCollection struct

func (*ImageCollection) GetNextStart added in v0.8.0

func (resp *ImageCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ImageCollectionFirst

type ImageCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ImageCollectionFirst : A link to the first page of resources.

type ImageCollectionNext

type ImageCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ImageCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type ImageExportJob added in v0.37.0

type ImageExportJob struct {
	// The date and time that the image export job was completed.
	//
	// If absent, the export job has not yet completed.
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// The date and time that the image export job was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This
	// key can be unwrapped with the image's `encryption_key` root key using either Key Protect or Hyper Protect Crypto
	// Services.
	//
	// If absent, the export job is for an unencrypted image.
	EncryptedDataKey *[]byte `json:"encrypted_data_key,omitempty"`

	// The format of the exported image.
	Format *string `json:"format" validate:"required"`

	// The URL for this image export job.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this image export job.
	ID *string `json:"id" validate:"required"`

	// The name for this image export job. The name must not be used by another export job for the image. Changing the name
	// will not affect the exported image name,
	// `storage_object.name`, or `storage_href` values.
	Name *string `json:"name" validate:"required"`

	// The type of resource referenced.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The date and time that the image export job started running.
	//
	// If absent, the export job has not yet started.
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// The status of this image export job:
	// - `deleting`: Export job is being deleted
	// - `failed`: Export job could not be completed successfully
	// - `queued`: Export job is queued
	// - `running`: Export job is in progress
	// - `succeeded`: Export job was completed successfully
	//
	// The exported image object is automatically deleted for `failed` jobs.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []ImageExportJobStatusReason `json:"status_reasons" validate:"required"`

	// The Cloud Object Storage bucket of the exported image object.
	StorageBucket *CloudObjectStorageBucketReference `json:"storage_bucket" validate:"required"`

	// The Cloud Object Storage location of the exported image object. The object at this location will not exist until the
	// job completes successfully. The exported image object is not managed by the IBM VPC service, and may be removed or
	// replaced with a different object by any user or service with IAM authorization to the storage bucket.
	StorageHref *string `json:"storage_href" validate:"required"`

	// The Cloud Object Storage object for the exported image. This object will not exist until
	// the job completes successfully. The exported image object is not managed by the IBM VPC
	// service, and may be removed or replaced with a different object by any user or service
	// with IAM authorization to the storage bucket.
	StorageObject *CloudObjectStorageObjectReference `json:"storage_object" validate:"required"`
}

ImageExportJob : ImageExportJob struct

type ImageExportJobPatch added in v0.37.0

type ImageExportJobPatch struct {
	// The name for this image export job. The name must not be used by another export job for the image. Changing the name
	// will not affect the exported image name,
	// `storage_object.name`, or `storage_href` values.
	Name *string `json:"name,omitempty"`
}

ImageExportJobPatch : ImageExportJobPatch struct

func (*ImageExportJobPatch) AsPatch added in v0.37.0

func (imageExportJobPatch *ImageExportJobPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the ImageExportJobPatch

type ImageExportJobStatusReason added in v0.37.0

type ImageExportJobStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

ImageExportJobStatusReason : ImageExportJobStatusReason struct

type ImageExportJobUnpaginatedCollection added in v0.37.0

type ImageExportJobUnpaginatedCollection struct {
	// Collection of image export jobs.
	ExportJobs []ImageExportJob `json:"export_jobs" validate:"required"`
}

ImageExportJobUnpaginatedCollection : ImageExportJobUnpaginatedCollection struct

type ImageFile

type ImageFile struct {
	// Checksums for this image file.
	//
	// This property may be absent if the associated image has a `status` of `pending` or
	// `failed`.
	Checksums *ImageFileChecksums `json:"checksums,omitempty"`

	// The size of the stored image file rounded up to the next gigabyte.
	//
	// This property may be absent if the associated image has a `status` of `pending` or
	// `failed`.
	Size *int64 `json:"size,omitempty"`
}

ImageFile : ImageFile struct

type ImageFileChecksums added in v0.4.2

type ImageFileChecksums struct {
	// The SHA256 fingerprint of the image file.
	Sha256 *string `json:"sha256,omitempty"`
}

ImageFileChecksums : ImageFileChecksums struct

type ImageFilePrototype

type ImageFilePrototype struct {
	// The Cloud Object Storage location of the image file.
	//
	// The image file format is specified by the file's extension, which must be either
	// `qcow2` or `vhd`.
	Href *string `json:"href" validate:"required"`
}

ImageFilePrototype : ImageFilePrototype struct

type ImageIdentity

type ImageIdentity struct {
	// The unique identifier for this image.
	ID *string `json:"id,omitempty"`

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

	// The URL for this image.
	Href *string `json:"href,omitempty"`
}

ImageIdentity : Identifies an image by a unique property. Models which "extend" this model: - ImageIdentityByID - ImageIdentityByCRN - ImageIdentityByHref

type ImageIdentityByCRN

type ImageIdentityByCRN struct {
	// The CRN for this image.
	CRN *string `json:"crn" validate:"required"`
}

ImageIdentityByCRN : ImageIdentityByCRN struct This model "extends" ImageIdentity

type ImageIdentityByHref

type ImageIdentityByHref struct {
	// The URL for this image.
	Href *string `json:"href" validate:"required"`
}

ImageIdentityByHref : ImageIdentityByHref struct This model "extends" ImageIdentity

type ImageIdentityByID

type ImageIdentityByID struct {
	// The unique identifier for this image.
	ID *string `json:"id" validate:"required"`
}

ImageIdentityByID : ImageIdentityByID struct This model "extends" ImageIdentity

type ImageIdentityIntf

type ImageIdentityIntf interface {
	// contains filtered or unexported methods
}

type ImagePatch added in v0.2.0

type ImagePatch struct {
	// The deprecation date and time to set for this image.
	//
	// This cannot be set if the image has a `status` of `failed` or `deleting`, or if
	// `catalog_offering.managed` is `true`.
	//
	// The date and time must not be in the past, and must be earlier than `obsolescence_at`
	// (if `obsolescence_at` is set). Additionally, if the image status is currently
	// `deprecated`, the value cannot be changed (but may be removed).
	//
	// Specify `null` to remove an existing deprecation date and time. If the image status is currently `deprecated`, it
	// will become `available`.
	//
	// If the deprecation date and time is reached while the image has a status of `pending`, the image's status will
	// transition to `deprecated` upon its successful creation (or
	// `obsolete` if the obsolescence date and time was also reached).
	DeprecationAt *strfmt.DateTime `json:"deprecation_at,omitempty"`

	// The name for this image. The name must not be used by another image in the region. Names starting with `ibm-` are
	// reserved for system-provided images, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The obsolescence date and time to set for this image.
	//
	// This cannot be set if the image has a `status` of `failed` or `deleting`, or if
	// `catalog_offering.managed` is `true`.
	//
	// The date and time must not be in the past, and must be later than `deprecation_at` (if
	// `deprecation_at` is set). Additionally, if the image status is currently `obsolete`, the value cannot be changed
	// (but may be removed).
	//
	// Specify `null` to remove an existing obsolescence date and time. If the image status is currently `obsolete`, it
	// will become `deprecated` if `deprecation_at` is in the past. Otherwise, it will become `available`.
	//
	// If the obsolescence date and time is reached while the image has a status of `pending`, the image's status will
	// transition to `obsolete` upon its successful creation.
	ObsolescenceAt *strfmt.DateTime `json:"obsolescence_at,omitempty"`
}

ImagePatch : ImagePatch struct

func (*ImagePatch) AsPatch added in v0.2.0

func (imagePatch *ImagePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the ImagePatch

type ImagePrototype

type ImagePrototype struct {
	// The deprecation date and time to set for this image.
	//
	// The date and time must not be in the past, and must be earlier than `obsolescence_at`
	// (if `obsolescence_at` is set).
	//
	// If unspecified, no deprecation date and time will be set.
	//
	// If the deprecation date and time is reached while the image has a status of `pending`, the image's status will
	// transition to `deprecated` upon its successful creation (or
	// `obsolete` if the obsolescence date and time was also reached).
	DeprecationAt *strfmt.DateTime `json:"deprecation_at,omitempty"`

	// The name for this image. The name must not be used by another image in the region. Names starting with `ibm-` are
	// reserved for system-provided images, and are not allowed. If unspecified, the name will be a hyphenated list of
	// randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The obsolescence date and time to set for this image.
	//
	// The date and time must not be in the past, and must be later than `deprecation_at` (if
	// `deprecation_at` is set).
	//
	// If unspecified, no obsolescence date and time will be set.
	//
	// If the obsolescence date and time is reached while the image has a status of
	// `pending`, the image's status will transition to `obsolete` upon its successful creation.
	ObsolescenceAt *strfmt.DateTime `json:"obsolescence_at,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image.
	//
	// That representation is created by wrapping the key's value with the `encryption_key` root key (which must also be
	// specified), using either [Key Protect](https://cloud.ibm.com/docs/key-protect?topic=key-protect-wrap-keys) or the
	// [Hyper Protect Crypto Services](https://cloud.ibm.com/docs/services/hs-crypto?topic=hs-crypto-wrap-keys).
	//
	// If unspecified, the imported image is treated as unencrypted.
	EncryptedDataKey *string `json:"encrypted_data_key,omitempty"`

	// The root key that was used to wrap the data key (which is ultimately represented as
	// `encrypted_data_key`). Additionally, the root key will be used to encrypt volumes
	// created from this image (unless an alternate `encryption_key` is specified at volume
	// creation).
	//
	// If unspecified, the imported image is treated as unencrypted.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The file from which to create the image.
	File *ImageFilePrototype `json:"file,omitempty"`

	// The [supported operating
	// system](https://cloud.ibm.com/apidocs/vpc#list-operating-systems) included in this
	// image.
	OperatingSystem OperatingSystemIdentityIntf `json:"operating_system,omitempty"`

	// The volume from which to create the image. The specified volume must:
	// - Have an `operating_system`, which will be used to populate this image's
	//   operating system information.
	// - Not be `active` or `busy`.
	//
	// During image creation, the specified volume may briefly become `busy`.
	SourceVolume VolumeIdentityIntf `json:"source_volume,omitempty"`
}

ImagePrototype : ImagePrototype struct Models which "extend" this model: - ImagePrototypeImageByFile - ImagePrototypeImageBySourceVolume

type ImagePrototypeImageByFile

type ImagePrototypeImageByFile struct {
	// The deprecation date and time to set for this image.
	//
	// The date and time must not be in the past, and must be earlier than `obsolescence_at`
	// (if `obsolescence_at` is set).
	//
	// If unspecified, no deprecation date and time will be set.
	//
	// If the deprecation date and time is reached while the image has a status of `pending`, the image's status will
	// transition to `deprecated` upon its successful creation (or
	// `obsolete` if the obsolescence date and time was also reached).
	DeprecationAt *strfmt.DateTime `json:"deprecation_at,omitempty"`

	// The name for this image. The name must not be used by another image in the region. Names starting with `ibm-` are
	// reserved for system-provided images, and are not allowed. If unspecified, the name will be a hyphenated list of
	// randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The obsolescence date and time to set for this image.
	//
	// The date and time must not be in the past, and must be later than `deprecation_at` (if
	// `deprecation_at` is set).
	//
	// If unspecified, no obsolescence date and time will be set.
	//
	// If the obsolescence date and time is reached while the image has a status of
	// `pending`, the image's status will transition to `obsolete` upon its successful creation.
	ObsolescenceAt *strfmt.DateTime `json:"obsolescence_at,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image.
	//
	// That representation is created by wrapping the key's value with the `encryption_key` root key (which must also be
	// specified), using either [Key Protect](https://cloud.ibm.com/docs/key-protect?topic=key-protect-wrap-keys) or the
	// [Hyper Protect Crypto Services](https://cloud.ibm.com/docs/services/hs-crypto?topic=hs-crypto-wrap-keys).
	//
	// If unspecified, the imported image is treated as unencrypted.
	EncryptedDataKey *string `json:"encrypted_data_key,omitempty"`

	// The root key that was used to wrap the data key (which is ultimately represented as
	// `encrypted_data_key`). Additionally, the root key will be used to encrypt volumes
	// created from this image (unless an alternate `encryption_key` is specified at volume
	// creation).
	//
	// If unspecified, the imported image is treated as unencrypted.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The file from which to create the image.
	File *ImageFilePrototype `json:"file" validate:"required"`

	// The [supported operating
	// system](https://cloud.ibm.com/apidocs/vpc#list-operating-systems) included in this
	// image.
	OperatingSystem OperatingSystemIdentityIntf `json:"operating_system" validate:"required"`
}

ImagePrototypeImageByFile : ImagePrototypeImageByFile struct This model "extends" ImagePrototype

type ImagePrototypeImageBySourceVolume added in v0.7.0

type ImagePrototypeImageBySourceVolume struct {
	// The deprecation date and time to set for this image.
	//
	// The date and time must not be in the past, and must be earlier than `obsolescence_at`
	// (if `obsolescence_at` is set).
	//
	// If unspecified, no deprecation date and time will be set.
	//
	// If the deprecation date and time is reached while the image has a status of `pending`, the image's status will
	// transition to `deprecated` upon its successful creation (or
	// `obsolete` if the obsolescence date and time was also reached).
	DeprecationAt *strfmt.DateTime `json:"deprecation_at,omitempty"`

	// The name for this image. The name must not be used by another image in the region. Names starting with `ibm-` are
	// reserved for system-provided images, and are not allowed. If unspecified, the name will be a hyphenated list of
	// randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The obsolescence date and time to set for this image.
	//
	// The date and time must not be in the past, and must be later than `deprecation_at` (if
	// `deprecation_at` is set).
	//
	// If unspecified, no obsolescence date and time will be set.
	//
	// If the obsolescence date and time is reached while the image has a status of
	// `pending`, the image's status will transition to `obsolete` upon its successful creation.
	ObsolescenceAt *strfmt.DateTime `json:"obsolescence_at,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The root key used to wrap the system-generated data encryption key for the image.
	//
	// If unspecified, the root key from `source_volume` will be used.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The volume from which to create the image. The specified volume must:
	// - Have an `operating_system`, which will be used to populate this image's
	//   operating system information.
	// - Not be `active` or `busy`.
	//
	// During image creation, the specified volume may briefly become `busy`.
	SourceVolume VolumeIdentityIntf `json:"source_volume" validate:"required"`
}

ImagePrototypeImageBySourceVolume : ImagePrototypeImageBySourceVolume struct This model "extends" ImagePrototype

type ImagePrototypeIntf

type ImagePrototypeIntf interface {
	// contains filtered or unexported methods
}

type ImageReference

type ImageReference struct {
	// The CRN for this image.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ImageReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this image.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this image.
	ID *string `json:"id" validate:"required"`

	// The name for this image. The name is unique across all images in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *ImageRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ImageReference : ImageReference struct

type ImageReferenceDeleted added in v0.3.0

type ImageReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

ImageReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type ImageRemote added in v0.39.0

type ImageRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// account, and identifies the owning account.
	Account *AccountReference `json:"account,omitempty"`

	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

ImageRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type ImageStatusReason added in v0.4.0

type ImageStatusReason struct {
	// A reason code for the status:
	// - `encrypted_data_key_invalid`: image cannot be decrypted with the specified
	//   `encryption_key`
	// - `encryption_key_deleted`: image unusable because its `encryption_key` was deleted
	// - `encryption_key_disabled`: image unusable until its `encryption_key` is re-enabled
	// - `image_data_corrupted`: image data is corrupt, or is not in the specified format
	// - `image_provisioned_size_unsupported`: image requires a boot volume size greater
	//   than the maximum supported value
	// - `image_request_in_progress`: image operation is in progress (such as an import from
	//    Cloud Object Storage)
	// - `image_request_queued`: image request has been accepted but the requested
	//   operation has not started
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

ImageStatusReason : ImageStatusReason struct

type ImagesPager added in v0.25.0

type ImagesPager struct {
	// contains filtered or unexported fields
}

ImagesPager can be used to simplify the use of the "ListImages" method.

func (*ImagesPager) GetAll added in v0.25.0

func (pager *ImagesPager) GetAll() (allItems []Image, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ImagesPager) GetAllWithContext added in v0.25.0

func (pager *ImagesPager) GetAllWithContext(ctx context.Context) (allItems []Image, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ImagesPager) GetNext added in v0.25.0

func (pager *ImagesPager) GetNext() (page []Image, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ImagesPager) GetNextWithContext added in v0.25.0

func (pager *ImagesPager) GetNextWithContext(ctx context.Context) (page []Image, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ImagesPager) HasNext added in v0.25.0

func (pager *ImagesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Instance

type Instance struct {
	// The availability policy for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicy `json:"availability_policy" validate:"required"`

	// The total bandwidth (in megabits per second) shared across the instance network attachments or instance network
	// interfaces and storage volumes of the virtual server instance.
	Bandwidth *int64 `json:"bandwidth" validate:"required"`

	// Boot volume attachment.
	BootVolumeAttachment *VolumeAttachmentReferenceInstanceContext `json:"boot_volume_attachment" validate:"required"`

	// If present, this virtual server instance was provisioned from a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user).
	CatalogOffering *InstanceCatalogOffering `json:"catalog_offering,omitempty"`

	// The date and time that the virtual server instance was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`

	// If present, the dedicated host this virtual server instance has been placed on.
	DedicatedHost *DedicatedHostReference `json:"dedicated_host,omitempty"`

	// The instance disks for this virtual server instance.
	Disks []InstanceDisk `json:"disks" validate:"required"`

	// The virtual server instance GPU configuration.
	Gpu *InstanceGpu `json:"gpu,omitempty"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []InstanceHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`

	// The image the virtual server instance was provisioned from.
	Image *ImageReference `json:"image,omitempty"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []InstanceLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the virtual server instance.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The amount of memory, truncated to whole gibibytes.
	Memory *int64 `json:"memory" validate:"required"`

	// The metadata service configuration.
	MetadataService *InstanceMetadataService `json:"metadata_service" validate:"required"`

	// The name for this virtual server instance. The name is unique across all virtual server instances in the region.
	Name *string `json:"name" validate:"required"`

	// The network attachments for this virtual server instance, including the primary network attachment.
	NetworkAttachments []InstanceNetworkAttachmentReference `json:"network_attachments" validate:"required"`

	// The network interfaces for this instance, including the primary network interface.
	//
	// If this instance has network attachments, each network interface is a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network
	// attachment and its attached virtual network interface.
	NetworkInterfaces []NetworkInterfaceInstanceContextReference `json:"network_interfaces" validate:"required"`

	// The number of NUMA nodes this virtual server instance is provisioned on.
	//
	// This property will be absent if the instance's `status` is not `running`.
	NumaCount *int64 `json:"numa_count,omitempty"`

	// The placement restrictions for the virtual server instance.
	PlacementTarget InstancePlacementTargetIntf `json:"placement_target,omitempty"`

	// The primary network attachment for this virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentReference `json:"primary_network_attachment,omitempty"`

	// The primary network interface for this virtual server instance.
	//
	// If this instance has network attachments, this primary network interface is a
	// [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients)
	// of the primary network attachment and its attached virtual network interface.
	PrimaryNetworkInterface *NetworkInterfaceInstanceContextReference `json:"primary_network_interface" validate:"required"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) for this virtual
	// server instance.
	Profile *InstanceProfileReference `json:"profile" validate:"required"`

	// The reservation used by this virtual server instance.
	//
	// If absent, no reservation is in use.
	Reservation *ReservationReference `json:"reservation,omitempty"`

	ReservationAffinity *InstanceReservationAffinity `json:"reservation_affinity" validate:"required"`

	// The resource group for this instance.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// Indicates whether the state of the virtual server instance permits a start request.
	Startable *bool `json:"startable" validate:"required"`

	// The status of the virtual server instance.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []InstanceStatusReason `json:"status_reasons" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance network attachments or instance
	// network interfaces.
	TotalNetworkBandwidth *int64 `json:"total_network_bandwidth" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth" validate:"required"`

	// The virtual server instance VCPU configuration.
	Vcpu *InstanceVcpu `json:"vcpu" validate:"required"`

	// The volume attachments for this virtual server instance, including the boot volume attachment.
	VolumeAttachments []VolumeAttachmentReferenceInstanceContext `json:"volume_attachments" validate:"required"`

	// The VPC this virtual server instance resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// The zone this virtual server instance resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

Instance : Instance struct

type InstanceAction

type InstanceAction struct {
	// The date and time that the action was completed.
	// Deprecated: this field is deprecated and may be removed in a future release.
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// The date and time that the action was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action.
	Force *bool `json:"force,omitempty"`

	// The URL for this instance action.
	// Deprecated: this field is deprecated and may be removed in a future release.
	Href *string `json:"href" validate:"required"`

	// The identifier for this instance action.
	// Deprecated: this field is deprecated and may be removed in a future release.
	ID *string `json:"id" validate:"required"`

	// The date and time that the action was started.
	// Deprecated: this field is deprecated and may be removed in a future release.
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// The current status of this action.
	// Deprecated: this field is deprecated and may be removed in a future release.
	Status *string `json:"status" validate:"required"`

	// The type of action.
	Type *string `json:"type" validate:"required"`
}

InstanceAction : InstanceAction struct

type InstanceAvailabilityPolicy added in v0.17.0

type InstanceAvailabilityPolicy struct {
	// The action to perform if the compute host experiences a failure:
	// - `restart`: Automatically restart the virtual server instance after host failure
	// - `stop`: Leave the virtual server instance stopped after host failure
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	HostFailure *string `json:"host_failure" validate:"required"`
}

InstanceAvailabilityPolicy : InstanceAvailabilityPolicy struct

type InstanceAvailabilityPolicyPatch added in v0.17.0

type InstanceAvailabilityPolicyPatch struct {
	// The action to perform if the compute host experiences a failure.
	// - `restart`: Automatically restart the virtual server instance after host failure
	// - `stop`: Leave the virtual server instance stopped after host failure.
	HostFailure *string `json:"host_failure,omitempty"`
}

InstanceAvailabilityPolicyPatch : InstanceAvailabilityPolicyPatch struct

type InstanceAvailabilityPolicyPrototype added in v0.33.0

type InstanceAvailabilityPolicyPrototype struct {
	// The action to perform if the compute host experiences a failure.
	// - `restart`: Automatically restart the virtual server instance after host failure
	// - `stop`: Leave the virtual server instance stopped after host failure.
	HostFailure *string `json:"host_failure,omitempty"`
}

InstanceAvailabilityPolicyPrototype : InstanceAvailabilityPolicyPrototype struct

type InstanceCatalogOffering added in v0.26.0

type InstanceCatalogOffering struct {
	// The catalog offering version this virtual server instance was provisioned from.
	//
	// The catalog offering version is not managed by the IBM VPC service, and may no longer
	// exist, or may refer to a different image CRN than the `image.crn` for this virtual
	// server instance. However, all images associated with a catalog offering version will
	// have the same checksum, and therefore will have the same data.
	Version *CatalogOfferingVersionReference `json:"version" validate:"required"`
}

InstanceCatalogOffering : InstanceCatalogOffering struct

type InstanceCatalogOfferingPrototype added in v0.26.0

type InstanceCatalogOfferingPrototype struct {
	// Identifies a [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user)
	// offering by a unique property.
	Offering CatalogOfferingIdentityIntf `json:"offering,omitempty"`

	// Identifies a version of a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering by a
	// unique property.
	Version CatalogOfferingVersionIdentityIntf `json:"version,omitempty"`
}

InstanceCatalogOfferingPrototype : The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering or offering version to use when provisioning this virtual server instance.

If an offering is specified, the latest version of that offering will be used.

The specified offering or offering version may be in a different account, subject to IAM policies. Models which "extend" this model: - InstanceCatalogOfferingPrototypeCatalogOfferingByOffering - InstanceCatalogOfferingPrototypeCatalogOfferingByVersion

type InstanceCatalogOfferingPrototypeCatalogOfferingByOffering added in v0.26.0

type InstanceCatalogOfferingPrototypeCatalogOfferingByOffering struct {
	// Identifies a [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user)
	// offering by a unique property.
	Offering CatalogOfferingIdentityIntf `json:"offering" validate:"required"`
}

InstanceCatalogOfferingPrototypeCatalogOfferingByOffering : InstanceCatalogOfferingPrototypeCatalogOfferingByOffering struct This model "extends" InstanceCatalogOfferingPrototype

type InstanceCatalogOfferingPrototypeCatalogOfferingByVersion added in v0.26.0

type InstanceCatalogOfferingPrototypeCatalogOfferingByVersion struct {
	// Identifies a version of a
	// [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering by a
	// unique property.
	Version CatalogOfferingVersionIdentityIntf `json:"version" validate:"required"`
}

InstanceCatalogOfferingPrototypeCatalogOfferingByVersion : InstanceCatalogOfferingPrototypeCatalogOfferingByVersion struct This model "extends" InstanceCatalogOfferingPrototype

type InstanceCatalogOfferingPrototypeIntf added in v0.26.0

type InstanceCatalogOfferingPrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceCollection

type InstanceCollection struct {
	// A link to the first page of resources.
	First *InstanceCollectionFirst `json:"first" validate:"required"`

	// Collection of virtual server instances.
	Instances []Instance `json:"instances" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceCollection : InstanceCollection struct

func (*InstanceCollection) GetNextStart added in v0.8.0

func (resp *InstanceCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type InstanceCollectionFirst

type InstanceCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceCollectionFirst : A link to the first page of resources.

type InstanceCollectionNext

type InstanceCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceConsoleAccessToken added in v0.5.0

type InstanceConsoleAccessToken struct {
	// A URL safe single-use token used to access the console WebSocket.
	AccessToken *string `json:"access_token" validate:"required"`

	// The instance console type for which this token may be used.
	ConsoleType *string `json:"console_type" validate:"required"`

	// The date and time that the access token was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The date and time that the access token will expire.
	ExpiresAt *strfmt.DateTime `json:"expires_at" validate:"required"`

	// Indicates whether to disconnect an existing serial console session as the serial console cannot be shared.  This has
	// no effect on VNC consoles.
	Force *bool `json:"force" validate:"required"`

	// The URL to access this instance console.
	Href *string `json:"href" validate:"required"`
}

InstanceConsoleAccessToken : The instance console access token information.

type InstanceDefaultTrustedProfilePrototype added in v0.17.0

type InstanceDefaultTrustedProfilePrototype struct {
	// If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation.
	// Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be
	// automatically deleted when the instance is deleted.
	AutoLink *bool `json:"auto_link,omitempty"`

	// The default IAM trusted profile to use for this virtual server instance.
	Target TrustedProfileIdentityIntf `json:"target" validate:"required"`
}

InstanceDefaultTrustedProfilePrototype : InstanceDefaultTrustedProfilePrototype struct

type InstanceDisk added in v0.5.0

type InstanceDisk struct {
	// The date and time that the disk was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance disk.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance disk.
	ID *string `json:"id" validate:"required"`

	// The disk interface used for attaching the disk.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	InterfaceType *string `json:"interface_type" validate:"required"`

	// The name for this instance disk. The name is unique across all disks on the instance.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The size of the disk in GB (gigabytes).
	Size *int64 `json:"size" validate:"required"`
}

InstanceDisk : InstanceDisk struct

type InstanceDiskCollection added in v0.5.0

type InstanceDiskCollection struct {
	// Collection of the instance's disks.
	Disks []InstanceDisk `json:"disks" validate:"required"`
}

InstanceDiskCollection : InstanceDiskCollection struct

type InstanceDiskPatch added in v0.5.0

type InstanceDiskPatch struct {
	// The name for this instance disk. The name must not be used by another disk on the instance.
	Name *string `json:"name,omitempty"`
}

InstanceDiskPatch : InstanceDiskPatch struct

func (*InstanceDiskPatch) AsPatch added in v0.5.0

func (instanceDiskPatch *InstanceDiskPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceDiskPatch

type InstanceDiskReference added in v0.5.0

type InstanceDiskReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceDiskReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance disk.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance disk.
	ID *string `json:"id" validate:"required"`

	// The name for this instance disk. The name is unique across all disks on the instance.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

InstanceDiskReference : InstanceDiskReference struct

type InstanceDiskReferenceDeleted added in v0.5.0

type InstanceDiskReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceDiskReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceGpu

type InstanceGpu struct {
	// The number of GPUs assigned to the instance.
	Count *int64 `json:"count" validate:"required"`

	// The GPU manufacturer.
	Manufacturer *string `json:"manufacturer" validate:"required"`

	// The overall amount of GPU memory in GiB (gibibytes).
	Memory *int64 `json:"memory" validate:"required"`

	// The GPU model.
	Model *string `json:"model" validate:"required"`
}

InstanceGpu : The virtual server instance GPU configuration.

type InstanceGroup added in v0.1.0

type InstanceGroup struct {
	// The port used for new load balancer pool members created by this instance group.
	//
	// This property will be present if and only if `load_balancer_pool` is present.
	ApplicationPort *int64 `json:"application_port,omitempty"`

	// The date and time that the instance group was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance group.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this instance group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group.
	ID *string `json:"id" validate:"required"`

	// The template used to create new instances for this group.
	InstanceTemplate *InstanceTemplateReference `json:"instance_template" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []InstanceGroupLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the instance group.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// If present, the load balancer pool this instance group manages. A pool member will
	// be created for each instance created by this group.
	LoadBalancerPool *LoadBalancerPoolReference `json:"load_balancer_pool,omitempty"`

	// The managers for the instance group.
	Managers []InstanceGroupManagerReference `json:"managers" validate:"required"`

	// The number of instances in the instance group.
	MembershipCount *int64 `json:"membership_count" validate:"required"`

	// The name for this instance group. The name is unique across all instance groups in the region.
	Name *string `json:"name" validate:"required"`

	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The status of the instance group
	// - `deleting`: Group is being deleted
	// - `healthy`: Group has `membership_count` instances
	// - `scaling`: Instances in the group are being created or deleted to reach
	//              `membership_count`
	// - `unhealthy`: Group is unable to reach `membership_count` instances.
	Status *string `json:"status" validate:"required"`

	// The subnets to use when creating new instances.
	Subnets []SubnetReference `json:"subnets" validate:"required"`

	// The date and time that the instance group was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The VPC the instance group resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

InstanceGroup : InstanceGroup struct

type InstanceGroupCollection added in v0.1.0

type InstanceGroupCollection struct {
	// A link to the first page of resources.
	First *InstanceGroupCollectionFirst `json:"first" validate:"required"`

	// Collection of instance groups.
	InstanceGroups []InstanceGroup `json:"instance_groups" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceGroupCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceGroupCollection : InstanceGroupCollection struct

func (*InstanceGroupCollection) GetNextStart added in v0.8.0

func (resp *InstanceGroupCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type InstanceGroupCollectionFirst added in v0.1.0

type InstanceGroupCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupCollectionFirst : A link to the first page of resources.

type InstanceGroupCollectionNext added in v0.1.0

type InstanceGroupCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceGroupLifecycleReason added in v0.49.0

type InstanceGroupLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

InstanceGroupLifecycleReason : InstanceGroupLifecycleReason struct

type InstanceGroupManager added in v0.1.0

type InstanceGroupManager struct {
	// The date and time that the instance group manager was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled" validate:"required"`

	// The name for this instance group manager. The name is unique across all managers for the instance group.
	Name *string `json:"name" validate:"required"`

	// The date and time that the instance group manager was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The time window in seconds to aggregate metrics prior to evaluation.
	AggregationWindow *int64 `json:"aggregation_window,omitempty"`

	// The duration of time in seconds to pause further scale actions after scaling has taken place.
	Cooldown *int64 `json:"cooldown,omitempty"`

	// The type of instance group manager.
	ManagerType *string `json:"manager_type,omitempty"`

	// The maximum number of members in a managed instance group.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The minimum number of members in a managed instance group.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`

	// The policies of the instance group manager.
	Policies []InstanceGroupManagerPolicyReference `json:"policies,omitempty"`

	// The actions of the instance group manager.
	Actions []InstanceGroupManagerActionReference `json:"actions,omitempty"`
}

InstanceGroupManager : InstanceGroupManager struct Models which "extend" this model: - InstanceGroupManagerAutoScale - InstanceGroupManagerScheduled

type InstanceGroupManagerAction added in v0.6.0

type InstanceGroupManagerAction struct {
	// Indicates whether this scheduled action will be automatically deleted after it has completed and
	// `auto_delete_timeout` hours have passed. At present, this is always
	// `true`, but may be modifiable in the future.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// If `auto_delete` is `true`, and this scheduled action has finished, the hours after which it will be automatically
	// deleted. If the value is `0`, the action will be deleted once it has finished. This value may be modifiable in the
	// future.
	AutoDeleteTimeout *int64 `json:"auto_delete_timeout" validate:"required"`

	// The date and time that the instance group manager action was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager action.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager action.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager action. The name is unique across all actions for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the instance group action
	// - `active`: Action is ready to be run
	// - `completed`: Action was completed successfully
	// - `failed`: Action could not be completed successfully
	// - `incompatible`: Action parameters are not compatible with the group or manager
	// - `omitted`: Action was not applied because this action's manager was disabled.
	Status *string `json:"status" validate:"required"`

	// The date and time that the instance group manager action was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The type of action for the instance group.
	ActionType *string `json:"action_type,omitempty"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	// The date and time the scheduled action was last applied. If absent, the action has never been applied.
	LastAppliedAt *strfmt.DateTime `json:"last_applied_at,omitempty"`

	// The date and time the scheduled action will next run. If absent, the system is currently calculating the next run
	// time.
	NextRunAt *strfmt.DateTime `json:"next_run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroup `json:"group,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerIntf `json:"manager,omitempty"`
}

InstanceGroupManagerAction : InstanceGroupManagerAction struct Models which "extend" this model: - InstanceGroupManagerActionScheduledAction

type InstanceGroupManagerActionGroupPatch added in v0.7.0

type InstanceGroupManagerActionGroupPatch struct {
	// The desired number of instance group members at the scheduled time.
	MembershipCount *int64 `json:"membership_count,omitempty"`
}

InstanceGroupManagerActionGroupPatch : InstanceGroupManagerActionGroupPatch struct

type InstanceGroupManagerActionIntf added in v0.6.0

type InstanceGroupManagerActionIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerActionManagerPatch added in v0.7.0

type InstanceGroupManagerActionManagerPatch struct {
	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`
}

InstanceGroupManagerActionManagerPatch : InstanceGroupManagerActionManagerPatch struct

type InstanceGroupManagerActionPatch added in v0.6.0

type InstanceGroupManagerActionPatch struct {
	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	Group *InstanceGroupManagerActionGroupPatch `json:"group,omitempty"`

	Manager *InstanceGroupManagerActionManagerPatch `json:"manager,omitempty"`

	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager.
	Name *string `json:"name,omitempty"`

	// The date and time the scheduled action will run.
	RunAt *strfmt.DateTime `json:"run_at,omitempty"`
}

InstanceGroupManagerActionPatch : InstanceGroupManagerActionPatch struct

func (*InstanceGroupManagerActionPatch) AsPatch added in v0.6.0

func (instanceGroupManagerActionPatch *InstanceGroupManagerActionPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceGroupManagerActionPatch

type InstanceGroupManagerActionPrototype added in v0.6.0

type InstanceGroupManagerActionPrototype struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The date and time the scheduled action will run.
	RunAt *strfmt.DateTime `json:"run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroupPrototype `json:"group,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerPrototypeIntf `json:"manager,omitempty"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`
}

InstanceGroupManagerActionPrototype : InstanceGroupManagerActionPrototype struct Models which "extend" this model: - InstanceGroupManagerActionPrototypeScheduledActionPrototype

type InstanceGroupManagerActionPrototypeIntf added in v0.6.0

type InstanceGroupManagerActionPrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerActionPrototypeScheduledActionPrototype added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototype struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The date and time the scheduled action will run.
	RunAt *strfmt.DateTime `json:"run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroupPrototype `json:"group,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerPrototypeIntf `json:"manager,omitempty"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototype : InstanceGroupManagerActionPrototypeScheduledActionPrototype struct Models which "extend" this model: - InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt - InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec This model "extends" InstanceGroupManagerActionPrototype

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroupPrototype `json:"group,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerPrototypeIntf `json:"manager,omitempty"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec : InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec struct Models which "extend" this model: - InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup - InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager This model "extends" InstanceGroupManagerActionPrototypeScheduledActionPrototype

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroupPrototype `json:"group" validate:"required"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup : InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup struct This model "extends" InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerPrototypeIntf `json:"manager" validate:"required"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager : InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager struct This model "extends" InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpec

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecIntf added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecIntf interface {
	InstanceGroupManagerActionPrototypeScheduledActionPrototypeIntf
	// contains filtered or unexported methods
}

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The date and time the scheduled action will run.
	RunAt *strfmt.DateTime `json:"run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroupPrototype `json:"group,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerPrototypeIntf `json:"manager,omitempty"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt : InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt struct Models which "extend" this model: - InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup - InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager This model "extends" InstanceGroupManagerActionPrototypeScheduledActionPrototype

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The date and time the scheduled action will run.
	RunAt *strfmt.DateTime `json:"run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroupPrototype `json:"group" validate:"required"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup : InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup struct This model "extends" InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager struct {
	// The name for this instance group manager action. The name must not be used by another action for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The date and time the scheduled action will run.
	RunAt *strfmt.DateTime `json:"run_at,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerPrototypeIntf `json:"manager" validate:"required"`
}

InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager : InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager struct This model "extends" InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAt

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtIntf added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtIntf interface {
	InstanceGroupManagerActionPrototypeScheduledActionPrototypeIntf
	// contains filtered or unexported methods
}

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeIntf added in v0.6.0

type InstanceGroupManagerActionPrototypeScheduledActionPrototypeIntf interface {
	InstanceGroupManagerActionPrototypeIntf
	// contains filtered or unexported methods
}

type InstanceGroupManagerActionReference added in v0.6.0

type InstanceGroupManagerActionReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceGroupManagerActionReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance group manager action.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager action.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager action. The name is unique across all actions for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

InstanceGroupManagerActionReference : InstanceGroupManagerActionReference struct

type InstanceGroupManagerActionReferenceDeleted added in v0.6.0

type InstanceGroupManagerActionReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceGroupManagerActionReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceGroupManagerActionScheduledAction added in v0.6.0

type InstanceGroupManagerActionScheduledAction struct {
	// Indicates whether this scheduled action will be automatically deleted after it has completed and
	// `auto_delete_timeout` hours have passed. At present, this is always
	// `true`, but may be modifiable in the future.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// If `auto_delete` is `true`, and this scheduled action has finished, the hours after which it will be automatically
	// deleted. If the value is `0`, the action will be deleted once it has finished. This value may be modifiable in the
	// future.
	AutoDeleteTimeout *int64 `json:"auto_delete_timeout" validate:"required"`

	// The date and time that the instance group manager action was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager action.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager action.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager action. The name is unique across all actions for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the instance group action
	// - `active`: Action is ready to be run
	// - `completed`: Action was completed successfully
	// - `failed`: Action could not be completed successfully
	// - `incompatible`: Action parameters are not compatible with the group or manager
	// - `omitted`: Action was not applied because this action's manager was disabled.
	Status *string `json:"status" validate:"required"`

	// The date and time that the instance group manager action was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The type of action for the instance group.
	ActionType *string `json:"action_type" validate:"required"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	// The date and time the scheduled action was last applied. If absent, the action has never been applied.
	LastAppliedAt *strfmt.DateTime `json:"last_applied_at,omitempty"`

	// The date and time the scheduled action will next run. If absent, the system is currently calculating the next run
	// time.
	NextRunAt *strfmt.DateTime `json:"next_run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroup `json:"group,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerIntf `json:"manager,omitempty"`
}

InstanceGroupManagerActionScheduledAction : InstanceGroupManagerActionScheduledAction struct Models which "extend" this model: - InstanceGroupManagerActionScheduledActionGroupTarget - InstanceGroupManagerActionScheduledActionManagerTarget This model "extends" InstanceGroupManagerAction

type InstanceGroupManagerActionScheduledActionGroupTarget added in v0.7.0

type InstanceGroupManagerActionScheduledActionGroupTarget struct {
	// Indicates whether this scheduled action will be automatically deleted after it has completed and
	// `auto_delete_timeout` hours have passed. At present, this is always
	// `true`, but may be modifiable in the future.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// If `auto_delete` is `true`, and this scheduled action has finished, the hours after which it will be automatically
	// deleted. If the value is `0`, the action will be deleted once it has finished. This value may be modifiable in the
	// future.
	AutoDeleteTimeout *int64 `json:"auto_delete_timeout" validate:"required"`

	// The date and time that the instance group manager action was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager action.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager action.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager action. The name is unique across all actions for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the instance group action
	// - `active`: Action is ready to be run
	// - `completed`: Action was completed successfully
	// - `failed`: Action could not be completed successfully
	// - `incompatible`: Action parameters are not compatible with the group or manager
	// - `omitted`: Action was not applied because this action's manager was disabled.
	Status *string `json:"status" validate:"required"`

	// The date and time that the instance group manager action was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The type of action for the instance group.
	ActionType *string `json:"action_type" validate:"required"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	// The date and time the scheduled action was last applied. If absent, the action has never been applied.
	LastAppliedAt *strfmt.DateTime `json:"last_applied_at,omitempty"`

	// The date and time the scheduled action will next run. If absent, the system is currently calculating the next run
	// time.
	NextRunAt *strfmt.DateTime `json:"next_run_at,omitempty"`

	Group *InstanceGroupManagerScheduledActionGroup `json:"group" validate:"required"`
}

InstanceGroupManagerActionScheduledActionGroupTarget : InstanceGroupManagerActionScheduledActionGroupTarget struct This model "extends" InstanceGroupManagerActionScheduledAction

type InstanceGroupManagerActionScheduledActionIntf added in v0.6.0

type InstanceGroupManagerActionScheduledActionIntf interface {
	InstanceGroupManagerActionIntf
	// contains filtered or unexported methods
}

type InstanceGroupManagerActionScheduledActionManagerTarget added in v0.7.0

type InstanceGroupManagerActionScheduledActionManagerTarget struct {
	// Indicates whether this scheduled action will be automatically deleted after it has completed and
	// `auto_delete_timeout` hours have passed. At present, this is always
	// `true`, but may be modifiable in the future.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// If `auto_delete` is `true`, and this scheduled action has finished, the hours after which it will be automatically
	// deleted. If the value is `0`, the action will be deleted once it has finished. This value may be modifiable in the
	// future.
	AutoDeleteTimeout *int64 `json:"auto_delete_timeout" validate:"required"`

	// The date and time that the instance group manager action was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager action.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager action.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager action. The name is unique across all actions for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the instance group action
	// - `active`: Action is ready to be run
	// - `completed`: Action was completed successfully
	// - `failed`: Action could not be completed successfully
	// - `incompatible`: Action parameters are not compatible with the group or manager
	// - `omitted`: Action was not applied because this action's manager was disabled.
	Status *string `json:"status" validate:"required"`

	// The date and time that the instance group manager action was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The type of action for the instance group.
	ActionType *string `json:"action_type" validate:"required"`

	// The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min
	// period.
	CronSpec *string `json:"cron_spec,omitempty"`

	// The date and time the scheduled action was last applied. If absent, the action has never been applied.
	LastAppliedAt *strfmt.DateTime `json:"last_applied_at,omitempty"`

	// The date and time the scheduled action will next run. If absent, the system is currently calculating the next run
	// time.
	NextRunAt *strfmt.DateTime `json:"next_run_at,omitempty"`

	Manager InstanceGroupManagerScheduledActionManagerIntf `json:"manager" validate:"required"`
}

InstanceGroupManagerActionScheduledActionManagerTarget : InstanceGroupManagerActionScheduledActionManagerTarget struct This model "extends" InstanceGroupManagerActionScheduledAction

type InstanceGroupManagerActionsCollection added in v0.6.0

type InstanceGroupManagerActionsCollection struct {
	// Collection of instance group manager actions.
	Actions []InstanceGroupManagerActionIntf `json:"actions" validate:"required"`

	// A link to the first page of resources.
	First *InstanceGroupManagerActionsCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceGroupManagerActionsCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceGroupManagerActionsCollection : InstanceGroupManagerActionsCollection struct

func (*InstanceGroupManagerActionsCollection) GetNextStart added in v0.8.0

func (resp *InstanceGroupManagerActionsCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type InstanceGroupManagerActionsCollectionFirst added in v0.6.0

type InstanceGroupManagerActionsCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerActionsCollectionFirst : A link to the first page of resources.

type InstanceGroupManagerActionsCollectionNext added in v0.6.0

type InstanceGroupManagerActionsCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerActionsCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceGroupManagerActionsPager added in v0.25.0

type InstanceGroupManagerActionsPager struct {
	// contains filtered or unexported fields
}

InstanceGroupManagerActionsPager can be used to simplify the use of the "ListInstanceGroupManagerActions" method.

func (*InstanceGroupManagerActionsPager) GetAll added in v0.25.0

func (pager *InstanceGroupManagerActionsPager) GetAll() (allItems []InstanceGroupManagerActionIntf, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupManagerActionsPager) GetAllWithContext added in v0.25.0

func (pager *InstanceGroupManagerActionsPager) GetAllWithContext(ctx context.Context) (allItems []InstanceGroupManagerActionIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstanceGroupManagerActionsPager) GetNext added in v0.25.0

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupManagerActionsPager) GetNextWithContext added in v0.25.0

func (pager *InstanceGroupManagerActionsPager) GetNextWithContext(ctx context.Context) (page []InstanceGroupManagerActionIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstanceGroupManagerActionsPager) HasNext added in v0.25.0

func (pager *InstanceGroupManagerActionsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type InstanceGroupManagerAutoScale added in v0.5.0

type InstanceGroupManagerAutoScale struct {
	// The date and time that the instance group manager was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled" validate:"required"`

	// The name for this instance group manager. The name is unique across all managers for the instance group.
	Name *string `json:"name" validate:"required"`

	// The date and time that the instance group manager was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The time window in seconds to aggregate metrics prior to evaluation.
	AggregationWindow *int64 `json:"aggregation_window" validate:"required"`

	// The duration of time in seconds to pause further scale actions after scaling has taken place.
	Cooldown *int64 `json:"cooldown" validate:"required"`

	// The type of instance group manager.
	ManagerType *string `json:"manager_type" validate:"required"`

	// The maximum number of members in a managed instance group.
	MaxMembershipCount *int64 `json:"max_membership_count" validate:"required"`

	// The minimum number of members in a managed instance group.
	MinMembershipCount *int64 `json:"min_membership_count" validate:"required"`

	// The policies of the instance group manager.
	Policies []InstanceGroupManagerPolicyReference `json:"policies" validate:"required"`
}

InstanceGroupManagerAutoScale : InstanceGroupManagerAutoScale struct This model "extends" InstanceGroupManager

type InstanceGroupManagerCollection added in v0.1.0

type InstanceGroupManagerCollection struct {
	// A link to the first page of resources.
	First *InstanceGroupManagerCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of instance group managers.
	Managers []InstanceGroupManagerIntf `json:"managers" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceGroupManagerCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceGroupManagerCollection : InstanceGroupManagerCollection struct

func (*InstanceGroupManagerCollection) GetNextStart added in v0.8.0

func (resp *InstanceGroupManagerCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type InstanceGroupManagerCollectionFirst added in v0.1.0

type InstanceGroupManagerCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerCollectionFirst : A link to the first page of resources.

type InstanceGroupManagerCollectionNext added in v0.1.0

type InstanceGroupManagerCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceGroupManagerIntf added in v0.5.0

type InstanceGroupManagerIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerPatch added in v0.2.0

type InstanceGroupManagerPatch struct {
	// The time window in seconds to aggregate metrics prior to evaluation.
	AggregationWindow *int64 `json:"aggregation_window,omitempty"`

	// The duration of time in seconds to pause further scale actions after scaling has taken place.
	Cooldown *int64 `json:"cooldown,omitempty"`

	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled,omitempty"`

	// The maximum number of members in a managed instance group.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The minimum number of members in a managed instance group.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`

	// The name for this instance group manager. The name must not be used by another manager for the instance group.
	Name *string `json:"name,omitempty"`
}

InstanceGroupManagerPatch : InstanceGroupManagerPatch struct

func (*InstanceGroupManagerPatch) AsPatch added in v0.2.0

func (instanceGroupManagerPatch *InstanceGroupManagerPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceGroupManagerPatch

type InstanceGroupManagerPoliciesPager added in v0.25.0

type InstanceGroupManagerPoliciesPager struct {
	// contains filtered or unexported fields
}

InstanceGroupManagerPoliciesPager can be used to simplify the use of the "ListInstanceGroupManagerPolicies" method.

func (*InstanceGroupManagerPoliciesPager) GetAll added in v0.25.0

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupManagerPoliciesPager) GetAllWithContext added in v0.25.0

func (pager *InstanceGroupManagerPoliciesPager) GetAllWithContext(ctx context.Context) (allItems []InstanceGroupManagerPolicyIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstanceGroupManagerPoliciesPager) GetNext added in v0.25.0

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupManagerPoliciesPager) GetNextWithContext added in v0.25.0

func (pager *InstanceGroupManagerPoliciesPager) GetNextWithContext(ctx context.Context) (page []InstanceGroupManagerPolicyIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstanceGroupManagerPoliciesPager) HasNext added in v0.25.0

func (pager *InstanceGroupManagerPoliciesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type InstanceGroupManagerPolicy added in v0.1.0

type InstanceGroupManagerPolicy struct {
	// The date and time that the instance group manager policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager policy.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager policy.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager policy. The name is unique across all policies for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The date and time that the instance group manager policy was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The type of metric to be evaluated.
	MetricType *string `json:"metric_type,omitempty"`

	// The metric value to be evaluated.
	MetricValue *int64 `json:"metric_value,omitempty"`

	// The type of policy for the instance group.
	PolicyType *string `json:"policy_type,omitempty"`
}

InstanceGroupManagerPolicy : InstanceGroupManagerPolicy struct Models which "extend" this model: - InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy

type InstanceGroupManagerPolicyCollection added in v0.1.0

type InstanceGroupManagerPolicyCollection struct {
	// A link to the first page of resources.
	First *InstanceGroupManagerPolicyCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceGroupManagerPolicyCollectionNext `json:"next,omitempty"`

	// Collection of instance group manager policies.
	Policies []InstanceGroupManagerPolicyIntf `json:"policies" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceGroupManagerPolicyCollection : InstanceGroupManagerPolicyCollection struct

func (*InstanceGroupManagerPolicyCollection) GetNextStart added in v0.8.0

func (resp *InstanceGroupManagerPolicyCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type InstanceGroupManagerPolicyCollectionFirst added in v0.1.0

type InstanceGroupManagerPolicyCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerPolicyCollectionFirst : A link to the first page of resources.

type InstanceGroupManagerPolicyCollectionNext added in v0.1.0

type InstanceGroupManagerPolicyCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerPolicyCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy added in v0.1.0

type InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy struct {
	// The date and time that the instance group manager policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager policy.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager policy.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager policy. The name is unique across all policies for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`

	// The date and time that the instance group manager policy was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The type of metric to be evaluated.
	MetricType *string `json:"metric_type" validate:"required"`

	// The metric value to be evaluated.
	MetricValue *int64 `json:"metric_value" validate:"required"`

	// The type of policy for the instance group.
	PolicyType *string `json:"policy_type" validate:"required"`
}

InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy : InstanceGroupManagerPolicyInstanceGroupManagerTargetPolicy struct This model "extends" InstanceGroupManagerPolicy

type InstanceGroupManagerPolicyIntf added in v0.1.0

type InstanceGroupManagerPolicyIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerPolicyPatch added in v0.2.0

type InstanceGroupManagerPolicyPatch struct {
	// The type of metric to be evaluated.
	MetricType *string `json:"metric_type,omitempty"`

	// The metric value to be evaluated.
	MetricValue *int64 `json:"metric_value,omitempty"`

	// The name for this instance group manager policy. The name must not be used by another policy for the instance group
	// manager.
	Name *string `json:"name,omitempty"`
}

InstanceGroupManagerPolicyPatch : InstanceGroupManagerPolicyPatch struct

func (*InstanceGroupManagerPolicyPatch) AsPatch added in v0.2.0

func (instanceGroupManagerPolicyPatch *InstanceGroupManagerPolicyPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceGroupManagerPolicyPatch

type InstanceGroupManagerPolicyPrototype added in v0.1.0

type InstanceGroupManagerPolicyPrototype struct {
	// The name for this instance group manager policy. The name must not be used by another policy for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The type of metric to be evaluated.
	MetricType *string `json:"metric_type,omitempty"`

	// The metric value to be evaluated.
	MetricValue *int64 `json:"metric_value,omitempty"`

	// The type of policy for the instance group.
	PolicyType *string `json:"policy_type,omitempty"`
}

InstanceGroupManagerPolicyPrototype : InstanceGroupManagerPolicyPrototype struct Models which "extend" this model: - InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype

type InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype added in v0.1.0

type InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype struct {
	// The name for this instance group manager policy. The name must not be used by another policy for the instance group
	// manager. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The type of metric to be evaluated.
	MetricType *string `json:"metric_type" validate:"required"`

	// The metric value to be evaluated.
	MetricValue *int64 `json:"metric_value" validate:"required"`

	// The type of policy for the instance group.
	PolicyType *string `json:"policy_type" validate:"required"`
}

InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype : InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype struct This model "extends" InstanceGroupManagerPolicyPrototype

type InstanceGroupManagerPolicyPrototypeIntf added in v0.1.0

type InstanceGroupManagerPolicyPrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerPolicyReference added in v0.1.0

type InstanceGroupManagerPolicyReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceGroupManagerPolicyReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance group manager policy.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager policy.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager policy. The name is unique across all policies for the instance group
	// manager.
	Name *string `json:"name" validate:"required"`
}

InstanceGroupManagerPolicyReference : InstanceGroupManagerPolicyReference struct

type InstanceGroupManagerPolicyReferenceDeleted added in v0.3.0

type InstanceGroupManagerPolicyReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceGroupManagerPolicyReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceGroupManagerPrototype added in v0.1.0

type InstanceGroupManagerPrototype struct {
	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled,omitempty"`

	// The name for this instance group manager. The name must not be used by another manager for the instance group. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The time window in seconds to aggregate metrics prior to evaluation.
	AggregationWindow *int64 `json:"aggregation_window,omitempty"`

	// The duration of time in seconds to pause further scale actions after scaling has taken place.
	Cooldown *int64 `json:"cooldown,omitempty"`

	// The type of instance group manager.
	ManagerType *string `json:"manager_type,omitempty"`

	// The maximum number of members in a managed instance group.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The minimum number of members in a managed instance group.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`
}

InstanceGroupManagerPrototype : InstanceGroupManagerPrototype struct Models which "extend" this model: - InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype - InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype

type InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype added in v0.1.0

type InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype struct {
	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled,omitempty"`

	// The name for this instance group manager. The name must not be used by another manager for the instance group. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The time window in seconds to aggregate metrics prior to evaluation.
	AggregationWindow *int64 `json:"aggregation_window,omitempty"`

	// The duration of time in seconds to pause further scale actions after scaling has taken place.
	Cooldown *int64 `json:"cooldown,omitempty"`

	// The type of instance group manager.
	ManagerType *string `json:"manager_type" validate:"required"`

	// The maximum number of members in a managed instance group.
	MaxMembershipCount *int64 `json:"max_membership_count" validate:"required"`

	// The minimum number of members in a managed instance group.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`
}

InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype : InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype struct This model "extends" InstanceGroupManagerPrototype

type InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype added in v0.6.0

type InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype struct {
	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled,omitempty"`

	// The name for this instance group manager. The name must not be used by another manager for the instance group. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The type of instance group manager.
	ManagerType *string `json:"manager_type" validate:"required"`
}

InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype : InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype struct This model "extends" InstanceGroupManagerPrototype

type InstanceGroupManagerPrototypeIntf added in v0.1.0

type InstanceGroupManagerPrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerReference added in v0.1.0

type InstanceGroupManagerReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceGroupManagerReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance group manager.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager. The name is unique across all managers for the instance group.
	Name *string `json:"name" validate:"required"`
}

InstanceGroupManagerReference : InstanceGroupManagerReference struct

type InstanceGroupManagerReferenceDeleted added in v0.3.0

type InstanceGroupManagerReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceGroupManagerReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceGroupManagerScheduled added in v0.6.0

type InstanceGroupManagerScheduled struct {
	// The date and time that the instance group manager was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance group manager.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this manager will control the instance group.
	ManagementEnabled *bool `json:"management_enabled" validate:"required"`

	// The name for this instance group manager. The name is unique across all managers for the instance group.
	Name *string `json:"name" validate:"required"`

	// The date and time that the instance group manager was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`

	// The actions of the instance group manager.
	Actions []InstanceGroupManagerActionReference `json:"actions" validate:"required"`

	// The type of instance group manager.
	ManagerType *string `json:"manager_type" validate:"required"`
}

InstanceGroupManagerScheduled : InstanceGroupManagerScheduled struct This model "extends" InstanceGroupManager

type InstanceGroupManagerScheduledActionGroup added in v0.7.0

type InstanceGroupManagerScheduledActionGroup struct {
	// The desired number of instance group members at the scheduled time.
	MembershipCount *int64 `json:"membership_count" validate:"required"`
}

InstanceGroupManagerScheduledActionGroup : InstanceGroupManagerScheduledActionGroup struct

type InstanceGroupManagerScheduledActionGroupPrototype added in v0.6.0

type InstanceGroupManagerScheduledActionGroupPrototype struct {
	// The desired number of instance group members at the scheduled time.
	MembershipCount *int64 `json:"membership_count" validate:"required"`
}

InstanceGroupManagerScheduledActionGroupPrototype : InstanceGroupManagerScheduledActionGroupPrototype struct

type InstanceGroupManagerScheduledActionManager added in v0.7.0

type InstanceGroupManagerScheduledActionManager struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceGroupManagerReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance group manager.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id,omitempty"`

	// The name for this instance group manager. The name is unique across all managers for the instance group.
	Name *string `json:"name,omitempty"`

	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`
}

InstanceGroupManagerScheduledActionManager : InstanceGroupManagerScheduledActionManager struct Models which "extend" this model: - InstanceGroupManagerScheduledActionManagerAutoScale

type InstanceGroupManagerScheduledActionManagerAutoScale added in v0.7.0

type InstanceGroupManagerScheduledActionManagerAutoScale struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceGroupManagerReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance group manager.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group manager. The name is unique across all managers for the instance group.
	Name *string `json:"name" validate:"required"`

	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`
}

InstanceGroupManagerScheduledActionManagerAutoScale : InstanceGroupManagerScheduledActionManagerAutoScale struct This model "extends" InstanceGroupManagerScheduledActionManager

type InstanceGroupManagerScheduledActionManagerIntf added in v0.7.0

type InstanceGroupManagerScheduledActionManagerIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagerScheduledActionManagerPrototype added in v0.7.0

type InstanceGroupManagerScheduledActionManagerPrototype struct {
	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id,omitempty"`

	// The URL for this instance group manager.
	Href *string `json:"href,omitempty"`
}

InstanceGroupManagerScheduledActionManagerPrototype : InstanceGroupManagerScheduledActionManagerPrototype struct Models which "extend" this model: - InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype added in v0.7.0

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype struct {
	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id,omitempty"`

	// The URL for this instance group manager.
	Href *string `json:"href,omitempty"`
}

InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype : The auto scale manager to update, and one or more properties to be updated. Either `id` or `href` must be specified, in addition to at least one of `min_membership_count` and `max_membership_count`. Models which "extend" this model: - InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID - InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref This model "extends" InstanceGroupManagerScheduledActionManagerPrototype

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref added in v0.7.0

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref struct {
	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`

	// The URL for this instance group manager.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref : InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref struct This model "extends" InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID added in v0.7.0

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID struct {
	// The desired maximum number of instance group members at the scheduled time.
	MaxMembershipCount *int64 `json:"max_membership_count,omitempty"`

	// The desired minimum number of instance group members at the scheduled time.
	MinMembershipCount *int64 `json:"min_membership_count,omitempty"`

	// The unique identifier for this instance group manager.
	ID *string `json:"id" validate:"required"`
}

InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID : InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID struct This model "extends" InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototype

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeIntf added in v0.7.0

type InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeIntf interface {
	InstanceGroupManagerScheduledActionManagerPrototypeIntf
	// contains filtered or unexported methods
}

type InstanceGroupManagerScheduledActionManagerPrototypeIntf added in v0.7.0

type InstanceGroupManagerScheduledActionManagerPrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceGroupManagersPager added in v0.25.0

type InstanceGroupManagersPager struct {
	// contains filtered or unexported fields
}

InstanceGroupManagersPager can be used to simplify the use of the "ListInstanceGroupManagers" method.

func (*InstanceGroupManagersPager) GetAll added in v0.25.0

func (pager *InstanceGroupManagersPager) GetAll() (allItems []InstanceGroupManagerIntf, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupManagersPager) GetAllWithContext added in v0.25.0

func (pager *InstanceGroupManagersPager) GetAllWithContext(ctx context.Context) (allItems []InstanceGroupManagerIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstanceGroupManagersPager) GetNext added in v0.25.0

func (pager *InstanceGroupManagersPager) GetNext() (page []InstanceGroupManagerIntf, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupManagersPager) GetNextWithContext added in v0.25.0

func (pager *InstanceGroupManagersPager) GetNextWithContext(ctx context.Context) (page []InstanceGroupManagerIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstanceGroupManagersPager) HasNext added in v0.25.0

func (pager *InstanceGroupManagersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type InstanceGroupMembership added in v0.1.0

type InstanceGroupMembership struct {
	// The date and time that the instance group manager policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If set to true, when deleting the membership the instance will also be deleted.
	DeleteInstanceOnMembershipDelete *bool `json:"delete_instance_on_membership_delete" validate:"required"`

	// The URL for this instance group membership.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group membership.
	ID *string `json:"id" validate:"required"`

	Instance *InstanceReference `json:"instance" validate:"required"`

	InstanceTemplate *InstanceTemplateReference `json:"instance_template" validate:"required"`

	// The name for this instance group membership. The name is unique across all memberships for the instance group.
	Name *string `json:"name" validate:"required"`

	PoolMember *LoadBalancerPoolMemberReference `json:"pool_member,omitempty"`

	// The status of the instance group membership
	// - `deleting`: Membership is deleting dependent resources
	// - `failed`: Membership was unable to maintain dependent resources
	// - `healthy`: Membership is active and serving in the group
	// - `pending`: Membership is waiting for dependent resources
	// - `unhealthy`: Membership has unhealthy dependent resources.
	Status *string `json:"status" validate:"required"`

	// The date and time that the instance group membership was updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

InstanceGroupMembership : InstanceGroupMembership struct

type InstanceGroupMembershipCollection added in v0.1.0

type InstanceGroupMembershipCollection struct {
	// A link to the first page of resources.
	First *InstanceGroupMembershipCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of instance group memberships.
	Memberships []InstanceGroupMembership `json:"memberships" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceGroupMembershipCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceGroupMembershipCollection : InstanceGroupMembershipCollection struct

func (*InstanceGroupMembershipCollection) GetNextStart added in v0.8.0

func (resp *InstanceGroupMembershipCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type InstanceGroupMembershipCollectionFirst added in v0.1.0

type InstanceGroupMembershipCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupMembershipCollectionFirst : A link to the first page of resources.

type InstanceGroupMembershipCollectionNext added in v0.1.0

type InstanceGroupMembershipCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceGroupMembershipCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceGroupMembershipPatch added in v0.2.0

type InstanceGroupMembershipPatch struct {
	// The name for this instance group membership. The name must not be used by another membership for the instance group
	// manager.
	Name *string `json:"name,omitempty"`
}

InstanceGroupMembershipPatch : InstanceGroupMembershipPatch struct

func (*InstanceGroupMembershipPatch) AsPatch added in v0.2.0

func (instanceGroupMembershipPatch *InstanceGroupMembershipPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceGroupMembershipPatch

type InstanceGroupMembershipsPager added in v0.25.0

type InstanceGroupMembershipsPager struct {
	// contains filtered or unexported fields
}

InstanceGroupMembershipsPager can be used to simplify the use of the "ListInstanceGroupMemberships" method.

func (*InstanceGroupMembershipsPager) GetAll added in v0.25.0

func (pager *InstanceGroupMembershipsPager) GetAll() (allItems []InstanceGroupMembership, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupMembershipsPager) GetAllWithContext added in v0.25.0

func (pager *InstanceGroupMembershipsPager) GetAllWithContext(ctx context.Context) (allItems []InstanceGroupMembership, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstanceGroupMembershipsPager) GetNext added in v0.25.0

func (pager *InstanceGroupMembershipsPager) GetNext() (page []InstanceGroupMembership, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupMembershipsPager) GetNextWithContext added in v0.25.0

func (pager *InstanceGroupMembershipsPager) GetNextWithContext(ctx context.Context) (page []InstanceGroupMembership, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstanceGroupMembershipsPager) HasNext added in v0.25.0

func (pager *InstanceGroupMembershipsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type InstanceGroupPatch added in v0.2.0

type InstanceGroupPatch struct {
	// The port to use for new load balancer pool members created by this instance group.
	//
	// This property must be set if and only if `load_balancer_pool` has been set.
	ApplicationPort *int64 `json:"application_port,omitempty"`

	// Instance template to use when creating new instances.
	//
	// Instance groups are not compatible with instance templates that specify `true` for
	// `default_trusted_profile.auto_link`.
	InstanceTemplate InstanceTemplateIdentityIntf `json:"instance_template,omitempty"`

	// The load balancer associated with `load_balancer_pool`.
	// The load balancer must have `instance_groups_supported` set to `true`.
	//
	// This property must be set if and only if `load_balancer_pool` has been set.
	LoadBalancer LoadBalancerIdentityIntf `json:"load_balancer,omitempty"`

	// If specified, this instance group will manage the load balancer pool. A pool member
	// will be created for each instance created by this group.  The specified load
	// balancer pool must not be used by another instance group in the VPC.
	//
	// If set, `load_balancer` and `application_port` must also be set.
	LoadBalancerPool LoadBalancerPoolIdentityIntf `json:"load_balancer_pool,omitempty"`

	// The number of instances in the instance group.
	MembershipCount *int64 `json:"membership_count,omitempty"`

	// The name for this instance group. The name must not be used by another instance group in the region.
	Name *string `json:"name,omitempty"`

	// The subnets to use when creating new instances.
	Subnets []SubnetIdentityIntf `json:"subnets,omitempty"`
}

InstanceGroupPatch : To add or update load balancer specification for an instance group the `membership_count` must first be set to 0.

func (*InstanceGroupPatch) AsPatch added in v0.2.0

func (instanceGroupPatch *InstanceGroupPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceGroupPatch

type InstanceGroupReference added in v0.1.0

type InstanceGroupReference struct {
	// The CRN for this instance group.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceGroupReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance group.
	ID *string `json:"id" validate:"required"`

	// The name for this instance group. The name is unique across all instance groups in the region.
	Name *string `json:"name" validate:"required"`
}

InstanceGroupReference : InstanceGroupReference struct

type InstanceGroupReferenceDeleted added in v0.3.0

type InstanceGroupReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceGroupReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceGroupsPager added in v0.25.0

type InstanceGroupsPager struct {
	// contains filtered or unexported fields
}

InstanceGroupsPager can be used to simplify the use of the "ListInstanceGroups" method.

func (*InstanceGroupsPager) GetAll added in v0.25.0

func (pager *InstanceGroupsPager) GetAll() (allItems []InstanceGroup, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupsPager) GetAllWithContext added in v0.25.0

func (pager *InstanceGroupsPager) GetAllWithContext(ctx context.Context) (allItems []InstanceGroup, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstanceGroupsPager) GetNext added in v0.25.0

func (pager *InstanceGroupsPager) GetNext() (page []InstanceGroup, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstanceGroupsPager) GetNextWithContext added in v0.25.0

func (pager *InstanceGroupsPager) GetNextWithContext(ctx context.Context) (page []InstanceGroup, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstanceGroupsPager) HasNext added in v0.25.0

func (pager *InstanceGroupsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type InstanceHealthReason added in v0.48.0

type InstanceHealthReason struct {
	// A reason code for this health state:
	// - `reservation_capacity_unavailable`: The reservation affinity pool has no
	//   available capacity.
	// - `reservation_deleted`: The reservation affinity pool has a deleted reservation.
	// - `reservation_expired`: The reservation affinity pool has an expired reservation.
	// - `reservation_failed`: The reservation affinity pool has a failed reservation.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

InstanceHealthReason : InstanceHealthReason struct

type InstanceInitialization

type InstanceInitialization struct {
	// The default trusted profile configuration specified at virtual server instance
	// creation. If absent, no default trusted profile was specified.
	DefaultTrustedProfile *InstanceInitializationDefaultTrustedProfile `json:"default_trusted_profile,omitempty"`

	// The public SSH keys used at instance initialization.
	Keys []KeyReference `json:"keys" validate:"required"`

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

InstanceInitialization : InstanceInitialization struct

type InstanceInitializationDefaultTrustedProfile added in v0.17.0

type InstanceInitializationDefaultTrustedProfile struct {
	// If set to `true`, the system created a link to the specified `target` trusted profile during instance creation.
	// Regardless of whether a link was created by the system or manually using the IAM Identity service, it will be
	// automatically deleted when the instance is deleted.
	AutoLink *bool `json:"auto_link" validate:"required"`

	// The default IAM trusted profile to use for this virtual server instance.
	Target *TrustedProfileReference `json:"target" validate:"required"`
}

InstanceInitializationDefaultTrustedProfile : InstanceInitializationDefaultTrustedProfile struct

type InstanceInitializationPassword

type InstanceInitializationPassword struct {
	// The administrator password at initialization, encrypted using `encryption_key`, and returned base64-encoded.
	EncryptedPassword *[]byte `json:"encrypted_password" validate:"required"`

	// The public SSH key used to encrypt the administrator password.
	EncryptionKey *KeyIdentityByFingerprint `json:"encryption_key" validate:"required"`
}

InstanceInitializationPassword : InstanceInitializationPassword struct

type InstanceLifecycleReason added in v0.33.0

type InstanceLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

InstanceLifecycleReason : InstanceLifecycleReason struct

type InstanceMetadataService added in v0.17.0

type InstanceMetadataService struct {
	// Indicates whether the metadata service endpoint is available to the virtual server instance.
	Enabled *bool `json:"enabled" validate:"required"`

	// The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is
	// enabled.
	// - `http`: HTTP protocol (unencrypted)
	// - `https`: HTTP Secure protocol.
	Protocol *string `json:"protocol" validate:"required"`

	// The hop limit (IP time to live) for IP response packets from the metadata service. Applies only when the metadata
	// service is enabled.
	ResponseHopLimit *int64 `json:"response_hop_limit" validate:"required"`
}

InstanceMetadataService : The metadata service configuration.

type InstanceMetadataServicePatch added in v0.17.0

type InstanceMetadataServicePatch struct {
	// Indicates whether the metadata service endpoint will be available to the virtual server instance.
	Enabled *bool `json:"enabled,omitempty"`

	// The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is
	// enabled.
	// - `http`: HTTP protocol (unencrypted)
	// - `https`: HTTP Secure protocol.
	Protocol *string `json:"protocol,omitempty"`

	// The hop limit (IP time to live) for IP response packets from the metadata service. Applies only when the metadata
	// service is enabled.
	ResponseHopLimit *int64 `json:"response_hop_limit,omitempty"`
}

InstanceMetadataServicePatch : The metadata service configuration.

type InstanceMetadataServicePrototype added in v0.17.0

type InstanceMetadataServicePrototype struct {
	// Indicates whether the metadata service endpoint will be available to the virtual server instance.
	Enabled *bool `json:"enabled,omitempty"`

	// The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is
	// enabled.
	// - `http`: HTTP protocol (unencrypted)
	// - `https`: HTTP Secure protocol.
	Protocol *string `json:"protocol,omitempty"`

	// The hop limit (IP time to live) for IP response packets from the metadata service. Applies only when the metadata
	// service is enabled.
	ResponseHopLimit *int64 `json:"response_hop_limit,omitempty"`
}

InstanceMetadataServicePrototype : The metadata service configuration.

type InstanceNetworkAttachment added in v0.47.0

type InstanceNetworkAttachment struct {
	// The date and time that the instance network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this instance network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network attachment.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the instance network attachment.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this instance network attachment. The name is unique across all network attachments for the instance.
	Name *string `json:"name" validate:"required"`

	// The port speed for this instance network attachment in Mbps.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	// The primary IP address of the virtual network interface for the instance network
	// attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the instance network attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The instance network attachment type.
	Type *string `json:"type" validate:"required"`

	// The virtual network interface for this instance network attachment.
	VirtualNetworkInterface *VirtualNetworkInterfaceReferenceAttachmentContext `json:"virtual_network_interface" validate:"required"`
}

InstanceNetworkAttachment : InstanceNetworkAttachment struct

type InstanceNetworkAttachmentCollection added in v0.47.0

type InstanceNetworkAttachmentCollection struct {
	// Collection of instance network attachments.
	NetworkAttachments []InstanceNetworkAttachment `json:"network_attachments" validate:"required"`
}

InstanceNetworkAttachmentCollection : InstanceNetworkAttachmentCollection struct

type InstanceNetworkAttachmentPatch added in v0.47.0

type InstanceNetworkAttachmentPatch struct {
	// The name for this network attachment. The name must not be used by another network attachment for the instance.
	Name *string `json:"name,omitempty"`
}

InstanceNetworkAttachmentPatch : InstanceNetworkAttachmentPatch struct

func (*InstanceNetworkAttachmentPatch) AsPatch added in v0.47.0

func (instanceNetworkAttachmentPatch *InstanceNetworkAttachmentPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceNetworkAttachmentPatch

type InstanceNetworkAttachmentPrototype added in v0.47.0

type InstanceNetworkAttachmentPrototype struct {
	// The name for this network attachment. Names must be unique within the instance the network attachment resides in. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// A virtual network interface for the instance network attachment. This can be specified
	// using an existing virtual network interface, or a prototype object for a new virtual
	// network interface.
	//
	// If an existing virtual network interface is specified, `enable_infrastructure_nat` must be
	// `true`.
	VirtualNetworkInterface InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf `json:"virtual_network_interface" validate:"required"`
}

InstanceNetworkAttachmentPrototype : InstanceNetworkAttachmentPrototype struct

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterface added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterface struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use for this virtual network interface. If unspecified, the
	// virtual server instance's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

InstanceNetworkAttachmentPrototypeVirtualNetworkInterface : A virtual network interface for the instance network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.

If an existing virtual network interface is specified, `enable_infrastructure_nat` must be `true`. Models which "extend" this model: - InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext - InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf interface {
	// contains filtered or unexported methods
}

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" InstanceNetworkAttachmentPrototypeVirtualNetworkInterface

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityIntf interface {
	InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf
	// contains filtered or unexported methods
}

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentity

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext added in v0.47.0

type InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use for this virtual network interface. If unspecified, the
	// virtual server instance's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`
}

InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfacePrototypeInstanceNetworkAttachmentContext : The virtual network interface for this target. This model "extends" InstanceNetworkAttachmentPrototypeVirtualNetworkInterface

type InstanceNetworkAttachmentReference added in v0.47.0

type InstanceNetworkAttachmentReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceNetworkAttachmentReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network attachment. The name is unique across all network attachments for the instance.
	Name *string `json:"name" validate:"required"`

	// The primary IP address of the virtual network interface for the instance network
	// attachment.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the instance network attachment.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

InstanceNetworkAttachmentReference : InstanceNetworkAttachmentReference struct

type InstanceNetworkAttachmentReferenceDeleted added in v0.47.0

type InstanceNetworkAttachmentReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceNetworkAttachmentReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceNetworkInterfaceIpsPager added in v0.25.0

type InstanceNetworkInterfaceIpsPager struct {
	// contains filtered or unexported fields
}

InstanceNetworkInterfaceIpsPager can be used to simplify the use of the "ListInstanceNetworkInterfaceIps" method.

func (*InstanceNetworkInterfaceIpsPager) GetAll added in v0.25.0

func (pager *InstanceNetworkInterfaceIpsPager) GetAll() (allItems []ReservedIP, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstanceNetworkInterfaceIpsPager) GetAllWithContext added in v0.25.0

func (pager *InstanceNetworkInterfaceIpsPager) GetAllWithContext(ctx context.Context) (allItems []ReservedIP, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstanceNetworkInterfaceIpsPager) GetNext added in v0.25.0

func (pager *InstanceNetworkInterfaceIpsPager) GetNext() (page []ReservedIP, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstanceNetworkInterfaceIpsPager) GetNextWithContext added in v0.25.0

func (pager *InstanceNetworkInterfaceIpsPager) GetNextWithContext(ctx context.Context) (page []ReservedIP, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstanceNetworkInterfaceIpsPager) HasNext added in v0.25.0

func (pager *InstanceNetworkInterfaceIpsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type InstancePatch added in v0.2.0

type InstancePatch struct {
	// The availability policy for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPatch `json:"availability_policy,omitempty"`

	// The metadata service configuration.
	MetadataService *InstanceMetadataServicePatch `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. Changing the name will not affect the system hostname.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance. For the placement
	// restrictions to be changed, the instance `status` must be `stopping` or `stopped`.
	//
	// If set, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPatchIntf `json:"placement_target,omitempty"`

	// The profile to use for this virtual server instance. For the profile to be changed,
	// the instance `status` must be `stopping` or `stopped`. In addition, the requested
	// profile must:
	// - Have matching instance disk support. Any disks associated with the current profile
	//   will be deleted, and any disks associated with the requested profile will be
	//   created.
	// - Be compatible with any `placement_target` constraints. For example, if the
	//   instance is placed on a dedicated host, the requested profile `family` must be
	//   the same as the dedicated host `family`.
	// - Have the same `vcpu.architecture`.
	// - Support the number of network attachments or network interfaces the instance
	//   currently has.
	Profile InstancePatchProfileIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPatch `json:"reservation_affinity,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`
}

InstancePatch : InstancePatch struct

func (*InstancePatch) AsPatch added in v0.2.0

func (instancePatch *InstancePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstancePatch

type InstancePatchProfile added in v0.5.0

type InstancePatchProfile struct {
	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name,omitempty"`

	// The URL for this virtual server instance profile.
	Href *string `json:"href,omitempty"`
}

InstancePatchProfile : The profile to use for this virtual server instance. For the profile to be changed, the instance `status` must be `stopping` or `stopped`. In addition, the requested profile must:

  • Have matching instance disk support. Any disks associated with the current profile will be deleted, and any disks associated with the requested profile will be created.
  • Be compatible with any `placement_target` constraints. For example, if the instance is placed on a dedicated host, the requested profile `family` must be the same as the dedicated host `family`.
  • Have the same `vcpu.architecture`.
  • Support the number of network attachments or network interfaces the instance currently has.

Models which "extend" this model: - InstancePatchProfileInstanceProfileIdentityByName - InstancePatchProfileInstanceProfileIdentityByHref

type InstancePatchProfileInstanceProfileIdentityByHref added in v0.5.0

type InstancePatchProfileInstanceProfileIdentityByHref struct {
	// The URL for this virtual server instance profile.
	Href *string `json:"href" validate:"required"`
}

InstancePatchProfileInstanceProfileIdentityByHref : InstancePatchProfileInstanceProfileIdentityByHref struct This model "extends" InstancePatchProfile

type InstancePatchProfileInstanceProfileIdentityByName added in v0.5.0

type InstancePatchProfileInstanceProfileIdentityByName struct {
	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name" validate:"required"`
}

InstancePatchProfileInstanceProfileIdentityByName : InstancePatchProfileInstanceProfileIdentityByName struct This model "extends" InstancePatchProfile

type InstancePatchProfileIntf added in v0.5.0

type InstancePatchProfileIntf interface {
	// contains filtered or unexported methods
}

type InstancePlacementTarget added in v0.8.0

type InstancePlacementTarget struct {
	// The CRN for this dedicated host group.
	CRN *string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *DedicatedHostGroupReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this dedicated host group.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this dedicated host group.
	ID *string `json:"id,omitempty"`

	// The name for this dedicated host group. The name is unique across all dedicated host groups in the region.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

InstancePlacementTarget : InstancePlacementTarget struct Models which "extend" this model: - InstancePlacementTargetDedicatedHostGroupReference - InstancePlacementTargetDedicatedHostReference - InstancePlacementTargetPlacementGroupReference

type InstancePlacementTargetDedicatedHostGroupReference added in v0.8.0

type InstancePlacementTargetDedicatedHostGroupReference struct {
	// The CRN for this dedicated host group.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *DedicatedHostGroupReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this dedicated host group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this dedicated host group.
	ID *string `json:"id" validate:"required"`

	// The name for this dedicated host group. The name is unique across all dedicated host groups in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

InstancePlacementTargetDedicatedHostGroupReference : InstancePlacementTargetDedicatedHostGroupReference struct This model "extends" InstancePlacementTarget

type InstancePlacementTargetDedicatedHostReference added in v0.8.0

type InstancePlacementTargetDedicatedHostReference struct {
	// The CRN for this dedicated host.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *DedicatedHostReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this dedicated host.
	ID *string `json:"id" validate:"required"`

	// The name for this dedicated host. The name is unique across all dedicated hosts in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

InstancePlacementTargetDedicatedHostReference : InstancePlacementTargetDedicatedHostReference struct This model "extends" InstancePlacementTarget

type InstancePlacementTargetIntf added in v0.8.0

type InstancePlacementTargetIntf interface {
	// contains filtered or unexported methods
}

type InstancePlacementTargetPatch added in v0.16.0

type InstancePlacementTargetPatch struct {
	// The unique identifier for this dedicated host.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPatch : InstancePlacementTargetPatch struct Models which "extend" this model: - InstancePlacementTargetPatchDedicatedHostIdentity - InstancePlacementTargetPatchDedicatedHostGroupIdentity

type InstancePlacementTargetPatchDedicatedHostGroupIdentity added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostGroupIdentity struct {
	// The unique identifier for this dedicated host group.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host group.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host group.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPatchDedicatedHostGroupIdentity : Identifies a dedicated host group by a unique property. Models which "extend" this model: - InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID - InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN - InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref This model "extends" InstancePlacementTargetPatch

type InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN struct {
	// The CRN for this dedicated host group.
	CRN *string `json:"crn" validate:"required"`
}

InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN : InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN struct This model "extends" InstancePlacementTargetPatchDedicatedHostGroupIdentity

type InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref struct {
	// The URL for this dedicated host group.
	Href *string `json:"href" validate:"required"`
}

InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref : InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref struct This model "extends" InstancePlacementTargetPatchDedicatedHostGroupIdentity

type InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID struct {
	// The unique identifier for this dedicated host group.
	ID *string `json:"id" validate:"required"`
}

InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID : InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID struct This model "extends" InstancePlacementTargetPatchDedicatedHostGroupIdentity

type InstancePlacementTargetPatchDedicatedHostGroupIdentityIntf added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostGroupIdentityIntf interface {
	InstancePlacementTargetPatchIntf
	// contains filtered or unexported methods
}

type InstancePlacementTargetPatchDedicatedHostIdentity added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostIdentity struct {
	// The unique identifier for this dedicated host.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPatchDedicatedHostIdentity : Identifies a dedicated host by a unique property. Models which "extend" this model: - InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID - InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN - InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref This model "extends" InstancePlacementTargetPatch

type InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN struct {
	// The CRN for this dedicated host.
	CRN *string `json:"crn" validate:"required"`
}

InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN : InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN struct This model "extends" InstancePlacementTargetPatchDedicatedHostIdentity

type InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref struct {
	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`
}

InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref : InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref struct This model "extends" InstancePlacementTargetPatchDedicatedHostIdentity

type InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID struct {
	// The unique identifier for this dedicated host.
	ID *string `json:"id" validate:"required"`
}

InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID : InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID struct This model "extends" InstancePlacementTargetPatchDedicatedHostIdentity

type InstancePlacementTargetPatchDedicatedHostIdentityIntf added in v0.16.0

type InstancePlacementTargetPatchDedicatedHostIdentityIntf interface {
	InstancePlacementTargetPatchIntf
	// contains filtered or unexported methods
}

type InstancePlacementTargetPatchIntf added in v0.16.0

type InstancePlacementTargetPatchIntf interface {
	// contains filtered or unexported methods
}

type InstancePlacementTargetPlacementGroupReference added in v0.9.0

type InstancePlacementTargetPlacementGroupReference struct {
	// The CRN for this placement group.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *PlacementGroupReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this placement group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this placement group.
	ID *string `json:"id" validate:"required"`

	// The name for this placement group. The name is unique across all placement groups in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

InstancePlacementTargetPlacementGroupReference : InstancePlacementTargetPlacementGroupReference struct This model "extends" InstancePlacementTarget

type InstancePlacementTargetPrototype added in v0.6.0

type InstancePlacementTargetPrototype struct {
	// The unique identifier for this dedicated host.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPrototype : InstancePlacementTargetPrototype struct Models which "extend" this model: - InstancePlacementTargetPrototypeDedicatedHostIdentity - InstancePlacementTargetPrototypeDedicatedHostGroupIdentity - InstancePlacementTargetPrototypePlacementGroupIdentity

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentity added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentity struct {
	// The unique identifier for this dedicated host group.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host group.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host group.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPrototypeDedicatedHostGroupIdentity : Identifies a dedicated host group by a unique property. Models which "extend" this model: - InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID - InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN - InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref This model "extends" InstancePlacementTargetPrototype

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN struct {
	// The CRN for this dedicated host group.
	CRN *string `json:"crn" validate:"required"`
}

InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN : InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN struct This model "extends" InstancePlacementTargetPrototypeDedicatedHostGroupIdentity

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref struct {
	// The URL for this dedicated host group.
	Href *string `json:"href" validate:"required"`
}

InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref : InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref struct This model "extends" InstancePlacementTargetPrototypeDedicatedHostGroupIdentity

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID struct {
	// The unique identifier for this dedicated host group.
	ID *string `json:"id" validate:"required"`
}

InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID : InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID struct This model "extends" InstancePlacementTargetPrototypeDedicatedHostGroupIdentity

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityIntf added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostGroupIdentityIntf interface {
	InstancePlacementTargetPrototypeIntf
	// contains filtered or unexported methods
}

type InstancePlacementTargetPrototypeDedicatedHostIdentity added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostIdentity struct {
	// The unique identifier for this dedicated host.
	ID *string `json:"id,omitempty"`

	// The CRN for this dedicated host.
	CRN *string `json:"crn,omitempty"`

	// The URL for this dedicated host.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPrototypeDedicatedHostIdentity : Identifies a dedicated host by a unique property. Models which "extend" this model: - InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID - InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN - InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref This model "extends" InstancePlacementTargetPrototype

type InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN struct {
	// The CRN for this dedicated host.
	CRN *string `json:"crn" validate:"required"`
}

InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN : InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN struct This model "extends" InstancePlacementTargetPrototypeDedicatedHostIdentity

type InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref struct {
	// The URL for this dedicated host.
	Href *string `json:"href" validate:"required"`
}

InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref : InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref struct This model "extends" InstancePlacementTargetPrototypeDedicatedHostIdentity

type InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID struct {
	// The unique identifier for this dedicated host.
	ID *string `json:"id" validate:"required"`
}

InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID : InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID struct This model "extends" InstancePlacementTargetPrototypeDedicatedHostIdentity

type InstancePlacementTargetPrototypeDedicatedHostIdentityIntf added in v0.6.0

type InstancePlacementTargetPrototypeDedicatedHostIdentityIntf interface {
	InstancePlacementTargetPrototypeIntf
	// contains filtered or unexported methods
}

type InstancePlacementTargetPrototypeIntf added in v0.6.0

type InstancePlacementTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstancePlacementTargetPrototypePlacementGroupIdentity added in v0.9.0

type InstancePlacementTargetPrototypePlacementGroupIdentity struct {
	// The unique identifier for this placement group.
	ID *string `json:"id,omitempty"`

	// The CRN for this placement group.
	CRN *string `json:"crn,omitempty"`

	// The URL for this placement group.
	Href *string `json:"href,omitempty"`
}

InstancePlacementTargetPrototypePlacementGroupIdentity : Identifies a placement group by a unique property. Models which "extend" this model: - InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID - InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN - InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref This model "extends" InstancePlacementTargetPrototype

type InstancePlacementTargetPrototypePlacementGroupIdentityIntf added in v0.9.0

type InstancePlacementTargetPrototypePlacementGroupIdentityIntf interface {
	InstancePlacementTargetPrototypeIntf
	// contains filtered or unexported methods
}

type InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN added in v0.9.0

type InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN struct {
	// The CRN for this placement group.
	CRN *string `json:"crn" validate:"required"`
}

InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN : InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN struct This model "extends" InstancePlacementTargetPrototypePlacementGroupIdentity

type InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref added in v0.9.0

type InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref struct {
	// The URL for this placement group.
	Href *string `json:"href" validate:"required"`
}

InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref : InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref struct This model "extends" InstancePlacementTargetPrototypePlacementGroupIdentity

type InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID added in v0.9.0

type InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID struct {
	// The unique identifier for this placement group.
	ID *string `json:"id" validate:"required"`
}

InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID : InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID struct This model "extends" InstancePlacementTargetPrototypePlacementGroupIdentity

type InstanceProfile

type InstanceProfile struct {
	Bandwidth InstanceProfileBandwidthIntf `json:"bandwidth" validate:"required"`

	// Collection of the instance profile's disks.
	Disks []InstanceProfileDisk `json:"disks" validate:"required"`

	// The product family this virtual server instance profile belongs to.
	Family *string `json:"family" validate:"required"`

	GpuCount InstanceProfileGpuIntf `json:"gpu_count,omitempty"`

	GpuManufacturer *InstanceProfileGpuManufacturer `json:"gpu_manufacturer,omitempty"`

	GpuMemory InstanceProfileGpuMemoryIntf `json:"gpu_memory,omitempty"`

	GpuModel *InstanceProfileGpuModel `json:"gpu_model,omitempty"`

	// The URL for this virtual server instance profile.
	Href *string `json:"href" validate:"required"`

	Memory InstanceProfileMemoryIntf `json:"memory" validate:"required"`

	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name" validate:"required"`

	NetworkAttachmentCount InstanceProfileNetworkAttachmentCountIntf `json:"network_attachment_count" validate:"required"`

	NetworkInterfaceCount InstanceProfileNetworkInterfaceCountIntf `json:"network_interface_count" validate:"required"`

	NumaCount InstanceProfileNumaCountIntf `json:"numa_count,omitempty"`

	OsArchitecture *InstanceProfileOsArchitecture `json:"os_architecture" validate:"required"`

	PortSpeed InstanceProfilePortSpeedIntf `json:"port_speed" validate:"required"`

	ReservationTerms *InstanceProfileReservationTerms `json:"reservation_terms" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the instance profile:
	// - `previous`:  This instance profile is an older revision, but remains provisionable and
	//   usable.
	// - `current`:  This profile is the latest revision.
	//
	// Revisions are indicated by the generation of an instance profile. Refer to the [profile naming conventions]
	// (https://cloud.ibm.com/docs/vpc?topic=vpc-profiles&interface=ui#profiles-naming-rule) for information on how
	// generations are defined within an instance profile.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	TotalVolumeBandwidth InstanceProfileVolumeBandwidthIntf `json:"total_volume_bandwidth" validate:"required"`

	VcpuArchitecture *InstanceProfileVcpuArchitecture `json:"vcpu_architecture" validate:"required"`

	VcpuCount InstanceProfileVcpuIntf `json:"vcpu_count" validate:"required"`

	VcpuManufacturer *InstanceProfileVcpuManufacturer `json:"vcpu_manufacturer" validate:"required"`
}

InstanceProfile : InstanceProfile struct

type InstanceProfileBandwidth

type InstanceProfileBandwidth struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileBandwidth : InstanceProfileBandwidth struct Models which "extend" this model: - InstanceProfileBandwidthFixed - InstanceProfileBandwidthRange - InstanceProfileBandwidthEnum - InstanceProfileBandwidthDependent

type InstanceProfileBandwidthDependent

type InstanceProfileBandwidthDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileBandwidthDependent : The total bandwidth shared across the network attachments or network interfaces and storage volumes of an instance with this profile depends on its configuration. This model "extends" InstanceProfileBandwidth

type InstanceProfileBandwidthEnum

type InstanceProfileBandwidthEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileBandwidthEnum : The permitted total bandwidth values (in megabits per second) shared across the network attachments or network interfaces and storage volumes of an instance with this profile. This model "extends" InstanceProfileBandwidth

type InstanceProfileBandwidthFixed

type InstanceProfileBandwidthFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileBandwidthFixed : The total bandwidth (in megabits per second) shared across the network attachments or network interfaces and storage volumes of an instance with this profile. This model "extends" InstanceProfileBandwidth

type InstanceProfileBandwidthIntf

type InstanceProfileBandwidthIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileBandwidthRange

type InstanceProfileBandwidthRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileBandwidthRange : The permitted total bandwidth range (in megabits per second) shared across the network attachments or network interfaces and storage volumes of an instance with this profile. This model "extends" InstanceProfileBandwidth

type InstanceProfileCollection

type InstanceProfileCollection struct {
	// Collection of virtual server instance profiles.
	Profiles []InstanceProfile `json:"profiles" validate:"required"`
}

InstanceProfileCollection : InstanceProfileCollection struct

type InstanceProfileDisk added in v0.5.0

type InstanceProfileDisk struct {
	Quantity InstanceProfileDiskQuantityIntf `json:"quantity" validate:"required"`

	Size InstanceProfileDiskSizeIntf `json:"size" validate:"required"`

	SupportedInterfaceTypes *InstanceProfileDiskSupportedInterfaces `json:"supported_interface_types" validate:"required"`
}

InstanceProfileDisk : Disks provided by this profile.

type InstanceProfileDiskQuantity added in v0.5.0

type InstanceProfileDiskQuantity struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileDiskQuantity : InstanceProfileDiskQuantity struct Models which "extend" this model: - InstanceProfileDiskQuantityFixed - InstanceProfileDiskQuantityRange - InstanceProfileDiskQuantityEnum - InstanceProfileDiskQuantityDependent

type InstanceProfileDiskQuantityDependent added in v0.5.0

type InstanceProfileDiskQuantityDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileDiskQuantityDependent : The number of disks of this configuration for an instance with this profile depends on its instance configuration. This model "extends" InstanceProfileDiskQuantity

type InstanceProfileDiskQuantityEnum added in v0.5.0

type InstanceProfileDiskQuantityEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileDiskQuantityEnum : The permitted the number of disks of this configuration for an instance with this profile. This model "extends" InstanceProfileDiskQuantity

type InstanceProfileDiskQuantityFixed added in v0.5.0

type InstanceProfileDiskQuantityFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileDiskQuantityFixed : The number of disks of this configuration for an instance with this profile. This model "extends" InstanceProfileDiskQuantity

type InstanceProfileDiskQuantityIntf added in v0.5.0

type InstanceProfileDiskQuantityIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileDiskQuantityRange added in v0.5.0

type InstanceProfileDiskQuantityRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileDiskQuantityRange : The permitted range for the number of disks of this configuration for an instance with this profile. This model "extends" InstanceProfileDiskQuantity

type InstanceProfileDiskSize added in v0.5.0

type InstanceProfileDiskSize struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileDiskSize : InstanceProfileDiskSize struct Models which "extend" this model: - InstanceProfileDiskSizeFixed - InstanceProfileDiskSizeRange - InstanceProfileDiskSizeEnum - InstanceProfileDiskSizeDependent

type InstanceProfileDiskSizeDependent added in v0.5.0

type InstanceProfileDiskSizeDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileDiskSizeDependent : The disk size in GB (gigabytes) of this configuration for an instance with this profile depends on its instance configuration. This model "extends" InstanceProfileDiskSize

type InstanceProfileDiskSizeEnum added in v0.5.0

type InstanceProfileDiskSizeEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileDiskSizeEnum : The permitted disk size in GB (gigabytes) of this configuration for an instance with this profile. This model "extends" InstanceProfileDiskSize

type InstanceProfileDiskSizeFixed added in v0.5.0

type InstanceProfileDiskSizeFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileDiskSizeFixed : The size of the disk in GB (gigabytes). This model "extends" InstanceProfileDiskSize

type InstanceProfileDiskSizeIntf added in v0.5.0

type InstanceProfileDiskSizeIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileDiskSizeRange added in v0.5.0

type InstanceProfileDiskSizeRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileDiskSizeRange : The permitted range for the disk size of this configuration in GB (gigabytes) for an instance with this profile. This model "extends" InstanceProfileDiskSize

type InstanceProfileDiskSupportedInterfaces added in v0.5.0

type InstanceProfileDiskSupportedInterfaces struct {
	// The disk interface used for attaching the disk.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Default *string `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported disk interfaces used for attaching the disk.
	Values []string `json:"values" validate:"required"`
}

InstanceProfileDiskSupportedInterfaces : InstanceProfileDiskSupportedInterfaces struct

type InstanceProfileGpu added in v0.13.0

type InstanceProfileGpu struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileGpu : InstanceProfileGpu struct Models which "extend" this model: - InstanceProfileGpuFixed - InstanceProfileGpuRange - InstanceProfileGpuEnum - InstanceProfileGpuDependent

type InstanceProfileGpuDependent added in v0.13.0

type InstanceProfileGpuDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileGpuDependent : The GPU count for an instance with this profile depends on its configuration. This model "extends" InstanceProfileGpu

type InstanceProfileGpuEnum added in v0.13.0

type InstanceProfileGpuEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileGpuEnum : The permitted GPU count values for an instance with this profile. This model "extends" InstanceProfileGpu

type InstanceProfileGpuFixed added in v0.13.0

type InstanceProfileGpuFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileGpuFixed : The GPU count for an instance with this profile. This model "extends" InstanceProfileGpu

type InstanceProfileGpuIntf added in v0.13.0

type InstanceProfileGpuIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileGpuManufacturer added in v0.13.0

type InstanceProfileGpuManufacturer struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The possible GPU manufacturer(s) for an instance with this profile.
	Values []string `json:"values" validate:"required"`
}

InstanceProfileGpuManufacturer : InstanceProfileGpuManufacturer struct

type InstanceProfileGpuMemory added in v0.13.0

type InstanceProfileGpuMemory struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileGpuMemory : InstanceProfileGpuMemory struct Models which "extend" this model: - InstanceProfileGpuMemoryFixed - InstanceProfileGpuMemoryRange - InstanceProfileGpuMemoryEnum - InstanceProfileGpuMemoryDependent

type InstanceProfileGpuMemoryDependent added in v0.13.0

type InstanceProfileGpuMemoryDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileGpuMemoryDependent : The overall GPU memory value for an instance with this profile depends on its configuration. This model "extends" InstanceProfileGpuMemory

type InstanceProfileGpuMemoryEnum added in v0.13.0

type InstanceProfileGpuMemoryEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileGpuMemoryEnum : The permitted overall GPU memory values in GiB (gibibytes) for an instance with this profile. This model "extends" InstanceProfileGpuMemory

type InstanceProfileGpuMemoryFixed added in v0.13.0

type InstanceProfileGpuMemoryFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileGpuMemoryFixed : The overall GPU memory in GiB (gibibytes) for an instance with this profile. This model "extends" InstanceProfileGpuMemory

type InstanceProfileGpuMemoryIntf added in v0.13.0

type InstanceProfileGpuMemoryIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileGpuMemoryRange added in v0.13.0

type InstanceProfileGpuMemoryRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileGpuMemoryRange : The permitted overall GPU memory range in GiB (gibibytes) for an instance with this profile. This model "extends" InstanceProfileGpuMemory

type InstanceProfileGpuModel added in v0.13.0

type InstanceProfileGpuModel struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The possible GPU model(s) for an instance with this profile.
	Values []string `json:"values" validate:"required"`
}

InstanceProfileGpuModel : InstanceProfileGpuModel struct

type InstanceProfileGpuRange added in v0.13.0

type InstanceProfileGpuRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileGpuRange : The permitted GPU count range for an instance with this profile. This model "extends" InstanceProfileGpu

type InstanceProfileIdentity

type InstanceProfileIdentity struct {
	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name,omitempty"`

	// The URL for this virtual server instance profile.
	Href *string `json:"href,omitempty"`
}

InstanceProfileIdentity : Identifies an instance profile by a unique property. Models which "extend" this model: - InstanceProfileIdentityByName - InstanceProfileIdentityByHref

type InstanceProfileIdentityByHref

type InstanceProfileIdentityByHref struct {
	// The URL for this virtual server instance profile.
	Href *string `json:"href" validate:"required"`
}

InstanceProfileIdentityByHref : InstanceProfileIdentityByHref struct This model "extends" InstanceProfileIdentity

type InstanceProfileIdentityByName

type InstanceProfileIdentityByName struct {
	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name" validate:"required"`
}

InstanceProfileIdentityByName : InstanceProfileIdentityByName struct This model "extends" InstanceProfileIdentity

type InstanceProfileIdentityIntf

type InstanceProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileMemory

type InstanceProfileMemory struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileMemory : InstanceProfileMemory struct Models which "extend" this model: - InstanceProfileMemoryFixed - InstanceProfileMemoryRange - InstanceProfileMemoryEnum - InstanceProfileMemoryDependent

type InstanceProfileMemoryDependent

type InstanceProfileMemoryDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileMemoryDependent : The memory value for an instance with this profile depends on its configuration. This model "extends" InstanceProfileMemory

type InstanceProfileMemoryEnum

type InstanceProfileMemoryEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileMemoryEnum : The permitted memory values (in gibibytes) for an instance with this profile. This model "extends" InstanceProfileMemory

type InstanceProfileMemoryFixed

type InstanceProfileMemoryFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileMemoryFixed : The memory (in gibibytes) for an instance with this profile. This model "extends" InstanceProfileMemory

type InstanceProfileMemoryIntf

type InstanceProfileMemoryIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileMemoryRange

type InstanceProfileMemoryRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileMemoryRange : The permitted memory range (in gibibytes) for an instance with this profile. This model "extends" InstanceProfileMemory

type InstanceProfileNetworkAttachmentCount added in v0.47.0

type InstanceProfileNetworkAttachmentCount struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type,omitempty"`
}

InstanceProfileNetworkAttachmentCount : InstanceProfileNetworkAttachmentCount struct Models which "extend" this model: - InstanceProfileNetworkAttachmentCountRange - InstanceProfileNetworkAttachmentCountDependent

type InstanceProfileNetworkAttachmentCountDependent added in v0.47.0

type InstanceProfileNetworkAttachmentCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileNetworkAttachmentCountDependent : The number of network attachments supported on an instance with this profile is dependent on its configuration. This model "extends" InstanceProfileNetworkAttachmentCount

type InstanceProfileNetworkAttachmentCountIntf added in v0.47.0

type InstanceProfileNetworkAttachmentCountIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileNetworkAttachmentCountRange added in v0.47.0

type InstanceProfileNetworkAttachmentCountRange struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileNetworkAttachmentCountRange : The number of network attachments supported on an instance with this profile. This model "extends" InstanceProfileNetworkAttachmentCount

type InstanceProfileNetworkInterfaceCount added in v0.35.0

type InstanceProfileNetworkInterfaceCount struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type,omitempty"`
}

InstanceProfileNetworkInterfaceCount : InstanceProfileNetworkInterfaceCount struct Models which "extend" this model: - InstanceProfileNetworkInterfaceCountRange - InstanceProfileNetworkInterfaceCountDependent

type InstanceProfileNetworkInterfaceCountDependent added in v0.35.0

type InstanceProfileNetworkInterfaceCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileNetworkInterfaceCountDependent : The number of network interfaces supported on an instance with this profile is dependent on its configuration. This model "extends" InstanceProfileNetworkInterfaceCount

type InstanceProfileNetworkInterfaceCountIntf added in v0.35.0

type InstanceProfileNetworkInterfaceCountIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileNetworkInterfaceCountRange added in v0.35.0

type InstanceProfileNetworkInterfaceCountRange struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileNetworkInterfaceCountRange : The number of network interfaces supported on an instance with this profile. This model "extends" InstanceProfileNetworkInterfaceCount

type InstanceProfileNumaCount added in v0.43.0

type InstanceProfileNumaCount struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`
}

InstanceProfileNumaCount : InstanceProfileNumaCount struct Models which "extend" this model: - InstanceProfileNumaCountFixed - InstanceProfileNumaCountDependent

type InstanceProfileNumaCountDependent added in v0.43.0

type InstanceProfileNumaCountDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileNumaCountDependent : The total number of NUMA nodes for an instance with this profile depends on its configuration and the capacity constraints within the zone. This model "extends" InstanceProfileNumaCount

type InstanceProfileNumaCountFixed added in v0.43.0

type InstanceProfileNumaCountFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileNumaCountFixed : The total number of NUMA nodes for an instance with this profile. This model "extends" InstanceProfileNumaCount

type InstanceProfileNumaCountIntf added in v0.43.0

type InstanceProfileNumaCountIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileOsArchitecture

type InstanceProfileOsArchitecture struct {
	// The default OS architecture for an instance with this profile.
	Default *string `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported OS architecture(s) for an instance with this profile.
	Values []string `json:"values" validate:"required"`
}

InstanceProfileOsArchitecture : InstanceProfileOsArchitecture struct

type InstanceProfilePortSpeed

type InstanceProfilePortSpeed struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`
}

InstanceProfilePortSpeed : InstanceProfilePortSpeed struct Models which "extend" this model: - InstanceProfilePortSpeedFixed - InstanceProfilePortSpeedDependent

type InstanceProfilePortSpeedDependent

type InstanceProfilePortSpeedDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfilePortSpeedDependent : The port speed of each network interface of an instance with this profile depends on its configuration. This model "extends" InstanceProfilePortSpeed

type InstanceProfilePortSpeedFixed

type InstanceProfilePortSpeedFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfilePortSpeedFixed : The maximum speed (in megabits per second) of each network interface of an instance with this profile. This model "extends" InstanceProfilePortSpeed

type InstanceProfilePortSpeedIntf

type InstanceProfilePortSpeedIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileReference

type InstanceProfileReference struct {
	// The URL for this virtual server instance profile.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

InstanceProfileReference : InstanceProfileReference struct

type InstanceProfileReservationTerms added in v0.48.0

type InstanceProfileReservationTerms struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported committed use terms for a reservation using this profile.
	Values []string `json:"values" validate:"required"`
}

InstanceProfileReservationTerms : InstanceProfileReservationTerms struct

type InstanceProfileVcpu

type InstanceProfileVcpu struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileVcpu : InstanceProfileVcpu struct Models which "extend" this model: - InstanceProfileVcpuFixed - InstanceProfileVcpuRange - InstanceProfileVcpuEnum - InstanceProfileVcpuDependent

type InstanceProfileVcpuArchitecture

type InstanceProfileVcpuArchitecture struct {
	// The default VCPU architecture for an instance with this profile.
	Default *string `json:"default,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The VCPU architecture for an instance with this profile.
	Value *string `json:"value" validate:"required"`
}

InstanceProfileVcpuArchitecture : InstanceProfileVcpuArchitecture struct

type InstanceProfileVcpuDependent

type InstanceProfileVcpuDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileVcpuDependent : The VCPU count for an instance with this profile depends on its configuration. This model "extends" InstanceProfileVcpu

type InstanceProfileVcpuEnum

type InstanceProfileVcpuEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileVcpuEnum : The permitted values for VCPU count for an instance with this profile. This model "extends" InstanceProfileVcpu

type InstanceProfileVcpuFixed

type InstanceProfileVcpuFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileVcpuFixed : The VCPU count for an instance with this profile. This model "extends" InstanceProfileVcpu

type InstanceProfileVcpuIntf

type InstanceProfileVcpuIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileVcpuManufacturer added in v0.35.0

type InstanceProfileVcpuManufacturer struct {
	// The default VCPU manufacturer for an instance with this profile.
	Default *string `json:"default,omitempty"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The VCPU manufacturer for an instance with this profile.
	Value *string `json:"value" validate:"required"`
}

InstanceProfileVcpuManufacturer : InstanceProfileVcpuManufacturer struct

type InstanceProfileVcpuRange

type InstanceProfileVcpuRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileVcpuRange : The permitted range for VCPU count for an instance with this profile. This model "extends" InstanceProfileVcpu

type InstanceProfileVolumeBandwidth added in v0.11.0

type InstanceProfileVolumeBandwidth struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

InstanceProfileVolumeBandwidth : InstanceProfileVolumeBandwidth struct Models which "extend" this model: - InstanceProfileVolumeBandwidthFixed - InstanceProfileVolumeBandwidthRange - InstanceProfileVolumeBandwidthEnum - InstanceProfileVolumeBandwidthDependent

type InstanceProfileVolumeBandwidthDependent added in v0.11.0

type InstanceProfileVolumeBandwidthDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileVolumeBandwidthDependent : The storage bandwidth shared across the storage volumes of an instance with this profile depends on its configuration. This model "extends" InstanceProfileVolumeBandwidth

type InstanceProfileVolumeBandwidthEnum added in v0.11.0

type InstanceProfileVolumeBandwidthEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

InstanceProfileVolumeBandwidthEnum : The permitted storage bandwidth values (in megabits per second) shared across the storage volumes of an instance with this profile. This model "extends" InstanceProfileVolumeBandwidth

type InstanceProfileVolumeBandwidthFixed added in v0.11.0

type InstanceProfileVolumeBandwidthFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

InstanceProfileVolumeBandwidthFixed : The storage bandwidth (in megabits per second) shared across the storage volumes of an instance with this profile. This model "extends" InstanceProfileVolumeBandwidth

type InstanceProfileVolumeBandwidthIntf added in v0.11.0

type InstanceProfileVolumeBandwidthIntf interface {
	// contains filtered or unexported methods
}

type InstanceProfileVolumeBandwidthRange added in v0.11.0

type InstanceProfileVolumeBandwidthRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

InstanceProfileVolumeBandwidthRange : The permitted storage bandwidth range (in megabits per second) shared across the storage volumes of an instance with this profile. This model "extends" InstanceProfileVolumeBandwidth

type InstancePrototype

type InstancePrototype struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not
	// subsequently managed. Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization)
	// property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	// The metadata service configuration.
	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this
	// virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change
	// in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network
	// attachments or instance network interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image,omitempty"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering
	// or offering version to use when provisioning this virtual server instance.
	//
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject
	// to IAM policies.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering,omitempty"`

	// The template to create this virtual server instance from.
	SourceTemplate InstanceTemplateIdentityIntf `json:"source_template,omitempty"`
}

InstancePrototype : InstancePrototype struct Models which "extend" this model: - InstancePrototypeInstanceByImage - InstancePrototypeInstanceByCatalogOffering - InstancePrototypeInstanceByVolume - InstancePrototypeInstanceBySourceSnapshot - InstancePrototypeInstanceBySourceTemplate

type InstancePrototypeInstanceByCatalogOffering added in v0.26.0

type InstancePrototypeInstanceByCatalogOffering struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering
	// or offering version to use when provisioning this virtual server instance.
	//
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject
	// to IAM policies.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstancePrototypeInstanceByCatalogOffering : Create an instance by using a catalog offering. Models which "extend" this model: - InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment - InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface This model "extends" InstancePrototype

type InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment added in v0.47.0

type InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment : InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment struct This model "extends" InstancePrototypeInstanceByCatalogOffering

type InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface added in v0.47.0

type InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface : InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface struct This model "extends" InstancePrototypeInstanceByCatalogOffering

type InstancePrototypeInstanceByCatalogOfferingIntf added in v0.47.0

type InstancePrototypeInstanceByCatalogOfferingIntf interface {
	InstancePrototypeIntf
	// contains filtered or unexported methods
}

type InstancePrototypeInstanceByImage

type InstancePrototypeInstanceByImage struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstancePrototypeInstanceByImage : Create an instance by using an image. Models which "extend" this model: - InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment - InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface This model "extends" InstancePrototype

type InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment added in v0.47.0

type InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment : InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment struct This model "extends" InstancePrototypeInstanceByImage

type InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface added in v0.47.0

type InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface : InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface struct This model "extends" InstancePrototypeInstanceByImage

type InstancePrototypeInstanceByImageIntf added in v0.47.0

type InstancePrototypeInstanceByImageIntf interface {
	InstancePrototypeIntf
	// contains filtered or unexported methods
}

type InstancePrototypeInstanceBySourceSnapshot added in v0.18.0

type InstancePrototypeInstanceBySourceSnapshot struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstancePrototypeInstanceBySourceSnapshot : Create an instance by using a snapshot. Models which "extend" this model: - InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment - InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface This model "extends" InstancePrototype

type InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment added in v0.47.0

type InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment : InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment struct This model "extends" InstancePrototypeInstanceBySourceSnapshot

type InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface added in v0.47.0

type InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface : InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface struct This model "extends" InstancePrototypeInstanceBySourceSnapshot

type InstancePrototypeInstanceBySourceSnapshotIntf added in v0.47.0

type InstancePrototypeInstanceBySourceSnapshotIntf interface {
	InstancePrototypeIntf
	// contains filtered or unexported methods
}

type InstancePrototypeInstanceBySourceTemplate added in v0.1.0

type InstancePrototypeInstanceBySourceTemplate struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user)
	// offering version to use when provisioning this virtual server instance.
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject to
	// IAM policies.
	//
	// If specified, `image` must not be specified, and `source_template` must not have
	// `image` specified.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image,omitempty"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`

	// The template to create this virtual server instance from.
	SourceTemplate InstanceTemplateIdentityIntf `json:"source_template" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`
}

InstancePrototypeInstanceBySourceTemplate : Create an instance by using an instance template.

The `primary_network_attachment` and `network_attachments` properties may only be specified if `primary_network_attachment` is specified in the source template.

The `primary_network_interface` and `network_interfaces` properties may only be specified if `primary_network_interface` is specified in the source template. This model "extends" InstancePrototype

type InstancePrototypeInstanceByVolume added in v0.7.0

type InstancePrototypeInstanceByVolume struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByVolumeContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstancePrototypeInstanceByVolume : Create an instance by using a boot volume. Models which "extend" this model: - InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment - InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface This model "extends" InstancePrototype

type InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment added in v0.47.0

type InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByVolumeContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment : InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment struct This model "extends" InstancePrototypeInstanceByVolume

type InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface added in v0.47.0

type InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this virtual server instance. The name must not be used by another virtual server instance in the
	// region. If unspecified, the name will be a hyphenated list of randomly-selected words.
	//
	// The system hostname will be based on this name.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByVolumeContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface : InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface struct This model "extends" InstancePrototypeInstanceByVolume

type InstancePrototypeInstanceByVolumeIntf added in v0.47.0

type InstancePrototypeInstanceByVolumeIntf interface {
	InstancePrototypeIntf
	// contains filtered or unexported methods
}

type InstancePrototypeIntf

type InstancePrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceReference

type InstanceReference struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual server instance. The name is unique across all virtual server instances in the region.
	Name *string `json:"name" validate:"required"`
}

InstanceReference : InstanceReference struct

type InstanceReferenceDeleted added in v0.3.0

type InstanceReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceReservationAffinity added in v0.48.0

type InstanceReservationAffinity struct {
	// The reservation affinity policy to use for this virtual server instance:
	// - `disabled`: Reservations will not be used
	// - `manual`: Reservations in `pool` are available for use.
	Policy *string `json:"policy" validate:"required"`

	// The pool of reservations available for use by this virtual server instance.
	Pool []ReservationReference `json:"pool" validate:"required"`
}

InstanceReservationAffinity : InstanceReservationAffinity struct

type InstanceReservationAffinityPatch added in v0.48.0

type InstanceReservationAffinityPatch struct {
	// The reservation affinity policy to use for this virtual server instance:
	// - `disabled`: Reservations will not be used
	// - `manual`: Reservations in `pool` are available for use.
	Policy *string `json:"policy,omitempty"`

	// The pool of reservations available for use by this virtual server instance, replacing the existing pool of
	// reservations.
	//
	// Specified reservations must have a `status` of `active`, and have the same `profile` and
	// `zone` as this virtual server instance.
	//
	// If `policy` is `manual`, a pool must be specified with at least one reservation. If
	// `policy` is `disabled` and a pool is specified, it must be empty.
	Pool []ReservationIdentityIntf `json:"pool,omitempty"`
}

InstanceReservationAffinityPatch : InstanceReservationAffinityPatch struct

type InstanceReservationAffinityPrototype added in v0.48.0

type InstanceReservationAffinityPrototype struct {
	// The reservation affinity policy to use for this virtual server instance:
	// - `disabled`: Reservations will not be used
	// - `manual`: Reservations in `pool` will be available for use
	//
	// The policy will default to `manual` if `pool` is not empty, and `disabled` otherwise.
	Policy *string `json:"policy,omitempty"`

	// The pool of reservations available for use by this virtual server instance.
	//
	// Specified reservations must have a `status` of `active`, and have the same `profile` and
	// `zone` as this virtual server instance.
	//
	// If `policy` is `manual`, a pool must be specified with at least one reservation. If
	// `policy` is `disabled` and a pool is specified, it must be empty.
	Pool []ReservationIdentityIntf `json:"pool,omitempty"`
}

InstanceReservationAffinityPrototype : InstanceReservationAffinityPrototype struct

type InstanceStatusReason added in v0.6.0

type InstanceStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

InstanceStatusReason : InstanceStatusReason struct

type InstanceTemplate added in v0.1.0

type InstanceTemplate struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not
	// subsequently managed. Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization)
	// property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	// The metadata service configuration.
	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this
	// virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change
	// in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network
	// attachments or instance network interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image,omitempty"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering
	// or offering version to use when provisioning this virtual server instance.
	//
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject
	// to IAM policies.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering,omitempty"`
}

InstanceTemplate : InstanceTemplate struct Models which "extend" this model: - InstanceTemplateInstanceByImageInstanceTemplateContext - InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext - InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext

type InstanceTemplateCollection added in v0.1.0

type InstanceTemplateCollection struct {
	// A link to the first page of resources.
	First *InstanceTemplateCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *InstanceTemplateCollectionNext `json:"next,omitempty"`

	// Collection of instance templates.
	Templates []InstanceTemplateIntf `json:"templates" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

InstanceTemplateCollection : InstanceTemplateCollection struct

type InstanceTemplateCollectionFirst added in v0.1.0

type InstanceTemplateCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceTemplateCollectionFirst : A link to the first page of resources.

type InstanceTemplateCollectionNext added in v0.1.0

type InstanceTemplateCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

InstanceTemplateCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type InstanceTemplateIdentity added in v0.1.0

type InstanceTemplateIdentity struct {
	// The unique identifier for this instance template.
	ID *string `json:"id,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href,omitempty"`

	// The CRN for this instance template.
	CRN *string `json:"crn,omitempty"`
}

InstanceTemplateIdentity : Identifies an instance template by a unique property. Models which "extend" this model: - InstanceTemplateIdentityByID - InstanceTemplateIdentityByHref - InstanceTemplateIdentityByCRN

type InstanceTemplateIdentityByCRN added in v0.1.0

type InstanceTemplateIdentityByCRN struct {
	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`
}

InstanceTemplateIdentityByCRN : InstanceTemplateIdentityByCRN struct This model "extends" InstanceTemplateIdentity

type InstanceTemplateIdentityByHref added in v0.1.0

type InstanceTemplateIdentityByHref struct {
	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`
}

InstanceTemplateIdentityByHref : InstanceTemplateIdentityByHref struct This model "extends" InstanceTemplateIdentity

type InstanceTemplateIdentityByID added in v0.1.0

type InstanceTemplateIdentityByID struct {
	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`
}

InstanceTemplateIdentityByID : InstanceTemplateIdentityByID struct This model "extends" InstanceTemplateIdentity

type InstanceTemplateIdentityIntf added in v0.1.0

type InstanceTemplateIdentityIntf interface {
	// contains filtered or unexported methods
}

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext added in v0.36.0

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering
	// or offering version to use when provisioning this virtual server instance.
	//
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject
	// to IAM policies.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext : Create an instance by using a catalog offering. Models which "extend" this model: - InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment - InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface This model "extends" InstanceTemplate

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment added in v0.47.0

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment : InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachment struct This model "extends" InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface added in v0.47.0

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface : InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterface struct This model "extends" InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContext

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextIntf added in v0.47.0

type InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextIntf interface {
	InstanceTemplateIntf
	// contains filtered or unexported methods
}

type InstanceTemplateInstanceByImageInstanceTemplateContext added in v0.36.0

type InstanceTemplateInstanceByImageInstanceTemplateContext struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstanceTemplateInstanceByImageInstanceTemplateContext : Create an instance by using an image. Models which "extend" this model: - InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment - InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface This model "extends" InstanceTemplate

type InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment added in v0.47.0

type InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment : InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachment struct This model "extends" InstanceTemplateInstanceByImageInstanceTemplateContext

type InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface added in v0.47.0

type InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface : InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterface struct This model "extends" InstanceTemplateInstanceByImageInstanceTemplateContext

type InstanceTemplateInstanceByImageInstanceTemplateContextIntf added in v0.47.0

type InstanceTemplateInstanceByImageInstanceTemplateContextIntf interface {
	InstanceTemplateIntf
	// contains filtered or unexported methods
}

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext added in v0.36.0

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext : Create an instance by using a snapshot. Models which "extend" this model: - InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment - InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface This model "extends" InstanceTemplate

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment added in v0.47.0

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment : InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachment struct This model "extends" InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface added in v0.47.0

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The date and time that the instance template was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group for this instance template.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface : InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterface struct This model "extends" InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContext

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextIntf added in v0.47.0

type InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextIntf interface {
	InstanceTemplateIntf
	// contains filtered or unexported methods
}

type InstanceTemplateIntf added in v0.1.0

type InstanceTemplateIntf interface {
	// contains filtered or unexported methods
}

type InstanceTemplatePatch added in v0.2.0

type InstanceTemplatePatch struct {
	// The name for this instance template. The name must not be used by another instance template in the region.
	Name *string `json:"name,omitempty"`
}

InstanceTemplatePatch : InstanceTemplatePatch struct

func (*InstanceTemplatePatch) AsPatch added in v0.2.0

func (instanceTemplatePatch *InstanceTemplatePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the InstanceTemplatePatch

type InstanceTemplatePrototype added in v0.1.0

type InstanceTemplatePrototype struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not
	// subsequently managed. Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization)
	// property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	// The metadata service configuration.
	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this
	// virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change
	// in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network
	// attachments or instance network interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image,omitempty"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user)
	// offering version to use when provisioning this virtual server instance.
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject to
	// IAM policies.
	//
	// If specified, `image` must not be specified, and `source_template` must not have
	// `image` specified.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering,omitempty"`

	// The template to create this virtual server instance from.
	SourceTemplate InstanceTemplateIdentityIntf `json:"source_template,omitempty"`
}

InstanceTemplatePrototype : InstanceTemplatePrototype struct Models which "extend" this model: - InstanceTemplatePrototypeInstanceTemplateByImage - InstanceTemplatePrototypeInstanceTemplateBySourceTemplate - InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot - InstanceTemplatePrototypeInstanceTemplateByCatalogOffering

type InstanceTemplatePrototypeInstanceTemplateByCatalogOffering added in v0.39.0

type InstanceTemplatePrototypeInstanceTemplateByCatalogOffering struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering
	// or offering version to use when provisioning this virtual server instance.
	//
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject
	// to IAM policies.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstanceTemplatePrototypeInstanceTemplateByCatalogOffering : Create an instance template that creates instances by using a catalog offering. Models which "extend" this model: - InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment - InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface This model "extends" InstanceTemplatePrototype

type InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment : InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment struct This model "extends" InstanceTemplatePrototypeInstanceTemplateByCatalogOffering

type InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface : InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface struct This model "extends" InstanceTemplatePrototypeInstanceTemplateByCatalogOffering

type InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingIntf added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingIntf interface {
	InstanceTemplatePrototypeIntf
	// contains filtered or unexported methods
}

type InstanceTemplatePrototypeInstanceTemplateByImage added in v0.39.0

type InstanceTemplatePrototypeInstanceTemplateByImage struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstanceTemplatePrototypeInstanceTemplateByImage : Create an instance template that creates instances by using an image. Models which "extend" this model: - InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment - InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface This model "extends" InstanceTemplatePrototype

type InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment : InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment struct This model "extends" InstanceTemplatePrototypeInstanceTemplateByImage

type InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface : InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface struct This model "extends" InstanceTemplatePrototypeInstanceTemplateByImage

type InstanceTemplatePrototypeInstanceTemplateByImageIntf added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateByImageIntf interface {
	InstanceTemplatePrototypeIntf
	// contains filtered or unexported methods
}

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot added in v0.39.0

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`
}

InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot : Create an instance template that creates instances by using a snapshot. Models which "extend" this model: - InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment - InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface This model "extends" InstanceTemplatePrototype

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment" validate:"required"`
}

InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment : InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment struct This model "extends" InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext `json:"boot_volume_attachment" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface" validate:"required"`
}

InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface : InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface struct This model "extends" InstanceTemplatePrototypeInstanceTemplateBySourceSnapshot

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotIntf added in v0.47.0

type InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotIntf interface {
	InstanceTemplatePrototypeIntf
	// contains filtered or unexported methods
}

type InstanceTemplatePrototypeInstanceTemplateBySourceTemplate added in v0.39.0

type InstanceTemplatePrototypeInstanceTemplateBySourceTemplate struct {
	// The availability policy to use for this virtual server instance.
	AvailabilityPolicy *InstanceAvailabilityPolicyPrototype `json:"availability_policy,omitempty"`

	// The default trusted profile configuration to use for this virtual server instance
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	DefaultTrustedProfile *InstanceDefaultTrustedProfilePrototype `json:"default_trusted_profile,omitempty"`

	// The public SSH keys for the administrative user of the virtual server instance. Keys will be made available to the
	// virtual server instance as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as
	// SSH authorized keys for the administrative user.
	//
	// For Windows images, the keys of type `rsa` must be specified, and one will be selected to encrypt [the administrator
	// password](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization). Keys are optional for other images, but if
	// no keys are specified, the instance will be inaccessible unless the specified image provides another means of
	// access.
	//
	// This property's value is used when provisioning the virtual server instance, but not subsequently managed.
	// Accordingly, it is reflected as an [instance
	// initialization](https://cloud.ibm.com/apidocs/vpc#get-instance-initialization) property.
	Keys []KeyIdentityIntf `json:"keys,omitempty"`

	MetadataService *InstanceMetadataServicePrototype `json:"metadata_service,omitempty"`

	// The name for this instance template. The name must not be used by another instance template in the region. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The placement restrictions to use for the virtual server instance.
	//
	// If specified, `reservation_affinity.policy` must be `disabled`.
	PlacementTarget InstancePlacementTargetPrototypeIntf `json:"placement_target,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this virtual server instance.
	//
	// If unspecified, `bx2-2x8` will be used, but this default value is expected to change in the future.
	Profile InstanceProfileIdentityIntf `json:"profile,omitempty"`

	ReservationAffinity *InstanceReservationAffinityPrototype `json:"reservation_affinity,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in
	// this value will result in a corresponding decrease to
	// `total_network_bandwidth`.
	TotalVolumeBandwidth *int64 `json:"total_volume_bandwidth,omitempty"`

	// [User data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the virtual server
	// instance.
	UserData *string `json:"user_data,omitempty"`

	// The additional volume attachments to create for the virtual server instance.
	VolumeAttachments []VolumeAttachmentPrototype `json:"volume_attachments,omitempty"`

	// The VPC this virtual server instance will reside in.
	//
	// If specified, it must match the VPC for the subnets of the instance network attachments or instance network
	// interfaces.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`

	// The boot volume attachment to create for the virtual server instance.
	BootVolumeAttachment *VolumeAttachmentPrototypeInstanceByImageContext `json:"boot_volume_attachment,omitempty"`

	// The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user)
	// offering version to use when provisioning this virtual server instance.
	// If an offering is specified, the latest version of that offering will be used.
	//
	// The specified offering or offering version may be in a different account, subject to
	// IAM policies.
	//
	// If specified, `image` must not be specified, and `source_template` must not have
	// `image` specified.
	CatalogOffering InstanceCatalogOfferingPrototypeIntf `json:"catalog_offering,omitempty"`

	// The image to use when provisioning the virtual server instance.
	Image ImageIdentityIntf `json:"image,omitempty"`

	// The additional network attachments to create for the virtual server instance.
	NetworkAttachments []InstanceNetworkAttachmentPrototype `json:"network_attachments,omitempty"`

	// The additional instance network interfaces to create.
	NetworkInterfaces []NetworkInterfacePrototype `json:"network_interfaces,omitempty"`

	// The primary network attachment to create for the virtual server instance.
	PrimaryNetworkAttachment *InstanceNetworkAttachmentPrototype `json:"primary_network_attachment,omitempty"`

	// The primary instance network interface to create.
	PrimaryNetworkInterface *NetworkInterfacePrototype `json:"primary_network_interface,omitempty"`

	// The template to create this virtual server instance from.
	SourceTemplate InstanceTemplateIdentityIntf `json:"source_template" validate:"required"`

	// The zone this virtual server instance will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`
}

InstanceTemplatePrototypeInstanceTemplateBySourceTemplate : Create an instance template from an existing source instance template.

The `primary_network_attachment` and `network_attachments` properties may only be specified if `primary_network_attachment` is specified in the source template.

The `primary_network_interface` and `network_interfaces` properties may only be specified if `primary_network_interface` is specified in the source template. This model "extends" InstanceTemplatePrototype

type InstanceTemplatePrototypeIntf added in v0.1.0

type InstanceTemplatePrototypeIntf interface {
	// contains filtered or unexported methods
}

type InstanceTemplateReference added in v0.1.0

type InstanceTemplateReference struct {
	// The CRN for this instance template.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceTemplateReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance template.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance template.
	ID *string `json:"id" validate:"required"`

	// The name for this instance template. The name is unique across all instance templates in the region.
	Name *string `json:"name" validate:"required"`
}

InstanceTemplateReference : InstanceTemplateReference struct

type InstanceTemplateReferenceDeleted added in v0.3.0

type InstanceTemplateReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

InstanceTemplateReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type InstanceVcpu

type InstanceVcpu struct {
	// The VCPU architecture.
	Architecture *string `json:"architecture" validate:"required"`

	// The number of VCPUs assigned.
	Count *int64 `json:"count" validate:"required"`

	// The VCPU manufacturer.
	Manufacturer *string `json:"manufacturer" validate:"required"`
}

InstanceVcpu : The virtual server instance VCPU configuration.

type InstancesPager added in v0.25.0

type InstancesPager struct {
	// contains filtered or unexported fields
}

InstancesPager can be used to simplify the use of the "ListInstances" method.

func (*InstancesPager) GetAll added in v0.25.0

func (pager *InstancesPager) GetAll() (allItems []Instance, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*InstancesPager) GetAllWithContext added in v0.25.0

func (pager *InstancesPager) GetAllWithContext(ctx context.Context) (allItems []Instance, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*InstancesPager) GetNext added in v0.25.0

func (pager *InstancesPager) GetNext() (page []Instance, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*InstancesPager) GetNextWithContext added in v0.25.0

func (pager *InstancesPager) GetNextWithContext(ctx context.Context) (page []Instance, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*InstancesPager) HasNext added in v0.25.0

func (pager *InstancesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type IpsecPoliciesPager added in v0.25.0

type IpsecPoliciesPager struct {
	// contains filtered or unexported fields
}

IpsecPoliciesPager can be used to simplify the use of the "ListIpsecPolicies" method.

func (*IpsecPoliciesPager) GetAll added in v0.25.0

func (pager *IpsecPoliciesPager) GetAll() (allItems []IPsecPolicy, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*IpsecPoliciesPager) GetAllWithContext added in v0.25.0

func (pager *IpsecPoliciesPager) GetAllWithContext(ctx context.Context) (allItems []IPsecPolicy, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*IpsecPoliciesPager) GetNext added in v0.25.0

func (pager *IpsecPoliciesPager) GetNext() (page []IPsecPolicy, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*IpsecPoliciesPager) GetNextWithContext added in v0.25.0

func (pager *IpsecPoliciesPager) GetNextWithContext(ctx context.Context) (page []IPsecPolicy, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*IpsecPoliciesPager) HasNext added in v0.25.0

func (pager *IpsecPoliciesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Key

type Key struct {
	// The date and time that the key was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this key.
	CRN *string `json:"crn" validate:"required"`

	// The fingerprint for this key.  The value is returned base64-encoded and prefixed with the hash algorithm (always
	// `SHA256`).
	Fingerprint *string `json:"fingerprint" validate:"required"`

	// The URL for this key.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this key.
	ID *string `json:"id" validate:"required"`

	// The length of this key (in bits).
	Length *int64 `json:"length" validate:"required"`

	// The name for this key. The name must not be used by another key in the region. If unspecified, the name will be a
	// hyphenated list of randomly-selected words.
	Name *string `json:"name" validate:"required"`

	// The public SSH key, consisting of two space-separated fields: the algorithm name, and the base64-encoded key.
	PublicKey *string `json:"public_key" validate:"required"`

	// The resource group for this key.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The crypto-system used by this key.
	Type *string `json:"type" validate:"required"`
}

Key : Key struct

type KeyCollection

type KeyCollection struct {
	// A link to the first page of resources.
	First *KeyCollectionFirst `json:"first" validate:"required"`

	// Collection of keys.
	Keys []Key `json:"keys" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *KeyCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

KeyCollection : KeyCollection struct

func (*KeyCollection) GetNextStart added in v0.8.0

func (resp *KeyCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type KeyCollectionFirst added in v0.9.0

type KeyCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

KeyCollectionFirst : A link to the first page of resources.

type KeyCollectionNext added in v0.8.0

type KeyCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

KeyCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type KeyIdentity

type KeyIdentity struct {
	// The unique identifier for this key.
	ID *string `json:"id,omitempty"`

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

	// The URL for this key.
	Href *string `json:"href,omitempty"`

	// The fingerprint for this key.  The value is returned base64-encoded and prefixed with the hash algorithm (always
	// `SHA256`).
	Fingerprint *string `json:"fingerprint,omitempty"`
}

KeyIdentity : Identifies a key by a unique property. Models which "extend" this model: - KeyIdentityByID - KeyIdentityByCRN - KeyIdentityByHref - KeyIdentityByFingerprint

type KeyIdentityByCRN

type KeyIdentityByCRN struct {
	// The CRN for this key.
	CRN *string `json:"crn" validate:"required"`
}

KeyIdentityByCRN : KeyIdentityByCRN struct This model "extends" KeyIdentity

type KeyIdentityByFingerprint

type KeyIdentityByFingerprint struct {
	// The fingerprint for this key.  The value is returned base64-encoded and prefixed with the hash algorithm (always
	// `SHA256`).
	Fingerprint *string `json:"fingerprint" validate:"required"`
}

KeyIdentityByFingerprint : KeyIdentityByFingerprint struct This model "extends" KeyIdentity

type KeyIdentityByHref

type KeyIdentityByHref struct {
	// The URL for this key.
	Href *string `json:"href" validate:"required"`
}

KeyIdentityByHref : KeyIdentityByHref struct This model "extends" KeyIdentity

type KeyIdentityByID

type KeyIdentityByID struct {
	// The unique identifier for this key.
	ID *string `json:"id" validate:"required"`
}

KeyIdentityByID : KeyIdentityByID struct This model "extends" KeyIdentity

type KeyIdentityIntf

type KeyIdentityIntf interface {
	// contains filtered or unexported methods
}

type KeyPatch added in v0.2.0

type KeyPatch struct {
	// The name for this key. The name must not be used by another key in the region.
	Name *string `json:"name,omitempty"`
}

KeyPatch : KeyPatch struct

func (*KeyPatch) AsPatch added in v0.2.0

func (keyPatch *KeyPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the KeyPatch

type KeyReference added in v0.10.0

type KeyReference struct {
	// The CRN for this key.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *KeyReferenceDeleted `json:"deleted,omitempty"`

	// The fingerprint for this key.  The value is returned base64-encoded and prefixed with the hash algorithm (always
	// `SHA256`).
	Fingerprint *string `json:"fingerprint" validate:"required"`

	// The URL for this key.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this key.
	ID *string `json:"id" validate:"required"`

	// The name for this key. The name is unique across all keys in the region.
	Name *string `json:"name" validate:"required"`
}

KeyReference : KeyReference struct

type KeyReferenceDeleted added in v0.3.0

type KeyReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

KeyReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type KeysPager added in v0.25.0

type KeysPager struct {
	// contains filtered or unexported fields
}

KeysPager can be used to simplify the use of the "ListKeys" method.

func (*KeysPager) GetAll added in v0.25.0

func (pager *KeysPager) GetAll() (allItems []Key, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*KeysPager) GetAllWithContext added in v0.25.0

func (pager *KeysPager) GetAllWithContext(ctx context.Context) (allItems []Key, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*KeysPager) GetNext added in v0.25.0

func (pager *KeysPager) GetNext() (page []Key, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*KeysPager) GetNextWithContext added in v0.25.0

func (pager *KeysPager) GetNextWithContext(ctx context.Context) (page []Key, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*KeysPager) HasNext added in v0.25.0

func (pager *KeysPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type LegacyCloudObjectStorageBucketIdentity added in v0.18.0

type LegacyCloudObjectStorageBucketIdentity struct {
	// The globally unique name of this Cloud Object Storage bucket.
	Name *string `json:"name,omitempty"`
}

LegacyCloudObjectStorageBucketIdentity : Identifies a Cloud Object Storage bucket by a unique property. Models which "extend" this model: - LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName

type LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName added in v0.18.0

type LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName struct {
	// The globally unique name of this Cloud Object Storage bucket.
	Name *string `json:"name" validate:"required"`
}

LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName : LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName struct This model "extends" LegacyCloudObjectStorageBucketIdentity

type LegacyCloudObjectStorageBucketIdentityIntf added in v0.18.0

type LegacyCloudObjectStorageBucketIdentityIntf interface {
	// contains filtered or unexported methods
}

type LegacyCloudObjectStorageBucketReference added in v0.18.0

type LegacyCloudObjectStorageBucketReference struct {
	// The globally unique name of this Cloud Object Storage bucket.
	Name *string `json:"name" validate:"required"`
}

LegacyCloudObjectStorageBucketReference : LegacyCloudObjectStorageBucketReference struct

type ListBackupPoliciesOptions added in v0.21.0

type ListBackupPoliciesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with an item in the `tags` property matching the exact specified tag.
	Tag *string `json:"tag,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBackupPoliciesOptions : The ListBackupPolicies options.

func (*ListBackupPoliciesOptions) SetHeaders added in v0.21.0

func (options *ListBackupPoliciesOptions) SetHeaders(param map[string]string) *ListBackupPoliciesOptions

SetHeaders : Allow user to set Headers

func (*ListBackupPoliciesOptions) SetLimit added in v0.21.0

func (_options *ListBackupPoliciesOptions) SetLimit(limit int64) *ListBackupPoliciesOptions

SetLimit : Allow user to set Limit

func (*ListBackupPoliciesOptions) SetName added in v0.21.0

SetName : Allow user to set Name

func (*ListBackupPoliciesOptions) SetResourceGroupID added in v0.21.0

func (_options *ListBackupPoliciesOptions) SetResourceGroupID(resourceGroupID string) *ListBackupPoliciesOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListBackupPoliciesOptions) SetStart added in v0.21.0

func (_options *ListBackupPoliciesOptions) SetStart(start string) *ListBackupPoliciesOptions

SetStart : Allow user to set Start

func (*ListBackupPoliciesOptions) SetTag added in v0.21.0

SetTag : Allow user to set Tag

type ListBackupPolicyJobsOptions added in v0.29.0

type ListBackupPolicyJobsOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// Filters the collection to backup policy jobs with a `status` property matching the specified value.
	Status *string `json:"status,omitempty"`

	// Filters the collection to backup policy jobs with a `backup_policy_plan.id` property matching the specified
	// identifier.
	BackupPolicyPlanID *string `json:"backup_policy_plan.id,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to backup policy jobs with a `source.id` property matching the specified identifier.
	SourceID *string `json:"source.id,omitempty"`

	// Filters the collection to backup policy jobs with an item in the `target_snapshots` property with an `id` property
	// matching the specified identifier.
	TargetSnapshotsID *string `json:"target_snapshots[].id,omitempty"`

	// Filters the collection to backup policy jobs with an item in the `target_snapshots` property with a `crn` property
	// matching the specified CRN.
	TargetSnapshotsCRN *string `json:"target_snapshots[].crn,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBackupPolicyJobsOptions : The ListBackupPolicyJobs options.

func (*ListBackupPolicyJobsOptions) SetBackupPolicyID added in v0.29.0

func (_options *ListBackupPolicyJobsOptions) SetBackupPolicyID(backupPolicyID string) *ListBackupPolicyJobsOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*ListBackupPolicyJobsOptions) SetBackupPolicyPlanID added in v0.29.0

func (_options *ListBackupPolicyJobsOptions) SetBackupPolicyPlanID(backupPolicyPlanID string) *ListBackupPolicyJobsOptions

SetBackupPolicyPlanID : Allow user to set BackupPolicyPlanID

func (*ListBackupPolicyJobsOptions) SetHeaders added in v0.29.0

func (options *ListBackupPolicyJobsOptions) SetHeaders(param map[string]string) *ListBackupPolicyJobsOptions

SetHeaders : Allow user to set Headers

func (*ListBackupPolicyJobsOptions) SetLimit added in v0.29.0

SetLimit : Allow user to set Limit

func (*ListBackupPolicyJobsOptions) SetSort added in v0.29.0

SetSort : Allow user to set Sort

func (*ListBackupPolicyJobsOptions) SetSourceID added in v0.29.0

func (_options *ListBackupPolicyJobsOptions) SetSourceID(sourceID string) *ListBackupPolicyJobsOptions

SetSourceID : Allow user to set SourceID

func (*ListBackupPolicyJobsOptions) SetStart added in v0.29.0

SetStart : Allow user to set Start

func (*ListBackupPolicyJobsOptions) SetStatus added in v0.29.0

func (_options *ListBackupPolicyJobsOptions) SetStatus(status string) *ListBackupPolicyJobsOptions

SetStatus : Allow user to set Status

func (*ListBackupPolicyJobsOptions) SetTargetSnapshotsCRN added in v0.29.0

func (_options *ListBackupPolicyJobsOptions) SetTargetSnapshotsCRN(targetSnapshotsCRN string) *ListBackupPolicyJobsOptions

SetTargetSnapshotsCRN : Allow user to set TargetSnapshotsCRN

func (*ListBackupPolicyJobsOptions) SetTargetSnapshotsID added in v0.29.0

func (_options *ListBackupPolicyJobsOptions) SetTargetSnapshotsID(targetSnapshotsID string) *ListBackupPolicyJobsOptions

SetTargetSnapshotsID : Allow user to set TargetSnapshotsID

type ListBackupPolicyPlansOptions added in v0.21.0

type ListBackupPolicyPlansOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBackupPolicyPlansOptions : The ListBackupPolicyPlans options.

func (*ListBackupPolicyPlansOptions) SetBackupPolicyID added in v0.21.0

func (_options *ListBackupPolicyPlansOptions) SetBackupPolicyID(backupPolicyID string) *ListBackupPolicyPlansOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*ListBackupPolicyPlansOptions) SetHeaders added in v0.21.0

SetHeaders : Allow user to set Headers

func (*ListBackupPolicyPlansOptions) SetName added in v0.21.0

SetName : Allow user to set Name

type ListBareMetalServerDisksOptions added in v0.16.0

type ListBareMetalServerDisksOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServerDisksOptions : The ListBareMetalServerDisks options.

func (*ListBareMetalServerDisksOptions) SetBareMetalServerID added in v0.16.0

func (_options *ListBareMetalServerDisksOptions) SetBareMetalServerID(bareMetalServerID string) *ListBareMetalServerDisksOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*ListBareMetalServerDisksOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

type ListBareMetalServerNetworkAttachmentsOptions added in v0.47.0

type ListBareMetalServerNetworkAttachmentsOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServerNetworkAttachmentsOptions : The ListBareMetalServerNetworkAttachments options.

func (*ListBareMetalServerNetworkAttachmentsOptions) SetBareMetalServerID added in v0.47.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*ListBareMetalServerNetworkAttachmentsOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*ListBareMetalServerNetworkAttachmentsOptions) SetLimit added in v0.47.0

SetLimit : Allow user to set Limit

func (*ListBareMetalServerNetworkAttachmentsOptions) SetStart added in v0.47.0

SetStart : Allow user to set Start

type ListBareMetalServerNetworkInterfaceFloatingIpsOptions added in v0.16.0

type ListBareMetalServerNetworkInterfaceFloatingIpsOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServerNetworkInterfaceFloatingIpsOptions : The ListBareMetalServerNetworkInterfaceFloatingIps options.

func (*ListBareMetalServerNetworkInterfaceFloatingIpsOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*ListBareMetalServerNetworkInterfaceFloatingIpsOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*ListBareMetalServerNetworkInterfaceFloatingIpsOptions) SetNetworkInterfaceID added in v0.16.0

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type ListBareMetalServerNetworkInterfaceIpsOptions added in v0.19.0

type ListBareMetalServerNetworkInterfaceIpsOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServerNetworkInterfaceIpsOptions : The ListBareMetalServerNetworkInterfaceIps options.

func (*ListBareMetalServerNetworkInterfaceIpsOptions) SetBareMetalServerID added in v0.19.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*ListBareMetalServerNetworkInterfaceIpsOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*ListBareMetalServerNetworkInterfaceIpsOptions) SetNetworkInterfaceID added in v0.19.0

func (_options *ListBareMetalServerNetworkInterfaceIpsOptions) SetNetworkInterfaceID(networkInterfaceID string) *ListBareMetalServerNetworkInterfaceIpsOptions

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type ListBareMetalServerNetworkInterfacesOptions added in v0.16.0

type ListBareMetalServerNetworkInterfacesOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServerNetworkInterfacesOptions : The ListBareMetalServerNetworkInterfaces options.

func (*ListBareMetalServerNetworkInterfacesOptions) SetBareMetalServerID added in v0.16.0

func (_options *ListBareMetalServerNetworkInterfacesOptions) SetBareMetalServerID(bareMetalServerID string) *ListBareMetalServerNetworkInterfacesOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*ListBareMetalServerNetworkInterfacesOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*ListBareMetalServerNetworkInterfacesOptions) SetLimit added in v0.16.0

SetLimit : Allow user to set Limit

func (*ListBareMetalServerNetworkInterfacesOptions) SetStart added in v0.16.0

SetStart : Allow user to set Start

type ListBareMetalServerProfilesOptions added in v0.16.0

type ListBareMetalServerProfilesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServerProfilesOptions : The ListBareMetalServerProfiles options.

func (*ListBareMetalServerProfilesOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*ListBareMetalServerProfilesOptions) SetLimit added in v0.16.0

SetLimit : Allow user to set Limit

func (*ListBareMetalServerProfilesOptions) SetStart added in v0.16.0

SetStart : Allow user to set Start

type ListBareMetalServersOptions added in v0.16.0

type ListBareMetalServersOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with a `vpc.id` property matching the specified identifier.
	VPCID *string `json:"vpc.id,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBareMetalServersOptions : The ListBareMetalServers options.

func (*ListBareMetalServersOptions) SetHeaders added in v0.16.0

func (options *ListBareMetalServersOptions) SetHeaders(param map[string]string) *ListBareMetalServersOptions

SetHeaders : Allow user to set Headers

func (*ListBareMetalServersOptions) SetLimit added in v0.16.0

SetLimit : Allow user to set Limit

func (*ListBareMetalServersOptions) SetName added in v0.16.0

SetName : Allow user to set Name

func (*ListBareMetalServersOptions) SetResourceGroupID added in v0.16.0

func (_options *ListBareMetalServersOptions) SetResourceGroupID(resourceGroupID string) *ListBareMetalServersOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListBareMetalServersOptions) SetStart added in v0.16.0

SetStart : Allow user to set Start

func (*ListBareMetalServersOptions) SetVPCCRN added in v0.16.0

func (_options *ListBareMetalServersOptions) SetVPCCRN(vpcCRN string) *ListBareMetalServersOptions

SetVPCCRN : Allow user to set VPCCRN

func (*ListBareMetalServersOptions) SetVPCID added in v0.16.0

SetVPCID : Allow user to set VPCID

func (*ListBareMetalServersOptions) SetVPCName added in v0.16.0

func (_options *ListBareMetalServersOptions) SetVPCName(vpcName string) *ListBareMetalServersOptions

SetVPCName : Allow user to set VPCName

type ListDedicatedHostDisksOptions added in v0.5.0

type ListDedicatedHostDisksOptions struct {
	// The dedicated host identifier.
	DedicatedHostID *string `json:"dedicated_host_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListDedicatedHostDisksOptions : The ListDedicatedHostDisks options.

func (*ListDedicatedHostDisksOptions) SetDedicatedHostID added in v0.5.0

func (_options *ListDedicatedHostDisksOptions) SetDedicatedHostID(dedicatedHostID string) *ListDedicatedHostDisksOptions

SetDedicatedHostID : Allow user to set DedicatedHostID

func (*ListDedicatedHostDisksOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

type ListDedicatedHostGroupsOptions added in v0.4.0

type ListDedicatedHostGroupsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `zone.name` property matching the exact specified name.
	ZoneName *string `json:"zone.name,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListDedicatedHostGroupsOptions : The ListDedicatedHostGroups options.

func (*ListDedicatedHostGroupsOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*ListDedicatedHostGroupsOptions) SetLimit added in v0.4.0

SetLimit : Allow user to set Limit

func (*ListDedicatedHostGroupsOptions) SetName added in v0.14.0

SetName : Allow user to set Name

func (*ListDedicatedHostGroupsOptions) SetResourceGroupID added in v0.4.0

func (_options *ListDedicatedHostGroupsOptions) SetResourceGroupID(resourceGroupID string) *ListDedicatedHostGroupsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListDedicatedHostGroupsOptions) SetStart added in v0.4.0

SetStart : Allow user to set Start

func (*ListDedicatedHostGroupsOptions) SetZoneName added in v0.4.0

func (_options *ListDedicatedHostGroupsOptions) SetZoneName(zoneName string) *ListDedicatedHostGroupsOptions

SetZoneName : Allow user to set ZoneName

type ListDedicatedHostProfilesOptions added in v0.4.0

type ListDedicatedHostProfilesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListDedicatedHostProfilesOptions : The ListDedicatedHostProfiles options.

func (*ListDedicatedHostProfilesOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*ListDedicatedHostProfilesOptions) SetLimit added in v0.4.0

SetLimit : Allow user to set Limit

func (*ListDedicatedHostProfilesOptions) SetStart added in v0.4.0

SetStart : Allow user to set Start

type ListDedicatedHostsOptions added in v0.4.0

type ListDedicatedHostsOptions struct {
	// Filters the collection to dedicated hosts with a `group.id` property matching the specified identifier.
	DedicatedHostGroupID *string `json:"dedicated_host_group.id,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `zone.name` property matching the exact specified name.
	ZoneName *string `json:"zone.name,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListDedicatedHostsOptions : The ListDedicatedHosts options.

func (*ListDedicatedHostsOptions) SetDedicatedHostGroupID added in v0.4.0

func (_options *ListDedicatedHostsOptions) SetDedicatedHostGroupID(dedicatedHostGroupID string) *ListDedicatedHostsOptions

SetDedicatedHostGroupID : Allow user to set DedicatedHostGroupID

func (*ListDedicatedHostsOptions) SetHeaders added in v0.4.0

func (options *ListDedicatedHostsOptions) SetHeaders(param map[string]string) *ListDedicatedHostsOptions

SetHeaders : Allow user to set Headers

func (*ListDedicatedHostsOptions) SetLimit added in v0.4.0

func (_options *ListDedicatedHostsOptions) SetLimit(limit int64) *ListDedicatedHostsOptions

SetLimit : Allow user to set Limit

func (*ListDedicatedHostsOptions) SetName added in v0.14.0

SetName : Allow user to set Name

func (*ListDedicatedHostsOptions) SetResourceGroupID added in v0.4.0

func (_options *ListDedicatedHostsOptions) SetResourceGroupID(resourceGroupID string) *ListDedicatedHostsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListDedicatedHostsOptions) SetStart added in v0.4.0

func (_options *ListDedicatedHostsOptions) SetStart(start string) *ListDedicatedHostsOptions

SetStart : Allow user to set Start

func (*ListDedicatedHostsOptions) SetZoneName added in v0.4.0

func (_options *ListDedicatedHostsOptions) SetZoneName(zoneName string) *ListDedicatedHostsOptions

SetZoneName : Allow user to set ZoneName

type ListEndpointGatewayIpsOptions added in v0.3.0

type ListEndpointGatewayIpsOptions struct {
	// The endpoint gateway identifier.
	EndpointGatewayID *string `json:"endpoint_gateway_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListEndpointGatewayIpsOptions : The ListEndpointGatewayIps options.

func (*ListEndpointGatewayIpsOptions) SetEndpointGatewayID added in v0.3.0

func (_options *ListEndpointGatewayIpsOptions) SetEndpointGatewayID(endpointGatewayID string) *ListEndpointGatewayIpsOptions

SetEndpointGatewayID : Allow user to set EndpointGatewayID

func (*ListEndpointGatewayIpsOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*ListEndpointGatewayIpsOptions) SetLimit added in v0.3.0

SetLimit : Allow user to set Limit

func (*ListEndpointGatewayIpsOptions) SetSort added in v0.3.0

SetSort : Allow user to set Sort

func (*ListEndpointGatewayIpsOptions) SetStart added in v0.3.0

SetStart : Allow user to set Start

type ListEndpointGatewaysOptions added in v0.3.0

type ListEndpointGatewaysOptions struct {
	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `vpc.id` property matching the specified identifier.
	VPCID *string `json:"vpc.id,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Filters the collection to endpoint gateways with an `allow_dns_resolution_binding` property matching the specified
	// value.
	AllowDnsResolutionBinding *bool `json:"allow_dns_resolution_binding,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListEndpointGatewaysOptions : The ListEndpointGateways options.

func (*ListEndpointGatewaysOptions) SetAllowDnsResolutionBinding added in v0.43.0

func (_options *ListEndpointGatewaysOptions) SetAllowDnsResolutionBinding(allowDnsResolutionBinding bool) *ListEndpointGatewaysOptions

SetAllowDnsResolutionBinding : Allow user to set AllowDnsResolutionBinding

func (*ListEndpointGatewaysOptions) SetHeaders added in v0.3.0

func (options *ListEndpointGatewaysOptions) SetHeaders(param map[string]string) *ListEndpointGatewaysOptions

SetHeaders : Allow user to set Headers

func (*ListEndpointGatewaysOptions) SetLimit added in v0.3.0

SetLimit : Allow user to set Limit

func (*ListEndpointGatewaysOptions) SetName added in v0.3.0

SetName : Allow user to set Name

func (*ListEndpointGatewaysOptions) SetResourceGroupID added in v0.3.0

func (_options *ListEndpointGatewaysOptions) SetResourceGroupID(resourceGroupID string) *ListEndpointGatewaysOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListEndpointGatewaysOptions) SetStart added in v0.3.0

SetStart : Allow user to set Start

func (*ListEndpointGatewaysOptions) SetVPCCRN added in v0.43.0

func (_options *ListEndpointGatewaysOptions) SetVPCCRN(vpcCRN string) *ListEndpointGatewaysOptions

SetVPCCRN : Allow user to set VPCCRN

func (*ListEndpointGatewaysOptions) SetVPCID added in v0.43.0

SetVPCID : Allow user to set VPCID

func (*ListEndpointGatewaysOptions) SetVPCName added in v0.43.0

func (_options *ListEndpointGatewaysOptions) SetVPCName(vpcName string) *ListEndpointGatewaysOptions

SetVPCName : Allow user to set VPCName

type ListFloatingIpsOptions

type ListFloatingIpsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to resources with a `target.id` property matching the specified identifier.
	TargetID *string `json:"target.id,omitempty"`

	// Filters the collection to resources with a `target.crn` property matching the specified CRN.
	TargetCRN *string `json:"target.crn,omitempty"`

	// Filters the collection to resources with a `target.name` property matching the exact specified name.
	TargetName *string `json:"target.name,omitempty"`

	// Filters the collection to resources with a `target.resource_type` property matching the specified value.
	TargetResourceType *string `json:"target.resource_type,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListFloatingIpsOptions : The ListFloatingIps options.

func (*ListFloatingIpsOptions) SetHeaders

func (options *ListFloatingIpsOptions) SetHeaders(param map[string]string) *ListFloatingIpsOptions

SetHeaders : Allow user to set Headers

func (*ListFloatingIpsOptions) SetLimit

func (_options *ListFloatingIpsOptions) SetLimit(limit int64) *ListFloatingIpsOptions

SetLimit : Allow user to set Limit

func (*ListFloatingIpsOptions) SetResourceGroupID

func (_options *ListFloatingIpsOptions) SetResourceGroupID(resourceGroupID string) *ListFloatingIpsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListFloatingIpsOptions) SetSort added in v0.20.0

func (_options *ListFloatingIpsOptions) SetSort(sort string) *ListFloatingIpsOptions

SetSort : Allow user to set Sort

func (*ListFloatingIpsOptions) SetStart

func (_options *ListFloatingIpsOptions) SetStart(start string) *ListFloatingIpsOptions

SetStart : Allow user to set Start

func (*ListFloatingIpsOptions) SetTargetCRN added in v0.47.0

func (_options *ListFloatingIpsOptions) SetTargetCRN(targetCRN string) *ListFloatingIpsOptions

SetTargetCRN : Allow user to set TargetCRN

func (*ListFloatingIpsOptions) SetTargetID added in v0.47.0

func (_options *ListFloatingIpsOptions) SetTargetID(targetID string) *ListFloatingIpsOptions

SetTargetID : Allow user to set TargetID

func (*ListFloatingIpsOptions) SetTargetName added in v0.47.0

func (_options *ListFloatingIpsOptions) SetTargetName(targetName string) *ListFloatingIpsOptions

SetTargetName : Allow user to set TargetName

func (*ListFloatingIpsOptions) SetTargetResourceType added in v0.47.0

func (_options *ListFloatingIpsOptions) SetTargetResourceType(targetResourceType string) *ListFloatingIpsOptions

SetTargetResourceType : Allow user to set TargetResourceType

type ListFlowLogCollectorsOptions

type ListFlowLogCollectorsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with a `vpc.id` property matching the specified identifier.
	VPCID *string `json:"vpc.id,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Filters the collection to resources with a `target.id` property matching the specified identifier.
	TargetID *string `json:"target.id,omitempty"`

	// Filters the collection to resources with a `target.resource_type` property matching the specified value.
	TargetResourceType *string `json:"target.resource_type,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListFlowLogCollectorsOptions : The ListFlowLogCollectors options.

func (*ListFlowLogCollectorsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListFlowLogCollectorsOptions) SetLimit

SetLimit : Allow user to set Limit

func (*ListFlowLogCollectorsOptions) SetName

SetName : Allow user to set Name

func (*ListFlowLogCollectorsOptions) SetResourceGroupID

func (_options *ListFlowLogCollectorsOptions) SetResourceGroupID(resourceGroupID string) *ListFlowLogCollectorsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListFlowLogCollectorsOptions) SetStart

SetStart : Allow user to set Start

func (*ListFlowLogCollectorsOptions) SetTargetID

func (_options *ListFlowLogCollectorsOptions) SetTargetID(targetID string) *ListFlowLogCollectorsOptions

SetTargetID : Allow user to set TargetID

func (*ListFlowLogCollectorsOptions) SetTargetResourceType

func (_options *ListFlowLogCollectorsOptions) SetTargetResourceType(targetResourceType string) *ListFlowLogCollectorsOptions

SetTargetResourceType : Allow user to set TargetResourceType

func (*ListFlowLogCollectorsOptions) SetVPCCRN

SetVPCCRN : Allow user to set VPCCRN

func (*ListFlowLogCollectorsOptions) SetVPCID

SetVPCID : Allow user to set VPCID

func (*ListFlowLogCollectorsOptions) SetVPCName

func (_options *ListFlowLogCollectorsOptions) SetVPCName(vpcName string) *ListFlowLogCollectorsOptions

SetVPCName : Allow user to set VPCName

type ListIkePoliciesOptions

type ListIkePoliciesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListIkePoliciesOptions : The ListIkePolicies options.

func (*ListIkePoliciesOptions) SetHeaders

func (options *ListIkePoliciesOptions) SetHeaders(param map[string]string) *ListIkePoliciesOptions

SetHeaders : Allow user to set Headers

func (*ListIkePoliciesOptions) SetLimit

func (_options *ListIkePoliciesOptions) SetLimit(limit int64) *ListIkePoliciesOptions

SetLimit : Allow user to set Limit

func (*ListIkePoliciesOptions) SetStart

func (_options *ListIkePoliciesOptions) SetStart(start string) *ListIkePoliciesOptions

SetStart : Allow user to set Start

type ListIkePolicyConnectionsOptions

type ListIkePolicyConnectionsOptions struct {
	// The IKE policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListIkePolicyConnectionsOptions : The ListIkePolicyConnections options.

func (*ListIkePolicyConnectionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListIkePolicyConnectionsOptions) SetID

SetID : Allow user to set ID

type ListImageExportJobsOptions added in v0.37.0

type ListImageExportJobsOptions struct {
	// The image identifier.
	ImageID *string `json:"image_id" validate:"required,ne="`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListImageExportJobsOptions : The ListImageExportJobs options.

func (*ListImageExportJobsOptions) SetHeaders added in v0.37.0

func (options *ListImageExportJobsOptions) SetHeaders(param map[string]string) *ListImageExportJobsOptions

SetHeaders : Allow user to set Headers

func (*ListImageExportJobsOptions) SetImageID added in v0.37.0

func (_options *ListImageExportJobsOptions) SetImageID(imageID string) *ListImageExportJobsOptions

SetImageID : Allow user to set ImageID

func (*ListImageExportJobsOptions) SetName added in v0.37.0

SetName : Allow user to set Name

type ListImagesOptions

type ListImagesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to images with a `status` property matching one of the specified comma-separated values.
	Status []string `json:"status,omitempty"`

	// Filters the collection to images with a `visibility` property matching the specified value.
	Visibility *string `json:"visibility,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListImagesOptions : The ListImages options.

func (*ListImagesOptions) SetHeaders

func (options *ListImagesOptions) SetHeaders(param map[string]string) *ListImagesOptions

SetHeaders : Allow user to set Headers

func (*ListImagesOptions) SetLimit

func (_options *ListImagesOptions) SetLimit(limit int64) *ListImagesOptions

SetLimit : Allow user to set Limit

func (*ListImagesOptions) SetName

func (_options *ListImagesOptions) SetName(name string) *ListImagesOptions

SetName : Allow user to set Name

func (*ListImagesOptions) SetResourceGroupID

func (_options *ListImagesOptions) SetResourceGroupID(resourceGroupID string) *ListImagesOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListImagesOptions) SetStart

func (_options *ListImagesOptions) SetStart(start string) *ListImagesOptions

SetStart : Allow user to set Start

func (*ListImagesOptions) SetStatus added in v0.40.0

func (_options *ListImagesOptions) SetStatus(status []string) *ListImagesOptions

SetStatus : Allow user to set Status

func (*ListImagesOptions) SetVisibility

func (_options *ListImagesOptions) SetVisibility(visibility string) *ListImagesOptions

SetVisibility : Allow user to set Visibility

type ListInstanceDisksOptions added in v0.5.0

type ListInstanceDisksOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceDisksOptions : The ListInstanceDisks options.

func (*ListInstanceDisksOptions) SetHeaders added in v0.5.0

func (options *ListInstanceDisksOptions) SetHeaders(param map[string]string) *ListInstanceDisksOptions

SetHeaders : Allow user to set Headers

func (*ListInstanceDisksOptions) SetInstanceID added in v0.5.0

func (_options *ListInstanceDisksOptions) SetInstanceID(instanceID string) *ListInstanceDisksOptions

SetInstanceID : Allow user to set InstanceID

type ListInstanceGroupManagerActionsOptions added in v0.6.0

type ListInstanceGroupManagerActionsOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceGroupManagerActionsOptions : The ListInstanceGroupManagerActions options.

func (*ListInstanceGroupManagerActionsOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*ListInstanceGroupManagerActionsOptions) SetInstanceGroupID added in v0.6.0

func (_options *ListInstanceGroupManagerActionsOptions) SetInstanceGroupID(instanceGroupID string) *ListInstanceGroupManagerActionsOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*ListInstanceGroupManagerActionsOptions) SetInstanceGroupManagerID added in v0.6.0

func (_options *ListInstanceGroupManagerActionsOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *ListInstanceGroupManagerActionsOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

func (*ListInstanceGroupManagerActionsOptions) SetLimit added in v0.6.0

SetLimit : Allow user to set Limit

func (*ListInstanceGroupManagerActionsOptions) SetStart added in v0.6.0

SetStart : Allow user to set Start

type ListInstanceGroupManagerPoliciesOptions added in v0.1.0

type ListInstanceGroupManagerPoliciesOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceGroupManagerPoliciesOptions : The ListInstanceGroupManagerPolicies options.

func (*ListInstanceGroupManagerPoliciesOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*ListInstanceGroupManagerPoliciesOptions) SetInstanceGroupID added in v0.1.0

func (_options *ListInstanceGroupManagerPoliciesOptions) SetInstanceGroupID(instanceGroupID string) *ListInstanceGroupManagerPoliciesOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*ListInstanceGroupManagerPoliciesOptions) SetInstanceGroupManagerID added in v0.1.0

func (_options *ListInstanceGroupManagerPoliciesOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *ListInstanceGroupManagerPoliciesOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

func (*ListInstanceGroupManagerPoliciesOptions) SetLimit added in v0.5.0

SetLimit : Allow user to set Limit

func (*ListInstanceGroupManagerPoliciesOptions) SetStart added in v0.5.0

SetStart : Allow user to set Start

type ListInstanceGroupManagersOptions added in v0.1.0

type ListInstanceGroupManagersOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceGroupManagersOptions : The ListInstanceGroupManagers options.

func (*ListInstanceGroupManagersOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*ListInstanceGroupManagersOptions) SetInstanceGroupID added in v0.1.0

func (_options *ListInstanceGroupManagersOptions) SetInstanceGroupID(instanceGroupID string) *ListInstanceGroupManagersOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*ListInstanceGroupManagersOptions) SetLimit added in v0.5.0

SetLimit : Allow user to set Limit

func (*ListInstanceGroupManagersOptions) SetStart added in v0.5.0

SetStart : Allow user to set Start

type ListInstanceGroupMembershipsOptions added in v0.1.0

type ListInstanceGroupMembershipsOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceGroupMembershipsOptions : The ListInstanceGroupMemberships options.

func (*ListInstanceGroupMembershipsOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*ListInstanceGroupMembershipsOptions) SetInstanceGroupID added in v0.1.0

func (_options *ListInstanceGroupMembershipsOptions) SetInstanceGroupID(instanceGroupID string) *ListInstanceGroupMembershipsOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*ListInstanceGroupMembershipsOptions) SetLimit added in v0.5.0

SetLimit : Allow user to set Limit

func (*ListInstanceGroupMembershipsOptions) SetStart added in v0.5.0

SetStart : Allow user to set Start

type ListInstanceGroupsOptions added in v0.1.0

type ListInstanceGroupsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceGroupsOptions : The ListInstanceGroups options.

func (*ListInstanceGroupsOptions) SetHeaders added in v0.1.0

func (options *ListInstanceGroupsOptions) SetHeaders(param map[string]string) *ListInstanceGroupsOptions

SetHeaders : Allow user to set Headers

func (*ListInstanceGroupsOptions) SetLimit added in v0.1.0

func (_options *ListInstanceGroupsOptions) SetLimit(limit int64) *ListInstanceGroupsOptions

SetLimit : Allow user to set Limit

func (*ListInstanceGroupsOptions) SetStart added in v0.1.0

func (_options *ListInstanceGroupsOptions) SetStart(start string) *ListInstanceGroupsOptions

SetStart : Allow user to set Start

type ListInstanceNetworkAttachmentsOptions added in v0.47.0

type ListInstanceNetworkAttachmentsOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceNetworkAttachmentsOptions : The ListInstanceNetworkAttachments options.

func (*ListInstanceNetworkAttachmentsOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*ListInstanceNetworkAttachmentsOptions) SetInstanceID added in v0.47.0

SetInstanceID : Allow user to set InstanceID

type ListInstanceNetworkInterfaceFloatingIpsOptions

type ListInstanceNetworkInterfaceFloatingIpsOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceNetworkInterfaceFloatingIpsOptions : The ListInstanceNetworkInterfaceFloatingIps options.

func (*ListInstanceNetworkInterfaceFloatingIpsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListInstanceNetworkInterfaceFloatingIpsOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*ListInstanceNetworkInterfaceFloatingIpsOptions) SetNetworkInterfaceID

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type ListInstanceNetworkInterfaceIpsOptions added in v0.19.0

type ListInstanceNetworkInterfaceIpsOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceNetworkInterfaceIpsOptions : The ListInstanceNetworkInterfaceIps options.

func (*ListInstanceNetworkInterfaceIpsOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*ListInstanceNetworkInterfaceIpsOptions) SetInstanceID added in v0.19.0

SetInstanceID : Allow user to set InstanceID

func (*ListInstanceNetworkInterfaceIpsOptions) SetLimit added in v0.19.0

SetLimit : Allow user to set Limit

func (*ListInstanceNetworkInterfaceIpsOptions) SetNetworkInterfaceID added in v0.19.0

func (_options *ListInstanceNetworkInterfaceIpsOptions) SetNetworkInterfaceID(networkInterfaceID string) *ListInstanceNetworkInterfaceIpsOptions

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

func (*ListInstanceNetworkInterfaceIpsOptions) SetStart added in v0.19.0

SetStart : Allow user to set Start

type ListInstanceNetworkInterfacesOptions

type ListInstanceNetworkInterfacesOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceNetworkInterfacesOptions : The ListInstanceNetworkInterfaces options.

func (*ListInstanceNetworkInterfacesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListInstanceNetworkInterfacesOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

type ListInstanceProfilesOptions

type ListInstanceProfilesOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceProfilesOptions : The ListInstanceProfiles options.

func (*ListInstanceProfilesOptions) SetHeaders

func (options *ListInstanceProfilesOptions) SetHeaders(param map[string]string) *ListInstanceProfilesOptions

SetHeaders : Allow user to set Headers

type ListInstanceTemplatesOptions added in v0.1.0

type ListInstanceTemplatesOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceTemplatesOptions : The ListInstanceTemplates options.

func (*ListInstanceTemplatesOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

type ListInstanceVolumeAttachmentsOptions

type ListInstanceVolumeAttachmentsOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstanceVolumeAttachmentsOptions : The ListInstanceVolumeAttachments options.

func (*ListInstanceVolumeAttachmentsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListInstanceVolumeAttachmentsOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

type ListInstancesOptions

type ListInstancesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with a `dedicated_host.id` property matching the specified identifier.
	DedicatedHostID *string `json:"dedicated_host.id,omitempty"`

	// Filters the collection to resources with a `dedicated_host.crn` property matching the specified CRN.
	DedicatedHostCRN *string `json:"dedicated_host.crn,omitempty"`

	// Filters the collection to resources with a `dedicated_host.name` property matching the exact specified name.
	DedicatedHostName *string `json:"dedicated_host.name,omitempty"`

	// Filters the collection to resources with a `placement_target.id` property matching the specified placement group
	// identifier.
	PlacementGroupID *string `json:"placement_group.id,omitempty"`

	// Filters the collection to resources with a `placement_target.crn` property matching the specified placement group
	// CRN.
	PlacementGroupCRN *string `json:"placement_group.crn,omitempty"`

	// Filters the collection to resources with a `placement_target.name` property matching the exact specified placement
	// group name.
	PlacementGroupName *string `json:"placement_group.name,omitempty"`

	// Filters the collection to resources with a `reservation.id` property matching the specified identifier.
	ReservationID *string `json:"reservation.id,omitempty"`

	// Filters the collection to resources with a `reservation.crn` property matching the specified CRN.
	ReservationCRN *string `json:"reservation.crn,omitempty"`

	// Filters the collection to resources with a `reservation.name` property matching the exact specified name.
	ReservationName *string `json:"reservation.name,omitempty"`

	// Filters the collection to resources with a `vpc.id` property matching the specified identifier.
	VPCID *string `json:"vpc.id,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListInstancesOptions : The ListInstances options.

func (*ListInstancesOptions) SetDedicatedHostCRN added in v0.8.0

func (_options *ListInstancesOptions) SetDedicatedHostCRN(dedicatedHostCRN string) *ListInstancesOptions

SetDedicatedHostCRN : Allow user to set DedicatedHostCRN

func (*ListInstancesOptions) SetDedicatedHostID added in v0.8.0

func (_options *ListInstancesOptions) SetDedicatedHostID(dedicatedHostID string) *ListInstancesOptions

SetDedicatedHostID : Allow user to set DedicatedHostID

func (*ListInstancesOptions) SetDedicatedHostName added in v0.8.0

func (_options *ListInstancesOptions) SetDedicatedHostName(dedicatedHostName string) *ListInstancesOptions

SetDedicatedHostName : Allow user to set DedicatedHostName

func (*ListInstancesOptions) SetHeaders

func (options *ListInstancesOptions) SetHeaders(param map[string]string) *ListInstancesOptions

SetHeaders : Allow user to set Headers

func (*ListInstancesOptions) SetLimit

func (_options *ListInstancesOptions) SetLimit(limit int64) *ListInstancesOptions

SetLimit : Allow user to set Limit

func (*ListInstancesOptions) SetName

func (_options *ListInstancesOptions) SetName(name string) *ListInstancesOptions

SetName : Allow user to set Name

func (*ListInstancesOptions) SetPlacementGroupCRN added in v0.9.0

func (_options *ListInstancesOptions) SetPlacementGroupCRN(placementGroupCRN string) *ListInstancesOptions

SetPlacementGroupCRN : Allow user to set PlacementGroupCRN

func (*ListInstancesOptions) SetPlacementGroupID added in v0.9.0

func (_options *ListInstancesOptions) SetPlacementGroupID(placementGroupID string) *ListInstancesOptions

SetPlacementGroupID : Allow user to set PlacementGroupID

func (*ListInstancesOptions) SetPlacementGroupName added in v0.9.0

func (_options *ListInstancesOptions) SetPlacementGroupName(placementGroupName string) *ListInstancesOptions

SetPlacementGroupName : Allow user to set PlacementGroupName

func (*ListInstancesOptions) SetReservationCRN added in v0.48.0

func (_options *ListInstancesOptions) SetReservationCRN(reservationCRN string) *ListInstancesOptions

SetReservationCRN : Allow user to set ReservationCRN

func (*ListInstancesOptions) SetReservationID added in v0.48.0

func (_options *ListInstancesOptions) SetReservationID(reservationID string) *ListInstancesOptions

SetReservationID : Allow user to set ReservationID

func (*ListInstancesOptions) SetReservationName added in v0.48.0

func (_options *ListInstancesOptions) SetReservationName(reservationName string) *ListInstancesOptions

SetReservationName : Allow user to set ReservationName

func (*ListInstancesOptions) SetResourceGroupID

func (_options *ListInstancesOptions) SetResourceGroupID(resourceGroupID string) *ListInstancesOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListInstancesOptions) SetStart

func (_options *ListInstancesOptions) SetStart(start string) *ListInstancesOptions

SetStart : Allow user to set Start

func (*ListInstancesOptions) SetVPCCRN

func (_options *ListInstancesOptions) SetVPCCRN(vpcCRN string) *ListInstancesOptions

SetVPCCRN : Allow user to set VPCCRN

func (*ListInstancesOptions) SetVPCID

func (_options *ListInstancesOptions) SetVPCID(vpcID string) *ListInstancesOptions

SetVPCID : Allow user to set VPCID

func (*ListInstancesOptions) SetVPCName

func (_options *ListInstancesOptions) SetVPCName(vpcName string) *ListInstancesOptions

SetVPCName : Allow user to set VPCName

type ListIpsecPoliciesOptions

type ListIpsecPoliciesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListIpsecPoliciesOptions : The ListIpsecPolicies options.

func (*ListIpsecPoliciesOptions) SetHeaders

func (options *ListIpsecPoliciesOptions) SetHeaders(param map[string]string) *ListIpsecPoliciesOptions

SetHeaders : Allow user to set Headers

func (*ListIpsecPoliciesOptions) SetLimit

func (_options *ListIpsecPoliciesOptions) SetLimit(limit int64) *ListIpsecPoliciesOptions

SetLimit : Allow user to set Limit

func (*ListIpsecPoliciesOptions) SetStart

func (_options *ListIpsecPoliciesOptions) SetStart(start string) *ListIpsecPoliciesOptions

SetStart : Allow user to set Start

type ListIpsecPolicyConnectionsOptions

type ListIpsecPolicyConnectionsOptions struct {
	// The IPsec policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListIpsecPolicyConnectionsOptions : The ListIpsecPolicyConnections options.

func (*ListIpsecPolicyConnectionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListIpsecPolicyConnectionsOptions) SetID

SetID : Allow user to set ID

type ListKeysOptions

type ListKeysOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListKeysOptions : The ListKeys options.

func (*ListKeysOptions) SetHeaders

func (options *ListKeysOptions) SetHeaders(param map[string]string) *ListKeysOptions

SetHeaders : Allow user to set Headers

func (*ListKeysOptions) SetLimit added in v0.8.0

func (_options *ListKeysOptions) SetLimit(limit int64) *ListKeysOptions

SetLimit : Allow user to set Limit

func (*ListKeysOptions) SetStart added in v0.8.0

func (_options *ListKeysOptions) SetStart(start string) *ListKeysOptions

SetStart : Allow user to set Start

type ListLoadBalancerListenerPoliciesOptions

type ListLoadBalancerListenerPoliciesOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancerListenerPoliciesOptions : The ListLoadBalancerListenerPolicies options.

func (*ListLoadBalancerListenerPoliciesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListLoadBalancerListenerPoliciesOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*ListLoadBalancerListenerPoliciesOptions) SetLoadBalancerID

func (_options *ListLoadBalancerListenerPoliciesOptions) SetLoadBalancerID(loadBalancerID string) *ListLoadBalancerListenerPoliciesOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type ListLoadBalancerListenerPolicyRulesOptions

type ListLoadBalancerListenerPolicyRulesOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	PolicyID *string `json:"policy_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancerListenerPolicyRulesOptions : The ListLoadBalancerListenerPolicyRules options.

func (*ListLoadBalancerListenerPolicyRulesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListLoadBalancerListenerPolicyRulesOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*ListLoadBalancerListenerPolicyRulesOptions) SetLoadBalancerID

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*ListLoadBalancerListenerPolicyRulesOptions) SetPolicyID

SetPolicyID : Allow user to set PolicyID

type ListLoadBalancerListenersOptions

type ListLoadBalancerListenersOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancerListenersOptions : The ListLoadBalancerListeners options.

func (*ListLoadBalancerListenersOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListLoadBalancerListenersOptions) SetLoadBalancerID

func (_options *ListLoadBalancerListenersOptions) SetLoadBalancerID(loadBalancerID string) *ListLoadBalancerListenersOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type ListLoadBalancerPoolMembersOptions

type ListLoadBalancerPoolMembersOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancerPoolMembersOptions : The ListLoadBalancerPoolMembers options.

func (*ListLoadBalancerPoolMembersOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListLoadBalancerPoolMembersOptions) SetLoadBalancerID

func (_options *ListLoadBalancerPoolMembersOptions) SetLoadBalancerID(loadBalancerID string) *ListLoadBalancerPoolMembersOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*ListLoadBalancerPoolMembersOptions) SetPoolID

SetPoolID : Allow user to set PoolID

type ListLoadBalancerPoolsOptions

type ListLoadBalancerPoolsOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancerPoolsOptions : The ListLoadBalancerPools options.

func (*ListLoadBalancerPoolsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListLoadBalancerPoolsOptions) SetLoadBalancerID

func (_options *ListLoadBalancerPoolsOptions) SetLoadBalancerID(loadBalancerID string) *ListLoadBalancerPoolsOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

type ListLoadBalancerProfilesOptions added in v0.1.0

type ListLoadBalancerProfilesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancerProfilesOptions : The ListLoadBalancerProfiles options.

func (*ListLoadBalancerProfilesOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*ListLoadBalancerProfilesOptions) SetLimit added in v0.1.0

SetLimit : Allow user to set Limit

func (*ListLoadBalancerProfilesOptions) SetStart added in v0.1.0

SetStart : Allow user to set Start

type ListLoadBalancersOptions

type ListLoadBalancersOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancersOptions : The ListLoadBalancers options.

func (*ListLoadBalancersOptions) SetHeaders

func (options *ListLoadBalancersOptions) SetHeaders(param map[string]string) *ListLoadBalancersOptions

SetHeaders : Allow user to set Headers

func (*ListLoadBalancersOptions) SetLimit added in v0.7.0

func (_options *ListLoadBalancersOptions) SetLimit(limit int64) *ListLoadBalancersOptions

SetLimit : Allow user to set Limit

func (*ListLoadBalancersOptions) SetStart added in v0.7.0

func (_options *ListLoadBalancersOptions) SetStart(start string) *ListLoadBalancersOptions

SetStart : Allow user to set Start

type ListNetworkACLRulesOptions

type ListNetworkACLRulesOptions struct {
	// The network ACL identifier.
	NetworkACLID *string `json:"network_acl_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to rules with a `direction` property matching the specified value.
	Direction *string `json:"direction,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListNetworkACLRulesOptions : The ListNetworkACLRules options.

func (*ListNetworkACLRulesOptions) SetDirection

func (_options *ListNetworkACLRulesOptions) SetDirection(direction string) *ListNetworkACLRulesOptions

SetDirection : Allow user to set Direction

func (*ListNetworkACLRulesOptions) SetHeaders

func (options *ListNetworkACLRulesOptions) SetHeaders(param map[string]string) *ListNetworkACLRulesOptions

SetHeaders : Allow user to set Headers

func (*ListNetworkACLRulesOptions) SetLimit

func (_options *ListNetworkACLRulesOptions) SetLimit(limit int64) *ListNetworkACLRulesOptions

SetLimit : Allow user to set Limit

func (*ListNetworkACLRulesOptions) SetNetworkACLID

func (_options *ListNetworkACLRulesOptions) SetNetworkACLID(networkACLID string) *ListNetworkACLRulesOptions

SetNetworkACLID : Allow user to set NetworkACLID

func (*ListNetworkACLRulesOptions) SetStart

SetStart : Allow user to set Start

type ListNetworkAclsOptions

type ListNetworkAclsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListNetworkAclsOptions : The ListNetworkAcls options.

func (*ListNetworkAclsOptions) SetHeaders

func (options *ListNetworkAclsOptions) SetHeaders(param map[string]string) *ListNetworkAclsOptions

SetHeaders : Allow user to set Headers

func (*ListNetworkAclsOptions) SetLimit

func (_options *ListNetworkAclsOptions) SetLimit(limit int64) *ListNetworkAclsOptions

SetLimit : Allow user to set Limit

func (*ListNetworkAclsOptions) SetResourceGroupID

func (_options *ListNetworkAclsOptions) SetResourceGroupID(resourceGroupID string) *ListNetworkAclsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListNetworkAclsOptions) SetStart

func (_options *ListNetworkAclsOptions) SetStart(start string) *ListNetworkAclsOptions

SetStart : Allow user to set Start

type ListNetworkInterfaceFloatingIpsOptions added in v0.47.0

type ListNetworkInterfaceFloatingIpsOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value
	// `-name` sorts the collection by the `name` property in descending order, and the value `name` sorts it by the `name`
	// property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListNetworkInterfaceFloatingIpsOptions : The ListNetworkInterfaceFloatingIps options.

func (*ListNetworkInterfaceFloatingIpsOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*ListNetworkInterfaceFloatingIpsOptions) SetLimit added in v0.47.0

SetLimit : Allow user to set Limit

func (*ListNetworkInterfaceFloatingIpsOptions) SetSort added in v0.47.0

SetSort : Allow user to set Sort

func (*ListNetworkInterfaceFloatingIpsOptions) SetStart added in v0.47.0

SetStart : Allow user to set Start

func (*ListNetworkInterfaceFloatingIpsOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *ListNetworkInterfaceFloatingIpsOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *ListNetworkInterfaceFloatingIpsOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type ListOperatingSystemsOptions

type ListOperatingSystemsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListOperatingSystemsOptions : The ListOperatingSystems options.

func (*ListOperatingSystemsOptions) SetHeaders

func (options *ListOperatingSystemsOptions) SetHeaders(param map[string]string) *ListOperatingSystemsOptions

SetHeaders : Allow user to set Headers

func (*ListOperatingSystemsOptions) SetLimit

SetLimit : Allow user to set Limit

func (*ListOperatingSystemsOptions) SetStart

SetStart : Allow user to set Start

type ListPlacementGroupsOptions added in v0.9.0

type ListPlacementGroupsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListPlacementGroupsOptions : The ListPlacementGroups options.

func (*ListPlacementGroupsOptions) SetHeaders added in v0.9.0

func (options *ListPlacementGroupsOptions) SetHeaders(param map[string]string) *ListPlacementGroupsOptions

SetHeaders : Allow user to set Headers

func (*ListPlacementGroupsOptions) SetLimit added in v0.9.0

func (_options *ListPlacementGroupsOptions) SetLimit(limit int64) *ListPlacementGroupsOptions

SetLimit : Allow user to set Limit

func (*ListPlacementGroupsOptions) SetStart added in v0.9.0

SetStart : Allow user to set Start

type ListPublicGatewaysOptions

type ListPublicGatewaysOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListPublicGatewaysOptions : The ListPublicGateways options.

func (*ListPublicGatewaysOptions) SetHeaders

func (options *ListPublicGatewaysOptions) SetHeaders(param map[string]string) *ListPublicGatewaysOptions

SetHeaders : Allow user to set Headers

func (*ListPublicGatewaysOptions) SetLimit

func (_options *ListPublicGatewaysOptions) SetLimit(limit int64) *ListPublicGatewaysOptions

SetLimit : Allow user to set Limit

func (*ListPublicGatewaysOptions) SetResourceGroupID

func (_options *ListPublicGatewaysOptions) SetResourceGroupID(resourceGroupID string) *ListPublicGatewaysOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListPublicGatewaysOptions) SetStart

func (_options *ListPublicGatewaysOptions) SetStart(start string) *ListPublicGatewaysOptions

SetStart : Allow user to set Start

type ListRegionZonesOptions

type ListRegionZonesOptions struct {
	// The region name.
	RegionName *string `json:"region_name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListRegionZonesOptions : The ListRegionZones options.

func (*ListRegionZonesOptions) SetHeaders

func (options *ListRegionZonesOptions) SetHeaders(param map[string]string) *ListRegionZonesOptions

SetHeaders : Allow user to set Headers

func (*ListRegionZonesOptions) SetRegionName

func (_options *ListRegionZonesOptions) SetRegionName(regionName string) *ListRegionZonesOptions

SetRegionName : Allow user to set RegionName

type ListRegionsOptions

type ListRegionsOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListRegionsOptions : The ListRegions options.

func (*ListRegionsOptions) SetHeaders

func (options *ListRegionsOptions) SetHeaders(param map[string]string) *ListRegionsOptions

SetHeaders : Allow user to set Headers

type ListReservationsOptions added in v0.48.0

type ListReservationsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `zone.name` property matching the exact specified name.
	ZoneName *string `json:"zone.name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListReservationsOptions : The ListReservations options.

func (*ListReservationsOptions) SetHeaders added in v0.48.0

func (options *ListReservationsOptions) SetHeaders(param map[string]string) *ListReservationsOptions

SetHeaders : Allow user to set Headers

func (*ListReservationsOptions) SetLimit added in v0.48.0

func (_options *ListReservationsOptions) SetLimit(limit int64) *ListReservationsOptions

SetLimit : Allow user to set Limit

func (*ListReservationsOptions) SetName added in v0.48.0

func (_options *ListReservationsOptions) SetName(name string) *ListReservationsOptions

SetName : Allow user to set Name

func (*ListReservationsOptions) SetResourceGroupID added in v0.48.0

func (_options *ListReservationsOptions) SetResourceGroupID(resourceGroupID string) *ListReservationsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListReservationsOptions) SetStart added in v0.48.0

func (_options *ListReservationsOptions) SetStart(start string) *ListReservationsOptions

SetStart : Allow user to set Start

func (*ListReservationsOptions) SetZoneName added in v0.48.0

func (_options *ListReservationsOptions) SetZoneName(zoneName string) *ListReservationsOptions

SetZoneName : Allow user to set ZoneName

type ListSecurityGroupRulesOptions

type ListSecurityGroupRulesOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSecurityGroupRulesOptions : The ListSecurityGroupRules options.

func (*ListSecurityGroupRulesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListSecurityGroupRulesOptions) SetSecurityGroupID

func (_options *ListSecurityGroupRulesOptions) SetSecurityGroupID(securityGroupID string) *ListSecurityGroupRulesOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

type ListSecurityGroupTargetsOptions added in v0.5.0

type ListSecurityGroupTargetsOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSecurityGroupTargetsOptions : The ListSecurityGroupTargets options.

func (*ListSecurityGroupTargetsOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

func (*ListSecurityGroupTargetsOptions) SetLimit added in v0.5.0

SetLimit : Allow user to set Limit

func (*ListSecurityGroupTargetsOptions) SetSecurityGroupID added in v0.5.0

func (_options *ListSecurityGroupTargetsOptions) SetSecurityGroupID(securityGroupID string) *ListSecurityGroupTargetsOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

func (*ListSecurityGroupTargetsOptions) SetStart added in v0.5.0

SetStart : Allow user to set Start

type ListSecurityGroupsOptions

type ListSecurityGroupsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `vpc.id` property matching the specified identifier.
	VPCID *string `json:"vpc.id,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSecurityGroupsOptions : The ListSecurityGroups options.

func (*ListSecurityGroupsOptions) SetHeaders

func (options *ListSecurityGroupsOptions) SetHeaders(param map[string]string) *ListSecurityGroupsOptions

SetHeaders : Allow user to set Headers

func (*ListSecurityGroupsOptions) SetLimit

func (_options *ListSecurityGroupsOptions) SetLimit(limit int64) *ListSecurityGroupsOptions

SetLimit : Allow user to set Limit

func (*ListSecurityGroupsOptions) SetResourceGroupID

func (_options *ListSecurityGroupsOptions) SetResourceGroupID(resourceGroupID string) *ListSecurityGroupsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListSecurityGroupsOptions) SetStart

func (_options *ListSecurityGroupsOptions) SetStart(start string) *ListSecurityGroupsOptions

SetStart : Allow user to set Start

func (*ListSecurityGroupsOptions) SetVPCCRN

func (_options *ListSecurityGroupsOptions) SetVPCCRN(vpcCRN string) *ListSecurityGroupsOptions

SetVPCCRN : Allow user to set VPCCRN

func (*ListSecurityGroupsOptions) SetVPCID

func (_options *ListSecurityGroupsOptions) SetVPCID(vpcID string) *ListSecurityGroupsOptions

SetVPCID : Allow user to set VPCID

func (*ListSecurityGroupsOptions) SetVPCName

func (_options *ListSecurityGroupsOptions) SetVPCName(vpcName string) *ListSecurityGroupsOptions

SetVPCName : Allow user to set VPCName

type ListShareMountTargetsOptions added in v0.41.0

type ListShareMountTargetsOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListShareMountTargetsOptions : The ListShareMountTargets options.

func (*ListShareMountTargetsOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*ListShareMountTargetsOptions) SetLimit added in v0.41.0

SetLimit : Allow user to set Limit

func (*ListShareMountTargetsOptions) SetName added in v0.41.0

SetName : Allow user to set Name

func (*ListShareMountTargetsOptions) SetShareID added in v0.41.0

func (_options *ListShareMountTargetsOptions) SetShareID(shareID string) *ListShareMountTargetsOptions

SetShareID : Allow user to set ShareID

func (*ListShareMountTargetsOptions) SetStart added in v0.41.0

SetStart : Allow user to set Start

type ListShareProfilesOptions added in v0.41.0

type ListShareProfilesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListShareProfilesOptions : The ListShareProfiles options.

func (*ListShareProfilesOptions) SetHeaders added in v0.41.0

func (options *ListShareProfilesOptions) SetHeaders(param map[string]string) *ListShareProfilesOptions

SetHeaders : Allow user to set Headers

func (*ListShareProfilesOptions) SetLimit added in v0.41.0

func (_options *ListShareProfilesOptions) SetLimit(limit int64) *ListShareProfilesOptions

SetLimit : Allow user to set Limit

func (*ListShareProfilesOptions) SetSort added in v0.41.0

func (_options *ListShareProfilesOptions) SetSort(sort string) *ListShareProfilesOptions

SetSort : Allow user to set Sort

func (*ListShareProfilesOptions) SetStart added in v0.41.0

func (_options *ListShareProfilesOptions) SetStart(start string) *ListShareProfilesOptions

SetStart : Allow user to set Start

type ListSharesOptions added in v0.41.0

type ListSharesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to file shares with a `replication_role` property matching the specified value.
	ReplicationRole *string `json:"replication_role,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSharesOptions : The ListShares options.

func (*ListSharesOptions) SetHeaders added in v0.41.0

func (options *ListSharesOptions) SetHeaders(param map[string]string) *ListSharesOptions

SetHeaders : Allow user to set Headers

func (*ListSharesOptions) SetLimit added in v0.41.0

func (_options *ListSharesOptions) SetLimit(limit int64) *ListSharesOptions

SetLimit : Allow user to set Limit

func (*ListSharesOptions) SetName added in v0.41.0

func (_options *ListSharesOptions) SetName(name string) *ListSharesOptions

SetName : Allow user to set Name

func (*ListSharesOptions) SetReplicationRole added in v0.41.0

func (_options *ListSharesOptions) SetReplicationRole(replicationRole string) *ListSharesOptions

SetReplicationRole : Allow user to set ReplicationRole

func (*ListSharesOptions) SetResourceGroupID added in v0.41.0

func (_options *ListSharesOptions) SetResourceGroupID(resourceGroupID string) *ListSharesOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListSharesOptions) SetSort added in v0.41.0

func (_options *ListSharesOptions) SetSort(sort string) *ListSharesOptions

SetSort : Allow user to set Sort

func (*ListSharesOptions) SetStart added in v0.41.0

func (_options *ListSharesOptions) SetStart(start string) *ListSharesOptions

SetStart : Allow user to set Start

type ListSnapshotClonesOptions added in v0.31.0

type ListSnapshotClonesOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSnapshotClonesOptions : The ListSnapshotClones options.

func (*ListSnapshotClonesOptions) SetHeaders added in v0.31.0

func (options *ListSnapshotClonesOptions) SetHeaders(param map[string]string) *ListSnapshotClonesOptions

SetHeaders : Allow user to set Headers

func (*ListSnapshotClonesOptions) SetID added in v0.31.0

SetID : Allow user to set ID

type ListSnapshotConsistencyGroupsOptions added in v0.45.0

type ListSnapshotConsistencyGroupsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to backup policy jobs with a `backup_policy_plan.id` property matching the specified
	// identifier.
	BackupPolicyPlanID *string `json:"backup_policy_plan.id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSnapshotConsistencyGroupsOptions : The ListSnapshotConsistencyGroups options.

func (*ListSnapshotConsistencyGroupsOptions) SetBackupPolicyPlanID added in v0.45.0

func (_options *ListSnapshotConsistencyGroupsOptions) SetBackupPolicyPlanID(backupPolicyPlanID string) *ListSnapshotConsistencyGroupsOptions

SetBackupPolicyPlanID : Allow user to set BackupPolicyPlanID

func (*ListSnapshotConsistencyGroupsOptions) SetHeaders added in v0.45.0

SetHeaders : Allow user to set Headers

func (*ListSnapshotConsistencyGroupsOptions) SetLimit added in v0.45.0

SetLimit : Allow user to set Limit

func (*ListSnapshotConsistencyGroupsOptions) SetName added in v0.45.0

SetName : Allow user to set Name

func (*ListSnapshotConsistencyGroupsOptions) SetResourceGroupID added in v0.45.0

func (_options *ListSnapshotConsistencyGroupsOptions) SetResourceGroupID(resourceGroupID string) *ListSnapshotConsistencyGroupsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListSnapshotConsistencyGroupsOptions) SetSort added in v0.45.0

SetSort : Allow user to set Sort

func (*ListSnapshotConsistencyGroupsOptions) SetStart added in v0.45.0

SetStart : Allow user to set Start

type ListSnapshotsOptions added in v0.7.0

type ListSnapshotsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with an item in the `tags` property matching the exact specified tag.
	Tag *string `json:"tag,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with a `source_volume.id` property matching the specified identifier.
	SourceVolumeID *string `json:"source_volume.id,omitempty"`

	// Filters the collection to resources with a `source_volume.crn` property matching the specified CRN.
	SourceVolumeCRN *string `json:"source_volume.crn,omitempty"`

	// Filters the collection to resources with a `source_image.id` property matching the specified identifier.
	//
	// This parameter also supports the values `null` and `not:null` which filter the collection to resources which have no
	// source image or any existent source image, respectively.
	SourceImageID *string `json:"source_image.id,omitempty"`

	// Filters the collection to resources with a `source_image.crn` property matching the specified CRN.
	//
	// This parameter also supports the values `null` and `not:null` which filter the collection to resources which have no
	// source image or any existent source image, respectively.
	SourceImageCRN *string `json:"source_image.crn,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to backup policy jobs with a `backup_policy_plan.id` property matching the specified
	// identifier.
	BackupPolicyPlanID *string `json:"backup_policy_plan.id,omitempty"`

	// Filters the collection to snapshots with an item in the `copies` property with an `id` property matching the
	// specified identifier.
	CopiesID *string `json:"copies[].id,omitempty"`

	// Filters the collection to snapshots with an item in the `copies` property with a `name` property matching the exact
	// specified name.
	CopiesName *string `json:"copies[].name,omitempty"`

	// Filters the collection to snapshots with an item in the `copies` property with an `id` property matching the
	// specified CRN.
	CopiesCRN *string `json:"copies[].crn,omitempty"`

	// Filters the collection to snapshots with an item in the `copies` property with a
	// `remote.region.name` property matching the exact specified name.
	CopiesRemoteRegionName *string `json:"copies[].remote.region.name,omitempty"`

	// Filters the collection to resources with a `source_snapshot.id` property matching the specified identifier.
	SourceSnapshotID *string `json:"source_snapshot.id,omitempty"`

	// Filters the collection to resources with a `source_snapshot.remote.region.name` property matching the exact
	// specified name.
	SourceSnapshotRemoteRegionName *string `json:"source_snapshot.remote.region.name,omitempty"`

	// Filters the collection to resources with a `source_volume.remote.region.name` property matching the exact specified
	// name.
	SourceVolumeRemoteRegionName *string `json:"source_volume.remote.region.name,omitempty"`

	// Filters the collection to resources with a `source_image.remote.region.name` property matching the exact specified
	// name.
	SourceImageRemoteRegionName *string `json:"source_image.remote.region.name,omitempty"`

	// Filters the collection to snapshots with an item in the `clones` property with a `zone.name` property matching the
	// exact specified name.
	ClonesZoneName *string `json:"clones[].zone.name,omitempty"`

	// Filters the collection to resources with a `snapshot_consistency_group.id` property matching the specified
	// identifier.
	SnapshotConsistencyGroupID *string `json:"snapshot_consistency_group.id,omitempty"`

	// Filters the collection to resources with a `snapshot_consistency_group.crn` property matching the specified
	// identifier.
	SnapshotConsistencyGroupCRN *string `json:"snapshot_consistency_group.crn,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSnapshotsOptions : The ListSnapshots options.

func (*ListSnapshotsOptions) SetBackupPolicyPlanID added in v0.21.0

func (_options *ListSnapshotsOptions) SetBackupPolicyPlanID(backupPolicyPlanID string) *ListSnapshotsOptions

SetBackupPolicyPlanID : Allow user to set BackupPolicyPlanID

func (*ListSnapshotsOptions) SetClonesZoneName added in v0.31.0

func (_options *ListSnapshotsOptions) SetClonesZoneName(clonesZoneName string) *ListSnapshotsOptions

SetClonesZoneName : Allow user to set ClonesZoneName

func (*ListSnapshotsOptions) SetCopiesCRN added in v0.39.0

func (_options *ListSnapshotsOptions) SetCopiesCRN(copiesCRN string) *ListSnapshotsOptions

SetCopiesCRN : Allow user to set CopiesCRN

func (*ListSnapshotsOptions) SetCopiesID added in v0.39.0

func (_options *ListSnapshotsOptions) SetCopiesID(copiesID string) *ListSnapshotsOptions

SetCopiesID : Allow user to set CopiesID

func (*ListSnapshotsOptions) SetCopiesName added in v0.39.0

func (_options *ListSnapshotsOptions) SetCopiesName(copiesName string) *ListSnapshotsOptions

SetCopiesName : Allow user to set CopiesName

func (*ListSnapshotsOptions) SetCopiesRemoteRegionName added in v0.39.0

func (_options *ListSnapshotsOptions) SetCopiesRemoteRegionName(copiesRemoteRegionName string) *ListSnapshotsOptions

SetCopiesRemoteRegionName : Allow user to set CopiesRemoteRegionName

func (*ListSnapshotsOptions) SetHeaders added in v0.7.0

func (options *ListSnapshotsOptions) SetHeaders(param map[string]string) *ListSnapshotsOptions

SetHeaders : Allow user to set Headers

func (*ListSnapshotsOptions) SetLimit added in v0.7.0

func (_options *ListSnapshotsOptions) SetLimit(limit int64) *ListSnapshotsOptions

SetLimit : Allow user to set Limit

func (*ListSnapshotsOptions) SetName added in v0.7.0

func (_options *ListSnapshotsOptions) SetName(name string) *ListSnapshotsOptions

SetName : Allow user to set Name

func (*ListSnapshotsOptions) SetResourceGroupID added in v0.7.0

func (_options *ListSnapshotsOptions) SetResourceGroupID(resourceGroupID string) *ListSnapshotsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListSnapshotsOptions) SetSnapshotConsistencyGroupCRN added in v0.45.0

func (_options *ListSnapshotsOptions) SetSnapshotConsistencyGroupCRN(snapshotConsistencyGroupCRN string) *ListSnapshotsOptions

SetSnapshotConsistencyGroupCRN : Allow user to set SnapshotConsistencyGroupCRN

func (*ListSnapshotsOptions) SetSnapshotConsistencyGroupID added in v0.45.0

func (_options *ListSnapshotsOptions) SetSnapshotConsistencyGroupID(snapshotConsistencyGroupID string) *ListSnapshotsOptions

SetSnapshotConsistencyGroupID : Allow user to set SnapshotConsistencyGroupID

func (*ListSnapshotsOptions) SetSort added in v0.7.0

func (_options *ListSnapshotsOptions) SetSort(sort string) *ListSnapshotsOptions

SetSort : Allow user to set Sort

func (*ListSnapshotsOptions) SetSourceImageCRN added in v0.7.0

func (_options *ListSnapshotsOptions) SetSourceImageCRN(sourceImageCRN string) *ListSnapshotsOptions

SetSourceImageCRN : Allow user to set SourceImageCRN

func (*ListSnapshotsOptions) SetSourceImageID added in v0.7.0

func (_options *ListSnapshotsOptions) SetSourceImageID(sourceImageID string) *ListSnapshotsOptions

SetSourceImageID : Allow user to set SourceImageID

func (*ListSnapshotsOptions) SetSourceImageRemoteRegionName added in v0.39.0

func (_options *ListSnapshotsOptions) SetSourceImageRemoteRegionName(sourceImageRemoteRegionName string) *ListSnapshotsOptions

SetSourceImageRemoteRegionName : Allow user to set SourceImageRemoteRegionName

func (*ListSnapshotsOptions) SetSourceSnapshotID added in v0.39.0

func (_options *ListSnapshotsOptions) SetSourceSnapshotID(sourceSnapshotID string) *ListSnapshotsOptions

SetSourceSnapshotID : Allow user to set SourceSnapshotID

func (*ListSnapshotsOptions) SetSourceSnapshotRemoteRegionName added in v0.39.0

func (_options *ListSnapshotsOptions) SetSourceSnapshotRemoteRegionName(sourceSnapshotRemoteRegionName string) *ListSnapshotsOptions

SetSourceSnapshotRemoteRegionName : Allow user to set SourceSnapshotRemoteRegionName

func (*ListSnapshotsOptions) SetSourceVolumeCRN added in v0.7.0

func (_options *ListSnapshotsOptions) SetSourceVolumeCRN(sourceVolumeCRN string) *ListSnapshotsOptions

SetSourceVolumeCRN : Allow user to set SourceVolumeCRN

func (*ListSnapshotsOptions) SetSourceVolumeID added in v0.7.0

func (_options *ListSnapshotsOptions) SetSourceVolumeID(sourceVolumeID string) *ListSnapshotsOptions

SetSourceVolumeID : Allow user to set SourceVolumeID

func (*ListSnapshotsOptions) SetSourceVolumeRemoteRegionName added in v0.39.0

func (_options *ListSnapshotsOptions) SetSourceVolumeRemoteRegionName(sourceVolumeRemoteRegionName string) *ListSnapshotsOptions

SetSourceVolumeRemoteRegionName : Allow user to set SourceVolumeRemoteRegionName

func (*ListSnapshotsOptions) SetStart added in v0.7.0

func (_options *ListSnapshotsOptions) SetStart(start string) *ListSnapshotsOptions

SetStart : Allow user to set Start

func (*ListSnapshotsOptions) SetTag added in v0.20.0

func (_options *ListSnapshotsOptions) SetTag(tag string) *ListSnapshotsOptions

SetTag : Allow user to set Tag

type ListSubnetReservedIpsOptions added in v0.3.0

type ListSubnetReservedIpsOptions struct {
	// The subnet identifier.
	SubnetID *string `json:"subnet_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to resources with a `target.id` property matching the specified identifier.
	TargetID *string `json:"target.id,omitempty"`

	// Filters the collection to resources with a `target.crn` property matching the specified CRN.
	TargetCRN *string `json:"target.crn,omitempty"`

	// Filters the collection to resources with a `target.name` property matching the exact specified name.
	TargetName *string `json:"target.name,omitempty"`

	// Filters the collection to resources with a `target.resource_type` property matching the specified value.
	TargetResourceType *string `json:"target.resource_type,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSubnetReservedIpsOptions : The ListSubnetReservedIps options.

func (*ListSubnetReservedIpsOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*ListSubnetReservedIpsOptions) SetLimit added in v0.3.0

SetLimit : Allow user to set Limit

func (*ListSubnetReservedIpsOptions) SetSort added in v0.3.0

SetSort : Allow user to set Sort

func (*ListSubnetReservedIpsOptions) SetStart added in v0.3.0

SetStart : Allow user to set Start

func (*ListSubnetReservedIpsOptions) SetSubnetID added in v0.3.0

func (_options *ListSubnetReservedIpsOptions) SetSubnetID(subnetID string) *ListSubnetReservedIpsOptions

SetSubnetID : Allow user to set SubnetID

func (*ListSubnetReservedIpsOptions) SetTargetCRN added in v0.47.0

func (_options *ListSubnetReservedIpsOptions) SetTargetCRN(targetCRN string) *ListSubnetReservedIpsOptions

SetTargetCRN : Allow user to set TargetCRN

func (*ListSubnetReservedIpsOptions) SetTargetID added in v0.47.0

func (_options *ListSubnetReservedIpsOptions) SetTargetID(targetID string) *ListSubnetReservedIpsOptions

SetTargetID : Allow user to set TargetID

func (*ListSubnetReservedIpsOptions) SetTargetName added in v0.47.0

func (_options *ListSubnetReservedIpsOptions) SetTargetName(targetName string) *ListSubnetReservedIpsOptions

SetTargetName : Allow user to set TargetName

func (*ListSubnetReservedIpsOptions) SetTargetResourceType added in v0.47.0

func (_options *ListSubnetReservedIpsOptions) SetTargetResourceType(targetResourceType string) *ListSubnetReservedIpsOptions

SetTargetResourceType : Allow user to set TargetResourceType

type ListSubnetsOptions

type ListSubnetsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to resources with a `zone.name` property matching the exact specified name.
	ZoneName *string `json:"zone.name,omitempty"`

	// Filters the collection to resources with a `vpc.id` property matching the specified identifier.
	VPCID *string `json:"vpc.id,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Filters the collection to subnets with a `routing_table.id` property matching the specified identifier.
	RoutingTableID *string `json:"routing_table.id,omitempty"`

	// Filters the collection to subnets with a `routing_table.name` property matching the exact specified name.
	RoutingTableName *string `json:"routing_table.name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSubnetsOptions : The ListSubnets options.

func (*ListSubnetsOptions) SetHeaders

func (options *ListSubnetsOptions) SetHeaders(param map[string]string) *ListSubnetsOptions

SetHeaders : Allow user to set Headers

func (*ListSubnetsOptions) SetLimit

func (_options *ListSubnetsOptions) SetLimit(limit int64) *ListSubnetsOptions

SetLimit : Allow user to set Limit

func (*ListSubnetsOptions) SetResourceGroupID

func (_options *ListSubnetsOptions) SetResourceGroupID(resourceGroupID string) *ListSubnetsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListSubnetsOptions) SetRoutingTableID added in v0.3.0

func (_options *ListSubnetsOptions) SetRoutingTableID(routingTableID string) *ListSubnetsOptions

SetRoutingTableID : Allow user to set RoutingTableID

func (*ListSubnetsOptions) SetRoutingTableName added in v0.3.0

func (_options *ListSubnetsOptions) SetRoutingTableName(routingTableName string) *ListSubnetsOptions

SetRoutingTableName : Allow user to set RoutingTableName

func (*ListSubnetsOptions) SetStart

func (_options *ListSubnetsOptions) SetStart(start string) *ListSubnetsOptions

SetStart : Allow user to set Start

func (*ListSubnetsOptions) SetVPCCRN added in v0.42.0

func (_options *ListSubnetsOptions) SetVPCCRN(vpcCRN string) *ListSubnetsOptions

SetVPCCRN : Allow user to set VPCCRN

func (*ListSubnetsOptions) SetVPCID added in v0.42.0

func (_options *ListSubnetsOptions) SetVPCID(vpcID string) *ListSubnetsOptions

SetVPCID : Allow user to set VPCID

func (*ListSubnetsOptions) SetVPCName added in v0.42.0

func (_options *ListSubnetsOptions) SetVPCName(vpcName string) *ListSubnetsOptions

SetVPCName : Allow user to set VPCName

func (*ListSubnetsOptions) SetZoneName added in v0.42.0

func (_options *ListSubnetsOptions) SetZoneName(zoneName string) *ListSubnetsOptions

SetZoneName : Allow user to set ZoneName

type ListVPCAddressPrefixesOptions

type ListVPCAddressPrefixesOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPCAddressPrefixesOptions : The ListVPCAddressPrefixes options.

func (*ListVPCAddressPrefixesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListVPCAddressPrefixesOptions) SetLimit added in v0.1.0

SetLimit : Allow user to set Limit

func (*ListVPCAddressPrefixesOptions) SetStart added in v0.1.0

SetStart : Allow user to set Start

func (*ListVPCAddressPrefixesOptions) SetVPCID

SetVPCID : Allow user to set VPCID

type ListVPCDnsResolutionBindingsOptions added in v0.43.0

type ListVPCDnsResolutionBindingsOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to resources with a `vpc.crn` property matching the specified CRN.
	VPCCRN *string `json:"vpc.crn,omitempty"`

	// Filters the collection to resources with a `vpc.name` property matching the exact specified name.
	VPCName *string `json:"vpc.name,omitempty"`

	// Filters the collection to resources with a `vpc.remote.account.id` property matching the specified account
	// identifier.
	AccountID *string `json:"account.id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPCDnsResolutionBindingsOptions : The ListVPCDnsResolutionBindings options.

func (*ListVPCDnsResolutionBindingsOptions) SetAccountID added in v0.43.0

SetAccountID : Allow user to set AccountID

func (*ListVPCDnsResolutionBindingsOptions) SetHeaders added in v0.43.0

SetHeaders : Allow user to set Headers

func (*ListVPCDnsResolutionBindingsOptions) SetLimit added in v0.43.0

SetLimit : Allow user to set Limit

func (*ListVPCDnsResolutionBindingsOptions) SetName added in v0.43.0

SetName : Allow user to set Name

func (*ListVPCDnsResolutionBindingsOptions) SetSort added in v0.43.0

SetSort : Allow user to set Sort

func (*ListVPCDnsResolutionBindingsOptions) SetStart added in v0.43.0

SetStart : Allow user to set Start

func (*ListVPCDnsResolutionBindingsOptions) SetVPCCRN added in v0.43.0

SetVPCCRN : Allow user to set VPCCRN

func (*ListVPCDnsResolutionBindingsOptions) SetVPCID added in v0.43.0

SetVPCID : Allow user to set VPCID

func (*ListVPCDnsResolutionBindingsOptions) SetVPCName added in v0.43.0

SetVPCName : Allow user to set VPCName

type ListVPCRoutesOptions

type ListVPCRoutesOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// Filters the collection to resources with a `zone.name` property matching the exact specified name.
	ZoneName *string `json:"zone.name,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPCRoutesOptions : The ListVPCRoutes options.

func (*ListVPCRoutesOptions) SetHeaders

func (options *ListVPCRoutesOptions) SetHeaders(param map[string]string) *ListVPCRoutesOptions

SetHeaders : Allow user to set Headers

func (*ListVPCRoutesOptions) SetLimit added in v0.3.0

func (_options *ListVPCRoutesOptions) SetLimit(limit int64) *ListVPCRoutesOptions

SetLimit : Allow user to set Limit

func (*ListVPCRoutesOptions) SetStart added in v0.3.0

func (_options *ListVPCRoutesOptions) SetStart(start string) *ListVPCRoutesOptions

SetStart : Allow user to set Start

func (*ListVPCRoutesOptions) SetVPCID

func (_options *ListVPCRoutesOptions) SetVPCID(vpcID string) *ListVPCRoutesOptions

SetVPCID : Allow user to set VPCID

func (*ListVPCRoutesOptions) SetZoneName

func (_options *ListVPCRoutesOptions) SetZoneName(zoneName string) *ListVPCRoutesOptions

SetZoneName : Allow user to set ZoneName

type ListVPCRoutingTableRoutesOptions added in v0.3.0

type ListVPCRoutingTableRoutesOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	RoutingTableID *string `json:"routing_table_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPCRoutingTableRoutesOptions : The ListVPCRoutingTableRoutes options.

func (*ListVPCRoutingTableRoutesOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*ListVPCRoutingTableRoutesOptions) SetLimit added in v0.3.0

SetLimit : Allow user to set Limit

func (*ListVPCRoutingTableRoutesOptions) SetRoutingTableID added in v0.3.0

func (_options *ListVPCRoutingTableRoutesOptions) SetRoutingTableID(routingTableID string) *ListVPCRoutingTableRoutesOptions

SetRoutingTableID : Allow user to set RoutingTableID

func (*ListVPCRoutingTableRoutesOptions) SetStart added in v0.3.0

SetStart : Allow user to set Start

func (*ListVPCRoutingTableRoutesOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type ListVPCRoutingTablesOptions added in v0.3.0

type ListVPCRoutingTablesOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to routing tables with an `is_default` property matching the specified value.
	IsDefault *bool `json:"is_default,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPCRoutingTablesOptions : The ListVPCRoutingTables options.

func (*ListVPCRoutingTablesOptions) SetHeaders added in v0.3.0

func (options *ListVPCRoutingTablesOptions) SetHeaders(param map[string]string) *ListVPCRoutingTablesOptions

SetHeaders : Allow user to set Headers

func (*ListVPCRoutingTablesOptions) SetIsDefault added in v0.3.0

func (_options *ListVPCRoutingTablesOptions) SetIsDefault(isDefault bool) *ListVPCRoutingTablesOptions

SetIsDefault : Allow user to set IsDefault

func (*ListVPCRoutingTablesOptions) SetLimit added in v0.3.0

SetLimit : Allow user to set Limit

func (*ListVPCRoutingTablesOptions) SetStart added in v0.3.0

SetStart : Allow user to set Start

func (*ListVPCRoutingTablesOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type ListVPNGatewayConnectionsLocalCIDRsOptions added in v0.51.0

type ListVPNGatewayConnectionsLocalCIDRsOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNGatewayConnectionsLocalCIDRsOptions : The ListVPNGatewayConnectionsLocalCIDRs options.

func (*ListVPNGatewayConnectionsLocalCIDRsOptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*ListVPNGatewayConnectionsLocalCIDRsOptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*ListVPNGatewayConnectionsLocalCIDRsOptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type ListVPNGatewayConnectionsOptions

type ListVPNGatewayConnectionsOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// Filters the collection to VPN gateway connections with a `status` property matching the specified value.
	Status *string `json:"status,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNGatewayConnectionsOptions : The ListVPNGatewayConnections options.

func (*ListVPNGatewayConnectionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListVPNGatewayConnectionsOptions) SetStatus

SetStatus : Allow user to set Status

func (*ListVPNGatewayConnectionsOptions) SetVPNGatewayID

func (_options *ListVPNGatewayConnectionsOptions) SetVPNGatewayID(vpnGatewayID string) *ListVPNGatewayConnectionsOptions

SetVPNGatewayID : Allow user to set VPNGatewayID

type ListVPNGatewayConnectionsPeerCIDRsOptions added in v0.51.0

type ListVPNGatewayConnectionsPeerCIDRsOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNGatewayConnectionsPeerCIDRsOptions : The ListVPNGatewayConnectionsPeerCIDRs options.

func (*ListVPNGatewayConnectionsPeerCIDRsOptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*ListVPNGatewayConnectionsPeerCIDRsOptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*ListVPNGatewayConnectionsPeerCIDRsOptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type ListVPNGatewaysOptions

type ListVPNGatewaysOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Filters the collection to VPN gateways with a `mode` property matching the specified value.
	Mode *string `json:"mode,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNGatewaysOptions : The ListVPNGateways options.

func (*ListVPNGatewaysOptions) SetHeaders

func (options *ListVPNGatewaysOptions) SetHeaders(param map[string]string) *ListVPNGatewaysOptions

SetHeaders : Allow user to set Headers

func (*ListVPNGatewaysOptions) SetLimit

func (_options *ListVPNGatewaysOptions) SetLimit(limit int64) *ListVPNGatewaysOptions

SetLimit : Allow user to set Limit

func (*ListVPNGatewaysOptions) SetMode added in v0.3.0

func (_options *ListVPNGatewaysOptions) SetMode(mode string) *ListVPNGatewaysOptions

SetMode : Allow user to set Mode

func (*ListVPNGatewaysOptions) SetResourceGroupID

func (_options *ListVPNGatewaysOptions) SetResourceGroupID(resourceGroupID string) *ListVPNGatewaysOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListVPNGatewaysOptions) SetSort added in v0.25.0

func (_options *ListVPNGatewaysOptions) SetSort(sort string) *ListVPNGatewaysOptions

SetSort : Allow user to set Sort

func (*ListVPNGatewaysOptions) SetStart

func (_options *ListVPNGatewaysOptions) SetStart(start string) *ListVPNGatewaysOptions

SetStart : Allow user to set Start

type ListVPNServerClientsOptions added in v0.22.0

type ListVPNServerClientsOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNServerClientsOptions : The ListVPNServerClients options.

func (*ListVPNServerClientsOptions) SetHeaders added in v0.22.0

func (options *ListVPNServerClientsOptions) SetHeaders(param map[string]string) *ListVPNServerClientsOptions

SetHeaders : Allow user to set Headers

func (*ListVPNServerClientsOptions) SetLimit added in v0.22.0

SetLimit : Allow user to set Limit

func (*ListVPNServerClientsOptions) SetSort added in v0.22.0

SetSort : Allow user to set Sort

func (*ListVPNServerClientsOptions) SetStart added in v0.22.0

SetStart : Allow user to set Start

func (*ListVPNServerClientsOptions) SetVPNServerID added in v0.22.0

func (_options *ListVPNServerClientsOptions) SetVPNServerID(vpnServerID string) *ListVPNServerClientsOptions

SetVPNServerID : Allow user to set VPNServerID

type ListVPNServerRoutesOptions added in v0.22.0

type ListVPNServerRoutesOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNServerRoutesOptions : The ListVPNServerRoutes options.

func (*ListVPNServerRoutesOptions) SetHeaders added in v0.22.0

func (options *ListVPNServerRoutesOptions) SetHeaders(param map[string]string) *ListVPNServerRoutesOptions

SetHeaders : Allow user to set Headers

func (*ListVPNServerRoutesOptions) SetLimit added in v0.22.0

func (_options *ListVPNServerRoutesOptions) SetLimit(limit int64) *ListVPNServerRoutesOptions

SetLimit : Allow user to set Limit

func (*ListVPNServerRoutesOptions) SetSort added in v0.22.0

SetSort : Allow user to set Sort

func (*ListVPNServerRoutesOptions) SetStart added in v0.22.0

SetStart : Allow user to set Start

func (*ListVPNServerRoutesOptions) SetVPNServerID added in v0.22.0

func (_options *ListVPNServerRoutesOptions) SetVPNServerID(vpnServerID string) *ListVPNServerRoutesOptions

SetVPNServerID : Allow user to set VPNServerID

type ListVPNServersOptions added in v0.22.0

type ListVPNServersOptions struct {
	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property
	// in descending order, and the value `name` sorts it by the `name` property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVPNServersOptions : The ListVPNServers options.

func (*ListVPNServersOptions) SetHeaders added in v0.22.0

func (options *ListVPNServersOptions) SetHeaders(param map[string]string) *ListVPNServersOptions

SetHeaders : Allow user to set Headers

func (*ListVPNServersOptions) SetLimit added in v0.22.0

func (_options *ListVPNServersOptions) SetLimit(limit int64) *ListVPNServersOptions

SetLimit : Allow user to set Limit

func (*ListVPNServersOptions) SetName added in v0.22.0

func (_options *ListVPNServersOptions) SetName(name string) *ListVPNServersOptions

SetName : Allow user to set Name

func (*ListVPNServersOptions) SetResourceGroupID added in v0.22.0

func (_options *ListVPNServersOptions) SetResourceGroupID(resourceGroupID string) *ListVPNServersOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListVPNServersOptions) SetSort added in v0.22.0

func (_options *ListVPNServersOptions) SetSort(sort string) *ListVPNServersOptions

SetSort : Allow user to set Sort

func (*ListVPNServersOptions) SetStart added in v0.22.0

func (_options *ListVPNServersOptions) SetStart(start string) *ListVPNServersOptions

SetStart : Allow user to set Start

type ListVirtualNetworkInterfaceIpsOptions added in v0.47.0

type ListVirtualNetworkInterfaceIpsOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name
	// to sort in descending order. For example, the value
	// `-name` sorts the collection by the `name` property in descending order, and the value `name` sorts it by the `name`
	// property in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVirtualNetworkInterfaceIpsOptions : The ListVirtualNetworkInterfaceIps options.

func (*ListVirtualNetworkInterfaceIpsOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*ListVirtualNetworkInterfaceIpsOptions) SetLimit added in v0.47.0

SetLimit : Allow user to set Limit

func (*ListVirtualNetworkInterfaceIpsOptions) SetSort added in v0.47.0

SetSort : Allow user to set Sort

func (*ListVirtualNetworkInterfaceIpsOptions) SetStart added in v0.47.0

SetStart : Allow user to set Start

func (*ListVirtualNetworkInterfaceIpsOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *ListVirtualNetworkInterfaceIpsOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *ListVirtualNetworkInterfaceIpsOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type ListVirtualNetworkInterfacesOptions added in v0.41.0

type ListVirtualNetworkInterfacesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVirtualNetworkInterfacesOptions : The ListVirtualNetworkInterfaces options.

func (*ListVirtualNetworkInterfacesOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*ListVirtualNetworkInterfacesOptions) SetLimit added in v0.41.0

SetLimit : Allow user to set Limit

func (*ListVirtualNetworkInterfacesOptions) SetResourceGroupID added in v0.41.0

func (_options *ListVirtualNetworkInterfacesOptions) SetResourceGroupID(resourceGroupID string) *ListVirtualNetworkInterfacesOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListVirtualNetworkInterfacesOptions) SetStart added in v0.41.0

SetStart : Allow user to set Start

type ListVolumeProfilesOptions

type ListVolumeProfilesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVolumeProfilesOptions : The ListVolumeProfiles options.

func (*ListVolumeProfilesOptions) SetHeaders

func (options *ListVolumeProfilesOptions) SetHeaders(param map[string]string) *ListVolumeProfilesOptions

SetHeaders : Allow user to set Headers

func (*ListVolumeProfilesOptions) SetLimit

func (_options *ListVolumeProfilesOptions) SetLimit(limit int64) *ListVolumeProfilesOptions

SetLimit : Allow user to set Limit

func (*ListVolumeProfilesOptions) SetStart

func (_options *ListVolumeProfilesOptions) SetStart(start string) *ListVolumeProfilesOptions

SetStart : Allow user to set Start

type ListVolumesOptions

type ListVolumesOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `name` property matching the exact specified name.
	Name *string `json:"name,omitempty"`

	// Filters the collection to volumes with an `attachment_state` property matching the specified value.
	AttachmentState *string `json:"attachment_state,omitempty"`

	// Filters the collection to resources with an `encryption` property matching the specified value.
	Encryption *string `json:"encryption,omitempty"`

	// Filters the collection to resources with an `operating_system.family` property matching the specified operating
	// system family.
	//
	// This parameter also supports the values `null` and `not:null` which filter the collection to resources which have no
	// operating system or any operating system, respectively.
	OperatingSystemFamily *string `json:"operating_system.family,omitempty"`

	// Filters the collection to resources with an `operating_system.architecture` property matching the specified
	// operating system architecture.
	//
	// This parameter also supports the values `null` and `not:null` which filter the collection to resources which have no
	// operating system or any operating system, respectively.
	OperatingSystemArchitecture *string `json:"operating_system.architecture,omitempty"`

	// Filters the collection to resources with a `zone.name` property matching the exact specified name.
	ZoneName *string `json:"zone.name,omitempty"`

	// Filters the collection to resources with an item in the `tags` property matching the exact specified tag.
	Tag *string `json:"tag,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVolumesOptions : The ListVolumes options.

func (*ListVolumesOptions) SetAttachmentState added in v0.34.0

func (_options *ListVolumesOptions) SetAttachmentState(attachmentState string) *ListVolumesOptions

SetAttachmentState : Allow user to set AttachmentState

func (*ListVolumesOptions) SetEncryption added in v0.34.0

func (_options *ListVolumesOptions) SetEncryption(encryption string) *ListVolumesOptions

SetEncryption : Allow user to set Encryption

func (*ListVolumesOptions) SetHeaders

func (options *ListVolumesOptions) SetHeaders(param map[string]string) *ListVolumesOptions

SetHeaders : Allow user to set Headers

func (*ListVolumesOptions) SetLimit

func (_options *ListVolumesOptions) SetLimit(limit int64) *ListVolumesOptions

SetLimit : Allow user to set Limit

func (*ListVolumesOptions) SetName

func (_options *ListVolumesOptions) SetName(name string) *ListVolumesOptions

SetName : Allow user to set Name

func (*ListVolumesOptions) SetOperatingSystemArchitecture added in v0.34.0

func (_options *ListVolumesOptions) SetOperatingSystemArchitecture(operatingSystemArchitecture string) *ListVolumesOptions

SetOperatingSystemArchitecture : Allow user to set OperatingSystemArchitecture

func (*ListVolumesOptions) SetOperatingSystemFamily added in v0.34.0

func (_options *ListVolumesOptions) SetOperatingSystemFamily(operatingSystemFamily string) *ListVolumesOptions

SetOperatingSystemFamily : Allow user to set OperatingSystemFamily

func (*ListVolumesOptions) SetStart

func (_options *ListVolumesOptions) SetStart(start string) *ListVolumesOptions

SetStart : Allow user to set Start

func (*ListVolumesOptions) SetTag added in v0.49.0

func (_options *ListVolumesOptions) SetTag(tag string) *ListVolumesOptions

SetTag : Allow user to set Tag

func (*ListVolumesOptions) SetZoneName

func (_options *ListVolumesOptions) SetZoneName(zoneName string) *ListVolumesOptions

SetZoneName : Allow user to set ZoneName

type ListVpcsOptions

type ListVpcsOptions struct {
	// A server-provided token determining what resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The number of resources to return on a page.
	Limit *int64 `json:"limit,omitempty"`

	// Filters the collection to resources with a `resource_group.id` property matching the specified identifier.
	ResourceGroupID *string `json:"resource_group.id,omitempty"`

	// Filters the collection to VPCs with a `classic_access` property matching the specified value.
	ClassicAccess *bool `json:"classic_access,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVpcsOptions : The ListVpcs options.

func (*ListVpcsOptions) SetClassicAccess

func (_options *ListVpcsOptions) SetClassicAccess(classicAccess bool) *ListVpcsOptions

SetClassicAccess : Allow user to set ClassicAccess

func (*ListVpcsOptions) SetHeaders

func (options *ListVpcsOptions) SetHeaders(param map[string]string) *ListVpcsOptions

SetHeaders : Allow user to set Headers

func (*ListVpcsOptions) SetLimit

func (_options *ListVpcsOptions) SetLimit(limit int64) *ListVpcsOptions

SetLimit : Allow user to set Limit

func (*ListVpcsOptions) SetResourceGroupID

func (_options *ListVpcsOptions) SetResourceGroupID(resourceGroupID string) *ListVpcsOptions

SetResourceGroupID : Allow user to set ResourceGroupID

func (*ListVpcsOptions) SetStart

func (_options *ListVpcsOptions) SetStart(start string) *ListVpcsOptions

SetStart : Allow user to set Start

type LoadBalancer

type LoadBalancer struct {
	// The date and time that this load balancer was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The load balancer's CRN.
	CRN *string `json:"crn" validate:"required"`

	// The DNS configuration for this load balancer.
	//
	// If absent, DNS `A` records for this load balancer's `hostname` property will be added to
	// the public DNS zone `lb.appdomain.cloud`.
	Dns *LoadBalancerDns `json:"dns,omitempty"`

	// Fully qualified domain name assigned to this load balancer.
	Hostname *string `json:"hostname" validate:"required"`

	// The load balancer's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this load balancer supports instance groups.
	InstanceGroupsSupported *bool `json:"instance_groups_supported" validate:"required"`

	// The type of this load balancer, public or private.
	IsPublic *bool `json:"is_public" validate:"required"`

	// The listeners of this load balancer.
	Listeners []LoadBalancerListenerReference `json:"listeners" validate:"required"`

	// The logging configuration for this load balancer.
	Logging *LoadBalancerLogging `json:"logging" validate:"required"`

	// The name for this load balancer. The name is unique across all load balancers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The operating status of this load balancer.
	OperatingStatus *string `json:"operating_status" validate:"required"`

	// The pools of this load balancer.
	Pools []LoadBalancerPoolReference `json:"pools" validate:"required"`

	// The private IP addresses assigned to this load balancer.
	PrivateIps []LoadBalancerPrivateIpsItem `json:"private_ips" validate:"required"`

	// The profile for this load balancer.
	Profile *LoadBalancerProfileReference `json:"profile" validate:"required"`

	// The provisioning status of this load balancer:
	// - `active`: The load balancer is running.
	// - `create_pending`: The load balancer is being created.
	// - `delete_pending`: The load balancer is being deleted.
	// - `maintenance_pending`: The load balancer is unavailable due to an internal
	//                           error (contact IBM support).
	// - `migrate_pending`: The load balancer is migrating to the requested configuration.
	//                       Performance may be degraded.
	// - `update_pending`: The load balancer is being updated
	//     to the requested configuration.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProvisioningStatus *string `json:"provisioning_status" validate:"required"`

	// The public IP addresses assigned to this load balancer.
	//
	// Applicable only for public load balancers.
	PublicIps []IP `json:"public_ips" validate:"required"`

	// The resource group for this load balancer.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// Indicates whether route mode is enabled for this load balancer.
	//
	// At present, public load balancers are not supported with route mode enabled.
	RouteMode *bool `json:"route_mode" validate:"required"`

	// The security groups targeting this load balancer.
	//
	// If empty, all inbound and outbound traffic is allowed.
	//
	// Applicable only for load balancers that support security groups.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// Indicates whether this load balancer supports security groups.
	SecurityGroupsSupported *bool `json:"security_groups_supported" validate:"required"`

	// The subnets this load balancer is provisioned in.  The load balancer's availability depends on the availability of
	// the zones that the subnets reside in.
	//
	// All subnets will be in the same VPC.
	Subnets []SubnetReference `json:"subnets" validate:"required"`

	// Indicates whether this load balancer supports UDP.
	UDPSupported *bool `json:"udp_supported" validate:"required"`
}

LoadBalancer : LoadBalancer struct

type LoadBalancerCollection

type LoadBalancerCollection struct {
	// A link to the first page of resources.
	First *LoadBalancerCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of load balancers.
	LoadBalancers []LoadBalancer `json:"load_balancers" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *LoadBalancerCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

LoadBalancerCollection : LoadBalancerCollection struct

func (*LoadBalancerCollection) GetNextStart added in v0.8.0

func (resp *LoadBalancerCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type LoadBalancerCollectionFirst added in v0.7.0

type LoadBalancerCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerCollectionFirst : A link to the first page of resources.

type LoadBalancerCollectionNext added in v0.7.0

type LoadBalancerCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type LoadBalancerDns added in v0.35.0

type LoadBalancerDns struct {
	// The DNS instance associated with this load balancer.
	Instance *DnsInstanceReference `json:"instance" validate:"required"`

	// The DNS zone associated with this load balancer.
	Zone *DnsZoneReference `json:"zone" validate:"required"`
}

LoadBalancerDns : The DNS configuration for this load balancer.

If absent, DNS `A` records for this load balancer's `hostname` property will be added to the public DNS zone `lb.appdomain.cloud`.

type LoadBalancerDnsPatch added in v0.35.0

type LoadBalancerDnsPatch struct {
	// The DNS instance to associate with this load balancer.
	//
	// The specified instance may be in a different region or account, subject to IAM
	// policies.
	Instance DnsInstanceIdentityIntf `json:"instance,omitempty"`

	// The DNS zone to associate with this load balancer.
	//
	// The specified zone may be in a different region or account, subject to IAM policies.
	Zone DnsZoneIdentityIntf `json:"zone,omitempty"`
}

LoadBalancerDnsPatch : The DNS configuration for this load balancer.

Specify `null` to remove the existing DNS configuration, which will remove all DNS `A` records for this load balancer that had been added to `zone`, and add equivalent `A` records to the public DNS zone `lb.appdomain.cloud`.

type LoadBalancerDnsPrototype added in v0.35.0

type LoadBalancerDnsPrototype struct {
	// The DNS instance to associate with this load balancer.
	//
	// The specified instance may be in a different region or account, subject to IAM
	// policies.
	Instance DnsInstanceIdentityIntf `json:"instance" validate:"required"`

	// The DNS zone to associate with this load balancer.
	//
	// The specified zone may be in a different region or account, subject to IAM policies.
	Zone DnsZoneIdentityIntf `json:"zone" validate:"required"`
}

LoadBalancerDnsPrototype : The DNS configuration for this load balancer.

If unspecified, DNS `A` records for this load balancer's `hostname` property will be added to the public DNS zone `lb.appdomain.cloud`. Otherwise, those DNS `A` records will be added to the specified `zone`.

type LoadBalancerIdentity added in v0.1.0

type LoadBalancerIdentity struct {
	// The unique identifier for this load balancer.
	ID *string `json:"id,omitempty"`

	// The load balancer's CRN.
	CRN *string `json:"crn,omitempty"`

	// The load balancer's canonical URL.
	Href *string `json:"href,omitempty"`
}

LoadBalancerIdentity : Identifies a load balancer by a unique property. Models which "extend" this model: - LoadBalancerIdentityByID - LoadBalancerIdentityByCRN - LoadBalancerIdentityByHref

type LoadBalancerIdentityByCRN added in v0.1.0

type LoadBalancerIdentityByCRN struct {
	// The load balancer's CRN.
	CRN *string `json:"crn" validate:"required"`
}

LoadBalancerIdentityByCRN : LoadBalancerIdentityByCRN struct This model "extends" LoadBalancerIdentity

type LoadBalancerIdentityByHref added in v0.1.0

type LoadBalancerIdentityByHref struct {
	// The load balancer's canonical URL.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerIdentityByHref : LoadBalancerIdentityByHref struct This model "extends" LoadBalancerIdentity

type LoadBalancerIdentityByID added in v0.1.0

type LoadBalancerIdentityByID struct {
	// The unique identifier for this load balancer.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerIdentityByID : LoadBalancerIdentityByID struct This model "extends" LoadBalancerIdentity

type LoadBalancerIdentityIntf added in v0.1.0

type LoadBalancerIdentityIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerListener

type LoadBalancerListener struct {
	// If set to `true`, this listener will accept and forward PROXY protocol information. Supported by load balancers in
	// the `application` family (otherwise always `false`). Additional restrictions:
	// - If this listener has `https_redirect` specified, its `accept_proxy_protocol` value must
	//   match the `accept_proxy_protocol` value of the `https_redirect` listener.
	// - If this listener is the target of another listener's `https_redirect`, its
	//   `accept_proxy_protocol` value must match that listener's `accept_proxy_protocol` value.
	AcceptProxyProtocol *bool `json:"accept_proxy_protocol" validate:"required"`

	// The certificate instance used for SSL termination.
	//
	// If absent, this listener is not using a certificate instance.
	CertificateInstance *CertificateInstanceReference `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	ConnectionLimit *int64 `json:"connection_limit" validate:"required"`

	// The date and time that this listener was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The default pool for this listener. If absent, this listener has no default pool.
	//
	// If `https_redirect` is set, the default pool will not be used.
	DefaultPool *LoadBalancerPoolReference `json:"default_pool,omitempty"`

	// The listener's canonical URL.
	Href *string `json:"href" validate:"required"`

	// If present, the target listener that requests are redirected to if none of the
	// listener's `policies` match.
	HTTPSRedirect *LoadBalancerListenerHTTPSRedirect `json:"https_redirect,omitempty"`

	// The unique identifier for this load balancer listener.
	ID *string `json:"id" validate:"required"`

	// The idle connection timeout of the listener in seconds. This property will be present for load balancers in the
	// `application` family.
	IdleConnectionTimeout *int64 `json:"idle_connection_timeout,omitempty"`

	// The policies for this listener.
	Policies []LoadBalancerListenerPolicyReference `json:"policies,omitempty"`

	// The listener port number, or the inclusive lower bound of the port range.
	Port *int64 `json:"port" validate:"required"`

	// The inclusive upper bound of the range of ports used by this listener.
	//
	// At present, only load balancers in the `network` family support more than one port per listener.
	PortMax *int64 `json:"port_max" validate:"required"`

	// The inclusive lower bound of the range of ports used by this listener.
	//
	// At present, only load balancers in the `network` family support more than one port per listener.
	PortMin *int64 `json:"port_min" validate:"required"`

	// The listener protocol.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Protocol *string `json:"protocol" validate:"required"`

	// The provisioning status of this listener
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProvisioningStatus *string `json:"provisioning_status" validate:"required"`
}

LoadBalancerListener : LoadBalancerListener struct

type LoadBalancerListenerCollection

type LoadBalancerListenerCollection struct {
	// Collection of listeners.
	Listeners []LoadBalancerListener `json:"listeners" validate:"required"`
}

LoadBalancerListenerCollection : LoadBalancerListenerCollection struct

type LoadBalancerListenerDefaultPoolPatch added in v0.50.0

type LoadBalancerListenerDefaultPoolPatch struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`
}

LoadBalancerListenerDefaultPoolPatch : The default pool for this listener. If `https_redirect` is set, the default pool will not be used. The specified pool must:

  • Belong to this load balancer
  • Have the same `protocol` as this listener, or have a compatible protocol. At present, the compatible protocols are `http` and `https`.
  • Not already be the `default_pool` for another listener

Specify `null` to remove an existing default pool. Models which "extend" this model: - LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID - LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref

type LoadBalancerListenerDefaultPoolPatchIntf added in v0.50.0

type LoadBalancerListenerDefaultPoolPatchIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref added in v0.50.0

type LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref struct {
	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref : LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref struct This model "extends" LoadBalancerListenerDefaultPoolPatch

type LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID added in v0.50.0

type LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID : LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID struct This model "extends" LoadBalancerListenerDefaultPoolPatch

type LoadBalancerListenerHTTPSRedirect added in v0.10.0

type LoadBalancerListenerHTTPSRedirect struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code" validate:"required"`

	Listener *LoadBalancerListenerReference `json:"listener" validate:"required"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`
}

LoadBalancerListenerHTTPSRedirect : LoadBalancerListenerHTTPSRedirect struct

type LoadBalancerListenerHTTPSRedirectPatch added in v0.10.0

type LoadBalancerListenerHTTPSRedirectPatch struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code,omitempty"`

	// Identifies a load balancer listener by a unique property.
	Listener LoadBalancerListenerIdentityIntf `json:"listener,omitempty"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`
}

LoadBalancerListenerHTTPSRedirectPatch : LoadBalancerListenerHTTPSRedirectPatch struct

type LoadBalancerListenerHTTPSRedirectPrototype added in v0.10.0

type LoadBalancerListenerHTTPSRedirectPrototype struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code" validate:"required"`

	// Identifies a load balancer listener by a unique property.
	Listener LoadBalancerListenerIdentityIntf `json:"listener" validate:"required"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`
}

LoadBalancerListenerHTTPSRedirectPrototype : LoadBalancerListenerHTTPSRedirectPrototype struct

type LoadBalancerListenerIdentity added in v0.10.0

type LoadBalancerListenerIdentity struct {
	// The unique identifier for this load balancer listener.
	ID *string `json:"id,omitempty"`

	// The listener's canonical URL.
	Href *string `json:"href,omitempty"`
}

LoadBalancerListenerIdentity : Identifies a load balancer listener by a unique property. Models which "extend" this model: - LoadBalancerListenerIdentityByID - LoadBalancerListenerIdentityByHref

type LoadBalancerListenerIdentityByHref added in v0.10.0

type LoadBalancerListenerIdentityByHref struct {
	// The listener's canonical URL.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerListenerIdentityByHref : LoadBalancerListenerIdentityByHref struct This model "extends" LoadBalancerListenerIdentity

type LoadBalancerListenerIdentityByID added in v0.10.0

type LoadBalancerListenerIdentityByID struct {
	// The unique identifier for this load balancer listener.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerListenerIdentityByID : LoadBalancerListenerIdentityByID struct This model "extends" LoadBalancerListenerIdentity

type LoadBalancerListenerIdentityIntf added in v0.10.0

type LoadBalancerListenerIdentityIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerListenerPatch added in v0.2.0

type LoadBalancerListenerPatch struct {
	// If set to `true`, this listener will accept and forward PROXY protocol information. Supported by load balancers in
	// the `application` family (otherwise always `false`). Additional restrictions:
	// - If this listener has `https_redirect` specified, its `accept_proxy_protocol` value must
	//   match the `accept_proxy_protocol` value of the `https_redirect` listener.
	// - If this listener is the target of another listener's `https_redirect`, its
	//   `accept_proxy_protocol` value must match that listener's `accept_proxy_protocol` value.
	AcceptProxyProtocol *bool `json:"accept_proxy_protocol,omitempty"`

	// The certificate instance to use for SSL termination. The listener must have a
	// `protocol` of `https`.
	CertificateInstance CertificateInstanceIdentityIntf `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	ConnectionLimit *int64 `json:"connection_limit,omitempty"`

	// The default pool for this listener. If `https_redirect` is set, the default pool will not
	// be used. The specified pool must:
	//
	// - Belong to this load balancer
	// - Have the same `protocol` as this listener, or have a compatible protocol.
	//   At present, the compatible protocols are `http` and `https`.
	// - Not already be the `default_pool` for another listener
	//
	// Specify `null` to remove an existing default pool.
	DefaultPool LoadBalancerListenerDefaultPoolPatchIntf `json:"default_pool,omitempty"`

	// The target listener that requests will be redirected to if none of the listener's
	// `policies` match.
	//
	// If specified, this listener must have a `protocol` of `http`, and the target listener
	// must have a `protocol` of `https`.
	//
	// Specify `null` to remove any existing https redirect.
	HTTPSRedirect *LoadBalancerListenerHTTPSRedirectPatch `json:"https_redirect,omitempty"`

	// The idle connection timeout of the listener in seconds. Supported for load balancers in the `application` family.
	IdleConnectionTimeout *int64 `json:"idle_connection_timeout,omitempty"`

	// The listener port number, or the inclusive lower bound of the port range. Each listener in the load balancer must
	// have a unique `port` and `protocol` combination.
	//
	// Not supported for load balancers operating with route mode enabled.
	Port *int64 `json:"port,omitempty"`

	// The inclusive upper bound of the range of ports used by this listener. Must not be less than `port_min`.
	//
	// At present, only load balancers operating with route mode enabled, and public load balancers in the `network` family
	// support different values for `port_min` and
	// `port_max`. When route mode is enabled, the value `65535` must be specified.
	//
	// The specified port range must not overlap with port ranges used by other listeners for this load balancer using the
	// same protocol.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of the range of ports used by this listener. Must not be greater than `port_max`.
	//
	// At present, only load balancers operating with route mode enabled, and public load balancers in the `network` family
	// support different values for `port_min` and
	// `port_max`. When route mode is enabled, the value `1` must be specified.
	//
	// The specified port range must not overlap with port ranges used by other listeners for this load balancer using the
	// same protocol.
	PortMin *int64 `json:"port_min,omitempty"`

	// The listener protocol. Each listener in the load balancer must have a unique `port` and `protocol` combination.
	//
	// Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the
	// `application` family support `tcp`, `http` and
	// `https`.
	//
	// Additional restrictions:
	// - If `default_pool` is set, the protocol cannot be changed.
	// - If `https_redirect` is set, the protocol must be `http`.
	// - If another listener's `https_redirect` targets this listener, the protocol must be
	// `https`.
	Protocol *string `json:"protocol,omitempty"`
}

LoadBalancerListenerPatch : LoadBalancerListenerPatch struct

func (*LoadBalancerListenerPatch) AsPatch added in v0.2.0

func (loadBalancerListenerPatch *LoadBalancerListenerPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the LoadBalancerListenerPatch

type LoadBalancerListenerPolicy

type LoadBalancerListenerPolicy struct {
	// The policy action.
	//
	// - `forward`: Requests will be forwarded to the specified `target` pool
	// - `https_redirect`: Requests will be redirected to the specified target listener. The
	//   listener must have a `protocol` of `http`, and the target listener must have a
	//   `protocol` of `https`
	// - `redirect`: Requests will be redirected to the specified `target.url`
	// - `reject`: Requests will be rejected with a `403` status code
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Action *string `json:"action" validate:"required"`

	// The date and time that this policy was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The listener policy's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The policy's unique identifier.
	ID *string `json:"id" validate:"required"`

	// The name for this load balancer listener policy. The name is unique across all policies for the load balancer
	// listener.
	Name *string `json:"name" validate:"required"`

	// Priority of the policy. The priority is unique across all policies for this load balancer listener. Lower value
	// indicates higher priority.
	Priority *int64 `json:"priority" validate:"required"`

	// The provisioning status of this policy
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProvisioningStatus *string `json:"provisioning_status" validate:"required"`

	// The rules for this policy.
	Rules []LoadBalancerListenerPolicyRuleReference `json:"rules" validate:"required"`

	// - If `action` is `forward`, the response is a `LoadBalancerPoolReference`
	// - If `action` is `https_redirect`, the response is a
	// `LoadBalancerListenerPolicyHTTPSRedirect`
	// - If `action` is `redirect`, the response is a `LoadBalancerListenerPolicyRedirectURL`.
	Target LoadBalancerListenerPolicyTargetIntf `json:"target,omitempty"`
}

LoadBalancerListenerPolicy : LoadBalancerListenerPolicy struct

type LoadBalancerListenerPolicyCollection

type LoadBalancerListenerPolicyCollection struct {
	// Collection of policies.
	Policies []LoadBalancerListenerPolicy `json:"policies" validate:"required"`
}

LoadBalancerListenerPolicyCollection : LoadBalancerListenerPolicyCollection struct

type LoadBalancerListenerPolicyPatch added in v0.2.0

type LoadBalancerListenerPolicyPatch struct {
	// The name for this policy. The name must not be used by another policy for the load balancer listener.
	Name *string `json:"name,omitempty"`

	// Priority of the policy. The priority is unique across all policies for this load balancer listener. Lower value
	// indicates higher priority.
	Priority *int64 `json:"priority,omitempty"`

	// - If `action` is `forward`, specify a `LoadBalancerPoolIdentity`.
	// - If `action` is `https_redirect`, specify a
	// `LoadBalancerListenerPolicyHTTPSRedirectPatch`.
	// - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPatch`.
	Target LoadBalancerListenerPolicyTargetPatchIntf `json:"target,omitempty"`
}

LoadBalancerListenerPolicyPatch : LoadBalancerListenerPolicyPatch struct

func (*LoadBalancerListenerPolicyPatch) AsPatch added in v0.2.0

func (loadBalancerListenerPolicyPatch *LoadBalancerListenerPolicyPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the LoadBalancerListenerPolicyPatch

type LoadBalancerListenerPolicyPrototype

type LoadBalancerListenerPolicyPrototype struct {
	// The policy action.
	//
	// - `forward`: Requests will be forwarded to the specified `target` pool
	// - `https_redirect`: Requests will be redirected to the specified target listener. The
	//   listener must have a `protocol` of `http`, and the target listener must have a
	//   `protocol` of `https`
	// - `redirect`: Requests will be redirected to the specified `target.url`
	// - `reject`: Requests will be rejected with a `403` status code
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Action *string `json:"action" validate:"required"`

	// The name for this policy. The name must not be used by another policy for the load balancer listener. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// Priority of the policy. The priority is unique across all policies for this load balancer listener. Lower value
	// indicates higher priority.
	Priority *int64 `json:"priority" validate:"required"`

	// The rule prototype objects for this policy.
	Rules []LoadBalancerListenerPolicyRulePrototype `json:"rules,omitempty"`

	// - If `action` is `forward`, specify a `LoadBalancerPoolIdentity`.
	// - If `action` is `https_redirect`, specify a
	// `LoadBalancerListenerPolicyHTTPSRedirectPrototype`.
	// - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPrototype`.
	Target LoadBalancerListenerPolicyTargetPrototypeIntf `json:"target,omitempty"`
}

LoadBalancerListenerPolicyPrototype : LoadBalancerListenerPolicyPrototype struct

type LoadBalancerListenerPolicyReference

type LoadBalancerListenerPolicyReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerListenerPolicyReferenceDeleted `json:"deleted,omitempty"`

	// The listener policy's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The policy's unique identifier.
	ID *string `json:"id" validate:"required"`

	// The name for this load balancer listener policy. The name is unique across all policies for the load balancer
	// listener.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerListenerPolicyReference : LoadBalancerListenerPolicyReference struct

type LoadBalancerListenerPolicyReferenceDeleted added in v0.3.0

type LoadBalancerListenerPolicyReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

LoadBalancerListenerPolicyReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type LoadBalancerListenerPolicyRule

type LoadBalancerListenerPolicyRule struct {
	// The condition of the rule.
	Condition *string `json:"condition" validate:"required"`

	// The date and time that this rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The field. This is applicable to `header`, `query`, and `body` rule types.
	//
	// If the rule type is `header`, this property is required.
	//
	// If the rule type is `query`, this is optional. If specified and the rule condition is not
	// `matches_regex`, the value must be percent-encoded.
	//
	// If the rule type is `body`, this is optional.
	Field *string `json:"field,omitempty"`

	// The rule's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The rule's unique identifier.
	ID *string `json:"id" validate:"required"`

	// The provisioning status of this rule
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProvisioningStatus *string `json:"provisioning_status" validate:"required"`

	// The type of the rule.
	//
	// Body rules are applied to form-encoded request bodies using the `UTF-8` character set.
	Type *string `json:"type" validate:"required"`

	// Value to be matched for rule condition.
	//
	// If the rule type is `query` and the rule condition is not `matches_regex`, the value must be percent-encoded.
	Value *string `json:"value" validate:"required"`
}

LoadBalancerListenerPolicyRule : LoadBalancerListenerPolicyRule struct

type LoadBalancerListenerPolicyRuleCollection

type LoadBalancerListenerPolicyRuleCollection struct {
	// Collection of rules.
	Rules []LoadBalancerListenerPolicyRule `json:"rules" validate:"required"`
}

LoadBalancerListenerPolicyRuleCollection : LoadBalancerListenerPolicyRuleCollection struct

type LoadBalancerListenerPolicyRulePatch added in v0.2.0

type LoadBalancerListenerPolicyRulePatch struct {
	// The condition of the rule.
	Condition *string `json:"condition,omitempty"`

	// The field. This is applicable to `header`, `query`, and `body` rule types.
	//
	// If the rule type is `header`, this property is required.
	//
	// If the rule type is `query`, this is optional. If specified and the rule condition is not
	// `matches_regex`, the value must be percent-encoded.
	//
	// If the rule type is `body`, this is optional.
	Field *string `json:"field,omitempty"`

	// The type of the rule.
	//
	// Body rules are applied to form-encoded request bodies using the `UTF-8` character set.
	Type *string `json:"type,omitempty"`

	// Value to be matched for rule condition.
	//
	// If the rule type is `query` and the rule condition is not `matches_regex`, the value must be percent-encoded.
	Value *string `json:"value,omitempty"`
}

LoadBalancerListenerPolicyRulePatch : LoadBalancerListenerPolicyRulePatch struct

func (*LoadBalancerListenerPolicyRulePatch) AsPatch added in v0.2.0

func (loadBalancerListenerPolicyRulePatch *LoadBalancerListenerPolicyRulePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the LoadBalancerListenerPolicyRulePatch

type LoadBalancerListenerPolicyRulePrototype

type LoadBalancerListenerPolicyRulePrototype struct {
	// The condition of the rule.
	Condition *string `json:"condition" validate:"required"`

	// The field. This is applicable to `header`, `query`, and `body` rule types.
	//
	// If the rule type is `header`, this property is required.
	//
	// If the rule type is `query`, this is optional. If specified and the rule condition is not
	// `matches_regex`, the value must be percent-encoded.
	//
	// If the rule type is `body`, this is optional.
	Field *string `json:"field,omitempty"`

	// The type of the rule.
	//
	// Body rules are applied to form-encoded request bodies using the `UTF-8` character set.
	Type *string `json:"type" validate:"required"`

	// Value to be matched for rule condition.
	//
	// If the rule type is `query` and the rule condition is not `matches_regex`, the value must be percent-encoded.
	Value *string `json:"value" validate:"required"`
}

LoadBalancerListenerPolicyRulePrototype : LoadBalancerListenerPolicyRulePrototype struct

type LoadBalancerListenerPolicyRuleReference

type LoadBalancerListenerPolicyRuleReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerListenerPolicyRuleReferenceDeleted `json:"deleted,omitempty"`

	// The rule's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The rule's unique identifier.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerListenerPolicyRuleReference : LoadBalancerListenerPolicyRuleReference struct

type LoadBalancerListenerPolicyRuleReferenceDeleted added in v0.3.0

type LoadBalancerListenerPolicyRuleReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

LoadBalancerListenerPolicyRuleReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type LoadBalancerListenerPolicyTarget added in v0.2.0

type LoadBalancerListenerPolicyTarget struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerPoolReferenceDeleted `json:"deleted,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The name for this load balancer pool. The name is unique across all pools for the load balancer.
	Name *string `json:"name,omitempty"`

	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code,omitempty"`

	Listener *LoadBalancerListenerReference `json:"listener,omitempty"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`

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

LoadBalancerListenerPolicyTarget : - If `action` is `forward`, the response is a `LoadBalancerPoolReference` - If `action` is `https_redirect`, the response is a `LoadBalancerListenerPolicyHTTPSRedirect` - If `action` is `redirect`, the response is a `LoadBalancerListenerPolicyRedirectURL`. Models which "extend" this model: - LoadBalancerListenerPolicyTargetLoadBalancerPoolReference - LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect - LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL

type LoadBalancerListenerPolicyTargetIntf added in v0.2.0

type LoadBalancerListenerPolicyTargetIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect added in v0.50.0

type LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code" validate:"required"`

	Listener *LoadBalancerListenerReference `json:"listener" validate:"required"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`
}

LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect : LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyHTTPSRedirect struct This model "extends" LoadBalancerListenerPolicyTarget

type LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL added in v0.2.0

type LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code" validate:"required"`

	// The redirect target URL.
	URL *string `json:"url" validate:"required"`
}

LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL : LoadBalancerListenerPolicyTargetLoadBalancerListenerPolicyRedirectURL struct This model "extends" LoadBalancerListenerPolicyTarget

type LoadBalancerListenerPolicyTargetLoadBalancerPoolReference added in v0.2.0

type LoadBalancerListenerPolicyTargetLoadBalancerPoolReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerPoolReferenceDeleted `json:"deleted,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`

	// The name for this load balancer pool. The name is unique across all pools for the load balancer.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerListenerPolicyTargetLoadBalancerPoolReference : LoadBalancerListenerPolicyTargetLoadBalancerPoolReference struct This model "extends" LoadBalancerListenerPolicyTarget

type LoadBalancerListenerPolicyTargetPatch added in v0.3.0

type LoadBalancerListenerPolicyTargetPatch struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`

	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code,omitempty"`

	// Identifies a load balancer listener by a unique property.
	Listener LoadBalancerListenerIdentityIntf `json:"listener,omitempty"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`

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

LoadBalancerListenerPolicyTargetPatch : - If `action` is `forward`, specify a `LoadBalancerPoolIdentity`. - If `action` is `https_redirect`, specify a `LoadBalancerListenerPolicyHTTPSRedirectPatch`. - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPatch`. Models which "extend" this model: - LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity - LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch - LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch

type LoadBalancerListenerPolicyTargetPatchIntf added in v0.3.0

type LoadBalancerListenerPolicyTargetPatchIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch added in v0.50.0

type LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code,omitempty"`

	// Identifies a load balancer listener by a unique property.
	Listener LoadBalancerListenerIdentityIntf `json:"listener,omitempty"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`
}

LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch : LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyHTTPSRedirectPatch struct This model "extends" LoadBalancerListenerPolicyTargetPatch

type LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch added in v0.3.0

type LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code,omitempty"`

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

LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch : LoadBalancerListenerPolicyTargetPatchLoadBalancerListenerPolicyRedirectURLPatch struct This model "extends" LoadBalancerListenerPolicyTargetPatch

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity added in v0.3.0

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`
}

LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity : Identifies a load balancer pool by a unique property. Models which "extend" this model: - LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID - LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref This model "extends" LoadBalancerListenerPolicyTargetPatch

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityIntf added in v0.3.0

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityIntf interface {
	LoadBalancerListenerPolicyTargetPatchIntf
	// contains filtered or unexported methods
}

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref struct {
	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref : LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref struct This model "extends" LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

type LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID : LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID struct This model "extends" LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity

type LoadBalancerListenerPolicyTargetPrototype added in v0.3.0

type LoadBalancerListenerPolicyTargetPrototype struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`

	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code,omitempty"`

	// Identifies a load balancer listener by a unique property.
	Listener LoadBalancerListenerIdentityIntf `json:"listener,omitempty"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`

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

LoadBalancerListenerPolicyTargetPrototype : - If `action` is `forward`, specify a `LoadBalancerPoolIdentity`. - If `action` is `https_redirect`, specify a `LoadBalancerListenerPolicyHTTPSRedirectPrototype`. - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPrototype`. Models which "extend" this model: - LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity - LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype - LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype

type LoadBalancerListenerPolicyTargetPrototypeIntf added in v0.3.0

type LoadBalancerListenerPolicyTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype added in v0.50.0

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code" validate:"required"`

	// Identifies a load balancer listener by a unique property.
	Listener LoadBalancerListenerIdentityIntf `json:"listener" validate:"required"`

	// The redirect relative target URI.
	URI *string `json:"uri,omitempty"`
}

LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype : LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype struct This model "extends" LoadBalancerListenerPolicyTargetPrototype

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype added in v0.3.0

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype struct {
	// The HTTP status code for this redirect.
	HTTPStatusCode *int64 `json:"http_status_code" validate:"required"`

	// The redirect target URL.
	URL *string `json:"url" validate:"required"`
}

LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype : LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype struct This model "extends" LoadBalancerListenerPolicyTargetPrototype

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity added in v0.3.0

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`
}

LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity : Identifies a load balancer pool by a unique property. Models which "extend" this model: - LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID - LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref This model "extends" LoadBalancerListenerPolicyTargetPrototype

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityIntf added in v0.3.0

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityIntf interface {
	LoadBalancerListenerPolicyTargetPrototypeIntf
	// contains filtered or unexported methods
}

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref struct {
	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref : LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref struct This model "extends" LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

type LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID : LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID struct This model "extends" LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity

type LoadBalancerListenerPrototypeLoadBalancerContext

type LoadBalancerListenerPrototypeLoadBalancerContext struct {
	// If set to `true`, this listener will accept and forward PROXY protocol information. Supported by load balancers in
	// the `application` family (otherwise always `false`). Additional restrictions:
	// - If this listener has `https_redirect` specified, its `accept_proxy_protocol` value must
	//   match the `accept_proxy_protocol` value of the `https_redirect` listener.
	// - If this listener is the target of another listener's `https_redirect`, its
	//   `accept_proxy_protocol` value must match that listener's `accept_proxy_protocol` value.
	AcceptProxyProtocol *bool `json:"accept_proxy_protocol,omitempty"`

	// The certificate instance to use for SSL termination. The listener must have a
	// `protocol` of `https`.
	CertificateInstance CertificateInstanceIdentityIntf `json:"certificate_instance,omitempty"`

	// The connection limit of the listener.
	ConnectionLimit *int64 `json:"connection_limit,omitempty"`

	// The default pool for this listener.  If `https_redirect` is specified,
	// the default pool will not be used. If specified, the pool must:
	//
	// - Belong to this load balancer.
	// - Have the same `protocol` as this listener, or have a compatible protocol.
	//   At present, the compatible protocols are `http` and `https`.
	// - Not already be the `default_pool` for another listener.
	//
	// If unspecified, this listener will be created with no default pool, but one may be
	// subsequently set.
	DefaultPool *LoadBalancerPoolIdentityByName `json:"default_pool,omitempty"`

	// The target listener that requests will be redirected to if none of the listener's
	// `policies` match.
	//
	// If specified, this listener must have a `protocol` of `http`, and the target
	// listener must have a `protocol` of `https`.
	HTTPSRedirect *LoadBalancerListenerHTTPSRedirectPrototype `json:"https_redirect,omitempty"`

	// The idle connection timeout of the listener in seconds. Supported for load balancers in the `application` family.
	IdleConnectionTimeout *int64 `json:"idle_connection_timeout,omitempty"`

	// The listener port number, or the inclusive lower bound of the port range. Each listener in the load balancer must
	// have a unique `port` and `protocol` combination.
	//
	// Not supported for load balancers operating with route mode enabled.
	Port *int64 `json:"port,omitempty"`

	// The inclusive upper bound of the range of ports used by this listener. Must not be less than `port_min`.
	//
	// At present, only load balancers operating with route mode enabled, and public load balancers in the `network` family
	// support different values for `port_min` and
	// `port_max`. When route mode is enabled, the value `65535` must be specified.
	//
	// The specified port range must not overlap with port ranges used by other listeners for this load balancer using the
	// same protocol.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of the range of ports used by this listener. Must not be greater than `port_max`.
	//
	// At present, only load balancers operating with route mode enabled, and public load balancers in the `network` family
	// support different values for `port_min` and
	// `port_max`. When route mode is enabled, the value `1` must be specified.
	//
	// The specified port range must not overlap with port ranges used by other listeners for this load balancer using the
	// same protocol.
	PortMin *int64 `json:"port_min,omitempty"`

	// The listener protocol. Each listener in the load balancer must have a unique `port` and `protocol` combination.
	//
	// Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the
	// `application` family support `tcp`, `http` and
	// `https`.
	//
	// Additional restrictions:
	// - If `default_pool` is set, the pool's protocol must match, or be compatible with
	//   the listener's protocol. At present, the compatible protocols are `http` and
	//   `https`.
	// - If `https_redirect` is set, the protocol must be `http`.
	Protocol *string `json:"protocol" validate:"required"`
}

LoadBalancerListenerPrototypeLoadBalancerContext : LoadBalancerListenerPrototypeLoadBalancerContext struct

type LoadBalancerListenerReference

type LoadBalancerListenerReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerListenerReferenceDeleted `json:"deleted,omitempty"`

	// The listener's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer listener.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerListenerReference : LoadBalancerListenerReference struct

type LoadBalancerListenerReferenceDeleted added in v0.3.0

type LoadBalancerListenerReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

LoadBalancerListenerReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type LoadBalancerLogging added in v0.4.0

type LoadBalancerLogging struct {
	// The datapath logging configuration for this load balancer.
	Datapath *LoadBalancerLoggingDatapath `json:"datapath" validate:"required"`
}

LoadBalancerLogging : LoadBalancerLogging struct

type LoadBalancerLoggingDatapath added in v0.4.0

type LoadBalancerLoggingDatapath struct {
	// Indicates whether datapath logging is active for this load balancer.
	Active *bool `json:"active" validate:"required"`
}

LoadBalancerLoggingDatapath : The datapath logging configuration for this load balancer.

type LoadBalancerLoggingDatapathPatch added in v0.30.0

type LoadBalancerLoggingDatapathPatch struct {
	// Indicates whether datapath logging will be active for this load balancer.
	Active *bool `json:"active,omitempty"`
}

LoadBalancerLoggingDatapathPatch : The datapath logging configuration for this load balancer.

type LoadBalancerLoggingDatapathPrototype added in v0.30.0

type LoadBalancerLoggingDatapathPrototype struct {
	// Indicates whether datapath logging will be active for this load balancer.
	Active *bool `json:"active,omitempty"`
}

LoadBalancerLoggingDatapathPrototype : The datapath logging configuration for this load balancer.

type LoadBalancerLoggingPatch added in v0.30.0

type LoadBalancerLoggingPatch struct {
	// The datapath logging configuration for this load balancer.
	Datapath *LoadBalancerLoggingDatapathPatch `json:"datapath,omitempty"`
}

LoadBalancerLoggingPatch : LoadBalancerLoggingPatch struct

type LoadBalancerLoggingPrototype added in v0.30.0

type LoadBalancerLoggingPrototype struct {
	// The datapath logging configuration for this load balancer.
	Datapath *LoadBalancerLoggingDatapathPrototype `json:"datapath,omitempty"`
}

LoadBalancerLoggingPrototype : LoadBalancerLoggingPrototype struct

type LoadBalancerPatch added in v0.2.0

type LoadBalancerPatch struct {
	// The DNS configuration for this load balancer.
	//
	// Specify `null` to remove the existing DNS configuration, which will remove all DNS `A`
	// records for this load balancer that had been added to `zone`, and add equivalent `A`
	// records to the public DNS zone `lb.appdomain.cloud`.
	Dns *LoadBalancerDnsPatch `json:"dns,omitempty"`

	// The logging configuration to use for this load balancer.
	//
	// To activate logging, the load balancer profile must support the specified logging type.
	Logging *LoadBalancerLoggingPatch `json:"logging,omitempty"`

	// The name for this load balancer. The name must not be used by another load balancer in the VPC.
	Name *string `json:"name,omitempty"`

	// The subnets to provision this load balancer in. The load balancer's availability will depend on the availability of
	// the zones that the subnets reside in.
	//
	// The specified subnets must be in the same VPC as the existing subnets, and will completely replace the existing
	// subnets.
	//
	// The load balancer must be in the `application` family.
	Subnets []SubnetIdentityIntf `json:"subnets,omitempty"`
}

LoadBalancerPatch : LoadBalancerPatch struct

func (*LoadBalancerPatch) AsPatch added in v0.2.0

func (loadBalancerPatch *LoadBalancerPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the LoadBalancerPatch

type LoadBalancerPool

type LoadBalancerPool struct {
	// The load balancing algorithm.
	Algorithm *string `json:"algorithm" validate:"required"`

	// The date and time that this pool was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The health monitor of this pool.
	HealthMonitor *LoadBalancerPoolHealthMonitor `json:"health_monitor" validate:"required"`

	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`

	// The instance group that is managing this pool.
	InstanceGroup *InstanceGroupReference `json:"instance_group,omitempty"`

	// The backend server members of the pool.
	Members []LoadBalancerPoolMemberReference `json:"members,omitempty"`

	// The name for this load balancer pool. The name is unique across all pools for the load balancer.
	Name *string `json:"name" validate:"required"`

	// The protocol for this load balancer pool.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Protocol *string `json:"protocol" validate:"required"`

	// The provisioning status of this pool
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProvisioningStatus *string `json:"provisioning_status" validate:"required"`

	// The PROXY protocol setting for this pool:
	// - `v1`: Enabled with version 1 (human-readable header format)
	// - `v2`: Enabled with version 2 (binary header format)
	// - `disabled`: Disabled
	//
	// Supported by load balancers in the `application` family (otherwise always `disabled`).
	ProxyProtocol *string `json:"proxy_protocol" validate:"required"`

	// The session persistence of this pool.
	SessionPersistence *LoadBalancerPoolSessionPersistence `json:"session_persistence,omitempty"`
}

LoadBalancerPool : LoadBalancerPool struct

type LoadBalancerPoolCollection

type LoadBalancerPoolCollection struct {
	// Collection of pools.
	Pools []LoadBalancerPool `json:"pools" validate:"required"`
}

LoadBalancerPoolCollection : LoadBalancerPoolCollection struct

type LoadBalancerPoolHealthMonitor

type LoadBalancerPoolHealthMonitor struct {
	// The seconds to wait between health checks.
	Delay *int64 `json:"delay" validate:"required"`

	// The health check max retries.
	MaxRetries *int64 `json:"max_retries" validate:"required"`

	// The health check port.
	//
	// If present, this overrides the pool member port values.
	Port *int64 `json:"port,omitempty"`

	// The seconds to wait for a response to a health check.
	Timeout *int64 `json:"timeout" validate:"required"`

	// The protocol type to use for health checks.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`

	// The health check URL path. Applicable when `type` is `http` or `https`.
	//
	// Must be in the format of an [origin-form request target](https://tools.ietf.org/html/rfc7230#section-5.3.1).
	URLPath *string `json:"url_path,omitempty"`
}

LoadBalancerPoolHealthMonitor : LoadBalancerPoolHealthMonitor struct

type LoadBalancerPoolHealthMonitorPatch

type LoadBalancerPoolHealthMonitorPatch struct {
	// The seconds to wait between health checks.  Must be greater than `timeout`.
	Delay *int64 `json:"delay" validate:"required"`

	// The health check max retries.
	MaxRetries *int64 `json:"max_retries" validate:"required"`

	// The health check port.
	//
	// If set, this overrides the pool member port values.
	//
	// Specify `null` to remove an existing health check port.
	Port *int64 `json:"port,omitempty"`

	// The seconds to wait for a response to a health check.  Must be less than `delay`.
	Timeout *int64 `json:"timeout" validate:"required"`

	// The protocol type to use for health checks.
	Type *string `json:"type" validate:"required"`

	// The health check URL path. Applicable when `type` is `http` or `https`.
	//
	// Must be in the format of an [origin-form request target](https://tools.ietf.org/html/rfc7230#section-5.3.1).
	URLPath *string `json:"url_path,omitempty"`
}

LoadBalancerPoolHealthMonitorPatch : LoadBalancerPoolHealthMonitorPatch struct

type LoadBalancerPoolHealthMonitorPrototype

type LoadBalancerPoolHealthMonitorPrototype struct {
	// The seconds to wait between health checks.  Must be greater than `timeout`.
	Delay *int64 `json:"delay" validate:"required"`

	// The health check max retries.
	MaxRetries *int64 `json:"max_retries" validate:"required"`

	// The health check port.
	//
	// If specified, this overrides the pool member port values.
	Port *int64 `json:"port,omitempty"`

	// The seconds to wait for a response to a health check.  Must be less than `delay`.
	Timeout *int64 `json:"timeout" validate:"required"`

	// The protocol type to use for health checks.
	Type *string `json:"type" validate:"required"`

	// The health check URL path. Applicable when `type` is `http` or `https`.
	//
	// Must be in the format of an [origin-form request target](https://tools.ietf.org/html/rfc7230#section-5.3.1).
	URLPath *string `json:"url_path,omitempty"`
}

LoadBalancerPoolHealthMonitorPrototype : LoadBalancerPoolHealthMonitorPrototype struct

type LoadBalancerPoolIdentity

type LoadBalancerPoolIdentity struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href,omitempty"`
}

LoadBalancerPoolIdentity : Identifies a load balancer pool by a unique property. Models which "extend" this model: - LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID - LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref

type LoadBalancerPoolIdentityByName

type LoadBalancerPoolIdentityByName struct {
	// The name for this load balancer pool. The name is unique across all pools for the load balancer.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerPoolIdentityByName : LoadBalancerPoolIdentityByName struct

type LoadBalancerPoolIdentityIntf

type LoadBalancerPoolIdentityIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

type LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref struct {
	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref : LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref struct This model "extends" LoadBalancerPoolIdentity

type LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

type LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID struct {
	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID : LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID struct This model "extends" LoadBalancerPoolIdentity

type LoadBalancerPoolMember

type LoadBalancerPoolMember struct {
	// The date and time that this member was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Health of the server member in the pool.
	Health *string `json:"health" validate:"required"`

	// The member's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer pool member.
	ID *string `json:"id" validate:"required"`

	// The port the member will receive load balancer traffic on. Applies only to load balancer traffic received on a
	// listener with a single port. (If the traffic is received on a listener with a port range, the member will receive
	// the traffic on the same port the listener received it on.)
	//
	// This port will also be used for health checks unless the `port` property of
	// `health_monitor` property is specified.
	Port *int64 `json:"port" validate:"required"`

	// The provisioning status of this member
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProvisioningStatus *string `json:"provisioning_status" validate:"required"`

	// The pool member target. Load balancers in the `network` family support virtual server
	// instances. Load balancers in the `application` family support IP addresses. If the load
	// balancer has route mode enabled, the member must be in a zone the load balancer has a
	// subnet in.
	Target LoadBalancerPoolMemberTargetIntf `json:"target" validate:"required"`

	// Weight of the server member. Applicable only if the pool algorithm is
	// `weighted_round_robin`.
	Weight *int64 `json:"weight,omitempty"`
}

LoadBalancerPoolMember : LoadBalancerPoolMember struct

type LoadBalancerPoolMemberCollection

type LoadBalancerPoolMemberCollection struct {
	// Collection of members.
	Members []LoadBalancerPoolMember `json:"members" validate:"required"`
}

LoadBalancerPoolMemberCollection : LoadBalancerPoolMemberCollection struct

type LoadBalancerPoolMemberPatch added in v0.2.0

type LoadBalancerPoolMemberPatch struct {
	// The port the member will receive load balancer traffic on. Applies only to load balancer traffic received on a
	// listener with a single port. (If the traffic is received on a listener with a port range, the member will receive
	// the traffic on the same port the listener received it on.)
	//
	// This port will also be used for health checks unless the `port` property of
	// `health_monitor` property is specified.
	//
	// The port must be unique across all members for all pools associated with this pool's listener.
	Port *int64 `json:"port,omitempty"`

	// The pool member target. Load balancers in the `network` family support virtual server
	// instances. Load balancers in the `application` family support IP addresses. If the load
	// balancer has route mode enabled, the member must be in a zone the load balancer has a
	// subnet in.
	Target LoadBalancerPoolMemberTargetPrototypeIntf `json:"target,omitempty"`

	// Weight of the server member. Applicable only if the pool algorithm is
	// `weighted_round_robin`.
	Weight *int64 `json:"weight,omitempty"`
}

LoadBalancerPoolMemberPatch : LoadBalancerPoolMemberPatch struct

func (*LoadBalancerPoolMemberPatch) AsPatch added in v0.2.0

func (loadBalancerPoolMemberPatch *LoadBalancerPoolMemberPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the LoadBalancerPoolMemberPatch

type LoadBalancerPoolMemberPrototype

type LoadBalancerPoolMemberPrototype struct {
	// The port the member will receive load balancer traffic on. Applies only to load balancer traffic received on a
	// listener with a single port. (If the traffic is received on a listener with a port range, the member will receive
	// the traffic on the same port the listener received it on.)
	//
	// This port will also be used for health checks unless the `port` property of
	// `health_monitor` property is specified.
	//
	// The port must be unique across all members for all pools associated with this pool's listener.
	Port *int64 `json:"port" validate:"required"`

	// The pool member target. Load balancers in the `network` family support virtual server
	// instances. Load balancers in the `application` family support IP addresses. If the load
	// balancer has route mode enabled, the member must be in a zone the load balancer has a
	// subnet in.
	Target LoadBalancerPoolMemberTargetPrototypeIntf `json:"target" validate:"required"`

	// Weight of the server member. Applicable only if the pool algorithm is
	// `weighted_round_robin`.
	Weight *int64 `json:"weight,omitempty"`
}

LoadBalancerPoolMemberPrototype : LoadBalancerPoolMemberPrototype struct

type LoadBalancerPoolMemberReference

type LoadBalancerPoolMemberReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerPoolMemberReferenceDeleted `json:"deleted,omitempty"`

	// The member's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer pool member.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerPoolMemberReference : LoadBalancerPoolMemberReference struct

type LoadBalancerPoolMemberReferenceDeleted added in v0.3.0

type LoadBalancerPoolMemberReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

LoadBalancerPoolMemberReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type LoadBalancerPoolMemberTarget

type LoadBalancerPoolMemberTarget struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this virtual server instance.
	ID *string `json:"id,omitempty"`

	// The name for this virtual server instance. The name is unique across all virtual server instances in the region.
	Name *string `json:"name,omitempty"`

	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`
}

LoadBalancerPoolMemberTarget : The pool member target. Load balancers in the `network` family support virtual server instances. Load balancers in the `application` family support IP addresses. If the load balancer has route mode enabled, the member must be in a zone the load balancer has a subnet in. Models which "extend" this model: - LoadBalancerPoolMemberTargetInstanceReference - LoadBalancerPoolMemberTargetIP

type LoadBalancerPoolMemberTargetIP

type LoadBalancerPoolMemberTargetIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

LoadBalancerPoolMemberTargetIP : LoadBalancerPoolMemberTargetIP struct This model "extends" LoadBalancerPoolMemberTarget

type LoadBalancerPoolMemberTargetInstanceReference added in v0.1.1

type LoadBalancerPoolMemberTargetInstanceReference struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *InstanceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual server instance. The name is unique across all virtual server instances in the region.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerPoolMemberTargetInstanceReference : LoadBalancerPoolMemberTargetInstanceReference struct This model "extends" LoadBalancerPoolMemberTarget

type LoadBalancerPoolMemberTargetIntf

type LoadBalancerPoolMemberTargetIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerPoolMemberTargetPrototype

type LoadBalancerPoolMemberTargetPrototype struct {
	// The unique identifier for this virtual server instance.
	ID *string `json:"id,omitempty"`

	// The CRN for this virtual server instance.
	CRN *string `json:"crn,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href,omitempty"`

	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`
}

LoadBalancerPoolMemberTargetPrototype : The pool member target. Load balancers in the `network` family support virtual server instances. Load balancers in the `application` family support IP addresses. If the load balancer has route mode enabled, the member must be in a zone the load balancer has a subnet in. Models which "extend" this model: - LoadBalancerPoolMemberTargetPrototypeInstanceIdentity - LoadBalancerPoolMemberTargetPrototypeIP

type LoadBalancerPoolMemberTargetPrototypeIP

type LoadBalancerPoolMemberTargetPrototypeIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

LoadBalancerPoolMemberTargetPrototypeIP : LoadBalancerPoolMemberTargetPrototypeIP struct This model "extends" LoadBalancerPoolMemberTargetPrototype

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentity added in v0.1.1

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentity struct {
	// The unique identifier for this virtual server instance.
	ID *string `json:"id,omitempty"`

	// The CRN for this virtual server instance.
	CRN *string `json:"crn,omitempty"`

	// The URL for this virtual server instance.
	Href *string `json:"href,omitempty"`
}

LoadBalancerPoolMemberTargetPrototypeInstanceIdentity : Identifies a virtual server instance by a unique property. Models which "extend" this model: - LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID - LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN - LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref This model "extends" LoadBalancerPoolMemberTargetPrototype

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN added in v0.1.1

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN struct {
	// The CRN for this virtual server instance.
	CRN *string `json:"crn" validate:"required"`
}

LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN : LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN struct This model "extends" LoadBalancerPoolMemberTargetPrototypeInstanceIdentity

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref added in v0.1.1

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref struct {
	// The URL for this virtual server instance.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref : LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref struct This model "extends" LoadBalancerPoolMemberTargetPrototypeInstanceIdentity

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID added in v0.1.1

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID struct {
	// The unique identifier for this virtual server instance.
	ID *string `json:"id" validate:"required"`
}

LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID : LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID struct This model "extends" LoadBalancerPoolMemberTargetPrototypeInstanceIdentity

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityIntf added in v0.1.1

type LoadBalancerPoolMemberTargetPrototypeInstanceIdentityIntf interface {
	LoadBalancerPoolMemberTargetPrototypeIntf
	// contains filtered or unexported methods
}

type LoadBalancerPoolMemberTargetPrototypeIntf

type LoadBalancerPoolMemberTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerPoolPatch added in v0.2.0

type LoadBalancerPoolPatch struct {
	// The load balancing algorithm.
	Algorithm *string `json:"algorithm,omitempty"`

	// The health monitor of this pool.
	HealthMonitor *LoadBalancerPoolHealthMonitorPatch `json:"health_monitor,omitempty"`

	// The name for this load balancer pool. The name must not be used by another pool for the load balancer.
	Name *string `json:"name,omitempty"`

	// The protocol for this load balancer pool.
	//
	// Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the
	// `application` family support `tcp`, `http` and
	// `https`.
	//
	// If this pool is associated with a load balancer listener, the specified protocol must match, or be compatible with
	// the listener's protocol. At present, the compatible protocols are `http` and `https`.
	Protocol *string `json:"protocol,omitempty"`

	// The PROXY protocol setting for this pool:
	// - `v1`: Enabled with version 1 (human-readable header format)
	// - `v2`: Enabled with version 2 (binary header format)
	// - `disabled`: Disabled
	//
	// Supported by load balancers in the `application` family (otherwise always `disabled`).
	ProxyProtocol *string `json:"proxy_protocol,omitempty"`

	// The session persistence of this pool.
	SessionPersistence *LoadBalancerPoolSessionPersistencePatch `json:"session_persistence,omitempty"`
}

LoadBalancerPoolPatch : LoadBalancerPoolPatch struct

func (*LoadBalancerPoolPatch) AsPatch added in v0.2.0

func (loadBalancerPoolPatch *LoadBalancerPoolPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the LoadBalancerPoolPatch

type LoadBalancerPoolPrototype

type LoadBalancerPoolPrototype struct {
	// The load balancing algorithm.
	Algorithm *string `json:"algorithm" validate:"required"`

	// The health monitor of this pool.
	HealthMonitor *LoadBalancerPoolHealthMonitorPrototype `json:"health_monitor" validate:"required"`

	// The members for this load balancer pool. For load balancers in the `network` family, the same `port` and `target`
	// tuple cannot be shared by a pool member of any other load balancer in the same VPC.
	Members []LoadBalancerPoolMemberPrototype `json:"members,omitempty"`

	// The name for this load balancer pool. The name must not be used by another pool for the load balancer. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if
	// `udp_supported` is `true`). Load balancers in the
	// `application` family support `tcp`, `http`, and `https`.
	Protocol *string `json:"protocol" validate:"required"`

	// The PROXY protocol setting for this pool:
	// - `v1`: Enabled with version 1 (human-readable header format)
	// - `v2`: Enabled with version 2 (binary header format)
	// - `disabled`: Disabled
	//
	// Supported by load balancers in the `application` family (otherwise always `disabled`).
	ProxyProtocol *string `json:"proxy_protocol,omitempty"`

	// The session persistence of this pool. If unspecified, session persistence will be
	// disabled, and traffic will be distributed across backend server members of the
	// pool.
	SessionPersistence *LoadBalancerPoolSessionPersistencePrototype `json:"session_persistence,omitempty"`
}

LoadBalancerPoolPrototype : LoadBalancerPoolPrototype struct

type LoadBalancerPoolReference

type LoadBalancerPoolReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerPoolReferenceDeleted `json:"deleted,omitempty"`

	// The pool's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer pool.
	ID *string `json:"id" validate:"required"`

	// The name for this load balancer pool. The name is unique across all pools for the load balancer.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerPoolReference : LoadBalancerPoolReference struct

type LoadBalancerPoolReferenceDeleted added in v0.3.0

type LoadBalancerPoolReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

LoadBalancerPoolReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type LoadBalancerPoolSessionPersistence

type LoadBalancerPoolSessionPersistence struct {
	// The session persistence cookie name. Applicable only for type `app_cookie`. Names starting with `IBM` are not
	// allowed.
	CookieName *string `json:"cookie_name,omitempty"`

	// The session persistence type. The `http_cookie` and `app_cookie` types are applicable only to the `http` and `https`
	// protocols.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`
}

LoadBalancerPoolSessionPersistence : LoadBalancerPoolSessionPersistence struct

type LoadBalancerPoolSessionPersistencePatch

type LoadBalancerPoolSessionPersistencePatch struct {
	// The session persistence cookie name. Applicable only for type `app_cookie`. Names starting with `IBM` are not
	// allowed.
	CookieName *string `json:"cookie_name,omitempty"`

	// The session persistence type. The `http_cookie` and `app_cookie` types are applicable only to the `http` and `https`
	// protocols.
	Type *string `json:"type,omitempty"`
}

LoadBalancerPoolSessionPersistencePatch : The session persistence configuration. Specify `null` to remove any existing session persistence configuration.

type LoadBalancerPoolSessionPersistencePrototype

type LoadBalancerPoolSessionPersistencePrototype struct {
	// The session persistence cookie name. Applicable only for type `app_cookie`. Names starting with `IBM` are not
	// allowed.
	CookieName *string `json:"cookie_name,omitempty"`

	// The session persistence type. The `http_cookie` and `app_cookie` types are applicable only to the `http` and `https`
	// protocols.
	Type *string `json:"type" validate:"required"`
}

LoadBalancerPoolSessionPersistencePrototype : LoadBalancerPoolSessionPersistencePrototype struct

type LoadBalancerPrivateIpsItem added in v0.19.0

type LoadBalancerPrivateIpsItem struct {
	// The IP address.
	//
	// If the address has not yet been selected, the value will be `0.0.0.0`.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ReservedIPReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`

	// The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

LoadBalancerPrivateIpsItem : LoadBalancerPrivateIpsItem struct

type LoadBalancerProfile added in v0.1.0

type LoadBalancerProfile struct {
	// The product family this load balancer profile belongs to.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Family *string `json:"family" validate:"required"`

	// The URL for this load balancer profile.
	Href *string `json:"href" validate:"required"`

	InstanceGroupsSupported LoadBalancerProfileInstanceGroupsSupportedIntf `json:"instance_groups_supported" validate:"required"`

	// Indicates which logging type(s) are supported for a load balancer with this profile.
	LoggingSupported *LoadBalancerProfileLoggingSupported `json:"logging_supported" validate:"required"`

	// The globally unique name for this load balancer profile.
	Name *string `json:"name" validate:"required"`

	RouteModeSupported LoadBalancerProfileRouteModeSupportedIntf `json:"route_mode_supported" validate:"required"`

	SecurityGroupsSupported LoadBalancerProfileSecurityGroupsSupportedIntf `json:"security_groups_supported" validate:"required"`

	UDPSupported LoadBalancerProfileUDPSupportedIntf `json:"udp_supported" validate:"required"`
}

LoadBalancerProfile : LoadBalancerProfile struct

type LoadBalancerProfileCollection added in v0.1.0

type LoadBalancerProfileCollection struct {
	// A link to the first page of resources.
	First *LoadBalancerProfileCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *LoadBalancerProfileCollectionNext `json:"next,omitempty"`

	// Collection of load balancer profiles.
	Profiles []LoadBalancerProfile `json:"profiles" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

LoadBalancerProfileCollection : LoadBalancerProfileCollection struct

func (*LoadBalancerProfileCollection) GetNextStart added in v0.8.0

func (resp *LoadBalancerProfileCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type LoadBalancerProfileCollectionFirst added in v0.1.0

type LoadBalancerProfileCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerProfileCollectionFirst : A link to the first page of resources.

type LoadBalancerProfileCollectionNext added in v0.1.0

type LoadBalancerProfileCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerProfileCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type LoadBalancerProfileIdentity added in v0.1.0

type LoadBalancerProfileIdentity struct {
	// The globally unique name for this load balancer profile.
	Name *string `json:"name,omitempty"`

	// The URL for this load balancer profile.
	Href *string `json:"href,omitempty"`
}

LoadBalancerProfileIdentity : Identifies a load balancer profile by a unique property. Models which "extend" this model: - LoadBalancerProfileIdentityByName - LoadBalancerProfileIdentityByHref

type LoadBalancerProfileIdentityByHref added in v0.1.0

type LoadBalancerProfileIdentityByHref struct {
	// The URL for this load balancer profile.
	Href *string `json:"href" validate:"required"`
}

LoadBalancerProfileIdentityByHref : LoadBalancerProfileIdentityByHref struct This model "extends" LoadBalancerProfileIdentity

type LoadBalancerProfileIdentityByName added in v0.1.0

type LoadBalancerProfileIdentityByName struct {
	// The globally unique name for this load balancer profile.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerProfileIdentityByName : LoadBalancerProfileIdentityByName struct This model "extends" LoadBalancerProfileIdentity

type LoadBalancerProfileIdentityIntf added in v0.1.0

type LoadBalancerProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerProfileInstanceGroupsSupported added in v0.39.0

type LoadBalancerProfileInstanceGroupsSupported struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *bool `json:"value,omitempty"`
}

LoadBalancerProfileInstanceGroupsSupported : LoadBalancerProfileInstanceGroupsSupported struct Models which "extend" this model: - LoadBalancerProfileInstanceGroupsSupportedFixed - LoadBalancerProfileInstanceGroupsSupportedDependent

type LoadBalancerProfileInstanceGroupsSupportedDependent added in v0.39.0

type LoadBalancerProfileInstanceGroupsSupportedDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

LoadBalancerProfileInstanceGroupsSupportedDependent : The instance groups support for a load balancer with this profile depends on its configuration. This model "extends" LoadBalancerProfileInstanceGroupsSupported

type LoadBalancerProfileInstanceGroupsSupportedFixed added in v0.39.0

type LoadBalancerProfileInstanceGroupsSupportedFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *bool `json:"value" validate:"required"`
}

LoadBalancerProfileInstanceGroupsSupportedFixed : The instance groups support for a load balancer with this profile. This model "extends" LoadBalancerProfileInstanceGroupsSupported

type LoadBalancerProfileInstanceGroupsSupportedIntf added in v0.39.0

type LoadBalancerProfileInstanceGroupsSupportedIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerProfileLoggingSupported added in v0.4.0

type LoadBalancerProfileLoggingSupported struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The supported logging type(s) for a load balancer with this profile.
	Value []string `json:"value" validate:"required"`
}

LoadBalancerProfileLoggingSupported : Indicates which logging type(s) are supported for a load balancer with this profile.

type LoadBalancerProfileReference added in v0.1.0

type LoadBalancerProfileReference struct {
	// The product family this load balancer profile belongs to.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Family *string `json:"family" validate:"required"`

	// The URL for this load balancer profile.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this load balancer profile.
	Name *string `json:"name" validate:"required"`
}

LoadBalancerProfileReference : LoadBalancerProfileReference struct

type LoadBalancerProfileRouteModeSupported added in v0.12.0

type LoadBalancerProfileRouteModeSupported struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *bool `json:"value,omitempty"`
}

LoadBalancerProfileRouteModeSupported : LoadBalancerProfileRouteModeSupported struct Models which "extend" this model: - LoadBalancerProfileRouteModeSupportedFixed - LoadBalancerProfileRouteModeSupportedDependent

type LoadBalancerProfileRouteModeSupportedDependent added in v0.12.0

type LoadBalancerProfileRouteModeSupportedDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

LoadBalancerProfileRouteModeSupportedDependent : The route mode support for a load balancer with this profile depends on its configuration. This model "extends" LoadBalancerProfileRouteModeSupported

type LoadBalancerProfileRouteModeSupportedFixed added in v0.12.0

type LoadBalancerProfileRouteModeSupportedFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *bool `json:"value" validate:"required"`
}

LoadBalancerProfileRouteModeSupportedFixed : The route mode support for a load balancer with this profile. This model "extends" LoadBalancerProfileRouteModeSupported

type LoadBalancerProfileRouteModeSupportedIntf added in v0.12.0

type LoadBalancerProfileRouteModeSupportedIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerProfileSecurityGroupsSupported added in v0.5.0

type LoadBalancerProfileSecurityGroupsSupported struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *bool `json:"value,omitempty"`
}

LoadBalancerProfileSecurityGroupsSupported : LoadBalancerProfileSecurityGroupsSupported struct Models which "extend" this model: - LoadBalancerProfileSecurityGroupsSupportedFixed - LoadBalancerProfileSecurityGroupsSupportedDependent

type LoadBalancerProfileSecurityGroupsSupportedDependent added in v0.5.0

type LoadBalancerProfileSecurityGroupsSupportedDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

LoadBalancerProfileSecurityGroupsSupportedDependent : The security group support for a load balancer with this profile depends on its configuration. This model "extends" LoadBalancerProfileSecurityGroupsSupported

type LoadBalancerProfileSecurityGroupsSupportedFixed added in v0.5.0

type LoadBalancerProfileSecurityGroupsSupportedFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *bool `json:"value" validate:"required"`
}

LoadBalancerProfileSecurityGroupsSupportedFixed : The security group support for a load balancer with this profile. This model "extends" LoadBalancerProfileSecurityGroupsSupported

type LoadBalancerProfileSecurityGroupsSupportedIntf added in v0.5.0

type LoadBalancerProfileSecurityGroupsSupportedIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerProfileUDPSupported added in v0.19.0

type LoadBalancerProfileUDPSupported struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *bool `json:"value,omitempty"`
}

LoadBalancerProfileUDPSupported : LoadBalancerProfileUDPSupported struct Models which "extend" this model: - LoadBalancerProfileUDPSupportedFixed - LoadBalancerProfileUDPSupportedDependent

type LoadBalancerProfileUDPSupportedDependent added in v0.19.0

type LoadBalancerProfileUDPSupportedDependent struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

LoadBalancerProfileUDPSupportedDependent : The UDP support for a load balancer with this profile depends on its configuration. This model "extends" LoadBalancerProfileUDPSupported

type LoadBalancerProfileUDPSupportedFixed added in v0.19.0

type LoadBalancerProfileUDPSupportedFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *bool `json:"value" validate:"required"`
}

LoadBalancerProfileUDPSupportedFixed : The UDP support for a load balancer with this profile. This model "extends" LoadBalancerProfileUDPSupported

type LoadBalancerProfileUDPSupportedIntf added in v0.19.0

type LoadBalancerProfileUDPSupportedIntf interface {
	// contains filtered or unexported methods
}

type LoadBalancerProfilesPager added in v0.25.0

type LoadBalancerProfilesPager struct {
	// contains filtered or unexported fields
}

LoadBalancerProfilesPager can be used to simplify the use of the "ListLoadBalancerProfiles" method.

func (*LoadBalancerProfilesPager) GetAll added in v0.25.0

func (pager *LoadBalancerProfilesPager) GetAll() (allItems []LoadBalancerProfile, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*LoadBalancerProfilesPager) GetAllWithContext added in v0.25.0

func (pager *LoadBalancerProfilesPager) GetAllWithContext(ctx context.Context) (allItems []LoadBalancerProfile, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*LoadBalancerProfilesPager) GetNext added in v0.25.0

func (pager *LoadBalancerProfilesPager) GetNext() (page []LoadBalancerProfile, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*LoadBalancerProfilesPager) GetNextWithContext added in v0.25.0

func (pager *LoadBalancerProfilesPager) GetNextWithContext(ctx context.Context) (page []LoadBalancerProfile, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*LoadBalancerProfilesPager) HasNext added in v0.25.0

func (pager *LoadBalancerProfilesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type LoadBalancerReferenceDeleted added in v0.5.0

type LoadBalancerReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

LoadBalancerReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type LoadBalancerStatistics

type LoadBalancerStatistics struct {
	// Number of active connections of this load balancer.
	ActiveConnections *int64 `json:"active_connections" validate:"required"`

	// Current connection rate (connections per second) of this load balancer.
	ConnectionRate *float32 `json:"connection_rate" validate:"required"`

	// Total number of data processed (bytes) of this load balancer within current calendar month.
	DataProcessedThisMonth *int64 `json:"data_processed_this_month" validate:"required"`

	// Current throughput (Mbps) of this load balancer.
	Throughput *float32 `json:"throughput" validate:"required"`
}

LoadBalancerStatistics : LoadBalancerStatistics struct

type LoadBalancersPager added in v0.25.0

type LoadBalancersPager struct {
	// contains filtered or unexported fields
}

LoadBalancersPager can be used to simplify the use of the "ListLoadBalancers" method.

func (*LoadBalancersPager) GetAll added in v0.25.0

func (pager *LoadBalancersPager) GetAll() (allItems []LoadBalancer, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*LoadBalancersPager) GetAllWithContext added in v0.25.0

func (pager *LoadBalancersPager) GetAllWithContext(ctx context.Context) (allItems []LoadBalancer, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*LoadBalancersPager) GetNext added in v0.25.0

func (pager *LoadBalancersPager) GetNext() (page []LoadBalancer, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*LoadBalancersPager) GetNextWithContext added in v0.25.0

func (pager *LoadBalancersPager) GetNextWithContext(ctx context.Context) (page []LoadBalancer, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*LoadBalancersPager) HasNext added in v0.25.0

func (pager *LoadBalancersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type NetworkACL

type NetworkACL struct {
	// The date and time that the network ACL was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this network ACL.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this network ACL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL.
	ID *string `json:"id" validate:"required"`

	// The name for this network ACL. The name is unique across all network ACLs for the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this network ACL.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The ordered rules for this network ACL. If no rules exist, all traffic will be denied.
	Rules []NetworkACLRuleItemIntf `json:"rules" validate:"required"`

	// The subnets to which this network ACL is attached.
	Subnets []SubnetReference `json:"subnets" validate:"required"`

	// The VPC this network ACL resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

NetworkACL : NetworkACL struct

type NetworkACLCollection

type NetworkACLCollection struct {
	// A link to the first page of resources.
	First *NetworkACLCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of network ACLs.
	NetworkAcls []NetworkACL `json:"network_acls" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *NetworkACLCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

NetworkACLCollection : NetworkACLCollection struct

func (*NetworkACLCollection) GetNextStart added in v0.8.0

func (resp *NetworkACLCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type NetworkACLCollectionFirst

type NetworkACLCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

NetworkACLCollectionFirst : A link to the first page of resources.

type NetworkACLCollectionNext

type NetworkACLCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

NetworkACLCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type NetworkACLIdentity

type NetworkACLIdentity struct {
	// The unique identifier for this network ACL.
	ID *string `json:"id,omitempty"`

	// The CRN for this network ACL.
	CRN *string `json:"crn,omitempty"`

	// The URL for this network ACL.
	Href *string `json:"href,omitempty"`
}

NetworkACLIdentity : Identifies a network ACL by a unique property. Models which "extend" this model: - NetworkACLIdentityByID - NetworkACLIdentityByCRN - NetworkACLIdentityByHref

type NetworkACLIdentityByCRN

type NetworkACLIdentityByCRN struct {
	// The CRN for this network ACL.
	CRN *string `json:"crn" validate:"required"`
}

NetworkACLIdentityByCRN : NetworkACLIdentityByCRN struct This model "extends" NetworkACLIdentity

type NetworkACLIdentityByHref

type NetworkACLIdentityByHref struct {
	// The URL for this network ACL.
	Href *string `json:"href" validate:"required"`
}

NetworkACLIdentityByHref : NetworkACLIdentityByHref struct This model "extends" NetworkACLIdentity

type NetworkACLIdentityByID

type NetworkACLIdentityByID struct {
	// The unique identifier for this network ACL.
	ID *string `json:"id" validate:"required"`
}

NetworkACLIdentityByID : NetworkACLIdentityByID struct This model "extends" NetworkACLIdentity

type NetworkACLIdentityIntf

type NetworkACLIdentityIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLPatch added in v0.2.0

type NetworkACLPatch struct {
	// The name for this network ACL. The name must not be used by another network ACL for the VPC.
	Name *string `json:"name,omitempty"`
}

NetworkACLPatch : NetworkACLPatch struct

func (*NetworkACLPatch) AsPatch added in v0.2.0

func (networkACLPatch *NetworkACLPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the NetworkACLPatch

type NetworkACLPrototype

type NetworkACLPrototype struct {
	// The name for this network ACL. The name must not be used by another network ACL for the VPC. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The VPC this network ACL will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The prototype objects for rules to create along with this network ACL. If unspecified, no rules will be created,
	// resulting in all traffic being denied.
	Rules []NetworkACLRulePrototypeNetworkACLContextIntf `json:"rules,omitempty"`

	// Network ACL to copy rules from.
	SourceNetworkACL NetworkACLIdentityIntf `json:"source_network_acl,omitempty"`
}

NetworkACLPrototype : NetworkACLPrototype struct Models which "extend" this model: - NetworkACLPrototypeNetworkACLByRules - NetworkACLPrototypeNetworkACLBySourceNetworkACL

type NetworkACLPrototypeIntf

type NetworkACLPrototypeIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLPrototypeNetworkACLByRules

type NetworkACLPrototypeNetworkACLByRules struct {
	// The name for this network ACL. The name must not be used by another network ACL for the VPC. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The VPC this network ACL will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The prototype objects for rules to create along with this network ACL. If unspecified, no rules will be created,
	// resulting in all traffic being denied.
	Rules []NetworkACLRulePrototypeNetworkACLContextIntf `json:"rules,omitempty"`
}

NetworkACLPrototypeNetworkACLByRules : NetworkACLPrototypeNetworkACLByRules struct This model "extends" NetworkACLPrototype

type NetworkACLPrototypeNetworkACLBySourceNetworkACL

type NetworkACLPrototypeNetworkACLBySourceNetworkACL struct {
	// The name for this network ACL. The name must not be used by another network ACL for the VPC. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The VPC this network ACL will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// Network ACL to copy rules from.
	SourceNetworkACL NetworkACLIdentityIntf `json:"source_network_acl" validate:"required"`
}

NetworkACLPrototypeNetworkACLBySourceNetworkACL : NetworkACLPrototypeNetworkACLBySourceNetworkACL struct This model "extends" NetworkACLPrototype

type NetworkACLReference

type NetworkACLReference struct {
	// The CRN for this network ACL.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkACLReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this network ACL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL.
	ID *string `json:"id" validate:"required"`

	// The name for this network ACL. The name is unique across all network ACLs for the VPC.
	Name *string `json:"name" validate:"required"`
}

NetworkACLReference : NetworkACLReference struct

type NetworkACLReferenceDeleted added in v0.3.0

type NetworkACLReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

NetworkACLReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type NetworkACLRule

type NetworkACLRule struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`

	// The ICMP traffic code to match.
	//
	// If absent, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The ICMP traffic type to match.
	//
	// If absent, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRule : NetworkACLRule struct Models which "extend" this model: - NetworkACLRuleNetworkACLRuleProtocolTcpudp - NetworkACLRuleNetworkACLRuleProtocolIcmp - NetworkACLRuleNetworkACLRuleProtocolAll

type NetworkACLRuleBeforePatch added in v0.3.0

type NetworkACLRuleBeforePatch struct {
	// The unique identifier for this network ACL rule.
	ID *string `json:"id,omitempty"`

	// The URL for this network ACL rule.
	Href *string `json:"href,omitempty"`
}

NetworkACLRuleBeforePatch : The rule to move this rule immediately before.

Specify `null` to move this rule after all existing rules. Models which "extend" this model: - NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID - NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref

type NetworkACLRuleBeforePatchIntf added in v0.3.0

type NetworkACLRuleBeforePatchIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref added in v0.3.0

type NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref struct {
	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`
}

NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref : NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref struct This model "extends" NetworkACLRuleBeforePatch

type NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID added in v0.3.0

type NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID struct {
	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`
}

NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID : NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID struct This model "extends" NetworkACLRuleBeforePatch

type NetworkACLRuleBeforePrototype added in v0.3.0

type NetworkACLRuleBeforePrototype struct {
	// The unique identifier for this network ACL rule.
	ID *string `json:"id,omitempty"`

	// The URL for this network ACL rule.
	Href *string `json:"href,omitempty"`
}

NetworkACLRuleBeforePrototype : The rule to insert this rule immediately before.

If unspecified, this rule will be inserted after all existing rules. Models which "extend" this model: - NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID - NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref

type NetworkACLRuleBeforePrototypeIntf added in v0.3.0

type NetworkACLRuleBeforePrototypeIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref added in v0.3.0

type NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref struct {
	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`
}

NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref : NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref struct This model "extends" NetworkACLRuleBeforePrototype

type NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID added in v0.3.0

type NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID struct {
	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`
}

NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID : NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID struct This model "extends" NetworkACLRuleBeforePrototype

type NetworkACLRuleCollection

type NetworkACLRuleCollection struct {
	// A link to the first page of resources.
	First *NetworkACLRuleCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *NetworkACLRuleCollectionNext `json:"next,omitempty"`

	// Ordered collection of network ACL rules.
	Rules []NetworkACLRuleItemIntf `json:"rules" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

NetworkACLRuleCollection : NetworkACLRuleCollection struct

func (*NetworkACLRuleCollection) GetNextStart added in v0.8.0

func (resp *NetworkACLRuleCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type NetworkACLRuleCollectionFirst

type NetworkACLRuleCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

NetworkACLRuleCollectionFirst : A link to the first page of resources.

type NetworkACLRuleCollectionNext

type NetworkACLRuleCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

NetworkACLRuleCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type NetworkACLRuleIntf

type NetworkACLRuleIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLRuleItem

type NetworkACLRuleItem struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. In a rule collection, this always
	// refers to the next item in the collection. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`

	// The ICMP traffic code to match.
	//
	// If absent, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The ICMP traffic type to match.
	//
	// If absent, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRuleItem : NetworkACLRuleItem struct Models which "extend" this model: - NetworkACLRuleItemNetworkACLRuleProtocolTcpudp - NetworkACLRuleItemNetworkACLRuleProtocolIcmp - NetworkACLRuleItemNetworkACLRuleProtocolAll

type NetworkACLRuleItemIntf

type NetworkACLRuleItemIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLRuleItemNetworkACLRuleProtocolAll

type NetworkACLRuleItemNetworkACLRuleProtocolAll struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. In a rule collection, this always refers to the next item in the
	// collection. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`
}

NetworkACLRuleItemNetworkACLRuleProtocolAll : NetworkACLRuleItemNetworkACLRuleProtocolAll struct This model "extends" NetworkACLRuleItem

type NetworkACLRuleItemNetworkACLRuleProtocolIcmp

type NetworkACLRuleItemNetworkACLRuleProtocolIcmp struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. In a rule collection, this always refers to the next item in the
	// collection. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The ICMP traffic code to match.
	//
	// If absent, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The ICMP traffic type to match.
	//
	// If absent, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRuleItemNetworkACLRuleProtocolIcmp : NetworkACLRuleItemNetworkACLRuleProtocolIcmp struct This model "extends" NetworkACLRuleItem

type NetworkACLRuleItemNetworkACLRuleProtocolTcpudp

type NetworkACLRuleItemNetworkACLRuleProtocolTcpudp struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. In a rule collection, this always refers to the next item in the
	// collection. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max" validate:"required"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max" validate:"required"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min" validate:"required"`
}

NetworkACLRuleItemNetworkACLRuleProtocolTcpudp : NetworkACLRuleItemNetworkACLRuleProtocolTcpudp struct This model "extends" NetworkACLRuleItem

type NetworkACLRuleNetworkACLRuleProtocolAll added in v0.0.3

type NetworkACLRuleNetworkACLRuleProtocolAll struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`
}

NetworkACLRuleNetworkACLRuleProtocolAll : NetworkACLRuleNetworkACLRuleProtocolAll struct This model "extends" NetworkACLRule

type NetworkACLRuleNetworkACLRuleProtocolIcmp added in v0.0.3

type NetworkACLRuleNetworkACLRuleProtocolIcmp struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The ICMP traffic code to match.
	//
	// If absent, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The ICMP traffic type to match.
	//
	// If absent, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRuleNetworkACLRuleProtocolIcmp : NetworkACLRuleNetworkACLRuleProtocolIcmp struct This model "extends" NetworkACLRule

type NetworkACLRuleNetworkACLRuleProtocolTcpudp added in v0.0.3

type NetworkACLRuleNetworkACLRuleProtocolTcpudp struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule that this rule is immediately before. If absent, this is the last rule.
	Before *NetworkACLRuleReference `json:"before,omitempty"`

	// The date and time that the rule was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max" validate:"required"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max" validate:"required"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min" validate:"required"`
}

NetworkACLRuleNetworkACLRuleProtocolTcpudp : NetworkACLRuleNetworkACLRuleProtocolTcpudp struct This model "extends" NetworkACLRule

type NetworkACLRulePatch added in v0.2.0

type NetworkACLRulePatch struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action,omitempty"`

	// The rule to move this rule immediately before.
	//
	// Specify `null` to move this rule after all existing rules.
	Before NetworkACLRuleBeforePatchIntf `json:"before,omitempty"`

	// The ICMP traffic code to match. If set, `type` must also be set.
	//
	// Specify `null` to remove an existing ICMP traffic code.
	Code *int64 `json:"code,omitempty"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination,omitempty"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The direction of traffic to match.
	Direction *string `json:"direction,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL.
	Name *string `json:"name,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source,omitempty"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`

	// The ICMP traffic type to match.
	//
	// Specify `null` to remove an existing ICMP traffic type value.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRulePatch : NetworkACLRulePatch struct

func (*NetworkACLRulePatch) AsPatch added in v0.2.0

func (networkACLRulePatch *NetworkACLRulePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the NetworkACLRulePatch

type NetworkACLRulePrototype

type NetworkACLRulePrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The rule to insert this rule immediately before.
	//
	// If unspecified, this rule will be inserted after all existing rules.
	Before NetworkACLRuleBeforePrototypeIntf `json:"before,omitempty"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`

	// The ICMP traffic code to match.
	//
	// If specified, `type` must also be specified.  If unspecified, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The ICMP traffic type to match.
	//
	// If unspecified, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRulePrototype : NetworkACLRulePrototype struct Models which "extend" this model: - NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype - NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype - NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype

type NetworkACLRulePrototypeIntf

type NetworkACLRulePrototypeIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLRulePrototypeNetworkACLContext

type NetworkACLRulePrototypeNetworkACLContext struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`

	// The ICMP traffic code to match.
	//
	// If specified, `type` must also be specified.  If unspecified, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The ICMP traffic type to match.
	//
	// If unspecified, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRulePrototypeNetworkACLContext : NetworkACLRulePrototypeNetworkACLContext struct Models which "extend" this model: - NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype - NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype - NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype

type NetworkACLRulePrototypeNetworkACLContextIntf

type NetworkACLRulePrototypeNetworkACLContextIntf interface {
	// contains filtered or unexported methods
}

type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype added in v0.23.0

type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`
}

NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype : NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype struct This model "extends" NetworkACLRulePrototypeNetworkACLContext

type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype added in v0.23.0

type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The ICMP traffic code to match.
	//
	// If specified, `type` must also be specified.  If unspecified, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The ICMP traffic type to match.
	//
	// If unspecified, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype : NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype struct This model "extends" NetworkACLRulePrototypeNetworkACLContext

type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype added in v0.23.0

type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`
}

NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype : NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype struct This model "extends" NetworkACLRulePrototypeNetworkACLContext

type NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype added in v0.23.0

type NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	Before NetworkACLRuleBeforePrototypeIntf `json:"before,omitempty"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`
}

NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype : NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype struct This model "extends" NetworkACLRulePrototype

type NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype added in v0.23.0

type NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	Before NetworkACLRuleBeforePrototypeIntf `json:"before,omitempty"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The ICMP traffic code to match.
	//
	// If specified, `type` must also be specified.  If unspecified, all codes are matched.
	Code *int64 `json:"code,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The ICMP traffic type to match.
	//
	// If unspecified, all types are matched.
	Type *int64 `json:"type,omitempty"`
}

NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype : NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype struct This model "extends" NetworkACLRulePrototype

type NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype added in v0.23.0

type NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype struct {
	// The action to perform for a packet matching the rule.
	Action *string `json:"action" validate:"required"`

	Before NetworkACLRuleBeforePrototypeIntf `json:"before,omitempty"`

	// The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.
	Destination *string `json:"destination" validate:"required"`

	// The direction of traffic to match.
	Direction *string `json:"direction" validate:"required"`

	// The IP version for this rule.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this network ACL rule. The name must not be used by another rule for the network ACL. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.
	Source *string `json:"source" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	DestinationPortMax *int64 `json:"destination_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	DestinationPortMin *int64 `json:"destination_port_min,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The inclusive upper bound of TCP/UDP source port range.
	SourcePortMax *int64 `json:"source_port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP source port range.
	SourcePortMin *int64 `json:"source_port_min,omitempty"`
}

NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype : NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype struct This model "extends" NetworkACLRulePrototype

type NetworkACLRuleReference

type NetworkACLRuleReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkACLRuleReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this network ACL rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this network ACL rule.
	ID *string `json:"id" validate:"required"`

	// The name for this network ACL rule. The name is unique across all rules for the network ACL.
	Name *string `json:"name" validate:"required"`
}

NetworkACLRuleReference : NetworkACLRuleReference struct

type NetworkACLRuleReferenceDeleted added in v0.3.0

type NetworkACLRuleReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

NetworkACLRuleReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type NetworkACLRulesPager added in v0.25.0

type NetworkACLRulesPager struct {
	// contains filtered or unexported fields
}

NetworkACLRulesPager can be used to simplify the use of the "ListNetworkACLRules" method.

func (*NetworkACLRulesPager) GetAll added in v0.25.0

func (pager *NetworkACLRulesPager) GetAll() (allItems []NetworkACLRuleItemIntf, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*NetworkACLRulesPager) GetAllWithContext added in v0.25.0

func (pager *NetworkACLRulesPager) GetAllWithContext(ctx context.Context) (allItems []NetworkACLRuleItemIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*NetworkACLRulesPager) GetNext added in v0.25.0

func (pager *NetworkACLRulesPager) GetNext() (page []NetworkACLRuleItemIntf, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*NetworkACLRulesPager) GetNextWithContext added in v0.25.0

func (pager *NetworkACLRulesPager) GetNextWithContext(ctx context.Context) (page []NetworkACLRuleItemIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*NetworkACLRulesPager) HasNext added in v0.25.0

func (pager *NetworkACLRulesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type NetworkAclsPager added in v0.25.0

type NetworkAclsPager struct {
	// contains filtered or unexported fields
}

NetworkAclsPager can be used to simplify the use of the "ListNetworkAcls" method.

func (*NetworkAclsPager) GetAll added in v0.25.0

func (pager *NetworkAclsPager) GetAll() (allItems []NetworkACL, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*NetworkAclsPager) GetAllWithContext added in v0.25.0

func (pager *NetworkAclsPager) GetAllWithContext(ctx context.Context) (allItems []NetworkACL, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*NetworkAclsPager) GetNext added in v0.25.0

func (pager *NetworkAclsPager) GetNext() (page []NetworkACL, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*NetworkAclsPager) GetNextWithContext added in v0.25.0

func (pager *NetworkAclsPager) GetNextWithContext(ctx context.Context) (page []NetworkACL, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*NetworkAclsPager) HasNext added in v0.25.0

func (pager *NetworkAclsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type NetworkInterface

type NetworkInterface struct {
	// Indicates whether source IP spoofing is allowed on this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing" validate:"required"`

	// The date and time that the instance network interface was created.
	//
	// If this instance has network attachments, this network interface was created as a [read-only
	// representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) when its corresponding
	// network attachment was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The floating IPs associated with this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the floating IPs are associated
	// with the attached virtual network interface.
	FloatingIps []FloatingIPReference `json:"floating_ips" validate:"required"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the name matches its corresponding
	// network attachment.
	Name *string `json:"name" validate:"required"`

	// The instance network interface port speed in Mbps.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the port speed is that of its
	// corresponding network attachment.
	PortSpeed *int64 `json:"port_speed" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the security groups are associated
	// with the attached virtual network interface.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The status of the instance network interface.
	//
	// If this instance has network attachments, this network interface is a read-only representation of its corresponding
	// network attachment and its attached virtual network interface, and the status is [computed from
	// them](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients).
	Status *string `json:"status" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The instance network interface type.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the type is that of its
	// corresponding network attachment.
	Type *string `json:"type" validate:"required"`
}

NetworkInterface : NetworkInterface struct

type NetworkInterfaceBareMetalServerContextReference added in v0.16.0

type NetworkInterfaceBareMetalServerContextReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceBareMetalServerContextReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server network interface.
	Name *string `json:"name" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

NetworkInterfaceBareMetalServerContextReference : NetworkInterfaceBareMetalServerContextReference struct

type NetworkInterfaceBareMetalServerContextReferenceDeleted added in v0.16.0

type NetworkInterfaceBareMetalServerContextReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

NetworkInterfaceBareMetalServerContextReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type NetworkInterfaceFloatingIpsPager added in v0.47.0

type NetworkInterfaceFloatingIpsPager struct {
	// contains filtered or unexported fields
}

NetworkInterfaceFloatingIpsPager can be used to simplify the use of the "ListNetworkInterfaceFloatingIps" method.

func (*NetworkInterfaceFloatingIpsPager) GetAll added in v0.47.0

func (pager *NetworkInterfaceFloatingIpsPager) GetAll() (allItems []FloatingIPReference, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*NetworkInterfaceFloatingIpsPager) GetAllWithContext added in v0.47.0

func (pager *NetworkInterfaceFloatingIpsPager) GetAllWithContext(ctx context.Context) (allItems []FloatingIPReference, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*NetworkInterfaceFloatingIpsPager) GetNext added in v0.47.0

func (pager *NetworkInterfaceFloatingIpsPager) GetNext() (page []FloatingIPReference, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*NetworkInterfaceFloatingIpsPager) GetNextWithContext added in v0.47.0

func (pager *NetworkInterfaceFloatingIpsPager) GetNextWithContext(ctx context.Context) (page []FloatingIPReference, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*NetworkInterfaceFloatingIpsPager) HasNext added in v0.47.0

func (pager *NetworkInterfaceFloatingIpsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type NetworkInterfaceIPPrototype added in v0.19.0

type NetworkInterfaceIPPrototype struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`

	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`
}

NetworkInterfaceIPPrototype : NetworkInterfaceIPPrototype struct Models which "extend" this model: - NetworkInterfaceIPPrototypeReservedIPIdentity - NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext

type NetworkInterfaceIPPrototypeIntf added in v0.19.0

type NetworkInterfaceIPPrototypeIntf interface {
	// contains filtered or unexported methods
}

type NetworkInterfaceIPPrototypeReservedIPIdentity added in v0.19.0

type NetworkInterfaceIPPrototypeReservedIPIdentity struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`
}

NetworkInterfaceIPPrototypeReservedIPIdentity : Identifies a reserved IP by a unique property. Models which "extend" this model: - NetworkInterfaceIPPrototypeReservedIPIdentityByID - NetworkInterfaceIPPrototypeReservedIPIdentityByHref This model "extends" NetworkInterfaceIPPrototype

type NetworkInterfaceIPPrototypeReservedIPIdentityByHref added in v0.41.0

type NetworkInterfaceIPPrototypeReservedIPIdentityByHref struct {
	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`
}

NetworkInterfaceIPPrototypeReservedIPIdentityByHref : NetworkInterfaceIPPrototypeReservedIPIdentityByHref struct This model "extends" NetworkInterfaceIPPrototypeReservedIPIdentity

type NetworkInterfaceIPPrototypeReservedIPIdentityByID added in v0.41.0

type NetworkInterfaceIPPrototypeReservedIPIdentityByID struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`
}

NetworkInterfaceIPPrototypeReservedIPIdentityByID : NetworkInterfaceIPPrototypeReservedIPIdentityByID struct This model "extends" NetworkInterfaceIPPrototypeReservedIPIdentity

type NetworkInterfaceIPPrototypeReservedIPIdentityIntf added in v0.19.0

type NetworkInterfaceIPPrototypeReservedIPIdentityIntf interface {
	NetworkInterfaceIPPrototypeIntf
	// contains filtered or unexported methods
}

type NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext added in v0.19.0

type NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext struct {
	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`
}

NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext : NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext struct This model "extends" NetworkInterfaceIPPrototype

type NetworkInterfaceInstanceContextReference

type NetworkInterfaceInstanceContextReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceInstanceContextReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network interface.
	Name *string `json:"name" validate:"required"`

	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

NetworkInterfaceInstanceContextReference : NetworkInterfaceInstanceContextReference struct

type NetworkInterfaceInstanceContextReferenceDeleted added in v0.3.0

type NetworkInterfaceInstanceContextReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

NetworkInterfaceInstanceContextReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type NetworkInterfacePatch added in v0.2.0

type NetworkInterfacePatch struct {
	// Indicates whether source IP spoofing is allowed on this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// The name for the instance network interface. The name must not be used by another network interface on the virtual
	// server instance.
	Name *string `json:"name,omitempty"`
}

NetworkInterfacePatch : NetworkInterfacePatch struct

func (*NetworkInterfacePatch) AsPatch added in v0.2.0

func (networkInterfacePatch *NetworkInterfacePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the NetworkInterfacePatch

type NetworkInterfacePrototype

type NetworkInterfacePrototype struct {
	// Indicates whether source IP spoofing is allowed on this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and source IP spoofing is managed on
	// the attached virtual network interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// The name for the instance network interface. The name must not be used by another network interface on the virtual
	// server instance. If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the instance network interface. This can be
	// specified using an existing reserved IP, or a prototype object for a new reserved IP.
	//
	// If an existing reserved IP or a prototype object with an address is specified, it must
	// be available on the instance network interface's subnet. Otherwise, an
	// available address on the subnet will be automatically selected and reserved.
	PrimaryIP NetworkInterfaceIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The security groups to use for this instance network interface. If unspecified, the VPC's default security group is
	// used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`
}

NetworkInterfacePrototype : NetworkInterfacePrototype struct

type NetworkInterfaceReferenceDeleted added in v0.3.0

type NetworkInterfaceReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

NetworkInterfaceReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type NetworkInterfaceReferenceTargetContextDeleted added in v0.3.0

type NetworkInterfaceReferenceTargetContextDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

NetworkInterfaceReferenceTargetContextDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type NetworkInterfaceUnpaginatedCollection added in v0.0.3

type NetworkInterfaceUnpaginatedCollection struct {
	// Collection of instance network interfaces.
	NetworkInterfaces []NetworkInterface `json:"network_interfaces" validate:"required"`
}

NetworkInterfaceUnpaginatedCollection : NetworkInterfaceUnpaginatedCollection struct

type ObsoleteImageOptions added in v0.40.0

type ObsoleteImageOptions struct {
	// The image identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ObsoleteImageOptions : The ObsoleteImage options.

func (*ObsoleteImageOptions) SetHeaders added in v0.40.0

func (options *ObsoleteImageOptions) SetHeaders(param map[string]string) *ObsoleteImageOptions

SetHeaders : Allow user to set Headers

func (*ObsoleteImageOptions) SetID added in v0.40.0

func (_options *ObsoleteImageOptions) SetID(id string) *ObsoleteImageOptions

SetID : Allow user to set ID

type OperatingSystem

type OperatingSystem struct {
	// The operating system architecture.
	Architecture *string `json:"architecture" validate:"required"`

	// Images with this operating system can only be used on dedicated hosts or dedicated host groups.
	DedicatedHostOnly *bool `json:"dedicated_host_only" validate:"required"`

	// A unique, display-friendly name for the operating system.
	DisplayName *string `json:"display_name" validate:"required"`

	// The software family for this operating system.
	Family *string `json:"family" validate:"required"`

	// The URL for this operating system.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this operating system.
	Name *string `json:"name" validate:"required"`

	// The vendor of the operating system.
	Vendor *string `json:"vendor" validate:"required"`

	// The major release version of this operating system.
	Version *string `json:"version" validate:"required"`
}

OperatingSystem : OperatingSystem struct

type OperatingSystemCollection

type OperatingSystemCollection struct {
	// A link to the first page of resources.
	First *OperatingSystemCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *OperatingSystemCollectionNext `json:"next,omitempty"`

	// Collection of operating systems.
	OperatingSystems []OperatingSystem `json:"operating_systems" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

OperatingSystemCollection : OperatingSystemCollection struct

func (*OperatingSystemCollection) GetNextStart added in v0.8.0

func (resp *OperatingSystemCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type OperatingSystemCollectionFirst

type OperatingSystemCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

OperatingSystemCollectionFirst : A link to the first page of resources.

type OperatingSystemCollectionNext

type OperatingSystemCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

OperatingSystemCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type OperatingSystemIdentity

type OperatingSystemIdentity struct {
	// The globally unique name for this operating system.
	Name *string `json:"name,omitempty"`

	// The URL for this operating system.
	Href *string `json:"href,omitempty"`
}

OperatingSystemIdentity : Identifies an operating system by a unique property. Models which "extend" this model: - OperatingSystemIdentityByName - OperatingSystemIdentityByHref

type OperatingSystemIdentityByHref

type OperatingSystemIdentityByHref struct {
	// The URL for this operating system.
	Href *string `json:"href" validate:"required"`
}

OperatingSystemIdentityByHref : OperatingSystemIdentityByHref struct This model "extends" OperatingSystemIdentity

type OperatingSystemIdentityByName

type OperatingSystemIdentityByName struct {
	// The globally unique name for this operating system.
	Name *string `json:"name" validate:"required"`
}

OperatingSystemIdentityByName : OperatingSystemIdentityByName struct This model "extends" OperatingSystemIdentity

type OperatingSystemIdentityIntf

type OperatingSystemIdentityIntf interface {
	// contains filtered or unexported methods
}

type OperatingSystemsPager added in v0.25.0

type OperatingSystemsPager struct {
	// contains filtered or unexported fields
}

OperatingSystemsPager can be used to simplify the use of the "ListOperatingSystems" method.

func (*OperatingSystemsPager) GetAll added in v0.25.0

func (pager *OperatingSystemsPager) GetAll() (allItems []OperatingSystem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*OperatingSystemsPager) GetAllWithContext added in v0.25.0

func (pager *OperatingSystemsPager) GetAllWithContext(ctx context.Context) (allItems []OperatingSystem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*OperatingSystemsPager) GetNext added in v0.25.0

func (pager *OperatingSystemsPager) GetNext() (page []OperatingSystem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*OperatingSystemsPager) GetNextWithContext added in v0.25.0

func (pager *OperatingSystemsPager) GetNextWithContext(ctx context.Context) (page []OperatingSystem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*OperatingSystemsPager) HasNext added in v0.25.0

func (pager *OperatingSystemsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type PlacementGroup added in v0.9.0

type PlacementGroup struct {
	// The date and time that the placement group was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this placement group.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this placement group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this placement group.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the placement group.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this placement group. The name is unique across all placement groups in the region.
	Name *string `json:"name" validate:"required"`

	// The resource group for this placement group.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The strategy for this placement group:
	// - `host_spread`: place on different compute hosts
	// - `power_spread`: place on compute hosts that use different power sources
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Strategy *string `json:"strategy" validate:"required"`
}

PlacementGroup : PlacementGroup struct

type PlacementGroupCollection added in v0.9.0

type PlacementGroupCollection struct {
	// A link to the first page of resources.
	First *PlacementGroupCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *PlacementGroupCollectionNext `json:"next,omitempty"`

	// Collection of placement groups.
	PlacementGroups []PlacementGroup `json:"placement_groups" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

PlacementGroupCollection : PlacementGroupCollection struct

func (*PlacementGroupCollection) GetNextStart added in v0.9.0

func (resp *PlacementGroupCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type PlacementGroupCollectionFirst added in v0.9.0

type PlacementGroupCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

PlacementGroupCollectionFirst : A link to the first page of resources.

type PlacementGroupCollectionNext added in v0.9.0

type PlacementGroupCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

PlacementGroupCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type PlacementGroupPatch added in v0.9.0

type PlacementGroupPatch struct {
	// The name for this placement group. The name must not be used by another placement group in the region.
	Name *string `json:"name,omitempty"`
}

PlacementGroupPatch : PlacementGroupPatch struct

func (*PlacementGroupPatch) AsPatch added in v0.9.0

func (placementGroupPatch *PlacementGroupPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the PlacementGroupPatch

type PlacementGroupReferenceDeleted added in v0.9.0

type PlacementGroupReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

PlacementGroupReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type PlacementGroupsPager added in v0.25.0

type PlacementGroupsPager struct {
	// contains filtered or unexported fields
}

PlacementGroupsPager can be used to simplify the use of the "ListPlacementGroups" method.

func (*PlacementGroupsPager) GetAll added in v0.25.0

func (pager *PlacementGroupsPager) GetAll() (allItems []PlacementGroup, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*PlacementGroupsPager) GetAllWithContext added in v0.25.0

func (pager *PlacementGroupsPager) GetAllWithContext(ctx context.Context) (allItems []PlacementGroup, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*PlacementGroupsPager) GetNext added in v0.25.0

func (pager *PlacementGroupsPager) GetNext() (page []PlacementGroup, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*PlacementGroupsPager) GetNextWithContext added in v0.25.0

func (pager *PlacementGroupsPager) GetNextWithContext(ctx context.Context) (page []PlacementGroup, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*PlacementGroupsPager) HasNext added in v0.25.0

func (pager *PlacementGroupsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type PublicGateway

type PublicGateway struct {
	// The date and time that the public gateway was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this public gateway.
	CRN *string `json:"crn" validate:"required"`

	// The floating IP bound to this public gateway.
	FloatingIP *PublicGatewayFloatingIP `json:"floating_ip" validate:"required"`

	// The URL for this public gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this public gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this public gateway. The name is unique across all public gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this public gateway.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of this public gateway.
	Status *string `json:"status" validate:"required"`

	// The VPC this public gateway resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// The zone this public gateway resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

PublicGateway : PublicGateway struct

type PublicGatewayCollection

type PublicGatewayCollection struct {
	// A link to the first page of resources.
	First *PublicGatewayCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *PublicGatewayCollectionNext `json:"next,omitempty"`

	// Collection of public gateways.
	PublicGateways []PublicGateway `json:"public_gateways" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

PublicGatewayCollection : PublicGatewayCollection struct

func (*PublicGatewayCollection) GetNextStart added in v0.8.0

func (resp *PublicGatewayCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type PublicGatewayCollectionFirst

type PublicGatewayCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

PublicGatewayCollectionFirst : A link to the first page of resources.

type PublicGatewayCollectionNext

type PublicGatewayCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

PublicGatewayCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type PublicGatewayFloatingIP

type PublicGatewayFloatingIP struct {
	// The globally unique IP address.
	Address *string `json:"address" validate:"required"`

	// The CRN for this floating IP.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *FloatingIPReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this floating IP.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this floating IP.
	ID *string `json:"id" validate:"required"`

	// The name for this floating IP. The name is unique across all floating IPs in the region.
	Name *string `json:"name" validate:"required"`
}

PublicGatewayFloatingIP : The floating IP bound to this public gateway.

type PublicGatewayFloatingIPPrototype added in v0.3.0

type PublicGatewayFloatingIPPrototype struct {
	// The unique identifier for this floating IP.
	ID *string `json:"id,omitempty"`

	// The CRN for this floating IP.
	CRN *string `json:"crn,omitempty"`

	// The URL for this floating IP.
	Href *string `json:"href,omitempty"`

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

	// The name for this floating IP. The name must not be used by another floating IP in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`
}

PublicGatewayFloatingIPPrototype : PublicGatewayFloatingIPPrototype struct Models which "extend" this model: - PublicGatewayFloatingIPPrototypeFloatingIPIdentity - PublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext

type PublicGatewayFloatingIPPrototypeFloatingIPIdentity added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPIdentity struct {
	// The unique identifier for this floating IP.
	ID *string `json:"id,omitempty"`

	// The CRN for this floating IP.
	CRN *string `json:"crn,omitempty"`

	// The URL for this floating IP.
	Href *string `json:"href,omitempty"`

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

PublicGatewayFloatingIPPrototypeFloatingIPIdentity : Identifies a floating IP by a unique property. Models which "extend" this model: - PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID - PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN - PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref - PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress This model "extends" PublicGatewayFloatingIPPrototype

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress struct {
	// The globally unique IP address.
	Address *string `json:"address" validate:"required"`
}

PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress : PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress struct This model "extends" PublicGatewayFloatingIPPrototypeFloatingIPIdentity

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN struct {
	// The CRN for this floating IP.
	CRN *string `json:"crn" validate:"required"`
}

PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN : PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN struct This model "extends" PublicGatewayFloatingIPPrototypeFloatingIPIdentity

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref struct {
	// The URL for this floating IP.
	Href *string `json:"href" validate:"required"`
}

PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref : PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref struct This model "extends" PublicGatewayFloatingIPPrototypeFloatingIPIdentity

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID struct {
	// The unique identifier for this floating IP.
	ID *string `json:"id" validate:"required"`
}

PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID : PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID struct This model "extends" PublicGatewayFloatingIPPrototypeFloatingIPIdentity

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityIntf added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPIdentityIntf interface {
	PublicGatewayFloatingIPPrototypeIntf
	// contains filtered or unexported methods
}

type PublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext added in v0.3.0

type PublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext struct {
	// The name for this floating IP. The name must not be used by another floating IP in the region. If unspecified, the
	// name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`
}

PublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext : PublicGatewayFloatingIPPrototypeFloatingIPPrototypeTargetContext struct This model "extends" PublicGatewayFloatingIPPrototype

type PublicGatewayFloatingIPPrototypeIntf added in v0.3.0

type PublicGatewayFloatingIPPrototypeIntf interface {
	// contains filtered or unexported methods
}

type PublicGatewayIdentity

type PublicGatewayIdentity struct {
	// The unique identifier for this public gateway.
	ID *string `json:"id,omitempty"`

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

	// The URL for this public gateway.
	Href *string `json:"href,omitempty"`
}

PublicGatewayIdentity : Identifies a public gateway by a unique property. Models which "extend" this model: - PublicGatewayIdentityPublicGatewayIdentityByID - PublicGatewayIdentityPublicGatewayIdentityByCRN - PublicGatewayIdentityPublicGatewayIdentityByHref

type PublicGatewayIdentityIntf

type PublicGatewayIdentityIntf interface {
	// contains filtered or unexported methods
}

type PublicGatewayIdentityPublicGatewayIdentityByCRN added in v0.15.0

type PublicGatewayIdentityPublicGatewayIdentityByCRN struct {
	// The CRN for this public gateway.
	CRN *string `json:"crn" validate:"required"`
}

PublicGatewayIdentityPublicGatewayIdentityByCRN : PublicGatewayIdentityPublicGatewayIdentityByCRN struct This model "extends" PublicGatewayIdentity

type PublicGatewayIdentityPublicGatewayIdentityByHref added in v0.15.0

type PublicGatewayIdentityPublicGatewayIdentityByHref struct {
	// The URL for this public gateway.
	Href *string `json:"href" validate:"required"`
}

PublicGatewayIdentityPublicGatewayIdentityByHref : PublicGatewayIdentityPublicGatewayIdentityByHref struct This model "extends" PublicGatewayIdentity

type PublicGatewayIdentityPublicGatewayIdentityByID added in v0.15.0

type PublicGatewayIdentityPublicGatewayIdentityByID struct {
	// The unique identifier for this public gateway.
	ID *string `json:"id" validate:"required"`
}

PublicGatewayIdentityPublicGatewayIdentityByID : PublicGatewayIdentityPublicGatewayIdentityByID struct This model "extends" PublicGatewayIdentity

type PublicGatewayPatch added in v0.2.0

type PublicGatewayPatch struct {
	// The name for this public gateway. The name must not be used by another public gateway in the VPC.
	Name *string `json:"name,omitempty"`
}

PublicGatewayPatch : PublicGatewayPatch struct

func (*PublicGatewayPatch) AsPatch added in v0.2.0

func (publicGatewayPatch *PublicGatewayPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the PublicGatewayPatch

type PublicGatewayReference

type PublicGatewayReference struct {
	// The CRN for this public gateway.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *PublicGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this public gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this public gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this public gateway. The name is unique across all public gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

PublicGatewayReference : PublicGatewayReference struct

type PublicGatewayReferenceDeleted added in v0.3.0

type PublicGatewayReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

PublicGatewayReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type PublicGatewaysPager added in v0.25.0

type PublicGatewaysPager struct {
	// contains filtered or unexported fields
}

PublicGatewaysPager can be used to simplify the use of the "ListPublicGateways" method.

func (*PublicGatewaysPager) GetAll added in v0.25.0

func (pager *PublicGatewaysPager) GetAll() (allItems []PublicGateway, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*PublicGatewaysPager) GetAllWithContext added in v0.25.0

func (pager *PublicGatewaysPager) GetAllWithContext(ctx context.Context) (allItems []PublicGateway, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*PublicGatewaysPager) GetNext added in v0.25.0

func (pager *PublicGatewaysPager) GetNext() (page []PublicGateway, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*PublicGatewaysPager) GetNextWithContext added in v0.25.0

func (pager *PublicGatewaysPager) GetNextWithContext(ctx context.Context) (page []PublicGateway, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*PublicGatewaysPager) HasNext added in v0.25.0

func (pager *PublicGatewaysPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Region

type Region struct {
	// The API endpoint for this region.
	Endpoint *string `json:"endpoint" validate:"required"`

	// The URL for this region.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this region.
	Name *string `json:"name" validate:"required"`

	// The availability status of this region.
	Status *string `json:"status" validate:"required"`
}

Region : Region struct

type RegionCollection

type RegionCollection struct {
	// Collection of regions.
	Regions []Region `json:"regions" validate:"required"`
}

RegionCollection : RegionCollection struct

type RegionIdentity added in v0.39.0

type RegionIdentity struct {
	// The globally unique name for this region.
	Name *string `json:"name,omitempty"`

	// The URL for this region.
	Href *string `json:"href,omitempty"`
}

RegionIdentity : Identifies a region by a unique property. Models which "extend" this model: - RegionIdentityByName - RegionIdentityByHref

type RegionIdentityByHref added in v0.39.0

type RegionIdentityByHref struct {
	// The URL for this region.
	Href *string `json:"href" validate:"required"`
}

RegionIdentityByHref : RegionIdentityByHref struct This model "extends" RegionIdentity

type RegionIdentityByName added in v0.39.0

type RegionIdentityByName struct {
	// The globally unique name for this region.
	Name *string `json:"name" validate:"required"`
}

RegionIdentityByName : RegionIdentityByName struct This model "extends" RegionIdentity

type RegionIdentityIntf added in v0.39.0

type RegionIdentityIntf interface {
	// contains filtered or unexported methods
}

type RegionReference

type RegionReference struct {
	// The URL for this region.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this region.
	Name *string `json:"name" validate:"required"`
}

RegionReference : RegionReference struct

type RemoveBareMetalServerNetworkInterfaceFloatingIPOptions added in v0.16.0

type RemoveBareMetalServerNetworkInterfaceFloatingIPOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveBareMetalServerNetworkInterfaceFloatingIPOptions : The RemoveBareMetalServerNetworkInterfaceFloatingIP options.

func (*RemoveBareMetalServerNetworkInterfaceFloatingIPOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*RemoveBareMetalServerNetworkInterfaceFloatingIPOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*RemoveBareMetalServerNetworkInterfaceFloatingIPOptions) SetID added in v0.16.0

SetID : Allow user to set ID

func (*RemoveBareMetalServerNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID added in v0.16.0

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type RemoveEndpointGatewayIPOptions added in v0.3.0

type RemoveEndpointGatewayIPOptions struct {
	// The endpoint gateway identifier.
	EndpointGatewayID *string `json:"endpoint_gateway_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveEndpointGatewayIPOptions : The RemoveEndpointGatewayIP options.

func (*RemoveEndpointGatewayIPOptions) SetEndpointGatewayID added in v0.3.0

func (_options *RemoveEndpointGatewayIPOptions) SetEndpointGatewayID(endpointGatewayID string) *RemoveEndpointGatewayIPOptions

SetEndpointGatewayID : Allow user to set EndpointGatewayID

func (*RemoveEndpointGatewayIPOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*RemoveEndpointGatewayIPOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type RemoveInstanceNetworkInterfaceFloatingIPOptions

type RemoveInstanceNetworkInterfaceFloatingIPOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	NetworkInterfaceID *string `json:"network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveInstanceNetworkInterfaceFloatingIPOptions : The RemoveInstanceNetworkInterfaceFloatingIP options.

func (*RemoveInstanceNetworkInterfaceFloatingIPOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*RemoveInstanceNetworkInterfaceFloatingIPOptions) SetID

SetID : Allow user to set ID

func (*RemoveInstanceNetworkInterfaceFloatingIPOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*RemoveInstanceNetworkInterfaceFloatingIPOptions) SetNetworkInterfaceID

SetNetworkInterfaceID : Allow user to set NetworkInterfaceID

type RemoveNetworkInterfaceFloatingIPOptions added in v0.47.0

type RemoveNetworkInterfaceFloatingIPOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveNetworkInterfaceFloatingIPOptions : The RemoveNetworkInterfaceFloatingIP options.

func (*RemoveNetworkInterfaceFloatingIPOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*RemoveNetworkInterfaceFloatingIPOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*RemoveNetworkInterfaceFloatingIPOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *RemoveNetworkInterfaceFloatingIPOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *RemoveNetworkInterfaceFloatingIPOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type RemoveVPNGatewayConnectionsLocalCIDROptions added in v0.51.0

type RemoveVPNGatewayConnectionsLocalCIDROptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IP address range in CIDR block notation.
	CIDR *string `json:"cidr" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveVPNGatewayConnectionsLocalCIDROptions : The RemoveVPNGatewayConnectionsLocalCIDR options.

func (*RemoveVPNGatewayConnectionsLocalCIDROptions) SetCIDR added in v0.51.0

SetCIDR : Allow user to set CIDR

func (*RemoveVPNGatewayConnectionsLocalCIDROptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*RemoveVPNGatewayConnectionsLocalCIDROptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*RemoveVPNGatewayConnectionsLocalCIDROptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type RemoveVPNGatewayConnectionsPeerCIDROptions added in v0.51.0

type RemoveVPNGatewayConnectionsPeerCIDROptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IP address range in CIDR block notation.
	CIDR *string `json:"cidr" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveVPNGatewayConnectionsPeerCIDROptions : The RemoveVPNGatewayConnectionsPeerCIDR options.

func (*RemoveVPNGatewayConnectionsPeerCIDROptions) SetCIDR added in v0.51.0

SetCIDR : Allow user to set CIDR

func (*RemoveVPNGatewayConnectionsPeerCIDROptions) SetHeaders added in v0.51.0

SetHeaders : Allow user to set Headers

func (*RemoveVPNGatewayConnectionsPeerCIDROptions) SetID added in v0.51.0

SetID : Allow user to set ID

func (*RemoveVPNGatewayConnectionsPeerCIDROptions) SetVPNGatewayID added in v0.51.0

SetVPNGatewayID : Allow user to set VPNGatewayID

type RemoveVirtualNetworkInterfaceIPOptions added in v0.47.0

type RemoveVirtualNetworkInterfaceIPOptions struct {
	// The virtual network interface identifier.
	VirtualNetworkInterfaceID *string `json:"virtual_network_interface_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RemoveVirtualNetworkInterfaceIPOptions : The RemoveVirtualNetworkInterfaceIP options.

func (*RemoveVirtualNetworkInterfaceIPOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*RemoveVirtualNetworkInterfaceIPOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*RemoveVirtualNetworkInterfaceIPOptions) SetVirtualNetworkInterfaceID added in v0.47.0

func (_options *RemoveVirtualNetworkInterfaceIPOptions) SetVirtualNetworkInterfaceID(virtualNetworkInterfaceID string) *RemoveVirtualNetworkInterfaceIPOptions

SetVirtualNetworkInterfaceID : Allow user to set VirtualNetworkInterfaceID

type ReplaceLoadBalancerPoolMembersOptions

type ReplaceLoadBalancerPoolMembersOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// The member prototype objects for this pool.
	Members []LoadBalancerPoolMemberPrototype `json:"members" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceLoadBalancerPoolMembersOptions : The ReplaceLoadBalancerPoolMembers options.

func (*ReplaceLoadBalancerPoolMembersOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ReplaceLoadBalancerPoolMembersOptions) SetLoadBalancerID

func (_options *ReplaceLoadBalancerPoolMembersOptions) SetLoadBalancerID(loadBalancerID string) *ReplaceLoadBalancerPoolMembersOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*ReplaceLoadBalancerPoolMembersOptions) SetMembers

SetMembers : Allow user to set Members

func (*ReplaceLoadBalancerPoolMembersOptions) SetPoolID

SetPoolID : Allow user to set PoolID

type ReplaceSubnetNetworkACLOptions

type ReplaceSubnetNetworkACLOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The network ACL identity.
	NetworkACLIdentity NetworkACLIdentityIntf `json:"NetworkACLIdentity" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceSubnetNetworkACLOptions : The ReplaceSubnetNetworkACL options.

func (*ReplaceSubnetNetworkACLOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ReplaceSubnetNetworkACLOptions) SetID

SetID : Allow user to set ID

func (*ReplaceSubnetNetworkACLOptions) SetNetworkACLIdentity

func (_options *ReplaceSubnetNetworkACLOptions) SetNetworkACLIdentity(networkACLIdentity NetworkACLIdentityIntf) *ReplaceSubnetNetworkACLOptions

SetNetworkACLIdentity : Allow user to set NetworkACLIdentity

type ReplaceSubnetRoutingTableOptions added in v0.3.0

type ReplaceSubnetRoutingTableOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The routing table identity.
	RoutingTableIdentity RoutingTableIdentityIntf `json:"RoutingTableIdentity" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceSubnetRoutingTableOptions : The ReplaceSubnetRoutingTable options.

func (*ReplaceSubnetRoutingTableOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*ReplaceSubnetRoutingTableOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*ReplaceSubnetRoutingTableOptions) SetRoutingTableIdentity added in v0.3.0

func (_options *ReplaceSubnetRoutingTableOptions) SetRoutingTableIdentity(routingTableIdentity RoutingTableIdentityIntf) *ReplaceSubnetRoutingTableOptions

SetRoutingTableIdentity : Allow user to set RoutingTableIdentity

type Reservation added in v0.48.0

type Reservation struct {
	// The affinity policy to use for this reservation:
	// - `restricted`: The reservation must be manually requested
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	AffinityPolicy *string `json:"affinity_policy" validate:"required"`

	// The capacity configuration for this reservation
	//
	// If absent, this reservation has no assigned capacity.
	Capacity *ReservationCapacity `json:"capacity,omitempty"`

	// The committed use configuration for this reservation.
	//
	// If absent, this reservation has no commitment for use.
	CommittedUse *ReservationCommittedUse `json:"committed_use,omitempty"`

	// The date and time that the reservation was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this reservation.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this reservation.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this reservation.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of this reservation.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this reservation. The name is unique across all reservations in the region.
	Name *string `json:"name" validate:"required"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) for this reservation.
	Profile *ReservationProfile `json:"profile" validate:"required"`

	// The resource group for this reservation.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the reservation.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []ReservationStatusReason `json:"status_reasons" validate:"required"`

	// The zone for this reservation.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

Reservation : Reservation struct

type ReservationCapacity added in v0.48.0

type ReservationCapacity struct {
	// The amount allocated to this capacity reservation.
	Allocated *int64 `json:"allocated" validate:"required"`

	// The amount of this capacity reservation available for new attachments.
	Available *int64 `json:"available" validate:"required"`

	// The status of the capacity reservation:
	// - `allocating`: The capacity reservation is being allocated for use
	// - `allocated`: The total capacity of the reservation has been allocated for use
	// - `degraded`: The capacity reservation has been allocated for use, but some of the
	//   capacity is not available.
	//   See https://cloud.ibm.com/docs/vpc?topic=vpc-capacity-status for more information.
	// - `unallocated`: The capacity reservation is not allocated for use
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The total amount of this capacity reservation.
	Total *int64 `json:"total" validate:"required"`

	// The amount of this capacity reservation used by existing attachments.
	Used *int64 `json:"used" validate:"required"`
}

ReservationCapacity : The capacity configuration for this reservation

If absent, this reservation has no assigned capacity.

type ReservationCapacityPatch added in v0.48.0

type ReservationCapacityPatch struct {
	// The total amount to use for this capacity reservation.
	Total *int64 `json:"total,omitempty"`
}

ReservationCapacityPatch : The capacity reservation configuration to use.

The configuration can only be changed for reservations with a `status` of `inactive`.

type ReservationCapacityPrototype added in v0.48.0

type ReservationCapacityPrototype struct {
	// The total amount to use for this capacity reservation.
	Total *int64 `json:"total" validate:"required"`
}

ReservationCapacityPrototype : The capacity reservation configuration to use.

type ReservationCollection added in v0.48.0

type ReservationCollection struct {
	// A link to the first page of resources.
	First *ReservationCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ReservationCollectionNext `json:"next,omitempty"`

	// Collection of reservations.
	Reservations []Reservation `json:"reservations" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ReservationCollection : ReservationCollection struct

func (*ReservationCollection) GetNextStart added in v0.48.0

func (resp *ReservationCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ReservationCollectionFirst added in v0.48.0

type ReservationCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservationCollectionFirst : A link to the first page of resources.

type ReservationCollectionNext added in v0.48.0

type ReservationCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservationCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type ReservationCommittedUse added in v0.48.0

type ReservationCommittedUse struct {
	// The expiration date and time for this committed use reservation.
	ExpirationAt *strfmt.DateTime `json:"expiration_at" validate:"required"`

	// The policy to apply when the committed use term expires:
	// - `release`: Release any available capacity and let the reservation expire.
	// - `renew`: Renew for another term, provided the term remains listed in the
	//   `reservation_terms` for the profile. Otherwise, let the reservation expire.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ExpirationPolicy *string `json:"expiration_policy" validate:"required"`

	// The term for this committed use reservation:
	// - `one_year`: 1 year
	// - `three_year`: 3 years
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Term *string `json:"term" validate:"required"`
}

ReservationCommittedUse : The committed use reservation configuration.

type ReservationCommittedUsePatch added in v0.48.0

type ReservationCommittedUsePatch struct {
	// The policy to apply when the committed use term expires:
	// - `release`: Release any available capacity and let the reservation expire.
	// - `renew`: Renew for another term, provided the term remains listed in the
	//   `reservation_terms` for the profile. Otherwise, let the reservation expire.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ExpirationPolicy *string `json:"expiration_policy,omitempty"`

	// The term for this committed use reservation:
	// - `one_year`: 1 year
	// - `three_year`: 3 years
	//
	// The specified value must be listed in the `reservation_terms` in the profile for this reservation. The term can only
	// be changed for a reservation with a `status` of
	// `inactive`.
	Term *string `json:"term,omitempty"`
}

ReservationCommittedUsePatch : ReservationCommittedUsePatch struct

type ReservationCommittedUsePrototype added in v0.48.0

type ReservationCommittedUsePrototype struct {
	// The policy to apply when the committed use term expires:
	// - `release`: Release any available capacity and let the reservation expire.
	// - `renew`: Renew for another term, provided the term remains listed in the
	//   `reservation_terms` for the profile. Otherwise, let the reservation expire.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ExpirationPolicy *string `json:"expiration_policy,omitempty"`

	// The term for this committed use reservation:
	// - `one_year`: 1 year
	// - `three_year`: 3 years
	//
	// The specified value must be listed in the `reservation_terms` in the profile for this reservation.
	Term *string `json:"term" validate:"required"`
}

ReservationCommittedUsePrototype : ReservationCommittedUsePrototype struct

type ReservationIdentity added in v0.48.0

type ReservationIdentity struct {
	// The unique identifier for this reservation.
	ID *string `json:"id,omitempty"`

	// The CRN for this reservation.
	CRN *string `json:"crn,omitempty"`

	// The URL for this reservation.
	Href *string `json:"href,omitempty"`
}

ReservationIdentity : Identifies a reservation by a unique property. Models which "extend" this model: - ReservationIdentityByID - ReservationIdentityByCRN - ReservationIdentityByHref

type ReservationIdentityByCRN added in v0.48.0

type ReservationIdentityByCRN struct {
	// The CRN for this reservation.
	CRN *string `json:"crn" validate:"required"`
}

ReservationIdentityByCRN : ReservationIdentityByCRN struct This model "extends" ReservationIdentity

type ReservationIdentityByHref added in v0.48.0

type ReservationIdentityByHref struct {
	// The URL for this reservation.
	Href *string `json:"href" validate:"required"`
}

ReservationIdentityByHref : ReservationIdentityByHref struct This model "extends" ReservationIdentity

type ReservationIdentityByID added in v0.48.0

type ReservationIdentityByID struct {
	// The unique identifier for this reservation.
	ID *string `json:"id" validate:"required"`
}

ReservationIdentityByID : ReservationIdentityByID struct This model "extends" ReservationIdentity

type ReservationIdentityIntf added in v0.48.0

type ReservationIdentityIntf interface {
	// contains filtered or unexported methods
}

type ReservationPatch added in v0.48.0

type ReservationPatch struct {
	// The capacity reservation configuration to use.
	//
	// The configuration can only be changed for reservations with a `status` of `inactive`.
	Capacity *ReservationCapacityPatch `json:"capacity,omitempty"`

	// The committed use configuration to use for this reservation.
	CommittedUse *ReservationCommittedUsePatch `json:"committed_use,omitempty"`

	// The name for this reservation. The name must not be used by another reservation in the region.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this
	// reservation.
	//
	// The profile can only be changed for a reservation with a `status` of `inactive`.
	Profile *ReservationProfilePatch `json:"profile,omitempty"`
}

ReservationPatch : ReservationPatch struct

func (*ReservationPatch) AsPatch added in v0.48.0

func (reservationPatch *ReservationPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the ReservationPatch

type ReservationProfile added in v0.48.0

type ReservationProfile struct {
	// The URL for this virtual server instance profile.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this virtual server instance profile.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservationProfile : The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) for this reservation.

type ReservationProfilePatch added in v0.48.0

type ReservationProfilePatch struct {
	// The globally unique name of the profile.
	Name *string `json:"name,omitempty"`

	// The resource type of the profile.
	ResourceType *string `json:"resource_type,omitempty"`
}

ReservationProfilePatch : The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this reservation.

The profile can only be changed for a reservation with a `status` of `inactive`.

type ReservationProfilePrototype added in v0.48.0

type ReservationProfilePrototype struct {
	// The globally unique name of the profile.
	Name *string `json:"name" validate:"required"`

	// The resource type of the profile.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservationProfilePrototype : The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) to use for this reservation.

type ReservationReference added in v0.48.0

type ReservationReference struct {
	// The CRN for this reservation.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ReservationReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this reservation.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this reservation.
	ID *string `json:"id" validate:"required"`

	// The name for this reservation. The name is unique across all reservations in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservationReference : ReservationReference struct

type ReservationReferenceDeleted added in v0.48.0

type ReservationReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

ReservationReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type ReservationStatusReason added in v0.48.0

type ReservationStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

ReservationStatusReason : ReservationStatusReason struct

type ReservationsPager added in v0.48.0

type ReservationsPager struct {
	// contains filtered or unexported fields
}

ReservationsPager can be used to simplify the use of the "ListReservations" method.

func (*ReservationsPager) GetAll added in v0.48.0

func (pager *ReservationsPager) GetAll() (allItems []Reservation, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ReservationsPager) GetAllWithContext added in v0.48.0

func (pager *ReservationsPager) GetAllWithContext(ctx context.Context) (allItems []Reservation, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ReservationsPager) GetNext added in v0.48.0

func (pager *ReservationsPager) GetNext() (page []Reservation, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ReservationsPager) GetNextWithContext added in v0.48.0

func (pager *ReservationsPager) GetNextWithContext(ctx context.Context) (page []Reservation, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ReservationsPager) HasNext added in v0.48.0

func (pager *ReservationsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type ReservedIP added in v0.3.0

type ReservedIP struct {
	// The IP address.
	//
	// If the address has not yet been selected, the value will be `0.0.0.0`.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// The date and time that the reserved IP was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the reserved IP.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
	Name *string `json:"name" validate:"required"`

	// The owner of the reserved IP.
	Owner *string `json:"owner" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The target this reserved IP is bound to.
	//
	// If absent, this reserved IP is provider-owned or unbound.
	Target ReservedIPTargetIntf `json:"target,omitempty"`
}

ReservedIP : ReservedIP struct

type ReservedIPCollection added in v0.3.0

type ReservedIPCollection struct {
	// A link to the first page of resources.
	First *ReservedIPCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ReservedIPCollectionNext `json:"next,omitempty"`

	// Collection of reserved IPs in this subnet.
	ReservedIps []ReservedIP `json:"reserved_ips" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ReservedIPCollection : ReservedIPCollection struct

func (*ReservedIPCollection) GetNextStart added in v0.8.0

func (resp *ReservedIPCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ReservedIPCollectionBareMetalServerNetworkInterfaceContext added in v0.41.0

type ReservedIPCollectionBareMetalServerNetworkInterfaceContext struct {
	// A link to the first page of resources.
	First *ReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst `json:"first" validate:"required"`

	// Collection of reserved IPs bound to a bare metal server network interface.
	Ips []ReservedIP `json:"ips" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ReservedIPCollectionBareMetalServerNetworkInterfaceContextNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ReservedIPCollectionBareMetalServerNetworkInterfaceContext : ReservedIPCollectionBareMetalServerNetworkInterfaceContext struct

type ReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst added in v0.41.0

type ReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionBareMetalServerNetworkInterfaceContextFirst : A link to the first page of resources.

type ReservedIPCollectionBareMetalServerNetworkInterfaceContextNext added in v0.41.0

type ReservedIPCollectionBareMetalServerNetworkInterfaceContextNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionBareMetalServerNetworkInterfaceContextNext : A link to the next page of resources. This property is present for all pages except the last page.

type ReservedIPCollectionEndpointGatewayContext added in v0.3.0

type ReservedIPCollectionEndpointGatewayContext struct {
	// A link to the first page of resources.
	First *ReservedIPCollectionEndpointGatewayContextFirst `json:"first" validate:"required"`

	// Collection of reserved IPs bound to an endpoint gateway.
	Ips []ReservedIP `json:"ips" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ReservedIPCollectionEndpointGatewayContextNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ReservedIPCollectionEndpointGatewayContext : ReservedIPCollectionEndpointGatewayContext struct

func (*ReservedIPCollectionEndpointGatewayContext) GetNextStart added in v0.8.0

func (resp *ReservedIPCollectionEndpointGatewayContext) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ReservedIPCollectionEndpointGatewayContextFirst added in v0.3.0

type ReservedIPCollectionEndpointGatewayContextFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionEndpointGatewayContextFirst : A link to the first page of resources.

type ReservedIPCollectionEndpointGatewayContextNext added in v0.3.0

type ReservedIPCollectionEndpointGatewayContextNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionEndpointGatewayContextNext : A link to the next page of resources. This property is present for all pages except the last page.

type ReservedIPCollectionFirst added in v0.3.0

type ReservedIPCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionFirst : A link to the first page of resources.

type ReservedIPCollectionInstanceNetworkInterfaceContext added in v0.41.0

type ReservedIPCollectionInstanceNetworkInterfaceContext struct {
	// A link to the first page of resources.
	First *ReservedIPCollectionInstanceNetworkInterfaceContextFirst `json:"first" validate:"required"`

	// Collection of reserved IPs bound to an instance network interface.
	Ips []ReservedIP `json:"ips" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ReservedIPCollectionInstanceNetworkInterfaceContextNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ReservedIPCollectionInstanceNetworkInterfaceContext : ReservedIPCollectionInstanceNetworkInterfaceContext struct

func (*ReservedIPCollectionInstanceNetworkInterfaceContext) GetNextStart added in v0.41.0

Retrieve the value to be passed to a request to access the next page of results

type ReservedIPCollectionInstanceNetworkInterfaceContextFirst added in v0.41.0

type ReservedIPCollectionInstanceNetworkInterfaceContextFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionInstanceNetworkInterfaceContextFirst : A link to the first page of resources.

type ReservedIPCollectionInstanceNetworkInterfaceContextNext added in v0.41.0

type ReservedIPCollectionInstanceNetworkInterfaceContextNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionInstanceNetworkInterfaceContextNext : A link to the next page of resources. This property is present for all pages except the last page.

type ReservedIPCollectionNext added in v0.3.0

type ReservedIPCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type ReservedIPCollectionVirtualNetworkInterfaceContext added in v0.47.0

type ReservedIPCollectionVirtualNetworkInterfaceContext struct {
	// A link to the first page of resources.
	First *ReservedIPCollectionVirtualNetworkInterfaceContextFirst `json:"first" validate:"required"`

	// Collection of reserved IPs bound to the virtual network interface specified by the identifier in the URL.
	Ips []ReservedIPReference `json:"ips" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ReservedIPCollectionVirtualNetworkInterfaceContextNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ReservedIPCollectionVirtualNetworkInterfaceContext : ReservedIPCollectionVirtualNetworkInterfaceContext struct

func (*ReservedIPCollectionVirtualNetworkInterfaceContext) GetNextStart added in v0.47.0

Retrieve the value to be passed to a request to access the next page of results

type ReservedIPCollectionVirtualNetworkInterfaceContextFirst added in v0.47.0

type ReservedIPCollectionVirtualNetworkInterfaceContextFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionVirtualNetworkInterfaceContextFirst : A link to the first page of resources.

type ReservedIPCollectionVirtualNetworkInterfaceContextNext added in v0.47.0

type ReservedIPCollectionVirtualNetworkInterfaceContextNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ReservedIPCollectionVirtualNetworkInterfaceContextNext : A link to the next page of resources. This property is present for all pages except the last page.

type ReservedIPPatch added in v0.3.0

type ReservedIPPatch struct {
	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound. Must be `false` if the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`
}

ReservedIPPatch : ReservedIPPatch struct

func (*ReservedIPPatch) AsPatch added in v0.3.0

func (reservedIPPatch *ReservedIPPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the ReservedIPPatch

type ReservedIPReference added in v0.3.0

type ReservedIPReference struct {
	// The IP address.
	//
	// If the address has not yet been selected, the value will be `0.0.0.0`.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ReservedIPReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`

	// The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPReference : ReservedIPReference struct

type ReservedIPReferenceDeleted added in v0.3.0

type ReservedIPReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

ReservedIPReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type ReservedIPTarget added in v0.3.0

type ReservedIPTarget struct {
	// The CRN for this endpoint gateway.
	CRN *string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *EndpointGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this endpoint gateway.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this endpoint gateway.
	ID *string `json:"id,omitempty"`

	// The name for this endpoint gateway. The name is unique across all endpoint gateways in the VPC.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

ReservedIPTarget : The target this reserved IP is bound to.

If absent, this reserved IP is provider-owned or unbound. Models which "extend" this model: - ReservedIPTargetEndpointGatewayReference - ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext - ReservedIPTargetNetworkInterfaceReferenceTargetContext - ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext - ReservedIPTargetLoadBalancerReference - ReservedIPTargetVPNGatewayReference - ReservedIPTargetVPNServerReference - ReservedIPTargetGenericResourceReference

type ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext added in v0.41.0

type ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BareMetalServerNetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server network interface.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext : ReservedIPTargetBareMetalServerNetworkInterfaceReferenceTargetContext struct This model "extends" ReservedIPTarget

type ReservedIPTargetEndpointGatewayReference added in v0.3.0

type ReservedIPTargetEndpointGatewayReference struct {
	// The CRN for this endpoint gateway.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *EndpointGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this endpoint gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this endpoint gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this endpoint gateway. The name is unique across all endpoint gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetEndpointGatewayReference : ReservedIPTargetEndpointGatewayReference struct This model "extends" ReservedIPTarget

type ReservedIPTargetGenericResourceReference added in v0.19.0

type ReservedIPTargetGenericResourceReference struct {
	// The CRN for the resource.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *GenericResourceReferenceDeleted `json:"deleted,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetGenericResourceReference : Identifying information for a resource that is not native to the VPC API. This model "extends" ReservedIPTarget

type ReservedIPTargetIntf added in v0.3.0

type ReservedIPTargetIntf interface {
	// contains filtered or unexported methods
}

type ReservedIPTargetLoadBalancerReference added in v0.19.0

type ReservedIPTargetLoadBalancerReference struct {
	// The load balancer's CRN.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerReferenceDeleted `json:"deleted,omitempty"`

	// The load balancer's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer.
	ID *string `json:"id" validate:"required"`

	// The name for this load balancer. The name is unique across all load balancers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetLoadBalancerReference : ReservedIPTargetLoadBalancerReference struct This model "extends" ReservedIPTarget

type ReservedIPTargetNetworkInterfaceReferenceTargetContext added in v0.19.0

type ReservedIPTargetNetworkInterfaceReferenceTargetContext struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network interface.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetNetworkInterfaceReferenceTargetContext : ReservedIPTargetNetworkInterfaceReferenceTargetContext struct This model "extends" ReservedIPTarget

type ReservedIPTargetPrototype added in v0.3.0

type ReservedIPTargetPrototype struct {
	// The unique identifier for this endpoint gateway.
	ID *string `json:"id,omitempty"`

	// The CRN for this endpoint gateway.
	CRN *string `json:"crn,omitempty"`

	// The URL for this endpoint gateway.
	Href *string `json:"href,omitempty"`
}

ReservedIPTargetPrototype : The target to bind this reserved IP to. The target must be in the same VPC.

The following targets are supported: - An endpoint gateway not already bound to a reserved IP in the subnet's zone. - A virtual network interface.

If unspecified, the reserved IP will be created unbound. Models which "extend" this model: - ReservedIPTargetPrototypeEndpointGatewayIdentity - ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity

type ReservedIPTargetPrototypeEndpointGatewayIdentity added in v0.3.0

type ReservedIPTargetPrototypeEndpointGatewayIdentity struct {
	// The unique identifier for this endpoint gateway.
	ID *string `json:"id,omitempty"`

	// The CRN for this endpoint gateway.
	CRN *string `json:"crn,omitempty"`

	// The URL for this endpoint gateway.
	Href *string `json:"href,omitempty"`
}

ReservedIPTargetPrototypeEndpointGatewayIdentity : ReservedIPTargetPrototypeEndpointGatewayIdentity struct Models which "extend" this model: - ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID - ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN - ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref This model "extends" ReservedIPTargetPrototype

type ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN added in v0.3.0

type ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN struct {
	// The CRN for this endpoint gateway.
	CRN *string `json:"crn" validate:"required"`
}

ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN : ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN struct This model "extends" ReservedIPTargetPrototypeEndpointGatewayIdentity

type ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref added in v0.3.0

type ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref struct {
	// The URL for this endpoint gateway.
	Href *string `json:"href" validate:"required"`
}

ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref : ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref struct This model "extends" ReservedIPTargetPrototypeEndpointGatewayIdentity

type ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID added in v0.3.0

type ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID struct {
	// The unique identifier for this endpoint gateway.
	ID *string `json:"id" validate:"required"`
}

ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID : ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID struct This model "extends" ReservedIPTargetPrototypeEndpointGatewayIdentity

type ReservedIPTargetPrototypeEndpointGatewayIdentityIntf added in v0.3.0

type ReservedIPTargetPrototypeEndpointGatewayIdentityIntf interface {
	ReservedIPTargetPrototypeIntf
	// contains filtered or unexported methods
}

type ReservedIPTargetPrototypeIntf added in v0.3.0

type ReservedIPTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" ReservedIPTargetPrototype

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityIntf interface {
	ReservedIPTargetPrototypeIntf
	// contains filtered or unexported methods
}

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentity

type ReservedIPTargetVPNGatewayReference added in v0.19.0

type ReservedIPTargetVPNGatewayReference struct {
	// The VPN gateway's CRN.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The VPN gateway's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetVPNGatewayReference : ReservedIPTargetVPNGatewayReference struct This model "extends" ReservedIPTarget

type ReservedIPTargetVPNServerReference added in v0.22.0

type ReservedIPTargetVPNServerReference struct {
	// The CRN for this VPN server.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNServerReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this VPN server.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN server.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN server. The name is unique across all VPN servers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetVPNServerReference : ReservedIPTargetVPNServerReference struct This model "extends" ReservedIPTarget

type ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext added in v0.41.0

type ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext : ReservedIPTargetVirtualNetworkInterfaceReferenceReservedIPTargetContext struct This model "extends" ReservedIPTarget

type ResourceFilter added in v0.22.0

type ResourceFilter struct {
	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

ResourceFilter : Identifies one or more resources according to the specified filter property.

type ResourceGroupIdentity

type ResourceGroupIdentity struct {
	// The unique identifier for this resource group.
	ID *string `json:"id,omitempty"`
}

ResourceGroupIdentity : The resource group to use. If unspecified, the account's [default resource group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. Models which "extend" this model: - ResourceGroupIdentityByID

type ResourceGroupIdentityByID

type ResourceGroupIdentityByID struct {
	// The unique identifier for this resource group.
	ID *string `json:"id" validate:"required"`
}

ResourceGroupIdentityByID : ResourceGroupIdentityByID struct This model "extends" ResourceGroupIdentity

type ResourceGroupIdentityIntf

type ResourceGroupIdentityIntf interface {
	// contains filtered or unexported methods
}

type ResourceGroupReference

type ResourceGroupReference struct {
	// The URL for this resource group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this resource group.
	ID *string `json:"id" validate:"required"`

	// The name for this resource group.
	Name *string `json:"name" validate:"required"`
}

ResourceGroupReference : ResourceGroupReference struct

type RestartBareMetalServerOptions added in v0.16.0

type RestartBareMetalServerOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

RestartBareMetalServerOptions : The RestartBareMetalServer options.

func (*RestartBareMetalServerOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*RestartBareMetalServerOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type Route

type Route struct {
	// The action to perform with a packet matching the route:
	// - `delegate`: delegate to system-provided routes
	// - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes
	// - `deliver`: deliver the packet to the specified `next_hop`
	// - `drop`: drop the packet.
	Action *string `json:"action" validate:"required"`

	// Indicates whether this route will be advertised to the ingress sources specified by the `advertise_routes_to`
	// routing table property.
	Advertise *bool `json:"advertise" validate:"required"`

	// The date and time that the route was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If present, the resource that created the route. Routes with this property present cannot
	// be directly deleted. All routes with an `origin` of `service` will have this property set,
	// and future `origin` values may also have this property set.
	Creator RouteCreatorIntf `json:"creator,omitempty"`

	// The destination CIDR of the route.
	Destination *string `json:"destination" validate:"required"`

	// The URL for this route.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this route.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the route.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this route. The name is unique across all routes in the routing table.
	Name *string `json:"name" validate:"required"`

	// If `action` is `deliver`, the next hop that packets will be delivered to.  For
	// other `action` values, its `address` will be `0.0.0.0`.
	NextHop RouteNextHopIntf `json:"next_hop" validate:"required"`

	// The origin of this route:
	// - `service`: route was directly created by a service
	// - `user`: route was directly created by a user
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Origin *string `json:"origin,omitempty"`

	// The priority of this route. Smaller values have higher priority.
	//
	// If a routing table contains multiple routes with the same `zone` and `destination`, the route with the highest
	// priority (smallest value) is selected. If two routes have the same `destination` and `priority`, traffic is
	// distributed between them.
	Priority *int64 `json:"priority" validate:"required"`

	// The zone the route applies to.
	//
	// If subnets are attached to the route's routing table, egress traffic from those
	// subnets in this zone will be subject to this route. If this route's routing table
	// has any of `route_direct_link_ingress`, `route_internet_ingress`,
	// `route_transit_gateway_ingress` or `route_vpc_zone_ingress`  set to`true`, traffic
	// from those ingress sources arriving in this zone will be subject to this route.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

Route : Route struct

type RouteCollection

type RouteCollection struct {
	// A link to the first page of resources.
	First *RouteCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *RouteCollectionNext `json:"next,omitempty"`

	// Collection of routes.
	Routes []Route `json:"routes" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

RouteCollection : RouteCollection struct

func (*RouteCollection) GetNextStart added in v0.8.0

func (resp *RouteCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type RouteCollectionFirst added in v0.3.0

type RouteCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

RouteCollectionFirst : A link to the first page of resources.

type RouteCollectionNext added in v0.3.0

type RouteCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

RouteCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type RouteCollectionVPCContext added in v0.39.0

type RouteCollectionVPCContext struct {
	// A link to the first page of resources.
	First *RouteCollectionVPCContextFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *RouteCollectionVPCContextNext `json:"next,omitempty"`

	// Collection of routes.
	Routes []RouteCollectionVPCContextRoutesItem `json:"routes" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

RouteCollectionVPCContext : RouteCollectionVPCContext struct

func (*RouteCollectionVPCContext) GetNextStart added in v0.39.0

func (resp *RouteCollectionVPCContext) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type RouteCollectionVPCContextFirst added in v0.39.0

type RouteCollectionVPCContextFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

RouteCollectionVPCContextFirst : A link to the first page of resources.

type RouteCollectionVPCContextNext added in v0.39.0

type RouteCollectionVPCContextNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

RouteCollectionVPCContextNext : A link to the next page of resources. This property is present for all pages except the last page.

type RouteCollectionVPCContextRoutesItem added in v0.39.0

type RouteCollectionVPCContextRoutesItem struct {
	// The action to perform with a packet matching the route:
	// - `delegate`: delegate to system-provided routes
	// - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes
	// - `deliver`: deliver the packet to the specified `next_hop`
	// - `drop`: drop the packet.
	Action *string `json:"action" validate:"required"`

	// Indicates whether this route will be advertised to the ingress sources specified by the `advertise_routes_to`
	// routing table property.
	Advertise *bool `json:"advertise" validate:"required"`

	// The date and time that the route was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// If present, the resource that created the route. Routes with this property present cannot
	// be directly deleted. All routes with an `origin` of `service` will have this property set,
	// and future `origin` values may also have this property set.
	Creator RouteCreatorIntf `json:"creator,omitempty"`

	// The destination CIDR of the route.
	Destination *string `json:"destination" validate:"required"`

	// The URL for this route.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this route.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the route.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this route. The name is unique across all routes in the routing table.
	Name *string `json:"name" validate:"required"`

	// If `action` is `deliver`, the next hop that packets will be delivered to.  For
	// other `action` values, its `address` will be `0.0.0.0`.
	NextHop RouteNextHopIntf `json:"next_hop" validate:"required"`

	// The origin of this route:
	// - `service`: route was directly created by a service
	// - `user`: route was directly created by a user
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Origin *string `json:"origin,omitempty"`

	// The priority of this route. Smaller values have higher priority.
	//
	// If a routing table contains multiple routes with the same `zone` and `destination`, the route with the highest
	// priority (smallest value) is selected. If two routes have the same `destination` and `priority`, traffic is
	// distributed between them.
	Priority *int64 `json:"priority" validate:"required"`

	// The zone the route applies to.
	//
	// If subnets are attached to the route's routing table, egress traffic from those
	// subnets in this zone will be subject to this route. If this route's routing table
	// has any of `route_direct_link_ingress`, `route_internet_ingress`,
	// `route_transit_gateway_ingress` or `route_vpc_zone_ingress`  set to`true`, traffic
	// from those ingress sources arriving in this zone will be subject to this route.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

RouteCollectionVPCContextRoutesItem : RouteCollectionVPCContextRoutesItem struct

type RouteCreator added in v0.22.0

type RouteCreator struct {
	// The VPN gateway's CRN.
	CRN *string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The VPN gateway's canonical URL.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this VPN gateway.
	ID *string `json:"id,omitempty"`

	// The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

RouteCreator : If present, the resource that created the route. Routes with this property present cannot be directly deleted. All routes with an `origin` of `service` will have this property set, and future `origin` values may also have this property set. Models which "extend" this model: - RouteCreatorVPNGatewayReference - RouteCreatorVPNServerReference

type RouteCreatorIntf added in v0.22.0

type RouteCreatorIntf interface {
	// contains filtered or unexported methods
}

type RouteCreatorVPNGatewayReference added in v0.22.0

type RouteCreatorVPNGatewayReference struct {
	// The VPN gateway's CRN.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The VPN gateway's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

RouteCreatorVPNGatewayReference : RouteCreatorVPNGatewayReference struct This model "extends" RouteCreator

type RouteCreatorVPNServerReference added in v0.22.0

type RouteCreatorVPNServerReference struct {
	// The CRN for this VPN server.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNServerReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this VPN server.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN server.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN server. The name is unique across all VPN servers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

RouteCreatorVPNServerReference : RouteCreatorVPNServerReference struct This model "extends" RouteCreator

type RouteNextHop

type RouteNextHop struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNGatewayConnectionReferenceDeleted `json:"deleted,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id,omitempty"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

RouteNextHop : RouteNextHop struct Models which "extend" this model: - RouteNextHopIP - RouteNextHopVPNGatewayConnectionReference

type RouteNextHopIP

type RouteNextHopIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

RouteNextHopIP : RouteNextHopIP struct This model "extends" RouteNextHop

type RouteNextHopIntf

type RouteNextHopIntf interface {
	// contains filtered or unexported methods
}

type RouteNextHopPatch added in v0.34.0

type RouteNextHopPatch struct {
	// The sentinel IP address (`0.0.0.0`).
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href,omitempty"`
}

RouteNextHopPatch : If `action` is `deliver`, the next hop that packets will be delivered to. For other `action` values, specify `0.0.0.0` or remove it by specifying `null`.

At most two routes per `zone` in a table can have the same `destination` and `priority`, and only when each route has an `action` of `deliver` and `next_hop` is an IP address. Models which "extend" this model: - RouteNextHopPatchRouteNextHopIP - RouteNextHopPatchVPNGatewayConnectionIdentity

type RouteNextHopPatchIntf added in v0.34.0

type RouteNextHopPatchIntf interface {
	// contains filtered or unexported methods
}

type RouteNextHopPatchRouteNextHopIP added in v0.34.0

type RouteNextHopPatchRouteNextHopIP struct {
	// The sentinel IP address (`0.0.0.0`).
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`
}

RouteNextHopPatchRouteNextHopIP : RouteNextHopPatchRouteNextHopIP struct Models which "extend" this model: - RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP - RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP This model "extends" RouteNextHopPatch

type RouteNextHopPatchRouteNextHopIPIntf added in v0.37.0

type RouteNextHopPatchRouteNextHopIPIntf interface {
	RouteNextHopPatchIntf
	// contains filtered or unexported methods
}

type RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP added in v0.37.0

type RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP struct {
	// The sentinel IP address (`0.0.0.0`).
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP : RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP struct This model "extends" RouteNextHopPatchRouteNextHopIP

type RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP added in v0.37.0

type RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP struct {
	// A unicast IP address, which must not be any of the following values:
	//
	// - `0.0.0.0` (the sentinel IP address)
	// - `224.0.0.0` to `239.255.255.255` (multicast IP addresses)
	// - `255.255.255.255` (the broadcast IP address)
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP : RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP struct This model "extends" RouteNextHopPatchRouteNextHopIP

type RouteNextHopPatchVPNGatewayConnectionIdentity added in v0.34.0

type RouteNextHopPatchVPNGatewayConnectionIdentity struct {
	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href,omitempty"`
}

RouteNextHopPatchVPNGatewayConnectionIdentity : Identifies a VPN gateway connection by a unique property. Models which "extend" this model: - RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID - RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref This model "extends" RouteNextHopPatch

type RouteNextHopPatchVPNGatewayConnectionIdentityIntf added in v0.34.0

type RouteNextHopPatchVPNGatewayConnectionIdentityIntf interface {
	RouteNextHopPatchIntf
	// contains filtered or unexported methods
}

type RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref added in v0.34.0

type RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref struct {
	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`
}

RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref : RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref struct This model "extends" RouteNextHopPatchVPNGatewayConnectionIdentity

type RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID added in v0.34.0

type RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID struct {
	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`
}

RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID : RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID struct This model "extends" RouteNextHopPatchVPNGatewayConnectionIdentity

type RouteNextHopVPNGatewayConnectionReference added in v0.3.0

type RouteNextHopVPNGatewayConnectionReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNGatewayConnectionReferenceDeleted `json:"deleted,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

RouteNextHopVPNGatewayConnectionReference : RouteNextHopVPNGatewayConnectionReference struct This model "extends" RouteNextHop

type RoutePatch added in v0.2.0

type RoutePatch struct {
	// Indicates whether this route will be advertised to the ingress sources specified by the `advertise_routes_to`
	// routing table property.
	//
	// Since all routes in a routing table with the same `destination` and `zone` must have the same `advertise` value,
	// this property can only be changed for routes with a unique
	// `destination` and `zone` in the routing table. For more information, see [Advertising
	// routes](https://cloud.ibm.com/docs/vpc?topic=vpc-about-custom-routes#rt-advertising-routes).
	Advertise *bool `json:"advertise,omitempty"`

	// The name for this route. The name must not be used by another route in the routing table. Names starting with `ibm-`
	// are reserved for system-provided routes, and are not allowed.
	Name *string `json:"name,omitempty"`

	// If `action` is `deliver`, the next hop that packets will be delivered to. For other
	// `action` values, specify `0.0.0.0` or remove it by specifying `null`.
	//
	// At most two routes per `zone` in a table can have the same `destination` and `priority`,
	// and only when each route has an `action` of `deliver` and `next_hop` is an IP address.
	NextHop RouteNextHopPatchIntf `json:"next_hop,omitempty"`

	// The priority of this route. Smaller values have higher priority.
	//
	// If a routing table contains multiple routes with the same `zone` and `destination`, the route with the highest
	// priority (smallest value) is selected. If two routes have the same `destination` and `priority`, traffic is
	// distributed between them.
	Priority *int64 `json:"priority,omitempty"`
}

RoutePatch : RoutePatch struct

func (*RoutePatch) AsPatch added in v0.2.0

func (routePatch *RoutePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the RoutePatch

type RoutePrototype added in v0.3.0

type RoutePrototype struct {
	// The action to perform with a packet matching the route:
	// - `delegate`: delegate to system-provided routes
	// - `delegate_vpc`: delegate to system-provided routes, ignoring Internet-bound routes
	// - `deliver`: deliver the packet to the specified `next_hop`
	// - `drop`: drop the packet.
	Action *string `json:"action,omitempty"`

	// Indicates whether this route will be advertised to the ingress sources specified by the `advertise_routes_to`
	// routing table property.
	//
	// All routes in a routing table with the same `destination` and `zone` must have the same
	// `advertise` value.
	Advertise *bool `json:"advertise,omitempty"`

	// The destination CIDR of the route. The host identifier in the CIDR must be zero.
	//
	// At most two routes per `zone` in a table can have the same `destination` and
	// `priority`, and only if both routes have an `action` of `deliver` and the `next_hop` is an IP address.
	Destination *string `json:"destination" validate:"required"`

	// The name for this route. The name must not be used by another route in the routing table. Names starting with `ibm-`
	// are reserved for system-provided routes, and are not allowed. If unspecified, the name will be a hyphenated list of
	// randomly-selected words.
	Name *string `json:"name,omitempty"`

	// If `action` is `deliver`, the next hop that packets will be delivered to. For other
	// `action` values, it must be omitted or specified as `0.0.0.0`.
	//
	// At most two routes per `zone` in a table can have the same `destination` and `priority`,
	// and only when each route has an `action` of `deliver` and `next_hop` is an IP address.
	NextHop RoutePrototypeNextHopIntf `json:"next_hop,omitempty"`

	// The priority of this route. Smaller values have higher priority.
	//
	// If a routing table contains multiple routes with the same `zone` and `destination`, the route with the highest
	// priority (smallest value) is selected. If two routes have the same `destination` and `priority`, traffic is
	// distributed between them.
	Priority *int64 `json:"priority,omitempty"`

	// The zone to apply the route to.
	//
	// If subnets are attached to the route's routing table, egress traffic from those
	// subnets in this zone will be subject to this route. If this route's routing table
	// has any of `route_direct_link_ingress`, `route_internet_ingress`,
	// `route_transit_gateway_ingress` or `route_vpc_zone_ingress`  set to`true`, traffic
	// from those ingress sources arriving in this zone will be subject to this route.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`
}

RoutePrototype : RoutePrototype struct

type RoutePrototypeNextHop added in v0.22.0

type RoutePrototypeNextHop struct {
	// The sentinel IP address (`0.0.0.0`).
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href,omitempty"`
}

RoutePrototypeNextHop : If `action` is `deliver`, the next hop that packets will be delivered to. For other `action` values, it must be omitted or specified as `0.0.0.0`.

At most two routes per `zone` in a table can have the same `destination` and `priority`, and only when each route has an `action` of `deliver` and `next_hop` is an IP address. Models which "extend" this model: - RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP - RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity

type RoutePrototypeNextHopIntf added in v0.22.0

type RoutePrototypeNextHopIntf interface {
	// contains filtered or unexported methods
}

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP added in v0.22.0

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP struct {
	// The sentinel IP address (`0.0.0.0`).
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`
}

RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP : RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP struct Models which "extend" this model: - RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP - RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP This model "extends" RoutePrototypeNextHop

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPIntf added in v0.37.0

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPIntf interface {
	RoutePrototypeNextHopIntf
	// contains filtered or unexported methods
}

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP added in v0.37.0

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP struct {
	// The sentinel IP address (`0.0.0.0`).
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP : RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP struct This model "extends" RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP added in v0.37.0

type RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP struct {
	// A unicast IP address, which must not be any of the following values:
	//
	// - `0.0.0.0` (the sentinel IP address)
	// - `224.0.0.0` to `239.255.255.255` (multicast IP addresses)
	// - `255.255.255.255` (the broadcast IP address)
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP : RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP struct This model "extends" RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIP

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity added in v0.22.0

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity struct {
	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href,omitempty"`
}

RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity : Identifies a VPN gateway connection by a unique property. Models which "extend" this model: - RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID - RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref This model "extends" RoutePrototypeNextHop

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityIntf added in v0.22.0

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityIntf interface {
	RoutePrototypeNextHopIntf
	// contains filtered or unexported methods
}

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref added in v0.22.0

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref struct {
	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`
}

RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref : RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref struct This model "extends" RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID added in v0.22.0

type RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID struct {
	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`
}

RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID : RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID struct This model "extends" RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentity

type RouteReference added in v0.3.0

type RouteReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *RouteReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this route.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this route.
	ID *string `json:"id" validate:"required"`

	// The name for this route. The name is unique across all routes in the routing table.
	Name *string `json:"name" validate:"required"`
}

RouteReference : RouteReference struct

type RouteReferenceDeleted added in v0.3.0

type RouteReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

RouteReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type RoutingTable added in v0.3.0

type RoutingTable struct {
	// The filters specifying the resources that may create routes in this routing table.
	//
	// At present, only the `resource_type` filter is permitted, and only the values
	// `vpn_gateway` and `vpn_server` are supported, but filter support is expected to expand in the future.
	AcceptRoutesFrom []ResourceFilter `json:"accept_routes_from" validate:"required"`

	// The ingress sources to advertise routes to. Routes in the table with `advertise` enabled will be advertised to these
	// sources.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	AdvertiseRoutesTo []string `json:"advertise_routes_to" validate:"required"`

	// The date and time that this routing table was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this routing table.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this routing table.
	ID *string `json:"id" validate:"required"`

	// Indicates whether this is the default routing table for this VPC.
	IsDefault *bool `json:"is_default" validate:"required"`

	// The lifecycle state of the routing table.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this routing table. The name is unique across all routing tables for the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from
	// [Direct Link](https://cloud.ibm.com/docs/dl) to this VPC.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteDirectLinkIngress *bool `json:"route_direct_link_ingress" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from the internet.
	//
	// Incoming traffic will be routed according to the routing table with two exceptions:
	// - Traffic destined for IP addresses associated with public gateways will not be
	//   subject to routes in this routing table.
	// - Routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is
	//   an IP address in a subnet in the route's `zone` that is able to accept traffic.
	//   Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	//   connection, the packet will be dropped.
	RouteInternetIngress *bool `json:"route_internet_ingress" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from from [Transit
	// Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteTransitGatewayIngress *bool `json:"route_transit_gateway_ingress" validate:"required"`

	// Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this
	// VPC.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteVPCZoneIngress *bool `json:"route_vpc_zone_ingress" validate:"required"`

	// The routes for this routing table.
	Routes []RouteReference `json:"routes" validate:"required"`

	// The subnets to which this routing table is attached.
	Subnets []SubnetReference `json:"subnets" validate:"required"`
}

RoutingTable : RoutingTable struct

type RoutingTableCollection added in v0.3.0

type RoutingTableCollection struct {
	// A link to the first page of resources.
	First *RoutingTableCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *RoutingTableCollectionNext `json:"next,omitempty"`

	// Collection of routing tables.
	RoutingTables []RoutingTable `json:"routing_tables" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

RoutingTableCollection : RoutingTableCollection struct

func (*RoutingTableCollection) GetNextStart added in v0.8.0

func (resp *RoutingTableCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type RoutingTableCollectionFirst added in v0.3.0

type RoutingTableCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

RoutingTableCollectionFirst : A link to the first page of resources.

type RoutingTableCollectionNext added in v0.3.0

type RoutingTableCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

RoutingTableCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type RoutingTableIdentity added in v0.3.0

type RoutingTableIdentity struct {
	// The unique identifier for this routing table.
	ID *string `json:"id,omitempty"`

	// The URL for this routing table.
	Href *string `json:"href,omitempty"`
}

RoutingTableIdentity : Identifies a routing table by a unique property. Models which "extend" this model: - RoutingTableIdentityByID - RoutingTableIdentityByHref

type RoutingTableIdentityByHref added in v0.3.0

type RoutingTableIdentityByHref struct {
	// The URL for this routing table.
	Href *string `json:"href" validate:"required"`
}

RoutingTableIdentityByHref : RoutingTableIdentityByHref struct This model "extends" RoutingTableIdentity

type RoutingTableIdentityByID added in v0.3.0

type RoutingTableIdentityByID struct {
	// The unique identifier for this routing table.
	ID *string `json:"id" validate:"required"`
}

RoutingTableIdentityByID : RoutingTableIdentityByID struct This model "extends" RoutingTableIdentity

type RoutingTableIdentityIntf added in v0.3.0

type RoutingTableIdentityIntf interface {
	// contains filtered or unexported methods
}

type RoutingTablePatch added in v0.3.0

type RoutingTablePatch struct {
	// The filters specifying the resources that may create routes in this routing table
	// (replacing any existing filters). All routes created by resources that match a given filter will be removed when an
	// existing filter is removed. Therefore, if an empty array is specified, all filters will be removed, resulting in all
	// routes not directly created by the user being removed.
	AcceptRoutesFrom []ResourceFilter `json:"accept_routes_from,omitempty"`

	// The ingress sources to advertise routes to, replacing any existing sources to advertise to. Routes in the table with
	// `advertise` enabled will be advertised to these sources.
	AdvertiseRoutesTo []string `json:"advertise_routes_to,omitempty"`

	// The name for this routing table. The name must not be used by another routing table in the VPC.
	Name *string `json:"name,omitempty"`

	// Indicates whether this routing table is used to route traffic that originates from
	// [Direct Link](https://cloud.ibm.com/docs/dl/) to this VPC. Updating to `true` selects this routing table, provided
	// no other routing table in the VPC already has this property set to `true`, and no subnets are attached to this
	// routing table. Updating to
	// `false` deselects this routing table, provided `direct_link` is absent from
	// `advertise_routes_to`.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteDirectLinkIngress *bool `json:"route_direct_link_ingress,omitempty"`

	// Indicates whether this routing table is used to route traffic that originates from the internet.  Updating to `true`
	// selects this routing table, provided no other routing table in the VPC already has this property set to `true`.
	// Updating to `false` deselects this routing table.
	//
	// Incoming traffic will be routed according to the routing table with two exceptions:
	// -  Traffic destined for IP addresses associated with public gateways will not be subject
	//    to routes in this routing table.
	// -  Routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is an
	//    IP address in a subnet in the route's `zone` that is able to accept traffic.
	//    Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	//    connection, the packet will be dropped.
	RouteInternetIngress *bool `json:"route_internet_ingress,omitempty"`

	// Indicates whether this routing table is used to route traffic that originates from
	// [Transit Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC. Updating to
	// `true` selects this routing table, provided no other routing table in the VPC already has this property set to
	// `true`, and no subnets are attached to this routing table. Updating to `false` deselects this routing table,
	// provided `transit_gateway` is absent from `advertise_routes_to`.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	//
	// If [Classic Access](https://cloud.ibm.com/docs/vpc?topic=vpc-setting-up-access-to-classic-infrastructure) is enabled
	// for this VPC, and this property is set to `true`, its incoming traffic will also be routed according to this routing
	// table.
	RouteTransitGatewayIngress *bool `json:"route_transit_gateway_ingress,omitempty"`

	// Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this
	// VPC. Updating to `true` selects this routing table, provided no other routing table in the VPC already has this
	// property set to `true`, and no subnets are attached to this routing table. Updating to `false` deselects this
	// routing table.
	//
	// Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of
	// `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is
	// able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway
	// connection, the packet will be dropped.
	RouteVPCZoneIngress *bool `json:"route_vpc_zone_ingress,omitempty"`
}

RoutingTablePatch : RoutingTablePatch struct

func (*RoutingTablePatch) AsPatch added in v0.3.0

func (routingTablePatch *RoutingTablePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the RoutingTablePatch

type RoutingTableReference added in v0.3.0

type RoutingTableReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *RoutingTableReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this routing table.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this routing table.
	ID *string `json:"id" validate:"required"`

	// The name for this routing table. The name is unique across all routing tables for the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

RoutingTableReference : RoutingTableReference struct

type RoutingTableReferenceDeleted added in v0.3.0

type RoutingTableReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

RoutingTableReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type SecurityGroup

type SecurityGroup struct {
	// The date and time that this security group was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`

	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`

	// The name for this security group. The name is unique across all security groups for the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this security group.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The rules for this security group. If no rules exist, all traffic will be denied.
	Rules []SecurityGroupRuleIntf `json:"rules" validate:"required"`

	// The targets for this security group.
	Targets []SecurityGroupTargetReferenceIntf `json:"targets" validate:"required"`

	// The VPC this security group resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

SecurityGroup : SecurityGroup struct

type SecurityGroupCollection

type SecurityGroupCollection struct {
	// A link to the first page of resources.
	First *SecurityGroupCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *SecurityGroupCollectionNext `json:"next,omitempty"`

	// Collection of security groups.
	SecurityGroups []SecurityGroup `json:"security_groups" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

SecurityGroupCollection : SecurityGroupCollection struct

func (*SecurityGroupCollection) GetNextStart added in v0.8.0

func (resp *SecurityGroupCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type SecurityGroupCollectionFirst

type SecurityGroupCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupCollectionFirst : A link to the first page of resources.

type SecurityGroupCollectionNext

type SecurityGroupCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type SecurityGroupIdentity

type SecurityGroupIdentity struct {
	// The unique identifier for this security group.
	ID *string `json:"id,omitempty"`

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

	// The security group's canonical URL.
	Href *string `json:"href,omitempty"`
}

SecurityGroupIdentity : Identifies a security group by a unique property. Models which "extend" this model: - SecurityGroupIdentityByID - SecurityGroupIdentityByCRN - SecurityGroupIdentityByHref

type SecurityGroupIdentityByCRN

type SecurityGroupIdentityByCRN struct {
	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`
}

SecurityGroupIdentityByCRN : SecurityGroupIdentityByCRN struct This model "extends" SecurityGroupIdentity

type SecurityGroupIdentityByHref

type SecurityGroupIdentityByHref struct {
	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupIdentityByHref : SecurityGroupIdentityByHref struct This model "extends" SecurityGroupIdentity

type SecurityGroupIdentityByID

type SecurityGroupIdentityByID struct {
	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`
}

SecurityGroupIdentityByID : SecurityGroupIdentityByID struct This model "extends" SecurityGroupIdentity

type SecurityGroupIdentityIntf

type SecurityGroupIdentityIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupPatch added in v0.2.0

type SecurityGroupPatch struct {
	// The name for this security group. The name must not be used by another security group for the VPC.
	Name *string `json:"name,omitempty"`
}

SecurityGroupPatch : SecurityGroupPatch struct

func (*SecurityGroupPatch) AsPatch added in v0.2.0

func (securityGroupPatch *SecurityGroupPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the SecurityGroupPatch

type SecurityGroupReference

type SecurityGroupReference struct {
	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SecurityGroupReferenceDeleted `json:"deleted,omitempty"`

	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`

	// The name for this security group. The name is unique across all security groups for the VPC.
	Name *string `json:"name" validate:"required"`
}

SecurityGroupReference : SecurityGroupReference struct

type SecurityGroupReferenceDeleted added in v0.3.0

type SecurityGroupReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

SecurityGroupReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type SecurityGroupRule

type SecurityGroupRule struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this security group rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group rule.
	ID *string `json:"id" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The local IP address or range of local IP addresses to which this rule will allow inbound
	// traffic (or from which, for outbound traffic). A CIDR block of `0.0.0.0/0` allows traffic
	// to all local IP addresses (or from all local IP addresses, for outbound rules).
	Local SecurityGroupRuleLocalIntf `json:"local" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The remote IP addresses or security groups from which this rule allows traffic (or to
	// which, for outbound rules). A CIDR block of `0.0.0.0/0` allows traffic from any source
	// (or to any destination, for outbound rules).
	Remote SecurityGroupRuleRemoteIntf `json:"remote" validate:"required"`

	// The ICMP traffic code to allow. If absent, all codes are allowed.
	Code *int64 `json:"code,omitempty"`

	// The ICMP traffic type to allow. If absent, all types are allowed.
	Type *int64 `json:"type,omitempty"`

	// The inclusive upper bound of TCP/UDP destination port range.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	PortMin *int64 `json:"port_min,omitempty"`
}

SecurityGroupRule : SecurityGroupRule struct Models which "extend" this model: - SecurityGroupRuleSecurityGroupRuleProtocolAll - SecurityGroupRuleSecurityGroupRuleProtocolIcmp - SecurityGroupRuleSecurityGroupRuleProtocolTcpudp

type SecurityGroupRuleCollection

type SecurityGroupRuleCollection struct {
	// Array of rules.
	Rules []SecurityGroupRuleIntf `json:"rules" validate:"required"`
}

SecurityGroupRuleCollection : Collection of rules in a security group.

type SecurityGroupRuleIntf

type SecurityGroupRuleIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRuleLocal added in v0.50.0

type SecurityGroupRuleLocal struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block,omitempty"`
}

SecurityGroupRuleLocal : The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of `0.0.0.0/0` allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules). Models which "extend" this model: - SecurityGroupRuleLocalIP - SecurityGroupRuleLocalCIDR

type SecurityGroupRuleLocalCIDR added in v0.50.0

type SecurityGroupRuleLocalCIDR struct {
	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block" validate:"required"`
}

SecurityGroupRuleLocalCIDR : SecurityGroupRuleLocalCIDR struct This model "extends" SecurityGroupRuleLocal

type SecurityGroupRuleLocalIP added in v0.50.0

type SecurityGroupRuleLocalIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

SecurityGroupRuleLocalIP : SecurityGroupRuleLocalIP struct This model "extends" SecurityGroupRuleLocal

type SecurityGroupRuleLocalIntf added in v0.50.0

type SecurityGroupRuleLocalIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRuleLocalPatch added in v0.50.0

type SecurityGroupRuleLocalPatch struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block,omitempty"`
}

SecurityGroupRuleLocalPatch : The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). Can be specified as an IP address or a CIDR block.

Specify a CIDR block of `0.0.0.0/0` to allow traffic to all local IP addresses (or from all local IP addresses, for outbound rules). Models which "extend" this model: - SecurityGroupRuleLocalPatchIP - SecurityGroupRuleLocalPatchCIDR

type SecurityGroupRuleLocalPatchCIDR added in v0.50.0

type SecurityGroupRuleLocalPatchCIDR struct {
	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block" validate:"required"`
}

SecurityGroupRuleLocalPatchCIDR : SecurityGroupRuleLocalPatchCIDR struct This model "extends" SecurityGroupRuleLocalPatch

type SecurityGroupRuleLocalPatchIP added in v0.50.0

type SecurityGroupRuleLocalPatchIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

SecurityGroupRuleLocalPatchIP : SecurityGroupRuleLocalPatchIP struct This model "extends" SecurityGroupRuleLocalPatch

type SecurityGroupRuleLocalPatchIntf added in v0.50.0

type SecurityGroupRuleLocalPatchIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRuleLocalPrototype added in v0.50.0

type SecurityGroupRuleLocalPrototype struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block,omitempty"`
}

SecurityGroupRuleLocalPrototype : The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic)

If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic to all local IP addresses (or from all local IP addresses, for outbound rules). Models which "extend" this model: - SecurityGroupRuleLocalPrototypeIP - SecurityGroupRuleLocalPrototypeCIDR

type SecurityGroupRuleLocalPrototypeCIDR added in v0.50.0

type SecurityGroupRuleLocalPrototypeCIDR struct {
	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block" validate:"required"`
}

SecurityGroupRuleLocalPrototypeCIDR : SecurityGroupRuleLocalPrototypeCIDR struct This model "extends" SecurityGroupRuleLocalPrototype

type SecurityGroupRuleLocalPrototypeIP added in v0.50.0

type SecurityGroupRuleLocalPrototypeIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

SecurityGroupRuleLocalPrototypeIP : SecurityGroupRuleLocalPrototypeIP struct This model "extends" SecurityGroupRuleLocalPrototype

type SecurityGroupRuleLocalPrototypeIntf added in v0.50.0

type SecurityGroupRuleLocalPrototypeIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRulePatch added in v0.2.0

type SecurityGroupRulePatch struct {
	// The ICMP traffic code to allow. If set, `type` must also be set.
	//
	// Specify `null` to remove an existing ICMP traffic code.
	Code *int64 `json:"code,omitempty"`

	// The direction of traffic to enforce.
	Direction *string `json:"direction,omitempty"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version,omitempty"`

	// The local IP address or range of local IP addresses to which this rule will allow inbound
	// traffic (or from which, for outbound traffic). Can be specified as an IP address or a CIDR
	// block.
	//
	// Specify a CIDR block of `0.0.0.0/0` to allow traffic to all local IP addresses (or from all
	// local IP addresses, for outbound rules).
	Local SecurityGroupRuleLocalPatchIntf `json:"local,omitempty"`

	// The inclusive upper bound of the protocol destination port range. If set, `port_min` must also be set, and must not
	// be larger.
	//
	// Specify `null` to remove an existing upper bound.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of the protocol destination port range. If set, `port_max` must also be set, and must not
	// be smaller.
	//
	// Specify `null` to remove an existing lower bound.
	PortMin *int64 `json:"port_min,omitempty"`

	// The remote IP addresses or security groups from which this rule will allow traffic (or to
	// which, for outbound rules). Can be specified as an IP address, a CIDR block, or a
	// security group. A CIDR block of `0.0.0.0/0` will allow traffic from any source (or to
	// any destination, for outbound rules).
	Remote SecurityGroupRuleRemotePatchIntf `json:"remote,omitempty"`

	// The ICMP traffic type to allow.
	//
	// Specify `null` to remove an existing ICMP traffic type value.
	Type *int64 `json:"type,omitempty"`
}

SecurityGroupRulePatch : SecurityGroupRulePatch struct

func (*SecurityGroupRulePatch) AsPatch added in v0.2.0

func (securityGroupRulePatch *SecurityGroupRulePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the SecurityGroupRulePatch

type SecurityGroupRulePrototype

type SecurityGroupRulePrototype struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version,omitempty"`

	// The local IP address or range of local IP addresses to which this rule will allow inbound
	// traffic (or from which, for outbound traffic)
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic to all local IP
	// addresses (or from all local IP addresses, for outbound rules).
	Local SecurityGroupRuleLocalPrototypeIntf `json:"local,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The remote IP addresses or security groups from which this rule will allow traffic (or to
	// which, for outbound rules). Can be specified as an IP address, a CIDR block, or a
	// security group within the VPC.
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic from any source
	// (or to any destination, for outbound rules).
	Remote SecurityGroupRuleRemotePrototypeIntf `json:"remote,omitempty"`

	// The ICMP traffic code to allow.
	//
	// If specified, `type` must also be specified.  If unspecified, all codes are allowed.
	Code *int64 `json:"code,omitempty"`

	// The ICMP traffic type to allow.
	//
	// If unspecified, all types are allowed.
	Type *int64 `json:"type,omitempty"`

	// The inclusive upper bound of TCP/UDP destination port range.
	//
	// If specified, `port_min` must also be specified, and must not be larger. If unspecified,
	// `port_min` must also be unspecified, allowing traffic on all destination ports.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range
	//
	// If specified, `port_max` must also be specified, and must not be smaller. If unspecified, `port_max` must also be
	// unspecified, allowing traffic on all destination ports.
	PortMin *int64 `json:"port_min,omitempty"`
}

SecurityGroupRulePrototype : SecurityGroupRulePrototype struct Models which "extend" this model: - SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll - SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp - SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp

type SecurityGroupRulePrototypeIntf

type SecurityGroupRulePrototypeIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll

type SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version,omitempty"`

	// The local IP address or range of local IP addresses to which this rule will allow inbound
	// traffic (or from which, for outbound traffic)
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic to all local IP
	// addresses (or from all local IP addresses, for outbound rules).
	Local SecurityGroupRuleLocalPrototypeIntf `json:"local,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The remote IP addresses or security groups from which this rule will allow traffic (or to
	// which, for outbound rules). Can be specified as an IP address, a CIDR block, or a
	// security group within the VPC.
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic from any source
	// (or to any destination, for outbound rules).
	Remote SecurityGroupRuleRemotePrototypeIntf `json:"remote,omitempty"`
}

SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll : A rule allowing traffic for all supported protocols. This model "extends" SecurityGroupRulePrototype

type SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp

type SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp struct {
	// The ICMP traffic code to allow.
	//
	// If specified, `type` must also be specified.  If unspecified, all codes are allowed.
	Code *int64 `json:"code,omitempty"`

	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version,omitempty"`

	// The local IP address or range of local IP addresses to which this rule will allow inbound
	// traffic (or from which, for outbound traffic)
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic to all local IP
	// addresses (or from all local IP addresses, for outbound rules).
	Local SecurityGroupRuleLocalPrototypeIntf `json:"local,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The remote IP addresses or security groups from which this rule will allow traffic (or to
	// which, for outbound rules). Can be specified as an IP address, a CIDR block, or a
	// security group within the VPC.
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic from any source
	// (or to any destination, for outbound rules).
	Remote SecurityGroupRuleRemotePrototypeIntf `json:"remote,omitempty"`

	// The ICMP traffic type to allow.
	//
	// If unspecified, all types are allowed.
	Type *int64 `json:"type,omitempty"`
}

SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp : A rule specifying the ICMP traffic to allow. This model "extends" SecurityGroupRulePrototype

type SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp

type SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version,omitempty"`

	// The local IP address or range of local IP addresses to which this rule will allow inbound
	// traffic (or from which, for outbound traffic)
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic to all local IP
	// addresses (or from all local IP addresses, for outbound rules).
	Local SecurityGroupRuleLocalPrototypeIntf `json:"local,omitempty"`

	// The inclusive upper bound of TCP/UDP destination port range.
	//
	// If specified, `port_min` must also be specified, and must not be larger. If unspecified,
	// `port_min` must also be unspecified, allowing traffic on all destination ports.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range
	//
	// If specified, `port_max` must also be specified, and must not be smaller. If unspecified, `port_max` must also be
	// unspecified, allowing traffic on all destination ports.
	PortMin *int64 `json:"port_min,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The remote IP addresses or security groups from which this rule will allow traffic (or to
	// which, for outbound rules). Can be specified as an IP address, a CIDR block, or a
	// security group within the VPC.
	//
	// If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic from any source
	// (or to any destination, for outbound rules).
	Remote SecurityGroupRuleRemotePrototypeIntf `json:"remote,omitempty"`
}

SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp : A rule specifying the TCP or UDP traffic to allow.

Either both `port_min` and `port_max` will be present, or neither. When neither is present, all destination ports are allowed for the protocol. When both have the same value, that single destination port is allowed. This model "extends" SecurityGroupRulePrototype

type SecurityGroupRuleRemote

type SecurityGroupRuleRemote struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block,omitempty"`

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

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SecurityGroupReferenceDeleted `json:"deleted,omitempty"`

	// The security group's canonical URL.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this security group.
	ID *string `json:"id,omitempty"`

	// The name for this security group. The name is unique across all security groups for the VPC.
	Name *string `json:"name,omitempty"`
}

SecurityGroupRuleRemote : The remote IP addresses or security groups from which this rule allows traffic (or to which, for outbound rules). A CIDR block of `0.0.0.0/0` allows traffic from any source (or to any destination, for outbound rules). Models which "extend" this model: - SecurityGroupRuleRemoteIP - SecurityGroupRuleRemoteCIDR - SecurityGroupRuleRemoteSecurityGroupReference

type SecurityGroupRuleRemoteCIDR

type SecurityGroupRuleRemoteCIDR struct {
	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block" validate:"required"`
}

SecurityGroupRuleRemoteCIDR : SecurityGroupRuleRemoteCIDR struct This model "extends" SecurityGroupRuleRemote

type SecurityGroupRuleRemoteIP

type SecurityGroupRuleRemoteIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

SecurityGroupRuleRemoteIP : SecurityGroupRuleRemoteIP struct This model "extends" SecurityGroupRuleRemote

type SecurityGroupRuleRemoteIntf

type SecurityGroupRuleRemoteIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRuleRemotePatch added in v0.3.0

type SecurityGroupRuleRemotePatch struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block,omitempty"`

	// The unique identifier for this security group.
	ID *string `json:"id,omitempty"`

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

	// The security group's canonical URL.
	Href *string `json:"href,omitempty"`
}

SecurityGroupRuleRemotePatch : The remote IP addresses or security groups from which this rule will allow traffic (or to which, for outbound rules). Can be specified as an IP address, a CIDR block, or a security group. A CIDR block of `0.0.0.0/0` will allow traffic from any source (or to any destination, for outbound rules). Models which "extend" this model: - SecurityGroupRuleRemotePatchIP - SecurityGroupRuleRemotePatchCIDR - SecurityGroupRuleRemotePatchSecurityGroupIdentity

type SecurityGroupRuleRemotePatchCIDR added in v0.3.0

type SecurityGroupRuleRemotePatchCIDR struct {
	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block" validate:"required"`
}

SecurityGroupRuleRemotePatchCIDR : SecurityGroupRuleRemotePatchCIDR struct This model "extends" SecurityGroupRuleRemotePatch

type SecurityGroupRuleRemotePatchIP added in v0.3.0

type SecurityGroupRuleRemotePatchIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

SecurityGroupRuleRemotePatchIP : SecurityGroupRuleRemotePatchIP struct This model "extends" SecurityGroupRuleRemotePatch

type SecurityGroupRuleRemotePatchIntf added in v0.3.0

type SecurityGroupRuleRemotePatchIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRuleRemotePatchSecurityGroupIdentity added in v0.3.0

type SecurityGroupRuleRemotePatchSecurityGroupIdentity struct {
	// The unique identifier for this security group.
	ID *string `json:"id,omitempty"`

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

	// The security group's canonical URL.
	Href *string `json:"href,omitempty"`
}

SecurityGroupRuleRemotePatchSecurityGroupIdentity : Identifies a security group by a unique property. Models which "extend" this model: - SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID - SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN - SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref This model "extends" SecurityGroupRuleRemotePatch

type SecurityGroupRuleRemotePatchSecurityGroupIdentityIntf added in v0.3.0

type SecurityGroupRuleRemotePatchSecurityGroupIdentityIntf interface {
	SecurityGroupRuleRemotePatchIntf
	// contains filtered or unexported methods
}

type SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN added in v0.3.0

type SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN struct {
	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`
}

SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN : SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN struct This model "extends" SecurityGroupRuleRemotePatchSecurityGroupIdentity

type SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref added in v0.3.0

type SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref struct {
	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref : SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref struct This model "extends" SecurityGroupRuleRemotePatchSecurityGroupIdentity

type SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID added in v0.3.0

type SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID struct {
	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`
}

SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID : SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID struct This model "extends" SecurityGroupRuleRemotePatchSecurityGroupIdentity

type SecurityGroupRuleRemotePrototype added in v0.3.1

type SecurityGroupRuleRemotePrototype struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address,omitempty"`

	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block,omitempty"`

	// The unique identifier for this security group.
	ID *string `json:"id,omitempty"`

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

	// The security group's canonical URL.
	Href *string `json:"href,omitempty"`
}

SecurityGroupRuleRemotePrototype : The remote IP addresses or security groups from which this rule will allow traffic (or to which, for outbound rules). Can be specified as an IP address, a CIDR block, or a security group within the VPC.

If unspecified, a CIDR block of `0.0.0.0/0` will be used to allow traffic from any source (or to any destination, for outbound rules). Models which "extend" this model: - SecurityGroupRuleRemotePrototypeIP - SecurityGroupRuleRemotePrototypeCIDR - SecurityGroupRuleRemotePrototypeSecurityGroupIdentity

type SecurityGroupRuleRemotePrototypeCIDR added in v0.3.1

type SecurityGroupRuleRemotePrototypeCIDR struct {
	// The CIDR block.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address
	// blocks in the future.
	CIDRBlock *string `json:"cidr_block" validate:"required"`
}

SecurityGroupRuleRemotePrototypeCIDR : SecurityGroupRuleRemotePrototypeCIDR struct This model "extends" SecurityGroupRuleRemotePrototype

type SecurityGroupRuleRemotePrototypeIP added in v0.3.1

type SecurityGroupRuleRemotePrototypeIP struct {
	// The IP address.
	//
	// This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in
	// the future.
	Address *string `json:"address" validate:"required"`
}

SecurityGroupRuleRemotePrototypeIP : SecurityGroupRuleRemotePrototypeIP struct This model "extends" SecurityGroupRuleRemotePrototype

type SecurityGroupRuleRemotePrototypeIntf added in v0.3.1

type SecurityGroupRuleRemotePrototypeIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentity added in v0.3.1

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentity struct {
	// The unique identifier for this security group.
	ID *string `json:"id,omitempty"`

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

	// The security group's canonical URL.
	Href *string `json:"href,omitempty"`
}

SecurityGroupRuleRemotePrototypeSecurityGroupIdentity : Identifies a security group by a unique property. Models which "extend" this model: - SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID - SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN - SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref This model "extends" SecurityGroupRuleRemotePrototype

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentityIntf added in v0.3.1

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentityIntf interface {
	SecurityGroupRuleRemotePrototypeIntf
	// contains filtered or unexported methods
}

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN added in v0.3.1

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN struct {
	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`
}

SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN : SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN struct This model "extends" SecurityGroupRuleRemotePrototypeSecurityGroupIdentity

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref added in v0.3.1

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref struct {
	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref : SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref struct This model "extends" SecurityGroupRuleRemotePrototypeSecurityGroupIdentity

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID added in v0.3.1

type SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID struct {
	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`
}

SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID : SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID struct This model "extends" SecurityGroupRuleRemotePrototypeSecurityGroupIdentity

type SecurityGroupRuleRemoteSecurityGroupReference

type SecurityGroupRuleRemoteSecurityGroupReference struct {
	// The security group's CRN.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SecurityGroupReferenceDeleted `json:"deleted,omitempty"`

	// The security group's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group.
	ID *string `json:"id" validate:"required"`

	// The name for this security group. The name is unique across all security groups for the VPC.
	Name *string `json:"name" validate:"required"`
}

SecurityGroupRuleRemoteSecurityGroupReference : SecurityGroupRuleRemoteSecurityGroupReference struct This model "extends" SecurityGroupRuleRemote

type SecurityGroupRuleSecurityGroupRuleProtocolAll added in v0.0.3

type SecurityGroupRuleSecurityGroupRuleProtocolAll struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this security group rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group rule.
	ID *string `json:"id" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version" validate:"required"`

	Local SecurityGroupRuleLocalIntf `json:"local" validate:"required"`

	Remote SecurityGroupRuleRemoteIntf `json:"remote" validate:"required"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`
}

SecurityGroupRuleSecurityGroupRuleProtocolAll : A rule allowing traffic for all supported protocols. This model "extends" SecurityGroupRule

type SecurityGroupRuleSecurityGroupRuleProtocolIcmp added in v0.0.3

type SecurityGroupRuleSecurityGroupRuleProtocolIcmp struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this security group rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group rule.
	ID *string `json:"id" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version" validate:"required"`

	Local SecurityGroupRuleLocalIntf `json:"local" validate:"required"`

	Remote SecurityGroupRuleRemoteIntf `json:"remote" validate:"required"`

	// The ICMP traffic code to allow. If absent, all codes are allowed.
	Code *int64 `json:"code,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`

	// The ICMP traffic type to allow. If absent, all types are allowed.
	Type *int64 `json:"type,omitempty"`
}

SecurityGroupRuleSecurityGroupRuleProtocolIcmp : A rule specifying the ICMP traffic to allow. This model "extends" SecurityGroupRule

type SecurityGroupRuleSecurityGroupRuleProtocolTcpudp added in v0.0.3

type SecurityGroupRuleSecurityGroupRuleProtocolTcpudp struct {
	// The direction of traffic to enforce.
	Direction *string `json:"direction" validate:"required"`

	// The URL for this security group rule.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this security group rule.
	ID *string `json:"id" validate:"required"`

	// The IP version to enforce. The format of `local.address`, `remote.address`,
	// `local.cidr_block` or `remote.cidr_block` must match this property, if they are used.
	//
	// If `remote` references a security group, then this rule only applies to IP addresses
	// (network interfaces) in that group matching this IP version.
	IPVersion *string `json:"ip_version" validate:"required"`

	Local SecurityGroupRuleLocalIntf `json:"local" validate:"required"`

	Remote SecurityGroupRuleRemoteIntf `json:"remote" validate:"required"`

	// The inclusive upper bound of TCP/UDP destination port range.
	PortMax *int64 `json:"port_max,omitempty"`

	// The inclusive lower bound of TCP/UDP destination port range.
	PortMin *int64 `json:"port_min,omitempty"`

	// The protocol to enforce.
	Protocol *string `json:"protocol" validate:"required"`
}

SecurityGroupRuleSecurityGroupRuleProtocolTcpudp : A rule specifying the TCP or UDP traffic to allow.

Either both `port_min` and `port_max` will be present, or neither. When neither is present, all destination ports are allowed for the protocol. When both have the same value, that single destination port is allowed. This model "extends" SecurityGroupRule

type SecurityGroupTargetCollection added in v0.5.0

type SecurityGroupTargetCollection struct {
	// A link to the first page of resources.
	First *SecurityGroupTargetCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *SecurityGroupTargetCollectionNext `json:"next,omitempty"`

	// Collection of targets for this security group.
	Targets []SecurityGroupTargetReferenceIntf `json:"targets" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

SecurityGroupTargetCollection : SecurityGroupTargetCollection struct

func (*SecurityGroupTargetCollection) GetNextStart added in v0.8.0

func (resp *SecurityGroupTargetCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type SecurityGroupTargetCollectionFirst added in v0.5.0

type SecurityGroupTargetCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupTargetCollectionFirst : A link to the first page of resources.

type SecurityGroupTargetCollectionNext added in v0.5.0

type SecurityGroupTargetCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SecurityGroupTargetCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type SecurityGroupTargetReference added in v0.5.0

type SecurityGroupTargetReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id,omitempty"`

	// The name for this instance network interface.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`

	// The load balancer's CRN.
	CRN *string `json:"crn,omitempty"`

	// The primary IP for this virtual network interface.
	PrimaryIP *ReservedIPReference `json:"primary_ip,omitempty"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet,omitempty"`
}

SecurityGroupTargetReference : A target of this security group.

The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. Models which "extend" this model: - SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext - SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext - SecurityGroupTargetReferenceLoadBalancerReference - SecurityGroupTargetReferenceEndpointGatewayReference - SecurityGroupTargetReferenceVPNServerReference - SecurityGroupTargetReferenceVirtualNetworkInterfaceReference

type SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext added in v0.41.0

type SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *BareMetalServerNetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network interface.
	//
	// If this bare metal server has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server network interface.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext : SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext struct This model "extends" SecurityGroupTargetReference

type SecurityGroupTargetReferenceEndpointGatewayReference added in v0.15.0

type SecurityGroupTargetReferenceEndpointGatewayReference struct {
	// The CRN for this endpoint gateway.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *EndpointGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this endpoint gateway.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this endpoint gateway.
	ID *string `json:"id" validate:"required"`

	// The name for this endpoint gateway. The name is unique across all endpoint gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SecurityGroupTargetReferenceEndpointGatewayReference : SecurityGroupTargetReferenceEndpointGatewayReference struct This model "extends" SecurityGroupTargetReference

type SecurityGroupTargetReferenceIntf added in v0.5.0

type SecurityGroupTargetReferenceIntf interface {
	// contains filtered or unexported methods
}

type SecurityGroupTargetReferenceLoadBalancerReference added in v0.5.0

type SecurityGroupTargetReferenceLoadBalancerReference struct {
	// The load balancer's CRN.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *LoadBalancerReferenceDeleted `json:"deleted,omitempty"`

	// The load balancer's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this load balancer.
	ID *string `json:"id" validate:"required"`

	// The name for this load balancer. The name is unique across all load balancers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SecurityGroupTargetReferenceLoadBalancerReference : SecurityGroupTargetReferenceLoadBalancerReference struct This model "extends" SecurityGroupTargetReference

type SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext added in v0.5.0

type SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *NetworkInterfaceReferenceTargetContextDeleted `json:"deleted,omitempty"`

	// The URL for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network interface.
	//
	// If this instance has network attachments, this network interface is a
	// [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its
	// corresponding network attachment and its attached virtual network interface, and the identifier is that of the
	// corresponding network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network interface.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext : SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext struct This model "extends" SecurityGroupTargetReference

type SecurityGroupTargetReferenceVPNServerReference added in v0.22.0

type SecurityGroupTargetReferenceVPNServerReference struct {
	// The CRN for this VPN server.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNServerReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this VPN server.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN server.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN server. The name is unique across all VPN servers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SecurityGroupTargetReferenceVPNServerReference : SecurityGroupTargetReferenceVPNServerReference struct This model "extends" SecurityGroupTargetReference

type SecurityGroupTargetReferenceVirtualNetworkInterfaceReference added in v0.41.0

type SecurityGroupTargetReferenceVirtualNetworkInterfaceReference struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VirtualNetworkInterfaceReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
	Name *string `json:"name" validate:"required"`

	// The primary IP for this virtual network interface.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`
}

SecurityGroupTargetReferenceVirtualNetworkInterfaceReference : SecurityGroupTargetReferenceVirtualNetworkInterfaceReference struct This model "extends" SecurityGroupTargetReference

type SecurityGroupTargetsPager added in v0.25.0

type SecurityGroupTargetsPager struct {
	// contains filtered or unexported fields
}

SecurityGroupTargetsPager can be used to simplify the use of the "ListSecurityGroupTargets" method.

func (*SecurityGroupTargetsPager) GetAll added in v0.25.0

func (pager *SecurityGroupTargetsPager) GetAll() (allItems []SecurityGroupTargetReferenceIntf, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SecurityGroupTargetsPager) GetAllWithContext added in v0.25.0

func (pager *SecurityGroupTargetsPager) GetAllWithContext(ctx context.Context) (allItems []SecurityGroupTargetReferenceIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SecurityGroupTargetsPager) GetNext added in v0.25.0

func (pager *SecurityGroupTargetsPager) GetNext() (page []SecurityGroupTargetReferenceIntf, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SecurityGroupTargetsPager) GetNextWithContext added in v0.25.0

func (pager *SecurityGroupTargetsPager) GetNextWithContext(ctx context.Context) (page []SecurityGroupTargetReferenceIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SecurityGroupTargetsPager) HasNext added in v0.25.0

func (pager *SecurityGroupTargetsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SecurityGroupsPager added in v0.25.0

type SecurityGroupsPager struct {
	// contains filtered or unexported fields
}

SecurityGroupsPager can be used to simplify the use of the "ListSecurityGroups" method.

func (*SecurityGroupsPager) GetAll added in v0.25.0

func (pager *SecurityGroupsPager) GetAll() (allItems []SecurityGroup, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SecurityGroupsPager) GetAllWithContext added in v0.25.0

func (pager *SecurityGroupsPager) GetAllWithContext(ctx context.Context) (allItems []SecurityGroup, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SecurityGroupsPager) GetNext added in v0.25.0

func (pager *SecurityGroupsPager) GetNext() (page []SecurityGroup, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SecurityGroupsPager) GetNextWithContext added in v0.25.0

func (pager *SecurityGroupsPager) GetNextWithContext(ctx context.Context) (page []SecurityGroup, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SecurityGroupsPager) HasNext added in v0.25.0

func (pager *SecurityGroupsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SetSubnetPublicGatewayOptions

type SetSubnetPublicGatewayOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The public gateway identity.
	PublicGatewayIdentity PublicGatewayIdentityIntf `json:"PublicGatewayIdentity" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

SetSubnetPublicGatewayOptions : The SetSubnetPublicGateway options.

func (*SetSubnetPublicGatewayOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*SetSubnetPublicGatewayOptions) SetID

SetID : Allow user to set ID

func (*SetSubnetPublicGatewayOptions) SetPublicGatewayIdentity

func (_options *SetSubnetPublicGatewayOptions) SetPublicGatewayIdentity(publicGatewayIdentity PublicGatewayIdentityIntf) *SetSubnetPublicGatewayOptions

SetPublicGatewayIdentity : Allow user to set PublicGatewayIdentity

type Share added in v0.41.0

type Share struct {
	// The access control mode for the share:
	//
	// - `security_group`: The security groups on the virtual network interface for a mount
	//   target control access to the mount target.
	// - `vpc`: All clients in the VPC for a mount target have access to the mount target.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	AccessControlMode *string `json:"access_control_mode" validate:"required"`

	// The date and time that the file share is created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this file share.
	CRN *string `json:"crn" validate:"required"`

	// The type of encryption used for this file share.
	Encryption *string `json:"encryption" validate:"required"`

	// The key used to encrypt this file share.
	//
	// This property will be present if `encryption` is `user_managed`.
	EncryptionKey *EncryptionKeyReference `json:"encryption_key,omitempty"`

	// The URL for this file share.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this file share.
	ID *string `json:"id" validate:"required"`

	// The maximum input/output operations per second (IOPS) for the file share. In addition, each client accessing the
	// share will be restricted to 48,000 IOPS.
	//
	// The maximum IOPS for a share may increase in the future.
	Iops *int64 `json:"iops" validate:"required"`

	// The latest job associated with this file share.
	//
	// This property will be absent if no jobs have been created for this file share.
	LatestJob *ShareJob `json:"latest_job,omitempty"`

	// Information about the latest synchronization for this file share.
	//
	// This property will be present when the `replication_role` is `replica` and at least
	// one replication sync has been completed.
	LatestSync *ShareLatestSync `json:"latest_sync,omitempty"`

	// The lifecycle state of the file share.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The mount targets for the file share.
	MountTargets []ShareMountTargetReference `json:"mount_targets" validate:"required"`

	// The name for this share. The name is unique across all shares in the region.
	Name *string `json:"name" validate:"required"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) for
	// this file share.
	Profile *ShareProfileReference `json:"profile" validate:"required"`

	// The replica file share for this source file share.
	//
	// This property will be present when the `replication_role` is `source`.
	ReplicaShare *ShareReference `json:"replica_share,omitempty"`

	// The cron specification for the file share replication schedule.
	//
	// This property will be present when the `replication_role` is `replica`.
	ReplicationCronSpec *string `json:"replication_cron_spec,omitempty"`

	// The replication role of the file share:
	// - `none`: This share is not participating in replication.
	// - `replica`: This share is a replication target.
	// - `source`: This share is a replication source.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ReplicationRole *string `json:"replication_role" validate:"required"`

	// The replication status of the file share:
	// - `active`: This share is actively participating in replication, and the replica's data is up-to-date with the
	// replication schedule.
	// - `degraded`: This is share is participating in replication, but the replica's data has fallen behind the
	// replication schedule.
	// - `failover_pending`: This share is performing a replication failover.
	// - `initializing`: This share is initializing replication.
	// - `none`: This share is not participating in replication.
	// - `split_pending`: This share is performing a replication split.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ReplicationStatus *string `json:"replication_status" validate:"required"`

	// The reasons for the current replication status (if any).
	ReplicationStatusReasons []ShareReplicationStatusReason `json:"replication_status_reasons" validate:"required"`

	// The resource group for this file share.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The size of the file share rounded up to the next gigabyte.
	//
	// The maximum size for a share may increase in the future.
	Size *int64 `json:"size" validate:"required"`

	// The source file share for this replica file share.
	//
	// This property will be present when the `replication_role` is `replica`.
	SourceShare *ShareReference `json:"source_share,omitempty"`

	// Tags for this resource.
	UserTags []string `json:"user_tags" validate:"required"`

	// The zone this file share will reside in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

Share : Share struct

type ShareCollection added in v0.41.0

type ShareCollection struct {
	// A link to the first page of resources.
	First *ShareCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ShareCollectionNext `json:"next,omitempty"`

	// Collection of file shares.
	Shares []Share `json:"shares" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ShareCollection : ShareCollection struct

func (*ShareCollection) GetNextStart added in v0.41.0

func (resp *ShareCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ShareCollectionFirst added in v0.41.0

type ShareCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ShareCollectionFirst : A link to the first page of resources.

type ShareCollectionNext added in v0.41.0

type ShareCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ShareCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type ShareIdentity added in v0.41.0

type ShareIdentity struct {
	// The unique identifier for this file share.
	ID *string `json:"id,omitempty"`

	// The CRN for this file share.
	CRN *string `json:"crn,omitempty"`

	// The URL for this file share.
	Href *string `json:"href,omitempty"`
}

ShareIdentity : Identifies a file share by a unique property. Models which "extend" this model: - ShareIdentityByID - ShareIdentityByCRN - ShareIdentityByHref

type ShareIdentityByCRN added in v0.41.0

type ShareIdentityByCRN struct {
	// The CRN for this file share.
	CRN *string `json:"crn" validate:"required"`
}

ShareIdentityByCRN : ShareIdentityByCRN struct This model "extends" ShareIdentity

type ShareIdentityByHref added in v0.41.0

type ShareIdentityByHref struct {
	// The URL for this file share.
	Href *string `json:"href" validate:"required"`
}

ShareIdentityByHref : ShareIdentityByHref struct This model "extends" ShareIdentity

type ShareIdentityByID added in v0.41.0

type ShareIdentityByID struct {
	// The unique identifier for this file share.
	ID *string `json:"id" validate:"required"`
}

ShareIdentityByID : ShareIdentityByID struct This model "extends" ShareIdentity

type ShareIdentityIntf added in v0.41.0

type ShareIdentityIntf interface {
	// contains filtered or unexported methods
}

type ShareInitialOwner added in v0.41.0

type ShareInitialOwner struct {
	// The initial group identifier for the file share.
	Gid *int64 `json:"gid,omitempty"`

	// The initial user identifier for the file share.
	Uid *int64 `json:"uid,omitempty"`
}

ShareInitialOwner : ShareInitialOwner struct

type ShareJob added in v0.41.0

type ShareJob struct {
	// The status of the file share job:
	// - `cancelled`: This job has been cancelled.
	// - `failed`: This job has failed.
	// - `queued`: This job is queued.
	// - `running`: This job is running.
	// - `succeeded`: This job completed successfully.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The reasons for the file share job status (if any).
	StatusReasons []ShareJobStatusReason `json:"status_reasons" validate:"required"`

	// The type of the file share job:
	// - `replication_failover`: This is a share replication failover job.
	// - `replication_init`: This is a share replication is initialization job.
	// - `replication_split`: This is a share replication split job.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`
}

ShareJob : ShareJob struct

type ShareJobStatusReason added in v0.41.0

type ShareJobStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

ShareJobStatusReason : ShareJobStatusReason struct

type ShareLatestSync added in v0.46.0

type ShareLatestSync struct {
	// The completed date and time of last synchronization between the replica share and its source.
	CompletedAt *strfmt.DateTime `json:"completed_at" validate:"required"`

	// The data transferred (in bytes) in the last synchronization between the replica and its source.
	DataTransferred *int64 `json:"data_transferred" validate:"required"`

	// The start date and time of last synchronization between the replica share and its source.
	StartedAt *strfmt.DateTime `json:"started_at" validate:"required"`
}

ShareLatestSync : Information about the latest synchronization for this file share.

This property will be present when the `replication_role` is `replica` and at least one replication sync has been completed.

type ShareMountTarget added in v0.41.0

type ShareMountTarget struct {
	// The access control mode for the share:
	//
	// - `security_group`: The security groups on the virtual network interface for a mount
	//   target control access to the mount target.
	// - `vpc`: All clients in the VPC for a mount target have access to the mount target.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	AccessControlMode *string `json:"access_control_mode" validate:"required"`

	// The date and time that the share mount target was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The URL for this share mount target.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this share mount target.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the mount target.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The mount path for the share.  The server component of the mount path may be either an IP address or a fully
	// qualified domain name.
	//
	// This property will be absent if the `lifecycle_state` of the mount target is
	// 'pending', `failed`, or `deleting`.
	//
	// If the share's `access_control_mode` is:
	//
	// - `security_group`: The IP address used in the mount path is the `primary_ip`
	//   address of the virtual network interface for this share mount target.
	// - `vpc`: The fully-qualified domain name used in the mount path is an address that
	//   resolves to the share mount target.
	MountPath *string `json:"mount_path,omitempty"`

	// The name for this share mount target. The name is unique across all mount targets for the file share.
	Name *string `json:"name" validate:"required"`

	// The primary IP address of the virtual network interface for the share mount target.
	//
	// Absent if `access_control_mode` is `vpc`.
	PrimaryIP *ReservedIPReference `json:"primary_ip,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The subnet of the virtual network interface for the share mount target.
	//
	// Absent if `access_control_mode` is `vpc`.
	Subnet *SubnetReference `json:"subnet,omitempty"`

	// The transit encryption mode for this share mount target:
	// - `none`: Not encrypted in transit
	// - `user_managed`: Encrypted in transit using an instance identity certificate
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	TransitEncryption *string `json:"transit_encryption" validate:"required"`

	// The virtual network interface for this file share mount target.
	//
	// This property will be present when the `access_control_mode` is `security_group`.
	VirtualNetworkInterface *VirtualNetworkInterfaceReferenceAttachmentContext `json:"virtual_network_interface,omitempty"`

	// If `access_control_mode` is:
	//
	// - `security_group`: The VPC for the virtual network interface for this share mount
	//   target
	// - `vpc`: The VPC in which clients can mount the file share using this share
	//   mount target.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

ShareMountTarget : ShareMountTarget struct

type ShareMountTargetCollection added in v0.41.0

type ShareMountTargetCollection struct {
	// A link to the first page of resources.
	First *ShareMountTargetCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// Collection of share mount targets.
	MountTargets []ShareMountTarget `json:"mount_targets" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ShareMountTargetCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ShareMountTargetCollection : ShareMountTargetCollection struct

func (*ShareMountTargetCollection) GetNextStart added in v0.41.0

func (resp *ShareMountTargetCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ShareMountTargetCollectionFirst added in v0.41.0

type ShareMountTargetCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ShareMountTargetCollectionFirst : A link to the first page of resources.

type ShareMountTargetCollectionNext added in v0.41.0

type ShareMountTargetCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ShareMountTargetCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type ShareMountTargetPatch added in v0.41.0

type ShareMountTargetPatch struct {
	// The name for this share mount target. The name must not be used by another mount target for the file share.
	Name *string `json:"name,omitempty"`
}

ShareMountTargetPatch : ShareMountTargetPatch struct

func (*ShareMountTargetPatch) AsPatch added in v0.41.0

func (shareMountTargetPatch *ShareMountTargetPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the ShareMountTargetPatch

type ShareMountTargetPrototype added in v0.41.0

type ShareMountTargetPrototype struct {
	// The name for this share mount target. The name must not be used by another mount target for the file share.
	Name *string `json:"name,omitempty"`

	// The transit encryption mode to use for this share mount target:
	// - `none`: Not encrypted in transit.
	// - `user_managed`: Encrypted in transit using an instance identity certificate.  The
	//                   `access_control_mode` for the share must be `security_group`.
	TransitEncryption *string `json:"transit_encryption,omitempty"`

	VirtualNetworkInterface ShareMountTargetVirtualNetworkInterfacePrototypeIntf `json:"virtual_network_interface,omitempty"`

	// Identifies a VPC by a unique property.
	VPC VPCIdentityIntf `json:"vpc,omitempty"`
}

ShareMountTargetPrototype : ShareMountTargetPrototype struct Models which "extend" this model: - ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup - ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC

type ShareMountTargetPrototypeIntf added in v0.41.0

type ShareMountTargetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup added in v0.41.0

type ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup struct {
	// The name for this share mount target. The name must not be used by another mount target for the file share.
	Name *string `json:"name,omitempty"`

	// The transit encryption mode to use for this share mount target:
	// - `none`: Not encrypted in transit.
	// - `user_managed`: Encrypted in transit using an instance identity certificate.  The
	//                   `access_control_mode` for the share must be `security_group`.
	TransitEncryption *string `json:"transit_encryption,omitempty"`

	VirtualNetworkInterface ShareMountTargetVirtualNetworkInterfacePrototypeIntf `json:"virtual_network_interface" validate:"required"`
}

ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup : The virtual network interface for this share mount target. The virtual network interface must:

- be in the same `zone` as the share - have `allow_ip_spoofing` set to `false` - have `enable_infrastructure_nat` set to `true` - not be in the same VPC as an existing mount target for this share - not have `ips` other than the `primary_ip` address

If an existing virtual network interface is specified, it must not have a floating IP bound to it, and it must not be the target of a flow log collector.

Required if the share's `access_control_mode` is `security_group`. This model "extends" ShareMountTargetPrototype

type ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC added in v0.41.0

type ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC struct {
	// The name for this share mount target. The name must not be used by another mount target for the file share.
	Name *string `json:"name,omitempty"`

	// The transit encryption mode to use for this share mount target:
	// - `none`: Not encrypted in transit.
	// - `user_managed`: Encrypted in transit using an instance identity certificate.  The
	//                   `access_control_mode` for the share must be `security_group`.
	TransitEncryption *string `json:"transit_encryption,omitempty"`

	// Identifies a VPC by a unique property.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`
}

ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC : The VPC in which clients can mount the file share using this mount target. The VPC must not be used by another mount target for this share.

Required if the share's `access_control_mode` is `vpc`. This model "extends" ShareMountTargetPrototype

type ShareMountTargetReference added in v0.41.0

type ShareMountTargetReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ShareMountTargetReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this share mount target.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this share mount target.
	ID *string `json:"id" validate:"required"`

	// The name for this share mount target. The name is unique across all mount targets for the file share.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ShareMountTargetReference : ShareMountTargetReference struct

type ShareMountTargetReferenceDeleted added in v0.41.0

type ShareMountTargetReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

ShareMountTargetReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type ShareMountTargetVirtualNetworkInterfacePrototype added in v0.41.0

type ShareMountTargetVirtualNetworkInterfacePrototype struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use for this virtual network interface. If unspecified, the
	// share's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

ShareMountTargetVirtualNetworkInterfacePrototype : ShareMountTargetVirtualNetworkInterfacePrototype struct Models which "extend" this model: - ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext - ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity

type ShareMountTargetVirtualNetworkInterfacePrototypeIntf added in v0.41.0

type ShareMountTargetVirtualNetworkInterfacePrototypeIntf interface {
	// contains filtered or unexported methods
}

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity added in v0.47.0

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id,omitempty"`

	// The URL for this virtual network interface.
	Href *string `json:"href,omitempty"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn,omitempty"`
}

ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity : Identifies a virtual network interface by a unique property. Models which "extend" this model: - ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID - ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref - ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN This model "extends" ShareMountTargetVirtualNetworkInterfacePrototype

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityIntf added in v0.47.0

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityIntf interface {
	ShareMountTargetVirtualNetworkInterfacePrototypeIntf
	// contains filtered or unexported methods
}

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`
}

ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN struct This model "extends" ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct {
	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`
}

ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref struct This model "extends" ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct {
	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`
}

ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID struct This model "extends" ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentity

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext added in v0.41.0

type ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or
	// a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the
	// primary IP's subnet.
	//
	// If reserved IP identities are provided, the specified reserved IPs must be unbound.
	//
	// If reserved IP prototype objects with addresses are provided, the addresses must be available on the virtual network
	// interface's subnet. For any prototype objects that do not specify an address, an available address on the subnet
	// will be automatically selected and reserved.
	Ips []VirtualNetworkInterfaceIPPrototypeIntf `json:"ips,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// VPC. If unspecified, the name will be a hyphenated list of randomly-selected words. Names beginning with `ibm-` are
	// reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`

	// The primary IP address to bind to the virtual network interface. May be either a
	// reserved IP identity, or a reserved IP prototype object which will be used to create a
	// new reserved IP.
	//
	// If a reserved IP identity is provided, the specified reserved IP must be unbound.
	//
	// If a reserved IP prototype object with an address is provided, the address must be
	// available on the virtual network interface's subnet. If no address is specified,
	// an available address on the subnet will be automatically selected and reserved.
	PrimaryIP VirtualNetworkInterfacePrimaryIPPrototypeIntf `json:"primary_ip,omitempty"`

	// The resource group to use for this virtual network interface. If unspecified, the
	// share's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The security groups to use for this virtual network interface. If unspecified, the default security group of the VPC
	// for the subnet is used.
	SecurityGroups []SecurityGroupIdentityIntf `json:"security_groups,omitempty"`

	// The associated subnet. Required if `primary_ip` does not specify a reserved IP
	// identity.
	Subnet SubnetIdentityIntf `json:"subnet,omitempty"`
}

ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfacePrototypeShareMountTargetContext : The virtual network interface for this target. This model "extends" ShareMountTargetVirtualNetworkInterfacePrototype

type ShareMountTargetsPager added in v0.41.0

type ShareMountTargetsPager struct {
	// contains filtered or unexported fields
}

ShareMountTargetsPager can be used to simplify the use of the "ListShareMountTargets" method.

func (*ShareMountTargetsPager) GetAll added in v0.41.0

func (pager *ShareMountTargetsPager) GetAll() (allItems []ShareMountTarget, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ShareMountTargetsPager) GetAllWithContext added in v0.41.0

func (pager *ShareMountTargetsPager) GetAllWithContext(ctx context.Context) (allItems []ShareMountTarget, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ShareMountTargetsPager) GetNext added in v0.41.0

func (pager *ShareMountTargetsPager) GetNext() (page []ShareMountTarget, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ShareMountTargetsPager) GetNextWithContext added in v0.41.0

func (pager *ShareMountTargetsPager) GetNextWithContext(ctx context.Context) (page []ShareMountTarget, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ShareMountTargetsPager) HasNext added in v0.41.0

func (pager *ShareMountTargetsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SharePatch added in v0.41.0

type SharePatch struct {
	// The access control mode for the share:
	//
	// - `security_group`: The security groups on the virtual network interface for a
	//   mount target control access to the mount target.
	// - `vpc`: All clients in the VPC for a mount target have access to the mount target.
	//
	// For this property to be changed, the share must have no mount targets and
	// `replication_role` must be `none`.
	AccessControlMode *string `json:"access_control_mode,omitempty"`

	// The maximum input/output operations per second (IOPS) for the file share. The value must be in the range supported
	// by the share's size.
	//
	// For this property to be changed, the share `lifecycle_state` must be `stable` and
	// `replication_role` must not be `replica`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this share. The name must not be used by another share in the region.
	Name *string `json:"name,omitempty"`

	// The profile to use for this file share.
	//
	// The requested profile must be in the same `family`.
	Profile ShareProfileIdentityIntf `json:"profile,omitempty"`

	// The cron specification for the file share replication schedule.
	//
	// Replication of a share can be scheduled to occur at most once per hour.
	//
	// For this property to be changed, the share `replication_role` must be `replica`.
	ReplicationCronSpec *string `json:"replication_cron_spec,omitempty"`

	// The size of the file share rounded up to the next gigabyte. The value must not be less than the share's current
	// size, and must not exceed the maximum supported by the share's profile and IOPS.
	//
	// For this property to be changed, the share `lifecycle_state` must be `stable` and
	// `replication_role` must not be `replica`.
	Size *int64 `json:"size,omitempty"`

	// Tags for this resource.
	UserTags []string `json:"user_tags,omitempty"`
}

SharePatch : SharePatch struct

func (*SharePatch) AsPatch added in v0.41.0

func (sharePatch *SharePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the SharePatch

type ShareProfile added in v0.41.0

type ShareProfile struct {
	// The permitted capacity range (in gigabytes) for a share with this profile.
	Capacity ShareProfileCapacityIntf `json:"capacity" validate:"required"`

	// The product family this share profile belongs to.
	Family *string `json:"family" validate:"required"`

	// The URL for this share profile.
	Href *string `json:"href" validate:"required"`

	// The permitted IOPS range for a share with this profile.
	Iops ShareProfileIopsIntf `json:"iops" validate:"required"`

	// The globally unique name for this share profile.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ShareProfile : ShareProfile struct

type ShareProfileCapacity added in v0.41.0

type ShareProfileCapacity struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

ShareProfileCapacity : ShareProfileCapacity struct Models which "extend" this model: - ShareProfileCapacityFixed - ShareProfileCapacityRange - ShareProfileCapacityEnum - ShareProfileCapacityDependentRange

type ShareProfileCapacityDependentRange added in v0.41.0

type ShareProfileCapacityDependentRange struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

ShareProfileCapacityDependentRange : The permitted total capacity (in gigabytes) of a share with this profile depends on its configuration. This model "extends" ShareProfileCapacity

type ShareProfileCapacityEnum added in v0.41.0

type ShareProfileCapacityEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

ShareProfileCapacityEnum : The permitted total capacities (in gigabytes) of a share with this profile. This model "extends" ShareProfileCapacity

type ShareProfileCapacityFixed added in v0.41.0

type ShareProfileCapacityFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

ShareProfileCapacityFixed : The permitted total capacity (in gigabytes) of a share with this profile is fixed. This model "extends" ShareProfileCapacity

type ShareProfileCapacityIntf added in v0.41.0

type ShareProfileCapacityIntf interface {
	// contains filtered or unexported methods
}

type ShareProfileCapacityRange added in v0.41.0

type ShareProfileCapacityRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

ShareProfileCapacityRange : The permitted total capacity range (in gigabytes) of a share with this profile. This model "extends" ShareProfileCapacity

type ShareProfileCollection added in v0.41.0

type ShareProfileCollection struct {
	// A link to the first page of resources.
	First *ShareProfileCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *ShareProfileCollectionNext `json:"next,omitempty"`

	// Collection of share profiles.
	Profiles []ShareProfile `json:"profiles" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

ShareProfileCollection : ShareProfileCollection struct

func (*ShareProfileCollection) GetNextStart added in v0.41.0

func (resp *ShareProfileCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type ShareProfileCollectionFirst added in v0.41.0

type ShareProfileCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ShareProfileCollectionFirst : A link to the first page of resources.

type ShareProfileCollectionNext added in v0.41.0

type ShareProfileCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

ShareProfileCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type ShareProfileIdentity added in v0.41.0

type ShareProfileIdentity struct {
	// The globally unique name for this share profile.
	Name *string `json:"name,omitempty"`

	// The URL for this share profile.
	Href *string `json:"href,omitempty"`
}

ShareProfileIdentity : Identifies a share profile by a unique property. Models which "extend" this model: - ShareProfileIdentityByName - ShareProfileIdentityByHref

type ShareProfileIdentityByHref added in v0.41.0

type ShareProfileIdentityByHref struct {
	// The URL for this share profile.
	Href *string `json:"href" validate:"required"`
}

ShareProfileIdentityByHref : ShareProfileIdentityByHref struct This model "extends" ShareProfileIdentity

type ShareProfileIdentityByName added in v0.41.0

type ShareProfileIdentityByName struct {
	// The globally unique name for this share profile.
	Name *string `json:"name" validate:"required"`
}

ShareProfileIdentityByName : ShareProfileIdentityByName struct This model "extends" ShareProfileIdentity

type ShareProfileIdentityIntf added in v0.41.0

type ShareProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type ShareProfileIops added in v0.41.0

type ShareProfileIops struct {
	// The type for this profile field.
	Type *string `json:"type,omitempty"`

	// The value for this profile field.
	Value *int64 `json:"value,omitempty"`

	// The default value for this profile field.
	Default *int64 `json:"default,omitempty"`

	// The maximum value for this profile field.
	Max *int64 `json:"max,omitempty"`

	// The minimum value for this profile field.
	Min *int64 `json:"min,omitempty"`

	// The increment step value for this profile field.
	Step *int64 `json:"step,omitempty"`

	// The permitted values for this profile field.
	Values []int64 `json:"values,omitempty"`
}

ShareProfileIops : ShareProfileIops struct Models which "extend" this model: - ShareProfileIopsFixed - ShareProfileIopsRange - ShareProfileIopsEnum - ShareProfileIopsDependentRange

type ShareProfileIopsDependentRange added in v0.41.0

type ShareProfileIopsDependentRange struct {
	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

ShareProfileIopsDependentRange : The permitted IOPS range of a share with this profile depends on its configuration. This model "extends" ShareProfileIops

type ShareProfileIopsEnum added in v0.41.0

type ShareProfileIopsEnum struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The permitted values for this profile field.
	Values []int64 `json:"values" validate:"required"`
}

ShareProfileIopsEnum : The permitted IOPS values of a share with this profile. This model "extends" ShareProfileIops

type ShareProfileIopsFixed added in v0.41.0

type ShareProfileIopsFixed struct {
	// The type for this profile field.
	Type *string `json:"type" validate:"required"`

	// The value for this profile field.
	Value *int64 `json:"value" validate:"required"`
}

ShareProfileIopsFixed : The permitted IOPS of a share with this profile is fixed. This model "extends" ShareProfileIops

type ShareProfileIopsIntf added in v0.41.0

type ShareProfileIopsIntf interface {
	// contains filtered or unexported methods
}

type ShareProfileIopsRange added in v0.41.0

type ShareProfileIopsRange struct {
	// The default value for this profile field.
	Default *int64 `json:"default" validate:"required"`

	// The maximum value for this profile field.
	Max *int64 `json:"max" validate:"required"`

	// The minimum value for this profile field.
	Min *int64 `json:"min" validate:"required"`

	// The increment step value for this profile field.
	Step *int64 `json:"step" validate:"required"`

	// The type for this profile field.
	Type *string `json:"type" validate:"required"`
}

ShareProfileIopsRange : The permitted IOPS range of a share with this profile. This model "extends" ShareProfileIops

type ShareProfileReference added in v0.41.0

type ShareProfileReference struct {
	// The URL for this share profile.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this share profile.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ShareProfileReference : ShareProfileReference struct

type ShareProfilesPager added in v0.41.0

type ShareProfilesPager struct {
	// contains filtered or unexported fields
}

ShareProfilesPager can be used to simplify the use of the "ListShareProfiles" method.

func (*ShareProfilesPager) GetAll added in v0.41.0

func (pager *ShareProfilesPager) GetAll() (allItems []ShareProfile, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ShareProfilesPager) GetAllWithContext added in v0.41.0

func (pager *ShareProfilesPager) GetAllWithContext(ctx context.Context) (allItems []ShareProfile, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ShareProfilesPager) GetNext added in v0.41.0

func (pager *ShareProfilesPager) GetNext() (page []ShareProfile, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ShareProfilesPager) GetNextWithContext added in v0.41.0

func (pager *ShareProfilesPager) GetNextWithContext(ctx context.Context) (page []ShareProfile, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ShareProfilesPager) HasNext added in v0.41.0

func (pager *ShareProfilesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SharePrototype added in v0.41.0

type SharePrototype struct {
	// The maximum input/output operations per second (IOPS) for the file share. The share must be in the
	// `defined_performance` profile family, and the value must be in the range supported by the share's specified size.
	//
	// In addition, each client accessing the share will be restricted to 48,000 IOPS.
	Iops *int64 `json:"iops,omitempty"`

	// The mount targets for the file share. Each mount target must be in a unique VPC.
	MountTargets []ShareMountTargetPrototypeIntf `json:"mount_targets,omitempty"`

	// The name for this share. The name must not be used by another share in the region. If unspecified, the name will be
	// a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) to use
	// for this file share. The profile must support the share's specified IOPS and size.
	Profile ShareProfileIdentityIntf `json:"profile" validate:"required"`

	// Configuration for a replica file share to create and associate with this file share. If
	// unspecified, a replica may be subsequently added by creating a new file share with a
	// `source_share` referencing this file share.
	ReplicaShare *SharePrototypeShareContext `json:"replica_share,omitempty"`

	// Tags for this resource.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this file share will reside in. For a replica share, this must be a different
	// zone in the same region as the source share.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The access control mode for the share:
	//
	// - `security_group`: The security groups on the virtual network interface for a
	//   mount target control access to the mount target. Mount targets for this share
	//   require a virtual network interface.
	// - `vpc`: All clients in the VPC for a mount target have access to the mount target.
	//   Mount targets for this share require a VPC.
	AccessControlMode *string `json:"access_control_mode,omitempty"`

	// The root key to use to wrap the data encryption key for the share.
	//
	// If unspecified, the `encryption` type for the share will be `provider_managed`.
	//
	// The specified key may be in a different account, subject to IAM policies.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The owner assigned to the file share at creation. Subsequent changes to the owner
	// must be performed by a client that has mounted the file share.
	InitialOwner *ShareInitialOwner `json:"initial_owner,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The size of the file share rounded up to the next gigabyte.
	//
	// The maximum size for a share may increase in the future.
	Size *int64 `json:"size,omitempty"`

	// The cron specification for the file share replication schedule.
	//
	// Replication of a share can be scheduled to occur at most once per hour.
	ReplicationCronSpec *string `json:"replication_cron_spec,omitempty"`

	// The source file share for this replica file share. The specified file share must not
	// already have a replica, and must not be a replica. If source file share is specified
	// by CRN, it may be in an [associated partner
	// region](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-replication).
	SourceShare ShareIdentityIntf `json:"source_share,omitempty"`
}

SharePrototype : SharePrototype struct Models which "extend" this model: - SharePrototypeShareBySize - SharePrototypeShareBySourceShare

type SharePrototypeIntf added in v0.41.0

type SharePrototypeIntf interface {
	// contains filtered or unexported methods
}

type SharePrototypeShareBySize added in v0.41.0

type SharePrototypeShareBySize struct {
	// The maximum input/output operations per second (IOPS) for the file share. The share must be in the
	// `defined_performance` profile family, and the value must be in the range supported by the share's specified size.
	//
	// In addition, each client accessing the share will be restricted to 48,000 IOPS.
	Iops *int64 `json:"iops,omitempty"`

	// The mount targets for the file share. Each mount target must be in a unique VPC.
	MountTargets []ShareMountTargetPrototypeIntf `json:"mount_targets,omitempty"`

	// The name for this share. The name must not be used by another share in the region. If unspecified, the name will be
	// a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) to use for this file share. The
	// profile must support the share's specified IOPS and size.
	Profile ShareProfileIdentityIntf `json:"profile" validate:"required"`

	ReplicaShare *SharePrototypeShareContext `json:"replica_share,omitempty"`

	// Tags for this resource.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this file share will reside in. For a replica share, this must be a different zone in the same region as
	// the source share.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The access control mode for the share:
	//
	// - `security_group`: The security groups on the virtual network interface for a
	//   mount target control access to the mount target. Mount targets for this share
	//   require a virtual network interface.
	// - `vpc`: All clients in the VPC for a mount target have access to the mount target.
	//   Mount targets for this share require a VPC.
	AccessControlMode *string `json:"access_control_mode,omitempty"`

	// The root key to use to wrap the data encryption key for the share.
	//
	// If unspecified, the `encryption` type for the share will be `provider_managed`.
	//
	// The specified key may be in a different account, subject to IAM policies.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The owner assigned to the file share at creation. Subsequent changes to the owner
	// must be performed by a client that has mounted the file share.
	InitialOwner *ShareInitialOwner `json:"initial_owner,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The size of the file share rounded up to the next gigabyte.
	//
	// The maximum size for a share may increase in the future.
	Size *int64 `json:"size" validate:"required"`
}

SharePrototypeShareBySize : Create a file share by size. This model "extends" SharePrototype

type SharePrototypeShareBySourceShare added in v0.41.0

type SharePrototypeShareBySourceShare struct {
	// The maximum input/output operations per second (IOPS) for the file share. The share must be in the
	// `defined_performance` profile family, and the value must be in the range supported by the share's specified size.
	//
	// In addition, each client accessing the share will be restricted to 48,000 IOPS.
	Iops *int64 `json:"iops,omitempty"`

	// The mount targets for the file share. Each mount target must be in a unique VPC.
	MountTargets []ShareMountTargetPrototypeIntf `json:"mount_targets,omitempty"`

	// The name for this share. The name must not be used by another share in the region. If unspecified, the name will be
	// a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) to use for this file share. The
	// profile must support the share's specified IOPS and size.
	Profile ShareProfileIdentityIntf `json:"profile" validate:"required"`

	ReplicaShare *SharePrototypeShareContext `json:"replica_share,omitempty"`

	// Tags for this resource.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this file share will reside in. For a replica share, this must be a different zone in the same region as
	// the source share.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The root key to use to wrap the data encryption key for the share.
	//
	// This property must be specified if the `source_share` is in a different region and has
	// an `encryption` type of `user_managed`, and must not be specified otherwise (its value
	// will be inherited from `source_share`).
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The cron specification for the file share replication schedule.
	//
	// Replication of a share can be scheduled to occur at most once per hour.
	ReplicationCronSpec *string `json:"replication_cron_spec" validate:"required"`

	// The resource group to use. If unspecified, the resource group from
	// the source share will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The source file share for this replica file share. The specified file share must not
	// already have a replica, and must not be a replica. If source file share is specified
	// by CRN, it may be in an [associated partner
	// region](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-replication).
	SourceShare ShareIdentityIntf `json:"source_share" validate:"required"`
}

SharePrototypeShareBySourceShare : Create a replica file share for an existing file share. The values for `initial_owner`, `access_control_mode`, `encryption_key` and `size` will be inherited from `source_share`. This model "extends" SharePrototype

type SharePrototypeShareContext added in v0.41.0

type SharePrototypeShareContext struct {
	// The maximum input/output operations per second (IOPS) for the file share. The share must be in the
	// `defined_performance` profile family, and the value must be in the range supported by the share's specified size.
	//
	// In addition, each client accessing the share will be restricted to 48,000 IOPS.
	Iops *int64 `json:"iops,omitempty"`

	// The mount targets for this replica file share. Each mount target must be in a unique VPC.
	//
	// A replica's mount targets must be mounted read-only.
	MountTargets []ShareMountTargetPrototypeIntf `json:"mount_targets,omitempty"`

	// The name for this share. The name must not be used by another share in the region. If unspecified, the name will be
	// a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) to use
	// for this file share. The profile must support the share's specified IOPS and size.
	Profile ShareProfileIdentityIntf `json:"profile" validate:"required"`

	// The cron specification for the file share replication schedule.
	//
	// Replication of a share can be scheduled to occur at most once per hour.
	ReplicationCronSpec *string `json:"replication_cron_spec" validate:"required"`

	// The resource group to use. If unspecified, the resource group from
	// the source share will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Tags for this resource.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this replica file share will reside in.
	//
	// Must be a different zone in the same region as the source share.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`
}

SharePrototypeShareContext : Configuration for a replica file share to create and associate with this file share. If unspecified, a replica may be subsequently added by creating a new file share with a `source_share` referencing this file share.

type ShareReference added in v0.41.0

type ShareReference struct {
	// The CRN for this file share.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ShareReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this file share.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this file share.
	ID *string `json:"id" validate:"required"`

	// The name for this share. The name is unique across all shares in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *ShareRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

ShareReference : ShareReference struct

type ShareReferenceDeleted added in v0.41.0

type ShareReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

ShareReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type ShareRemote added in v0.46.0

type ShareRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

ShareRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type ShareReplicationStatusReason added in v0.41.0

type ShareReplicationStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

ShareReplicationStatusReason : ShareReplicationStatusReason struct

type SharesPager added in v0.41.0

type SharesPager struct {
	// contains filtered or unexported fields
}

SharesPager can be used to simplify the use of the "ListShares" method.

func (*SharesPager) GetAll added in v0.41.0

func (pager *SharesPager) GetAll() (allItems []Share, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SharesPager) GetAllWithContext added in v0.41.0

func (pager *SharesPager) GetAllWithContext(ctx context.Context) (allItems []Share, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SharesPager) GetNext added in v0.41.0

func (pager *SharesPager) GetNext() (page []Share, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SharesPager) GetNextWithContext added in v0.41.0

func (pager *SharesPager) GetNextWithContext(ctx context.Context) (page []Share, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SharesPager) HasNext added in v0.41.0

func (pager *SharesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Snapshot added in v0.7.0

type Snapshot struct {
	// If present, the backup policy plan which created this snapshot.
	BackupPolicyPlan *BackupPolicyPlanReference `json:"backup_policy_plan,omitempty"`

	// Indicates if a boot volume attachment can be created with a volume created from this snapshot.
	Bootable *bool `json:"bootable" validate:"required"`

	// The date and time the data capture for this snapshot was completed.
	//
	// If absent, this snapshot's data has not yet been captured. Additionally, this property may be absent for snapshots
	// created before 1 January 2022.
	CapturedAt *strfmt.DateTime `json:"captured_at,omitempty"`

	// Clones for this snapshot.
	Clones []SnapshotClone `json:"clones" validate:"required"`

	// The copies of this snapshot.
	Copies []SnapshotCopiesItem `json:"copies" validate:"required"`

	// The date and time that this snapshot was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN of this snapshot.
	CRN *string `json:"crn" validate:"required"`

	// Indicates whether this snapshot can be deleted. This value will always be `true`.
	// Deprecated: this field is deprecated and may be removed in a future release.
	Deletable *bool `json:"deletable" validate:"required"`

	// The type of encryption used on the source volume.
	Encryption *string `json:"encryption" validate:"required"`

	// The root key used to wrap the data encryption key for the source volume.
	//
	// This property will be present for volumes with an `encryption` type of
	// `user_managed`.
	EncryptionKey *EncryptionKeyReference `json:"encryption_key,omitempty"`

	// The URL for this snapshot.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this snapshot.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of this snapshot.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The minimum capacity of a volume created from this snapshot. When a snapshot is created, this will be set to the
	// capacity of the `source_volume`.
	MinimumCapacity *int64 `json:"minimum_capacity" validate:"required"`

	// The name for this snapshot. The name is unique across all snapshots in the region.
	Name *string `json:"name" validate:"required"`

	// The operating system included in this snapshot.
	OperatingSystem *OperatingSystem `json:"operating_system,omitempty"`

	// The resource group for this snapshot.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The [service tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) prefixed with `is.snapshot:` associated with
	// this snapshot.
	ServiceTags []string `json:"service_tags" validate:"required"`

	// The size of this snapshot rounded up to the next gigabyte.
	Size *int64 `json:"size" validate:"required"`

	// If present, the snapshot consistency group which created this snapshot.
	SnapshotConsistencyGroup *SnapshotConsistencyGroupReference `json:"snapshot_consistency_group,omitempty"`

	// If present, the image from which the data on this snapshot was most directly
	// provisioned.
	SourceImage *ImageReference `json:"source_image,omitempty"`

	// If present, the source snapshot this snapshot was created from.
	SourceSnapshot *SnapshotSourceSnapshot `json:"source_snapshot,omitempty"`

	// The source volume this snapshot was created from (may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	SourceVolume *VolumeReference `json:"source_volume" validate:"required"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
	UserTags []string `json:"user_tags" validate:"required"`
}

Snapshot : Snapshot struct

type SnapshotClone added in v0.31.0

type SnapshotClone struct {
	// Indicates whether this snapshot clone is available for use.
	Available *bool `json:"available" validate:"required"`

	// The date and time that this snapshot clone was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The zone this snapshot clone resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

SnapshotClone : SnapshotClone struct

type SnapshotCloneCollection added in v0.31.0

type SnapshotCloneCollection struct {
	// Collection of snapshot clones.
	Clones []SnapshotClone `json:"clones" validate:"required"`
}

SnapshotCloneCollection : SnapshotCloneCollection struct

type SnapshotClonePrototype added in v0.31.0

type SnapshotClonePrototype struct {
	// The zone this snapshot clone will reside in. Must be in the same region as the
	// snapshot.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`
}

SnapshotClonePrototype : SnapshotClonePrototype struct

type SnapshotCollection added in v0.7.0

type SnapshotCollection struct {
	// A link to the first page of resources.
	First *SnapshotCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *SnapshotCollectionNext `json:"next,omitempty"`

	// Collection of snapshots.
	Snapshots []Snapshot `json:"snapshots" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

SnapshotCollection : SnapshotCollection struct

func (*SnapshotCollection) GetNextStart added in v0.8.0

func (resp *SnapshotCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type SnapshotCollectionFirst added in v0.7.0

type SnapshotCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SnapshotCollectionFirst : A link to the first page of resources.

type SnapshotCollectionNext added in v0.7.0

type SnapshotCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SnapshotCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type SnapshotConsistencyGroup added in v0.45.0

type SnapshotConsistencyGroup struct {
	// If present, the backup policy plan which created this snapshot consistency group.
	BackupPolicyPlan *BackupPolicyPlanReference `json:"backup_policy_plan,omitempty"`

	// The date and time that this snapshot consistency group was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN of this snapshot consistency group.
	CRN *string `json:"crn" validate:"required"`

	// Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
	DeleteSnapshotsOnDelete *bool `json:"delete_snapshots_on_delete" validate:"required"`

	// The URL for this snapshot consistency group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this snapshot consistency group.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of this snapshot consistency group.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the
	// region.
	Name *string `json:"name" validate:"required"`

	// The resource group for this snapshot consistency group.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The [service tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot consistency
	// group. Each tag is prefixed with
	// [is.instance:](https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-faqs).
	ServiceTags []string `json:"service_tags" validate:"required"`

	// The member snapshots that are data-consistent with respect to captured time. (may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	Snapshots []SnapshotReference `json:"snapshots" validate:"required"`
}

SnapshotConsistencyGroup : SnapshotConsistencyGroup struct

type SnapshotConsistencyGroupCollection added in v0.45.0

type SnapshotConsistencyGroupCollection struct {
	// A link to the first page of resources.
	First *SnapshotConsistencyGroupCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *SnapshotConsistencyGroupCollectionNext `json:"next,omitempty"`

	// Collection of snapshot consistency groups.
	SnapshotConsistencyGroups []SnapshotConsistencyGroup `json:"snapshot_consistency_groups" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

SnapshotConsistencyGroupCollection : SnapshotConsistencyGroupCollection struct

func (*SnapshotConsistencyGroupCollection) GetNextStart added in v0.45.0

func (resp *SnapshotConsistencyGroupCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type SnapshotConsistencyGroupCollectionFirst added in v0.45.0

type SnapshotConsistencyGroupCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SnapshotConsistencyGroupCollectionFirst : A link to the first page of resources.

type SnapshotConsistencyGroupCollectionNext added in v0.45.0

type SnapshotConsistencyGroupCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SnapshotConsistencyGroupCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type SnapshotConsistencyGroupPatch added in v0.45.0

type SnapshotConsistencyGroupPatch struct {
	// Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
	DeleteSnapshotsOnDelete *bool `json:"delete_snapshots_on_delete,omitempty"`

	// The name for this snapshot consistency group. The name must not be used by another snapshot consistency groups in
	// the region.
	Name *string `json:"name,omitempty"`
}

SnapshotConsistencyGroupPatch : SnapshotConsistencyGroupPatch struct

func (*SnapshotConsistencyGroupPatch) AsPatch added in v0.45.0

func (snapshotConsistencyGroupPatch *SnapshotConsistencyGroupPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the SnapshotConsistencyGroupPatch

type SnapshotConsistencyGroupPrototype added in v0.45.0

type SnapshotConsistencyGroupPrototype struct {
	// Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
	DeleteSnapshotsOnDelete *bool `json:"delete_snapshots_on_delete,omitempty"`

	// The name for this snapshot consistency group. The name must be unique across all snapshot consistency groups in the
	// region.
	//
	// If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The data-consistent member snapshots to create.  All snapshots must specify a
	// `source_volume` attached to the same virtual server instance.
	Snapshots []SnapshotPrototypeSnapshotConsistencyGroupContext `json:"snapshots,omitempty"`
}

SnapshotConsistencyGroupPrototype : SnapshotConsistencyGroupPrototype struct Models which "extend" this model: - SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots

type SnapshotConsistencyGroupPrototypeIntf added in v0.45.0

type SnapshotConsistencyGroupPrototypeIntf interface {
	// contains filtered or unexported methods
}

type SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots added in v0.45.0

type SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots struct {
	// Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
	DeleteSnapshotsOnDelete *bool `json:"delete_snapshots_on_delete,omitempty"`

	// The name for this snapshot consistency group. The name must be unique across all snapshot consistency groups in the
	// region.
	//
	// If unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The data-consistent member snapshots to create.  All snapshots must specify a
	// `source_volume` attached to the same virtual server instance.
	Snapshots []SnapshotPrototypeSnapshotConsistencyGroupContext `json:"snapshots" validate:"required"`
}

SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots : SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots struct This model "extends" SnapshotConsistencyGroupPrototype

type SnapshotConsistencyGroupReference added in v0.45.0

type SnapshotConsistencyGroupReference struct {
	// The CRN of this snapshot consistency group.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SnapshotConsistencyGroupReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this snapshot consistency group.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this snapshot consistency group.
	ID *string `json:"id" validate:"required"`

	// The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the
	// region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SnapshotConsistencyGroupReference : SnapshotConsistencyGroupReference struct

type SnapshotConsistencyGroupReferenceDeleted added in v0.45.0

type SnapshotConsistencyGroupReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

SnapshotConsistencyGroupReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type SnapshotConsistencyGroupsPager added in v0.45.0

type SnapshotConsistencyGroupsPager struct {
	// contains filtered or unexported fields
}

SnapshotConsistencyGroupsPager can be used to simplify the use of the "ListSnapshotConsistencyGroups" method.

func (*SnapshotConsistencyGroupsPager) GetAll added in v0.45.0

func (pager *SnapshotConsistencyGroupsPager) GetAll() (allItems []SnapshotConsistencyGroup, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SnapshotConsistencyGroupsPager) GetAllWithContext added in v0.45.0

func (pager *SnapshotConsistencyGroupsPager) GetAllWithContext(ctx context.Context) (allItems []SnapshotConsistencyGroup, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SnapshotConsistencyGroupsPager) GetNext added in v0.45.0

func (pager *SnapshotConsistencyGroupsPager) GetNext() (page []SnapshotConsistencyGroup, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SnapshotConsistencyGroupsPager) GetNextWithContext added in v0.45.0

func (pager *SnapshotConsistencyGroupsPager) GetNextWithContext(ctx context.Context) (page []SnapshotConsistencyGroup, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SnapshotConsistencyGroupsPager) HasNext added in v0.45.0

func (pager *SnapshotConsistencyGroupsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SnapshotCopiesItem added in v0.39.0

type SnapshotCopiesItem struct {
	// The CRN for the copied snapshot.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SnapshotReferenceDeleted `json:"deleted,omitempty"`

	// The URL for the copied snapshot.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for the copied snapshot.
	ID *string `json:"id" validate:"required"`

	// The name for the copied snapshot.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *SnapshotRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SnapshotCopiesItem : SnapshotCopiesItem struct

type SnapshotIdentity added in v0.7.0

type SnapshotIdentity struct {
	// The unique identifier for this snapshot.
	ID *string `json:"id,omitempty"`

	// The CRN of this snapshot.
	CRN *string `json:"crn,omitempty"`

	// The URL for this snapshot.
	Href *string `json:"href,omitempty"`
}

SnapshotIdentity : Identifies a snapshot by a unique property. Models which "extend" this model: - SnapshotIdentityByID - SnapshotIdentityByCRN - SnapshotIdentityByHref

type SnapshotIdentityByCRN added in v0.7.0

type SnapshotIdentityByCRN struct {
	// The CRN of this snapshot.
	CRN *string `json:"crn" validate:"required"`
}

SnapshotIdentityByCRN : SnapshotIdentityByCRN struct This model "extends" SnapshotIdentity

type SnapshotIdentityByHref added in v0.7.0

type SnapshotIdentityByHref struct {
	// The URL for this snapshot.
	Href *string `json:"href" validate:"required"`
}

SnapshotIdentityByHref : SnapshotIdentityByHref struct This model "extends" SnapshotIdentity

type SnapshotIdentityByID added in v0.7.0

type SnapshotIdentityByID struct {
	// The unique identifier for this snapshot.
	ID *string `json:"id" validate:"required"`
}

SnapshotIdentityByID : SnapshotIdentityByID struct This model "extends" SnapshotIdentity

type SnapshotIdentityIntf added in v0.7.0

type SnapshotIdentityIntf interface {
	// contains filtered or unexported methods
}

type SnapshotPatch added in v0.7.0

type SnapshotPatch struct {
	// The name for this snapshot. The name must not be used by another snapshot in the region.
	Name *string `json:"name,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
	UserTags []string `json:"user_tags,omitempty"`
}

SnapshotPatch : SnapshotPatch struct

func (*SnapshotPatch) AsPatch added in v0.7.0

func (snapshotPatch *SnapshotPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the SnapshotPatch

type SnapshotPrototype added in v0.20.0

type SnapshotPrototype struct {
	// Clones to create for this snapshot.
	Clones []SnapshotClonePrototype `json:"clones,omitempty"`

	// The name for this snapshot. The name must not be used by another snapshot in the region. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
	UserTags []string `json:"user_tags,omitempty"`

	// The volume to create this snapshot from.
	SourceVolume VolumeIdentityIntf `json:"source_volume,omitempty"`

	// The root key to use to wrap the data encryption key for this snapshot.
	//
	// A key must be specified if and only if the source snapshot has an `encryption` type of
	// `user_managed`. To maximize snapshot availability and sharing of snapshot data, specify
	// a key in the same region as the new snapshot, and use the same encryption key for all
	// snapshots using the same source volume.
	//
	// The specified key may be in a different account, subject to IAM policies.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The source snapshot (in another region) to create this snapshot from.
	// The specified snapshot must not already be the source of another snapshot in this
	// region.
	SourceSnapshot *SnapshotIdentityByCRN `json:"source_snapshot,omitempty"`
}

SnapshotPrototype : SnapshotPrototype struct Models which "extend" this model: - SnapshotPrototypeSnapshotBySourceVolume - SnapshotPrototypeSnapshotBySourceSnapshot

type SnapshotPrototypeIntf added in v0.20.0

type SnapshotPrototypeIntf interface {
	// contains filtered or unexported methods
}

type SnapshotPrototypeSnapshotBySourceSnapshot added in v0.39.0

type SnapshotPrototypeSnapshotBySourceSnapshot struct {
	// Clones to create for this snapshot.
	Clones []SnapshotClonePrototype `json:"clones,omitempty"`

	// The name for this snapshot. The name must not be used by another snapshot in the region. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
	UserTags []string `json:"user_tags,omitempty"`

	// The root key to use to wrap the data encryption key for this snapshot.
	//
	// A key must be specified if and only if the source snapshot has an `encryption` type of
	// `user_managed`. To maximize snapshot availability and sharing of snapshot data, specify
	// a key in the same region as the new snapshot, and use the same encryption key for all
	// snapshots using the same source volume.
	//
	// The specified key may be in a different account, subject to IAM policies.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The source snapshot (in another region) to create this snapshot from.
	// The specified snapshot must not already be the source of another snapshot in this
	// region.
	SourceSnapshot *SnapshotIdentityByCRN `json:"source_snapshot" validate:"required"`
}

SnapshotPrototypeSnapshotBySourceSnapshot : SnapshotPrototypeSnapshotBySourceSnapshot struct This model "extends" SnapshotPrototype

type SnapshotPrototypeSnapshotBySourceVolume added in v0.20.0

type SnapshotPrototypeSnapshotBySourceVolume struct {
	// Clones to create for this snapshot.
	Clones []SnapshotClonePrototype `json:"clones,omitempty"`

	// The name for this snapshot. The name must not be used by another snapshot in the region. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
	UserTags []string `json:"user_tags,omitempty"`

	// The volume to create this snapshot from.
	SourceVolume VolumeIdentityIntf `json:"source_volume" validate:"required"`
}

SnapshotPrototypeSnapshotBySourceVolume : SnapshotPrototypeSnapshotBySourceVolume struct This model "extends" SnapshotPrototype

type SnapshotPrototypeSnapshotConsistencyGroupContext added in v0.49.0

type SnapshotPrototypeSnapshotConsistencyGroupContext struct {
	// The name for this snapshot. The name must not be used by another snapshot in the region. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The volume to create this snapshot from.
	SourceVolume VolumeIdentityIntf `json:"source_volume" validate:"required"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
	UserTags []string `json:"user_tags,omitempty"`
}

SnapshotPrototypeSnapshotConsistencyGroupContext : SnapshotPrototypeSnapshotConsistencyGroupContext struct

type SnapshotReference added in v0.7.0

type SnapshotReference struct {
	// The CRN of this snapshot.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SnapshotReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this snapshot.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this snapshot.
	ID *string `json:"id" validate:"required"`

	// The name for this snapshot. The name is unique across all snapshots in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *SnapshotRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SnapshotReference : SnapshotReference struct

type SnapshotReferenceDeleted added in v0.7.0

type SnapshotReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

SnapshotReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type SnapshotRemote added in v0.39.0

type SnapshotRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

SnapshotRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type SnapshotSourceSnapshot added in v0.39.0

type SnapshotSourceSnapshot struct {
	// The CRN of the source snapshot.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SnapshotReferenceDeleted `json:"deleted,omitempty"`

	// The URL for the source snapshot.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for the source snapshot.
	ID *string `json:"id" validate:"required"`

	// The name for the source snapshot. The name is unique across all snapshots in the source snapshot's native region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *SnapshotRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SnapshotSourceSnapshot : If present, the source snapshot this snapshot was created from.

type SnapshotsPager added in v0.25.0

type SnapshotsPager struct {
	// contains filtered or unexported fields
}

SnapshotsPager can be used to simplify the use of the "ListSnapshots" method.

func (*SnapshotsPager) GetAll added in v0.25.0

func (pager *SnapshotsPager) GetAll() (allItems []Snapshot, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SnapshotsPager) GetAllWithContext added in v0.25.0

func (pager *SnapshotsPager) GetAllWithContext(ctx context.Context) (allItems []Snapshot, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SnapshotsPager) GetNext added in v0.25.0

func (pager *SnapshotsPager) GetNext() (page []Snapshot, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SnapshotsPager) GetNextWithContext added in v0.25.0

func (pager *SnapshotsPager) GetNextWithContext(ctx context.Context) (page []Snapshot, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SnapshotsPager) HasNext added in v0.25.0

func (pager *SnapshotsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type StartBareMetalServerOptions added in v0.16.0

type StartBareMetalServerOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

StartBareMetalServerOptions : The StartBareMetalServer options.

func (*StartBareMetalServerOptions) SetHeaders added in v0.16.0

func (options *StartBareMetalServerOptions) SetHeaders(param map[string]string) *StartBareMetalServerOptions

SetHeaders : Allow user to set Headers

func (*StartBareMetalServerOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type StopBareMetalServerOptions added in v0.16.0

type StopBareMetalServerOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The type of stop operation:
	// - `soft`: signal running operating system to quiesce and shutdown cleanly
	// - `hard`: immediately stop the server.
	Type *string `json:"type" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

StopBareMetalServerOptions : The StopBareMetalServer options.

func (*StopBareMetalServerOptions) SetHeaders added in v0.16.0

func (options *StopBareMetalServerOptions) SetHeaders(param map[string]string) *StopBareMetalServerOptions

SetHeaders : Allow user to set Headers

func (*StopBareMetalServerOptions) SetID added in v0.16.0

SetID : Allow user to set ID

func (*StopBareMetalServerOptions) SetType added in v0.16.0

func (_options *StopBareMetalServerOptions) SetType(typeVar string) *StopBareMetalServerOptions

SetType : Allow user to set Type

type Subnet

type Subnet struct {
	// The number of IPv4 addresses in this subnet that are not in-use, and have not been reserved by the user or the
	// provider.
	AvailableIpv4AddressCount *int64 `json:"available_ipv4_address_count" validate:"required"`

	// The date and time that the subnet was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this subnet.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this subnet.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this subnet.
	ID *string `json:"id" validate:"required"`

	// The IP version(s) supported by this subnet.
	IPVersion *string `json:"ip_version" validate:"required"`

	// The IPv4 range of the subnet, expressed in CIDR format.
	Ipv4CIDRBlock *string `json:"ipv4_cidr_block" validate:"required"`

	// The name for this subnet. The name is unique across all subnets in the VPC.
	Name *string `json:"name" validate:"required"`

	// The network ACL for this subnet.
	NetworkACL *NetworkACLReference `json:"network_acl" validate:"required"`

	// The public gateway to use for internet-bound traffic for this subnet.
	PublicGateway *PublicGatewayReference `json:"public_gateway,omitempty"`

	// The resource group for this subnet.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The routing table for this subnet.
	RoutingTable *RoutingTableReference `json:"routing_table" validate:"required"`

	// The status of the subnet.
	Status *string `json:"status" validate:"required"`

	// The total number of IPv4 addresses in this subnet.
	//
	// Note: This is calculated as 2<sup>(32 - prefix length)</sup>. For example, the prefix length `/24` gives:<br>
	// 2<sup>(32 - 24)</sup> = 2<sup>8</sup> = 256 addresses.
	TotalIpv4AddressCount *int64 `json:"total_ipv4_address_count" validate:"required"`

	// The VPC this subnet resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// The zone this subnet resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

Subnet : Subnet struct

type SubnetCollection

type SubnetCollection struct {
	// A link to the first page of resources.
	First *SubnetCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *SubnetCollectionNext `json:"next,omitempty"`

	// Collection of subnets.
	Subnets []Subnet `json:"subnets" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

SubnetCollection : SubnetCollection struct

func (*SubnetCollection) GetNextStart added in v0.8.0

func (resp *SubnetCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type SubnetCollectionFirst

type SubnetCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SubnetCollectionFirst : A link to the first page of resources.

type SubnetCollectionNext

type SubnetCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

SubnetCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type SubnetIdentity

type SubnetIdentity struct {
	// The unique identifier for this subnet.
	ID *string `json:"id,omitempty"`

	// The CRN for this subnet.
	CRN *string `json:"crn,omitempty"`

	// The URL for this subnet.
	Href *string `json:"href,omitempty"`
}

SubnetIdentity : Identifies a subnet by a unique property. Models which "extend" this model: - SubnetIdentityByID - SubnetIdentityByCRN - SubnetIdentityByHref

type SubnetIdentityByCRN

type SubnetIdentityByCRN struct {
	// The CRN for this subnet.
	CRN *string `json:"crn" validate:"required"`
}

SubnetIdentityByCRN : SubnetIdentityByCRN struct This model "extends" SubnetIdentity

type SubnetIdentityByHref

type SubnetIdentityByHref struct {
	// The URL for this subnet.
	Href *string `json:"href" validate:"required"`
}

SubnetIdentityByHref : SubnetIdentityByHref struct This model "extends" SubnetIdentity

type SubnetIdentityByID

type SubnetIdentityByID struct {
	// The unique identifier for this subnet.
	ID *string `json:"id" validate:"required"`
}

SubnetIdentityByID : SubnetIdentityByID struct This model "extends" SubnetIdentity

type SubnetIdentityIntf

type SubnetIdentityIntf interface {
	// contains filtered or unexported methods
}

type SubnetPatch added in v0.2.0

type SubnetPatch struct {
	// The name for this subnet. The name must not be used by another subnet in the VPC.
	Name *string `json:"name,omitempty"`

	// The network ACL to use for this subnet.
	NetworkACL NetworkACLIdentityIntf `json:"network_acl,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet.
	PublicGateway SubnetPublicGatewayPatchIntf `json:"public_gateway,omitempty"`

	// The routing table to use for this subnet.  The routing table properties
	// `route_direct_link_ingress`, `route_internet_ingress`,
	// `route_transit_gateway_ingress`, and `route_vpc_zone_ingress` must be `false`.
	RoutingTable RoutingTableIdentityIntf `json:"routing_table,omitempty"`
}

SubnetPatch : SubnetPatch struct

func (*SubnetPatch) AsPatch added in v0.2.0

func (subnetPatch *SubnetPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the SubnetPatch

type SubnetPrototype

type SubnetPrototype struct {
	// The IP version(s) to support for this subnet.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this subnet. The name must not be used by another subnet in the VPC. If unspecified, the name will be a
	// hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The network ACL to use for this subnet.
	NetworkACL NetworkACLIdentityIntf `json:"network_acl,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet. If
	// unspecified, the subnet will not be attached to a public gateway.
	PublicGateway PublicGatewayIdentityIntf `json:"public_gateway,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The routing table to use for this subnet. If unspecified, the default routing table
	// for the VPC is used. The routing table properties `route_direct_link_ingress`,
	// `route_internet_ingress`, `route_transit_gateway_ingress`, and
	// `route_vpc_zone_ingress` must be `false`.
	RoutingTable RoutingTableIdentityIntf `json:"routing_table,omitempty"`

	// The VPC the subnet will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The total number of IPv4 addresses required. Must be a power of 2. The VPC must have a default address prefix in the
	// specified zone, and that prefix must have a free CIDR range with at least this number of addresses.
	TotalIpv4AddressCount *int64 `json:"total_ipv4_address_count,omitempty"`

	// The zone this subnet will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`

	// The IPv4 range of the subnet, expressed in CIDR format. The prefix length of the subnet's CIDR must be between `/9`
	// (8,388,608 addresses) and `/29` (8 addresses). The IPv4 range of the subnet's CIDR must fall within an existing
	// address prefix in the VPC and must not overlap with any existing subnet. The subnet will be created in the zone of
	// the address prefix that contains the IPv4 CIDR. If zone is specified, it must match the zone of the address prefix
	// that contains the subnet's IPv4 CIDR.
	Ipv4CIDRBlock *string `json:"ipv4_cidr_block,omitempty"`
}

SubnetPrototype : SubnetPrototype struct Models which "extend" this model: - SubnetPrototypeSubnetByTotalCount - SubnetPrototypeSubnetByCIDR

type SubnetPrototypeIntf

type SubnetPrototypeIntf interface {
	// contains filtered or unexported methods
}

type SubnetPrototypeSubnetByCIDR

type SubnetPrototypeSubnetByCIDR struct {
	// The IP version(s) to support for this subnet.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this subnet. The name must not be used by another subnet in the VPC. If unspecified, the name will be a
	// hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The network ACL to use for this subnet.
	NetworkACL NetworkACLIdentityIntf `json:"network_acl,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet. If unspecified, the subnet will not be
	// attached to a public gateway.
	PublicGateway PublicGatewayIdentityIntf `json:"public_gateway,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The routing table to use for this subnet. If unspecified, the default routing table for the VPC is used. The routing
	// table properties `route_direct_link_ingress`,
	// `route_internet_ingress`, `route_transit_gateway_ingress`, and
	// `route_vpc_zone_ingress` must be `false`.
	RoutingTable RoutingTableIdentityIntf `json:"routing_table,omitempty"`

	// The VPC the subnet will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The IPv4 range of the subnet, expressed in CIDR format. The prefix length of the subnet's CIDR must be between `/9`
	// (8,388,608 addresses) and `/29` (8 addresses). The IPv4 range of the subnet's CIDR must fall within an existing
	// address prefix in the VPC and must not overlap with any existing subnet. The subnet will be created in the zone of
	// the address prefix that contains the IPv4 CIDR. If zone is specified, it must match the zone of the address prefix
	// that contains the subnet's IPv4 CIDR.
	Ipv4CIDRBlock *string `json:"ipv4_cidr_block" validate:"required"`

	// The zone this subnet will reside in.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`
}

SubnetPrototypeSubnetByCIDR : SubnetPrototypeSubnetByCIDR struct This model "extends" SubnetPrototype

type SubnetPrototypeSubnetByTotalCount

type SubnetPrototypeSubnetByTotalCount struct {
	// The IP version(s) to support for this subnet.
	IPVersion *string `json:"ip_version,omitempty"`

	// The name for this subnet. The name must not be used by another subnet in the VPC. If unspecified, the name will be a
	// hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The network ACL to use for this subnet.
	NetworkACL NetworkACLIdentityIntf `json:"network_acl,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet. If unspecified, the subnet will not be
	// attached to a public gateway.
	PublicGateway PublicGatewayIdentityIntf `json:"public_gateway,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The routing table to use for this subnet. If unspecified, the default routing table for the VPC is used. The routing
	// table properties `route_direct_link_ingress`,
	// `route_internet_ingress`, `route_transit_gateway_ingress`, and
	// `route_vpc_zone_ingress` must be `false`.
	RoutingTable RoutingTableIdentityIntf `json:"routing_table,omitempty"`

	// The VPC the subnet will reside in.
	VPC VPCIdentityIntf `json:"vpc" validate:"required"`

	// The total number of IPv4 addresses required. Must be a power of 2. The VPC must have a default address prefix in the
	// specified zone, and that prefix must have a free CIDR range with at least this number of addresses.
	TotalIpv4AddressCount *int64 `json:"total_ipv4_address_count" validate:"required"`

	// The zone this subnet will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`
}

SubnetPrototypeSubnetByTotalCount : SubnetPrototypeSubnetByTotalCount struct This model "extends" SubnetPrototype

type SubnetPublicGatewayPatch added in v0.15.0

type SubnetPublicGatewayPatch struct {
	// The unique identifier for this public gateway.
	ID *string `json:"id,omitempty"`

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

	// The URL for this public gateway.
	Href *string `json:"href,omitempty"`
}

SubnetPublicGatewayPatch : The public gateway to use for internet-bound traffic for this subnet. Models which "extend" this model: - SubnetPublicGatewayPatchPublicGatewayIdentityByID - SubnetPublicGatewayPatchPublicGatewayIdentityByCRN - SubnetPublicGatewayPatchPublicGatewayIdentityByHref

type SubnetPublicGatewayPatchIntf added in v0.15.0

type SubnetPublicGatewayPatchIntf interface {
	// contains filtered or unexported methods
}

type SubnetPublicGatewayPatchPublicGatewayIdentityByCRN added in v0.15.0

type SubnetPublicGatewayPatchPublicGatewayIdentityByCRN struct {
	// The CRN for this public gateway.
	CRN *string `json:"crn" validate:"required"`
}

SubnetPublicGatewayPatchPublicGatewayIdentityByCRN : SubnetPublicGatewayPatchPublicGatewayIdentityByCRN struct This model "extends" SubnetPublicGatewayPatch

type SubnetPublicGatewayPatchPublicGatewayIdentityByHref added in v0.15.0

type SubnetPublicGatewayPatchPublicGatewayIdentityByHref struct {
	// The URL for this public gateway.
	Href *string `json:"href" validate:"required"`
}

SubnetPublicGatewayPatchPublicGatewayIdentityByHref : SubnetPublicGatewayPatchPublicGatewayIdentityByHref struct This model "extends" SubnetPublicGatewayPatch

type SubnetPublicGatewayPatchPublicGatewayIdentityByID added in v0.15.0

type SubnetPublicGatewayPatchPublicGatewayIdentityByID struct {
	// The unique identifier for this public gateway.
	ID *string `json:"id" validate:"required"`
}

SubnetPublicGatewayPatchPublicGatewayIdentityByID : SubnetPublicGatewayPatchPublicGatewayIdentityByID struct This model "extends" SubnetPublicGatewayPatch

type SubnetReference

type SubnetReference struct {
	// The CRN for this subnet.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *SubnetReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this subnet.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this subnet.
	ID *string `json:"id" validate:"required"`

	// The name for this subnet. The name is unique across all subnets in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

SubnetReference : SubnetReference struct

type SubnetReferenceDeleted added in v0.3.0

type SubnetReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

SubnetReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type SubnetReservedIpsPager added in v0.25.0

type SubnetReservedIpsPager struct {
	// contains filtered or unexported fields
}

SubnetReservedIpsPager can be used to simplify the use of the "ListSubnetReservedIps" method.

func (*SubnetReservedIpsPager) GetAll added in v0.25.0

func (pager *SubnetReservedIpsPager) GetAll() (allItems []ReservedIP, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SubnetReservedIpsPager) GetAllWithContext added in v0.25.0

func (pager *SubnetReservedIpsPager) GetAllWithContext(ctx context.Context) (allItems []ReservedIP, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SubnetReservedIpsPager) GetNext added in v0.25.0

func (pager *SubnetReservedIpsPager) GetNext() (page []ReservedIP, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SubnetReservedIpsPager) GetNextWithContext added in v0.25.0

func (pager *SubnetReservedIpsPager) GetNextWithContext(ctx context.Context) (page []ReservedIP, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SubnetReservedIpsPager) HasNext added in v0.25.0

func (pager *SubnetReservedIpsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SubnetsPager added in v0.25.0

type SubnetsPager struct {
	// contains filtered or unexported fields
}

SubnetsPager can be used to simplify the use of the "ListSubnets" method.

func (*SubnetsPager) GetAll added in v0.25.0

func (pager *SubnetsPager) GetAll() (allItems []Subnet, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SubnetsPager) GetAllWithContext added in v0.25.0

func (pager *SubnetsPager) GetAllWithContext(ctx context.Context) (allItems []Subnet, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SubnetsPager) GetNext added in v0.25.0

func (pager *SubnetsPager) GetNext() (page []Subnet, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SubnetsPager) GetNextWithContext added in v0.25.0

func (pager *SubnetsPager) GetNextWithContext(ctx context.Context) (page []Subnet, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SubnetsPager) HasNext added in v0.25.0

func (pager *SubnetsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type TrustedProfileIdentity added in v0.17.0

type TrustedProfileIdentity struct {
	// The unique identifier for this trusted profile.
	ID *string `json:"id,omitempty"`

	// The CRN for this trusted profile.
	CRN *string `json:"crn,omitempty"`
}

TrustedProfileIdentity : Identifies a trusted profile by a unique property. Models which "extend" this model: - TrustedProfileIdentityTrustedProfileByID - TrustedProfileIdentityTrustedProfileByCRN

type TrustedProfileIdentityIntf added in v0.17.0

type TrustedProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type TrustedProfileIdentityTrustedProfileByCRN added in v0.17.0

type TrustedProfileIdentityTrustedProfileByCRN struct {
	// The CRN for this trusted profile.
	CRN *string `json:"crn" validate:"required"`
}

TrustedProfileIdentityTrustedProfileByCRN : TrustedProfileIdentityTrustedProfileByCRN struct This model "extends" TrustedProfileIdentity

type TrustedProfileIdentityTrustedProfileByID added in v0.17.0

type TrustedProfileIdentityTrustedProfileByID struct {
	// The unique identifier for this trusted profile.
	ID *string `json:"id" validate:"required"`
}

TrustedProfileIdentityTrustedProfileByID : TrustedProfileIdentityTrustedProfileByID struct This model "extends" TrustedProfileIdentity

type TrustedProfileReference added in v0.17.0

type TrustedProfileReference struct {
	// The CRN for this trusted profile.
	CRN *string `json:"crn" validate:"required"`

	// The unique identifier for this trusted profile.
	ID *string `json:"id" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

TrustedProfileReference : TrustedProfileReference struct

type UnsetSubnetPublicGatewayOptions

type UnsetSubnetPublicGatewayOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UnsetSubnetPublicGatewayOptions : The UnsetSubnetPublicGateway options.

func (*UnsetSubnetPublicGatewayOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UnsetSubnetPublicGatewayOptions) SetID

SetID : Allow user to set ID

type UpdateBackupPolicyOptions added in v0.21.0

type UpdateBackupPolicyOptions struct {
	// The backup policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The backup policy patch.
	BackupPolicyPatch map[string]interface{} `json:"BackupPolicy_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateBackupPolicyOptions : The UpdateBackupPolicy options.

func (*UpdateBackupPolicyOptions) SetBackupPolicyPatch added in v0.21.0

func (_options *UpdateBackupPolicyOptions) SetBackupPolicyPatch(backupPolicyPatch map[string]interface{}) *UpdateBackupPolicyOptions

SetBackupPolicyPatch : Allow user to set BackupPolicyPatch

func (*UpdateBackupPolicyOptions) SetHeaders added in v0.21.0

func (options *UpdateBackupPolicyOptions) SetHeaders(param map[string]string) *UpdateBackupPolicyOptions

SetHeaders : Allow user to set Headers

func (*UpdateBackupPolicyOptions) SetID added in v0.21.0

SetID : Allow user to set ID

func (*UpdateBackupPolicyOptions) SetIfMatch added in v0.21.0

func (_options *UpdateBackupPolicyOptions) SetIfMatch(ifMatch string) *UpdateBackupPolicyOptions

SetIfMatch : Allow user to set IfMatch

type UpdateBackupPolicyPlanOptions added in v0.21.0

type UpdateBackupPolicyPlanOptions struct {
	// The backup policy identifier.
	BackupPolicyID *string `json:"backup_policy_id" validate:"required,ne="`

	// The backup policy plan identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The backup policy plan patch.
	BackupPolicyPlanPatch map[string]interface{} `json:"BackupPolicyPlan_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateBackupPolicyPlanOptions : The UpdateBackupPolicyPlan options.

func (*UpdateBackupPolicyPlanOptions) SetBackupPolicyID added in v0.21.0

func (_options *UpdateBackupPolicyPlanOptions) SetBackupPolicyID(backupPolicyID string) *UpdateBackupPolicyPlanOptions

SetBackupPolicyID : Allow user to set BackupPolicyID

func (*UpdateBackupPolicyPlanOptions) SetBackupPolicyPlanPatch added in v0.21.0

func (_options *UpdateBackupPolicyPlanOptions) SetBackupPolicyPlanPatch(backupPolicyPlanPatch map[string]interface{}) *UpdateBackupPolicyPlanOptions

SetBackupPolicyPlanPatch : Allow user to set BackupPolicyPlanPatch

func (*UpdateBackupPolicyPlanOptions) SetHeaders added in v0.21.0

SetHeaders : Allow user to set Headers

func (*UpdateBackupPolicyPlanOptions) SetID added in v0.21.0

SetID : Allow user to set ID

func (*UpdateBackupPolicyPlanOptions) SetIfMatch added in v0.21.0

SetIfMatch : Allow user to set IfMatch

type UpdateBareMetalServerDiskOptions added in v0.16.0

type UpdateBareMetalServerDiskOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server disk identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The bare metal server disk patch.
	BareMetalServerDiskPatch map[string]interface{} `json:"BareMetalServerDisk_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateBareMetalServerDiskOptions : The UpdateBareMetalServerDisk options.

func (*UpdateBareMetalServerDiskOptions) SetBareMetalServerDiskPatch added in v0.16.0

func (_options *UpdateBareMetalServerDiskOptions) SetBareMetalServerDiskPatch(bareMetalServerDiskPatch map[string]interface{}) *UpdateBareMetalServerDiskOptions

SetBareMetalServerDiskPatch : Allow user to set BareMetalServerDiskPatch

func (*UpdateBareMetalServerDiskOptions) SetBareMetalServerID added in v0.16.0

func (_options *UpdateBareMetalServerDiskOptions) SetBareMetalServerID(bareMetalServerID string) *UpdateBareMetalServerDiskOptions

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*UpdateBareMetalServerDiskOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*UpdateBareMetalServerDiskOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type UpdateBareMetalServerNetworkAttachmentOptions added in v0.47.0

type UpdateBareMetalServerNetworkAttachmentOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The bare metal server network attachment patch.
	BareMetalServerNetworkAttachmentPatch map[string]interface{} `json:"BareMetalServerNetworkAttachment_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateBareMetalServerNetworkAttachmentOptions : The UpdateBareMetalServerNetworkAttachment options.

func (*UpdateBareMetalServerNetworkAttachmentOptions) SetBareMetalServerID added in v0.47.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*UpdateBareMetalServerNetworkAttachmentOptions) SetBareMetalServerNetworkAttachmentPatch added in v0.47.0

func (_options *UpdateBareMetalServerNetworkAttachmentOptions) SetBareMetalServerNetworkAttachmentPatch(bareMetalServerNetworkAttachmentPatch map[string]interface{}) *UpdateBareMetalServerNetworkAttachmentOptions

SetBareMetalServerNetworkAttachmentPatch : Allow user to set BareMetalServerNetworkAttachmentPatch

func (*UpdateBareMetalServerNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*UpdateBareMetalServerNetworkAttachmentOptions) SetID added in v0.47.0

SetID : Allow user to set ID

type UpdateBareMetalServerNetworkInterfaceOptions added in v0.16.0

type UpdateBareMetalServerNetworkInterfaceOptions struct {
	// The bare metal server identifier.
	BareMetalServerID *string `json:"bare_metal_server_id" validate:"required,ne="`

	// The bare metal server network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The bare metal server network interface patch.
	BareMetalServerNetworkInterfacePatch map[string]interface{} `json:"BareMetalServerNetworkInterface_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateBareMetalServerNetworkInterfaceOptions : The UpdateBareMetalServerNetworkInterface options.

func (*UpdateBareMetalServerNetworkInterfaceOptions) SetBareMetalServerID added in v0.16.0

SetBareMetalServerID : Allow user to set BareMetalServerID

func (*UpdateBareMetalServerNetworkInterfaceOptions) SetBareMetalServerNetworkInterfacePatch added in v0.16.0

func (_options *UpdateBareMetalServerNetworkInterfaceOptions) SetBareMetalServerNetworkInterfacePatch(bareMetalServerNetworkInterfacePatch map[string]interface{}) *UpdateBareMetalServerNetworkInterfaceOptions

SetBareMetalServerNetworkInterfacePatch : Allow user to set BareMetalServerNetworkInterfacePatch

func (*UpdateBareMetalServerNetworkInterfaceOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*UpdateBareMetalServerNetworkInterfaceOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type UpdateBareMetalServerOptions added in v0.16.0

type UpdateBareMetalServerOptions struct {
	// The bare metal server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The bare metal server patch.
	BareMetalServerPatch map[string]interface{} `json:"BareMetalServer_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateBareMetalServerOptions : The UpdateBareMetalServer options.

func (*UpdateBareMetalServerOptions) SetBareMetalServerPatch added in v0.16.0

func (_options *UpdateBareMetalServerOptions) SetBareMetalServerPatch(bareMetalServerPatch map[string]interface{}) *UpdateBareMetalServerOptions

SetBareMetalServerPatch : Allow user to set BareMetalServerPatch

func (*UpdateBareMetalServerOptions) SetHeaders added in v0.16.0

SetHeaders : Allow user to set Headers

func (*UpdateBareMetalServerOptions) SetID added in v0.16.0

SetID : Allow user to set ID

type UpdateDedicatedHostDiskOptions added in v0.5.0

type UpdateDedicatedHostDiskOptions struct {
	// The dedicated host identifier.
	DedicatedHostID *string `json:"dedicated_host_id" validate:"required,ne="`

	// The dedicated host disk identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The dedicated host disk patch.
	DedicatedHostDiskPatch map[string]interface{} `json:"DedicatedHostDisk_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateDedicatedHostDiskOptions : The UpdateDedicatedHostDisk options.

func (*UpdateDedicatedHostDiskOptions) SetDedicatedHostDiskPatch added in v0.5.0

func (_options *UpdateDedicatedHostDiskOptions) SetDedicatedHostDiskPatch(dedicatedHostDiskPatch map[string]interface{}) *UpdateDedicatedHostDiskOptions

SetDedicatedHostDiskPatch : Allow user to set DedicatedHostDiskPatch

func (*UpdateDedicatedHostDiskOptions) SetDedicatedHostID added in v0.5.0

func (_options *UpdateDedicatedHostDiskOptions) SetDedicatedHostID(dedicatedHostID string) *UpdateDedicatedHostDiskOptions

SetDedicatedHostID : Allow user to set DedicatedHostID

func (*UpdateDedicatedHostDiskOptions) SetHeaders added in v0.5.0

SetHeaders : Allow user to set Headers

func (*UpdateDedicatedHostDiskOptions) SetID added in v0.5.0

SetID : Allow user to set ID

type UpdateDedicatedHostGroupOptions added in v0.4.0

type UpdateDedicatedHostGroupOptions struct {
	// The dedicated host group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The dedicated host group patch.
	DedicatedHostGroupPatch map[string]interface{} `json:"DedicatedHostGroup_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateDedicatedHostGroupOptions : The UpdateDedicatedHostGroup options.

func (*UpdateDedicatedHostGroupOptions) SetDedicatedHostGroupPatch added in v0.4.0

func (_options *UpdateDedicatedHostGroupOptions) SetDedicatedHostGroupPatch(dedicatedHostGroupPatch map[string]interface{}) *UpdateDedicatedHostGroupOptions

SetDedicatedHostGroupPatch : Allow user to set DedicatedHostGroupPatch

func (*UpdateDedicatedHostGroupOptions) SetHeaders added in v0.4.0

SetHeaders : Allow user to set Headers

func (*UpdateDedicatedHostGroupOptions) SetID added in v0.4.0

SetID : Allow user to set ID

type UpdateDedicatedHostOptions added in v0.4.0

type UpdateDedicatedHostOptions struct {
	// The dedicated host identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The dedicated host patch.
	DedicatedHostPatch map[string]interface{} `json:"DedicatedHost_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateDedicatedHostOptions : The UpdateDedicatedHost options.

func (*UpdateDedicatedHostOptions) SetDedicatedHostPatch added in v0.4.0

func (_options *UpdateDedicatedHostOptions) SetDedicatedHostPatch(dedicatedHostPatch map[string]interface{}) *UpdateDedicatedHostOptions

SetDedicatedHostPatch : Allow user to set DedicatedHostPatch

func (*UpdateDedicatedHostOptions) SetHeaders added in v0.4.0

func (options *UpdateDedicatedHostOptions) SetHeaders(param map[string]string) *UpdateDedicatedHostOptions

SetHeaders : Allow user to set Headers

func (*UpdateDedicatedHostOptions) SetID added in v0.4.0

SetID : Allow user to set ID

type UpdateEndpointGatewayOptions added in v0.3.0

type UpdateEndpointGatewayOptions struct {
	// The endpoint gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The endpoint gateway patch.
	EndpointGatewayPatch map[string]interface{} `json:"EndpointGateway_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateEndpointGatewayOptions : The UpdateEndpointGateway options.

func (*UpdateEndpointGatewayOptions) SetEndpointGatewayPatch added in v0.3.0

func (_options *UpdateEndpointGatewayOptions) SetEndpointGatewayPatch(endpointGatewayPatch map[string]interface{}) *UpdateEndpointGatewayOptions

SetEndpointGatewayPatch : Allow user to set EndpointGatewayPatch

func (*UpdateEndpointGatewayOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*UpdateEndpointGatewayOptions) SetID added in v0.3.0

SetID : Allow user to set ID

type UpdateFloatingIPOptions

type UpdateFloatingIPOptions struct {
	// The floating IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The floating IP patch.
	FloatingIPPatch map[string]interface{} `json:"FloatingIP_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateFloatingIPOptions : The UpdateFloatingIP options.

func (*UpdateFloatingIPOptions) SetFloatingIPPatch added in v0.2.0

func (_options *UpdateFloatingIPOptions) SetFloatingIPPatch(floatingIPPatch map[string]interface{}) *UpdateFloatingIPOptions

SetFloatingIPPatch : Allow user to set FloatingIPPatch

func (*UpdateFloatingIPOptions) SetHeaders

func (options *UpdateFloatingIPOptions) SetHeaders(param map[string]string) *UpdateFloatingIPOptions

SetHeaders : Allow user to set Headers

func (*UpdateFloatingIPOptions) SetID

SetID : Allow user to set ID

type UpdateFlowLogCollectorOptions

type UpdateFlowLogCollectorOptions struct {
	// The flow log collector identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The flow log collector patch.
	FlowLogCollectorPatch map[string]interface{} `json:"FlowLogCollector_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateFlowLogCollectorOptions : The UpdateFlowLogCollector options.

func (*UpdateFlowLogCollectorOptions) SetFlowLogCollectorPatch added in v0.2.0

func (_options *UpdateFlowLogCollectorOptions) SetFlowLogCollectorPatch(flowLogCollectorPatch map[string]interface{}) *UpdateFlowLogCollectorOptions

SetFlowLogCollectorPatch : Allow user to set FlowLogCollectorPatch

func (*UpdateFlowLogCollectorOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateFlowLogCollectorOptions) SetID

SetID : Allow user to set ID

type UpdateIkePolicyOptions

type UpdateIkePolicyOptions struct {
	// The IKE policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IKE policy patch.
	IkePolicyPatch map[string]interface{} `json:"IkePolicy_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateIkePolicyOptions : The UpdateIkePolicy options.

func (*UpdateIkePolicyOptions) SetHeaders

func (options *UpdateIkePolicyOptions) SetHeaders(param map[string]string) *UpdateIkePolicyOptions

SetHeaders : Allow user to set Headers

func (*UpdateIkePolicyOptions) SetID

SetID : Allow user to set ID

func (*UpdateIkePolicyOptions) SetIkePolicyPatch added in v0.2.0

func (_options *UpdateIkePolicyOptions) SetIkePolicyPatch(ikePolicyPatch map[string]interface{}) *UpdateIkePolicyOptions

SetIkePolicyPatch : Allow user to set IkePolicyPatch

type UpdateImageExportJobOptions added in v0.37.0

type UpdateImageExportJobOptions struct {
	// The image identifier.
	ImageID *string `json:"image_id" validate:"required,ne="`

	// The image export job identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The image export job patch.
	ImageExportJobPatch map[string]interface{} `json:"ImageExportJob_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateImageExportJobOptions : The UpdateImageExportJob options.

func (*UpdateImageExportJobOptions) SetHeaders added in v0.37.0

func (options *UpdateImageExportJobOptions) SetHeaders(param map[string]string) *UpdateImageExportJobOptions

SetHeaders : Allow user to set Headers

func (*UpdateImageExportJobOptions) SetID added in v0.37.0

SetID : Allow user to set ID

func (*UpdateImageExportJobOptions) SetImageExportJobPatch added in v0.37.0

func (_options *UpdateImageExportJobOptions) SetImageExportJobPatch(imageExportJobPatch map[string]interface{}) *UpdateImageExportJobOptions

SetImageExportJobPatch : Allow user to set ImageExportJobPatch

func (*UpdateImageExportJobOptions) SetImageID added in v0.37.0

func (_options *UpdateImageExportJobOptions) SetImageID(imageID string) *UpdateImageExportJobOptions

SetImageID : Allow user to set ImageID

type UpdateImageOptions

type UpdateImageOptions struct {
	// The image identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The image patch.
	ImagePatch map[string]interface{} `json:"Image_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateImageOptions : The UpdateImage options.

func (*UpdateImageOptions) SetHeaders

func (options *UpdateImageOptions) SetHeaders(param map[string]string) *UpdateImageOptions

SetHeaders : Allow user to set Headers

func (*UpdateImageOptions) SetID

func (_options *UpdateImageOptions) SetID(id string) *UpdateImageOptions

SetID : Allow user to set ID

func (*UpdateImageOptions) SetImagePatch added in v0.2.0

func (_options *UpdateImageOptions) SetImagePatch(imagePatch map[string]interface{}) *UpdateImageOptions

SetImagePatch : Allow user to set ImagePatch

type UpdateInstanceDiskOptions added in v0.5.0

type UpdateInstanceDiskOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance disk identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance disk patch.
	InstanceDiskPatch map[string]interface{} `json:"InstanceDisk_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceDiskOptions : The UpdateInstanceDisk options.

func (*UpdateInstanceDiskOptions) SetHeaders added in v0.5.0

func (options *UpdateInstanceDiskOptions) SetHeaders(param map[string]string) *UpdateInstanceDiskOptions

SetHeaders : Allow user to set Headers

func (*UpdateInstanceDiskOptions) SetID added in v0.5.0

SetID : Allow user to set ID

func (*UpdateInstanceDiskOptions) SetInstanceDiskPatch added in v0.5.0

func (_options *UpdateInstanceDiskOptions) SetInstanceDiskPatch(instanceDiskPatch map[string]interface{}) *UpdateInstanceDiskOptions

SetInstanceDiskPatch : Allow user to set InstanceDiskPatch

func (*UpdateInstanceDiskOptions) SetInstanceID added in v0.5.0

func (_options *UpdateInstanceDiskOptions) SetInstanceID(instanceID string) *UpdateInstanceDiskOptions

SetInstanceID : Allow user to set InstanceID

type UpdateInstanceGroupManagerActionOptions added in v0.6.0

type UpdateInstanceGroupManagerActionOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager action identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance group manager action patch.
	InstanceGroupManagerActionPatch map[string]interface{} `json:"InstanceGroupManagerAction_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceGroupManagerActionOptions : The UpdateInstanceGroupManagerAction options.

func (*UpdateInstanceGroupManagerActionOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*UpdateInstanceGroupManagerActionOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*UpdateInstanceGroupManagerActionOptions) SetInstanceGroupID added in v0.6.0

func (_options *UpdateInstanceGroupManagerActionOptions) SetInstanceGroupID(instanceGroupID string) *UpdateInstanceGroupManagerActionOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*UpdateInstanceGroupManagerActionOptions) SetInstanceGroupManagerActionPatch added in v0.6.0

func (_options *UpdateInstanceGroupManagerActionOptions) SetInstanceGroupManagerActionPatch(instanceGroupManagerActionPatch map[string]interface{}) *UpdateInstanceGroupManagerActionOptions

SetInstanceGroupManagerActionPatch : Allow user to set InstanceGroupManagerActionPatch

func (*UpdateInstanceGroupManagerActionOptions) SetInstanceGroupManagerID added in v0.6.0

func (_options *UpdateInstanceGroupManagerActionOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *UpdateInstanceGroupManagerActionOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

type UpdateInstanceGroupManagerOptions added in v0.1.0

type UpdateInstanceGroupManagerOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance group manager patch.
	InstanceGroupManagerPatch map[string]interface{} `json:"InstanceGroupManager_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceGroupManagerOptions : The UpdateInstanceGroupManager options.

func (*UpdateInstanceGroupManagerOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*UpdateInstanceGroupManagerOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*UpdateInstanceGroupManagerOptions) SetInstanceGroupID added in v0.1.0

func (_options *UpdateInstanceGroupManagerOptions) SetInstanceGroupID(instanceGroupID string) *UpdateInstanceGroupManagerOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*UpdateInstanceGroupManagerOptions) SetInstanceGroupManagerPatch added in v0.2.0

func (_options *UpdateInstanceGroupManagerOptions) SetInstanceGroupManagerPatch(instanceGroupManagerPatch map[string]interface{}) *UpdateInstanceGroupManagerOptions

SetInstanceGroupManagerPatch : Allow user to set InstanceGroupManagerPatch

type UpdateInstanceGroupManagerPolicyOptions added in v0.1.0

type UpdateInstanceGroupManagerPolicyOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group manager identifier.
	InstanceGroupManagerID *string `json:"instance_group_manager_id" validate:"required,ne="`

	// The instance group manager policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance group manager policy patch.
	InstanceGroupManagerPolicyPatch map[string]interface{} `json:"InstanceGroupManagerPolicy_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceGroupManagerPolicyOptions : The UpdateInstanceGroupManagerPolicy options.

func (*UpdateInstanceGroupManagerPolicyOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*UpdateInstanceGroupManagerPolicyOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*UpdateInstanceGroupManagerPolicyOptions) SetInstanceGroupID added in v0.1.0

func (_options *UpdateInstanceGroupManagerPolicyOptions) SetInstanceGroupID(instanceGroupID string) *UpdateInstanceGroupManagerPolicyOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*UpdateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID added in v0.1.0

func (_options *UpdateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerID(instanceGroupManagerID string) *UpdateInstanceGroupManagerPolicyOptions

SetInstanceGroupManagerID : Allow user to set InstanceGroupManagerID

func (*UpdateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerPolicyPatch added in v0.2.0

func (_options *UpdateInstanceGroupManagerPolicyOptions) SetInstanceGroupManagerPolicyPatch(instanceGroupManagerPolicyPatch map[string]interface{}) *UpdateInstanceGroupManagerPolicyOptions

SetInstanceGroupManagerPolicyPatch : Allow user to set InstanceGroupManagerPolicyPatch

type UpdateInstanceGroupMembershipOptions added in v0.1.0

type UpdateInstanceGroupMembershipOptions struct {
	// The instance group identifier.
	InstanceGroupID *string `json:"instance_group_id" validate:"required,ne="`

	// The instance group membership identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance group membership patch.
	InstanceGroupMembershipPatch map[string]interface{} `json:"InstanceGroupMembership_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceGroupMembershipOptions : The UpdateInstanceGroupMembership options.

func (*UpdateInstanceGroupMembershipOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*UpdateInstanceGroupMembershipOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*UpdateInstanceGroupMembershipOptions) SetInstanceGroupID added in v0.1.0

func (_options *UpdateInstanceGroupMembershipOptions) SetInstanceGroupID(instanceGroupID string) *UpdateInstanceGroupMembershipOptions

SetInstanceGroupID : Allow user to set InstanceGroupID

func (*UpdateInstanceGroupMembershipOptions) SetInstanceGroupMembershipPatch added in v0.2.0

func (_options *UpdateInstanceGroupMembershipOptions) SetInstanceGroupMembershipPatch(instanceGroupMembershipPatch map[string]interface{}) *UpdateInstanceGroupMembershipOptions

SetInstanceGroupMembershipPatch : Allow user to set InstanceGroupMembershipPatch

type UpdateInstanceGroupOptions added in v0.1.0

type UpdateInstanceGroupOptions struct {
	// The instance group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance group patch.
	InstanceGroupPatch map[string]interface{} `json:"InstanceGroup_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceGroupOptions : The UpdateInstanceGroup options.

func (*UpdateInstanceGroupOptions) SetHeaders added in v0.1.0

func (options *UpdateInstanceGroupOptions) SetHeaders(param map[string]string) *UpdateInstanceGroupOptions

SetHeaders : Allow user to set Headers

func (*UpdateInstanceGroupOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*UpdateInstanceGroupOptions) SetInstanceGroupPatch added in v0.2.0

func (_options *UpdateInstanceGroupOptions) SetInstanceGroupPatch(instanceGroupPatch map[string]interface{}) *UpdateInstanceGroupOptions

SetInstanceGroupPatch : Allow user to set InstanceGroupPatch

type UpdateInstanceNetworkAttachmentOptions added in v0.47.0

type UpdateInstanceNetworkAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance network attachment patch.
	InstanceNetworkAttachmentPatch map[string]interface{} `json:"InstanceNetworkAttachment_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceNetworkAttachmentOptions : The UpdateInstanceNetworkAttachment options.

func (*UpdateInstanceNetworkAttachmentOptions) SetHeaders added in v0.47.0

SetHeaders : Allow user to set Headers

func (*UpdateInstanceNetworkAttachmentOptions) SetID added in v0.47.0

SetID : Allow user to set ID

func (*UpdateInstanceNetworkAttachmentOptions) SetInstanceID added in v0.47.0

SetInstanceID : Allow user to set InstanceID

func (*UpdateInstanceNetworkAttachmentOptions) SetInstanceNetworkAttachmentPatch added in v0.47.0

func (_options *UpdateInstanceNetworkAttachmentOptions) SetInstanceNetworkAttachmentPatch(instanceNetworkAttachmentPatch map[string]interface{}) *UpdateInstanceNetworkAttachmentOptions

SetInstanceNetworkAttachmentPatch : Allow user to set InstanceNetworkAttachmentPatch

type UpdateInstanceNetworkInterfaceOptions

type UpdateInstanceNetworkInterfaceOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The instance network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance network interface patch.
	NetworkInterfacePatch map[string]interface{} `json:"NetworkInterface_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceNetworkInterfaceOptions : The UpdateInstanceNetworkInterface options.

func (*UpdateInstanceNetworkInterfaceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateInstanceNetworkInterfaceOptions) SetID

SetID : Allow user to set ID

func (*UpdateInstanceNetworkInterfaceOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*UpdateInstanceNetworkInterfaceOptions) SetNetworkInterfacePatch added in v0.2.0

func (_options *UpdateInstanceNetworkInterfaceOptions) SetNetworkInterfacePatch(networkInterfacePatch map[string]interface{}) *UpdateInstanceNetworkInterfaceOptions

SetNetworkInterfacePatch : Allow user to set NetworkInterfacePatch

type UpdateInstanceOptions

type UpdateInstanceOptions struct {
	// The virtual server instance identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance patch.
	InstancePatch map[string]interface{} `json:"Instance_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceOptions : The UpdateInstance options.

func (*UpdateInstanceOptions) SetHeaders

func (options *UpdateInstanceOptions) SetHeaders(param map[string]string) *UpdateInstanceOptions

SetHeaders : Allow user to set Headers

func (*UpdateInstanceOptions) SetID

func (_options *UpdateInstanceOptions) SetID(id string) *UpdateInstanceOptions

SetID : Allow user to set ID

func (*UpdateInstanceOptions) SetIfMatch added in v0.48.0

func (_options *UpdateInstanceOptions) SetIfMatch(ifMatch string) *UpdateInstanceOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateInstanceOptions) SetInstancePatch added in v0.2.0

func (_options *UpdateInstanceOptions) SetInstancePatch(instancePatch map[string]interface{}) *UpdateInstanceOptions

SetInstancePatch : Allow user to set InstancePatch

type UpdateInstanceTemplateOptions added in v0.1.0

type UpdateInstanceTemplateOptions struct {
	// The instance template identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The instance template patch.
	InstanceTemplatePatch map[string]interface{} `json:"InstanceTemplate_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceTemplateOptions : The UpdateInstanceTemplate options.

func (*UpdateInstanceTemplateOptions) SetHeaders added in v0.1.0

SetHeaders : Allow user to set Headers

func (*UpdateInstanceTemplateOptions) SetID added in v0.1.0

SetID : Allow user to set ID

func (*UpdateInstanceTemplateOptions) SetInstanceTemplatePatch added in v0.2.0

func (_options *UpdateInstanceTemplateOptions) SetInstanceTemplatePatch(instanceTemplatePatch map[string]interface{}) *UpdateInstanceTemplateOptions

SetInstanceTemplatePatch : Allow user to set InstanceTemplatePatch

type UpdateInstanceVolumeAttachmentOptions

type UpdateInstanceVolumeAttachmentOptions struct {
	// The virtual server instance identifier.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The volume attachment identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The volume attachment patch.
	VolumeAttachmentPatch map[string]interface{} `json:"VolumeAttachment_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateInstanceVolumeAttachmentOptions : The UpdateInstanceVolumeAttachment options.

func (*UpdateInstanceVolumeAttachmentOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateInstanceVolumeAttachmentOptions) SetID

SetID : Allow user to set ID

func (*UpdateInstanceVolumeAttachmentOptions) SetInstanceID

SetInstanceID : Allow user to set InstanceID

func (*UpdateInstanceVolumeAttachmentOptions) SetVolumeAttachmentPatch added in v0.2.0

func (_options *UpdateInstanceVolumeAttachmentOptions) SetVolumeAttachmentPatch(volumeAttachmentPatch map[string]interface{}) *UpdateInstanceVolumeAttachmentOptions

SetVolumeAttachmentPatch : Allow user to set VolumeAttachmentPatch

type UpdateIpsecPolicyOptions

type UpdateIpsecPolicyOptions struct {
	// The IPsec policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The IPsec policy patch.
	IPsecPolicyPatch map[string]interface{} `json:"IPsecPolicy_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateIpsecPolicyOptions : The UpdateIpsecPolicy options.

func (*UpdateIpsecPolicyOptions) SetHeaders

func (options *UpdateIpsecPolicyOptions) SetHeaders(param map[string]string) *UpdateIpsecPolicyOptions

SetHeaders : Allow user to set Headers

func (*UpdateIpsecPolicyOptions) SetID

SetID : Allow user to set ID

func (*UpdateIpsecPolicyOptions) SetIPsecPolicyPatch added in v0.2.0

func (_options *UpdateIpsecPolicyOptions) SetIPsecPolicyPatch(iPsecPolicyPatch map[string]interface{}) *UpdateIpsecPolicyOptions

SetIPsecPolicyPatch : Allow user to set IPsecPolicyPatch

type UpdateKeyOptions

type UpdateKeyOptions struct {
	// The key identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The key patch.
	KeyPatch map[string]interface{} `json:"Key_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateKeyOptions : The UpdateKey options.

func (*UpdateKeyOptions) SetHeaders

func (options *UpdateKeyOptions) SetHeaders(param map[string]string) *UpdateKeyOptions

SetHeaders : Allow user to set Headers

func (*UpdateKeyOptions) SetID

func (_options *UpdateKeyOptions) SetID(id string) *UpdateKeyOptions

SetID : Allow user to set ID

func (*UpdateKeyOptions) SetKeyPatch added in v0.2.0

func (_options *UpdateKeyOptions) SetKeyPatch(keyPatch map[string]interface{}) *UpdateKeyOptions

SetKeyPatch : Allow user to set KeyPatch

type UpdateLoadBalancerListenerOptions

type UpdateLoadBalancerListenerOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The load balancer listener patch.
	LoadBalancerListenerPatch map[string]interface{} `json:"LoadBalancerListener_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerListenerOptions : The UpdateLoadBalancerListener options.

func (*UpdateLoadBalancerListenerOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerListenerOptions) SetID

SetID : Allow user to set ID

func (*UpdateLoadBalancerListenerOptions) SetLoadBalancerID

func (_options *UpdateLoadBalancerListenerOptions) SetLoadBalancerID(loadBalancerID string) *UpdateLoadBalancerListenerOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*UpdateLoadBalancerListenerOptions) SetLoadBalancerListenerPatch added in v0.2.0

func (_options *UpdateLoadBalancerListenerOptions) SetLoadBalancerListenerPatch(loadBalancerListenerPatch map[string]interface{}) *UpdateLoadBalancerListenerOptions

SetLoadBalancerListenerPatch : Allow user to set LoadBalancerListenerPatch

type UpdateLoadBalancerListenerPolicyOptions

type UpdateLoadBalancerListenerPolicyOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The listener policy patch.
	LoadBalancerListenerPolicyPatch map[string]interface{} `json:"LoadBalancerListenerPolicy_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerListenerPolicyOptions : The UpdateLoadBalancerListenerPolicy options.

func (*UpdateLoadBalancerListenerPolicyOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerListenerPolicyOptions) SetID

SetID : Allow user to set ID

func (*UpdateLoadBalancerListenerPolicyOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*UpdateLoadBalancerListenerPolicyOptions) SetLoadBalancerID

func (_options *UpdateLoadBalancerListenerPolicyOptions) SetLoadBalancerID(loadBalancerID string) *UpdateLoadBalancerListenerPolicyOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*UpdateLoadBalancerListenerPolicyOptions) SetLoadBalancerListenerPolicyPatch added in v0.2.0

func (_options *UpdateLoadBalancerListenerPolicyOptions) SetLoadBalancerListenerPolicyPatch(loadBalancerListenerPolicyPatch map[string]interface{}) *UpdateLoadBalancerListenerPolicyOptions

SetLoadBalancerListenerPolicyPatch : Allow user to set LoadBalancerListenerPolicyPatch

type UpdateLoadBalancerListenerPolicyRuleOptions

type UpdateLoadBalancerListenerPolicyRuleOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The listener identifier.
	ListenerID *string `json:"listener_id" validate:"required,ne="`

	// The policy identifier.
	PolicyID *string `json:"policy_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The listener policy rule patch.
	LoadBalancerListenerPolicyRulePatch map[string]interface{} `json:"LoadBalancerListenerPolicyRule_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerListenerPolicyRuleOptions : The UpdateLoadBalancerListenerPolicyRule options.

func (*UpdateLoadBalancerListenerPolicyRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerListenerPolicyRuleOptions) SetID

SetID : Allow user to set ID

func (*UpdateLoadBalancerListenerPolicyRuleOptions) SetListenerID

SetListenerID : Allow user to set ListenerID

func (*UpdateLoadBalancerListenerPolicyRuleOptions) SetLoadBalancerID

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*UpdateLoadBalancerListenerPolicyRuleOptions) SetLoadBalancerListenerPolicyRulePatch added in v0.2.0

func (_options *UpdateLoadBalancerListenerPolicyRuleOptions) SetLoadBalancerListenerPolicyRulePatch(loadBalancerListenerPolicyRulePatch map[string]interface{}) *UpdateLoadBalancerListenerPolicyRuleOptions

SetLoadBalancerListenerPolicyRulePatch : Allow user to set LoadBalancerListenerPolicyRulePatch

func (*UpdateLoadBalancerListenerPolicyRuleOptions) SetPolicyID

SetPolicyID : Allow user to set PolicyID

type UpdateLoadBalancerOptions

type UpdateLoadBalancerOptions struct {
	// The load balancer identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The load balancer patch.
	LoadBalancerPatch map[string]interface{} `json:"LoadBalancer_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerOptions : The UpdateLoadBalancer options.

func (*UpdateLoadBalancerOptions) SetHeaders

func (options *UpdateLoadBalancerOptions) SetHeaders(param map[string]string) *UpdateLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerOptions) SetID

SetID : Allow user to set ID

func (*UpdateLoadBalancerOptions) SetIfMatch added in v0.24.0

func (_options *UpdateLoadBalancerOptions) SetIfMatch(ifMatch string) *UpdateLoadBalancerOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateLoadBalancerOptions) SetLoadBalancerPatch added in v0.2.0

func (_options *UpdateLoadBalancerOptions) SetLoadBalancerPatch(loadBalancerPatch map[string]interface{}) *UpdateLoadBalancerOptions

SetLoadBalancerPatch : Allow user to set LoadBalancerPatch

type UpdateLoadBalancerPoolMemberOptions

type UpdateLoadBalancerPoolMemberOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// The member identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The load balancer pool member patch.
	LoadBalancerPoolMemberPatch map[string]interface{} `json:"LoadBalancerPoolMember_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerPoolMemberOptions : The UpdateLoadBalancerPoolMember options.

func (*UpdateLoadBalancerPoolMemberOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerPoolMemberOptions) SetID

SetID : Allow user to set ID

func (*UpdateLoadBalancerPoolMemberOptions) SetLoadBalancerID

func (_options *UpdateLoadBalancerPoolMemberOptions) SetLoadBalancerID(loadBalancerID string) *UpdateLoadBalancerPoolMemberOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*UpdateLoadBalancerPoolMemberOptions) SetLoadBalancerPoolMemberPatch added in v0.2.0

func (_options *UpdateLoadBalancerPoolMemberOptions) SetLoadBalancerPoolMemberPatch(loadBalancerPoolMemberPatch map[string]interface{}) *UpdateLoadBalancerPoolMemberOptions

SetLoadBalancerPoolMemberPatch : Allow user to set LoadBalancerPoolMemberPatch

func (*UpdateLoadBalancerPoolMemberOptions) SetPoolID

SetPoolID : Allow user to set PoolID

type UpdateLoadBalancerPoolOptions

type UpdateLoadBalancerPoolOptions struct {
	// The load balancer identifier.
	LoadBalancerID *string `json:"load_balancer_id" validate:"required,ne="`

	// The pool identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The load balancer pool patch.
	LoadBalancerPoolPatch map[string]interface{} `json:"LoadBalancerPool_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerPoolOptions : The UpdateLoadBalancerPool options.

func (*UpdateLoadBalancerPoolOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerPoolOptions) SetID

SetID : Allow user to set ID

func (*UpdateLoadBalancerPoolOptions) SetLoadBalancerID

func (_options *UpdateLoadBalancerPoolOptions) SetLoadBalancerID(loadBalancerID string) *UpdateLoadBalancerPoolOptions

SetLoadBalancerID : Allow user to set LoadBalancerID

func (*UpdateLoadBalancerPoolOptions) SetLoadBalancerPoolPatch added in v0.2.0

func (_options *UpdateLoadBalancerPoolOptions) SetLoadBalancerPoolPatch(loadBalancerPoolPatch map[string]interface{}) *UpdateLoadBalancerPoolOptions

SetLoadBalancerPoolPatch : Allow user to set LoadBalancerPoolPatch

type UpdateNetworkACLOptions

type UpdateNetworkACLOptions struct {
	// The network ACL identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The network ACL patch.
	NetworkACLPatch map[string]interface{} `json:"NetworkACL_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateNetworkACLOptions : The UpdateNetworkACL options.

func (*UpdateNetworkACLOptions) SetHeaders

func (options *UpdateNetworkACLOptions) SetHeaders(param map[string]string) *UpdateNetworkACLOptions

SetHeaders : Allow user to set Headers

func (*UpdateNetworkACLOptions) SetID

SetID : Allow user to set ID

func (*UpdateNetworkACLOptions) SetNetworkACLPatch added in v0.2.0

func (_options *UpdateNetworkACLOptions) SetNetworkACLPatch(networkACLPatch map[string]interface{}) *UpdateNetworkACLOptions

SetNetworkACLPatch : Allow user to set NetworkACLPatch

type UpdateNetworkACLRuleOptions

type UpdateNetworkACLRuleOptions struct {
	// The network ACL identifier.
	NetworkACLID *string `json:"network_acl_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The network ACL rule patch.
	NetworkACLRulePatch map[string]interface{} `json:"NetworkACLRule_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateNetworkACLRuleOptions : The UpdateNetworkACLRule options.

func (*UpdateNetworkACLRuleOptions) SetHeaders

func (options *UpdateNetworkACLRuleOptions) SetHeaders(param map[string]string) *UpdateNetworkACLRuleOptions

SetHeaders : Allow user to set Headers

func (*UpdateNetworkACLRuleOptions) SetID

SetID : Allow user to set ID

func (*UpdateNetworkACLRuleOptions) SetNetworkACLID

func (_options *UpdateNetworkACLRuleOptions) SetNetworkACLID(networkACLID string) *UpdateNetworkACLRuleOptions

SetNetworkACLID : Allow user to set NetworkACLID

func (*UpdateNetworkACLRuleOptions) SetNetworkACLRulePatch added in v0.2.0

func (_options *UpdateNetworkACLRuleOptions) SetNetworkACLRulePatch(networkACLRulePatch map[string]interface{}) *UpdateNetworkACLRuleOptions

SetNetworkACLRulePatch : Allow user to set NetworkACLRulePatch

type UpdatePlacementGroupOptions added in v0.9.0

type UpdatePlacementGroupOptions struct {
	// The placement group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The placement group patch.
	PlacementGroupPatch map[string]interface{} `json:"PlacementGroup_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdatePlacementGroupOptions : The UpdatePlacementGroup options.

func (*UpdatePlacementGroupOptions) SetHeaders added in v0.9.0

func (options *UpdatePlacementGroupOptions) SetHeaders(param map[string]string) *UpdatePlacementGroupOptions

SetHeaders : Allow user to set Headers

func (*UpdatePlacementGroupOptions) SetID added in v0.9.0

SetID : Allow user to set ID

func (*UpdatePlacementGroupOptions) SetPlacementGroupPatch added in v0.9.0

func (_options *UpdatePlacementGroupOptions) SetPlacementGroupPatch(placementGroupPatch map[string]interface{}) *UpdatePlacementGroupOptions

SetPlacementGroupPatch : Allow user to set PlacementGroupPatch

type UpdatePublicGatewayOptions

type UpdatePublicGatewayOptions struct {
	// The public gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The public gateway patch.
	PublicGatewayPatch map[string]interface{} `json:"PublicGateway_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdatePublicGatewayOptions : The UpdatePublicGateway options.

func (*UpdatePublicGatewayOptions) SetHeaders

func (options *UpdatePublicGatewayOptions) SetHeaders(param map[string]string) *UpdatePublicGatewayOptions

SetHeaders : Allow user to set Headers

func (*UpdatePublicGatewayOptions) SetID

SetID : Allow user to set ID

func (*UpdatePublicGatewayOptions) SetPublicGatewayPatch added in v0.2.0

func (_options *UpdatePublicGatewayOptions) SetPublicGatewayPatch(publicGatewayPatch map[string]interface{}) *UpdatePublicGatewayOptions

SetPublicGatewayPatch : Allow user to set PublicGatewayPatch

type UpdateReservationOptions added in v0.48.0

type UpdateReservationOptions struct {
	// The reservation identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The reservation patch.
	ReservationPatch map[string]interface{} `json:"Reservation_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateReservationOptions : The UpdateReservation options.

func (*UpdateReservationOptions) SetHeaders added in v0.48.0

func (options *UpdateReservationOptions) SetHeaders(param map[string]string) *UpdateReservationOptions

SetHeaders : Allow user to set Headers

func (*UpdateReservationOptions) SetID added in v0.48.0

SetID : Allow user to set ID

func (*UpdateReservationOptions) SetReservationPatch added in v0.48.0

func (_options *UpdateReservationOptions) SetReservationPatch(reservationPatch map[string]interface{}) *UpdateReservationOptions

SetReservationPatch : Allow user to set ReservationPatch

type UpdateSecurityGroupOptions

type UpdateSecurityGroupOptions struct {
	// The security group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The security group patch.
	SecurityGroupPatch map[string]interface{} `json:"SecurityGroup_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSecurityGroupOptions : The UpdateSecurityGroup options.

func (*UpdateSecurityGroupOptions) SetHeaders

func (options *UpdateSecurityGroupOptions) SetHeaders(param map[string]string) *UpdateSecurityGroupOptions

SetHeaders : Allow user to set Headers

func (*UpdateSecurityGroupOptions) SetID

SetID : Allow user to set ID

func (*UpdateSecurityGroupOptions) SetSecurityGroupPatch added in v0.2.0

func (_options *UpdateSecurityGroupOptions) SetSecurityGroupPatch(securityGroupPatch map[string]interface{}) *UpdateSecurityGroupOptions

SetSecurityGroupPatch : Allow user to set SecurityGroupPatch

type UpdateSecurityGroupRuleOptions

type UpdateSecurityGroupRuleOptions struct {
	// The security group identifier.
	SecurityGroupID *string `json:"security_group_id" validate:"required,ne="`

	// The rule identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The security group rule patch.
	SecurityGroupRulePatch map[string]interface{} `json:"SecurityGroupRule_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSecurityGroupRuleOptions : The UpdateSecurityGroupRule options.

func (*UpdateSecurityGroupRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateSecurityGroupRuleOptions) SetID

SetID : Allow user to set ID

func (*UpdateSecurityGroupRuleOptions) SetSecurityGroupID

func (_options *UpdateSecurityGroupRuleOptions) SetSecurityGroupID(securityGroupID string) *UpdateSecurityGroupRuleOptions

SetSecurityGroupID : Allow user to set SecurityGroupID

func (*UpdateSecurityGroupRuleOptions) SetSecurityGroupRulePatch added in v0.2.0

func (_options *UpdateSecurityGroupRuleOptions) SetSecurityGroupRulePatch(securityGroupRulePatch map[string]interface{}) *UpdateSecurityGroupRuleOptions

SetSecurityGroupRulePatch : Allow user to set SecurityGroupRulePatch

type UpdateShareMountTargetOptions added in v0.41.0

type UpdateShareMountTargetOptions struct {
	// The file share identifier.
	ShareID *string `json:"share_id" validate:"required,ne="`

	// The share mount target identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The share mount target patch.
	ShareMountTargetPatch map[string]interface{} `json:"ShareMountTarget_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateShareMountTargetOptions : The UpdateShareMountTarget options.

func (*UpdateShareMountTargetOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*UpdateShareMountTargetOptions) SetID added in v0.41.0

SetID : Allow user to set ID

func (*UpdateShareMountTargetOptions) SetShareID added in v0.41.0

SetShareID : Allow user to set ShareID

func (*UpdateShareMountTargetOptions) SetShareMountTargetPatch added in v0.41.0

func (_options *UpdateShareMountTargetOptions) SetShareMountTargetPatch(shareMountTargetPatch map[string]interface{}) *UpdateShareMountTargetOptions

SetShareMountTargetPatch : Allow user to set ShareMountTargetPatch

type UpdateShareOptions added in v0.41.0

type UpdateShareOptions struct {
	// The file share identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The file share patch.
	SharePatch map[string]interface{} `json:"Share_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateShareOptions : The UpdateShare options.

func (*UpdateShareOptions) SetHeaders added in v0.41.0

func (options *UpdateShareOptions) SetHeaders(param map[string]string) *UpdateShareOptions

SetHeaders : Allow user to set Headers

func (*UpdateShareOptions) SetID added in v0.41.0

func (_options *UpdateShareOptions) SetID(id string) *UpdateShareOptions

SetID : Allow user to set ID

func (*UpdateShareOptions) SetIfMatch added in v0.41.0

func (_options *UpdateShareOptions) SetIfMatch(ifMatch string) *UpdateShareOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateShareOptions) SetSharePatch added in v0.41.0

func (_options *UpdateShareOptions) SetSharePatch(sharePatch map[string]interface{}) *UpdateShareOptions

SetSharePatch : Allow user to set SharePatch

type UpdateSnapshotConsistencyGroupOptions added in v0.45.0

type UpdateSnapshotConsistencyGroupOptions struct {
	// The snapshot consistency group identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The snapshot consistency group patch.
	SnapshotConsistencyGroupPatch map[string]interface{} `json:"SnapshotConsistencyGroup_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSnapshotConsistencyGroupOptions : The UpdateSnapshotConsistencyGroup options.

func (*UpdateSnapshotConsistencyGroupOptions) SetHeaders added in v0.45.0

SetHeaders : Allow user to set Headers

func (*UpdateSnapshotConsistencyGroupOptions) SetID added in v0.45.0

SetID : Allow user to set ID

func (*UpdateSnapshotConsistencyGroupOptions) SetIfMatch added in v0.45.0

SetIfMatch : Allow user to set IfMatch

func (*UpdateSnapshotConsistencyGroupOptions) SetSnapshotConsistencyGroupPatch added in v0.45.0

func (_options *UpdateSnapshotConsistencyGroupOptions) SetSnapshotConsistencyGroupPatch(snapshotConsistencyGroupPatch map[string]interface{}) *UpdateSnapshotConsistencyGroupOptions

SetSnapshotConsistencyGroupPatch : Allow user to set SnapshotConsistencyGroupPatch

type UpdateSnapshotOptions added in v0.7.0

type UpdateSnapshotOptions struct {
	// The snapshot identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The snapshot patch.
	SnapshotPatch map[string]interface{} `json:"Snapshot_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSnapshotOptions : The UpdateSnapshot options.

func (*UpdateSnapshotOptions) SetHeaders added in v0.7.0

func (options *UpdateSnapshotOptions) SetHeaders(param map[string]string) *UpdateSnapshotOptions

SetHeaders : Allow user to set Headers

func (*UpdateSnapshotOptions) SetID added in v0.7.0

func (_options *UpdateSnapshotOptions) SetID(id string) *UpdateSnapshotOptions

SetID : Allow user to set ID

func (*UpdateSnapshotOptions) SetIfMatch added in v0.20.0

func (_options *UpdateSnapshotOptions) SetIfMatch(ifMatch string) *UpdateSnapshotOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateSnapshotOptions) SetSnapshotPatch added in v0.7.0

func (_options *UpdateSnapshotOptions) SetSnapshotPatch(snapshotPatch map[string]interface{}) *UpdateSnapshotOptions

SetSnapshotPatch : Allow user to set SnapshotPatch

type UpdateSubnetOptions

type UpdateSubnetOptions struct {
	// The subnet identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The subnet patch.
	SubnetPatch map[string]interface{} `json:"Subnet_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSubnetOptions : The UpdateSubnet options.

func (*UpdateSubnetOptions) SetHeaders

func (options *UpdateSubnetOptions) SetHeaders(param map[string]string) *UpdateSubnetOptions

SetHeaders : Allow user to set Headers

func (*UpdateSubnetOptions) SetID

func (_options *UpdateSubnetOptions) SetID(id string) *UpdateSubnetOptions

SetID : Allow user to set ID

func (*UpdateSubnetOptions) SetSubnetPatch added in v0.2.0

func (_options *UpdateSubnetOptions) SetSubnetPatch(subnetPatch map[string]interface{}) *UpdateSubnetOptions

SetSubnetPatch : Allow user to set SubnetPatch

type UpdateSubnetReservedIPOptions added in v0.3.0

type UpdateSubnetReservedIPOptions struct {
	// The subnet identifier.
	SubnetID *string `json:"subnet_id" validate:"required,ne="`

	// The reserved IP identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The reserved IP patch.
	ReservedIPPatch map[string]interface{} `json:"ReservedIP_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSubnetReservedIPOptions : The UpdateSubnetReservedIP options.

func (*UpdateSubnetReservedIPOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*UpdateSubnetReservedIPOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*UpdateSubnetReservedIPOptions) SetReservedIPPatch added in v0.3.0

func (_options *UpdateSubnetReservedIPOptions) SetReservedIPPatch(reservedIPPatch map[string]interface{}) *UpdateSubnetReservedIPOptions

SetReservedIPPatch : Allow user to set ReservedIPPatch

func (*UpdateSubnetReservedIPOptions) SetSubnetID added in v0.3.0

func (_options *UpdateSubnetReservedIPOptions) SetSubnetID(subnetID string) *UpdateSubnetReservedIPOptions

SetSubnetID : Allow user to set SubnetID

type UpdateVPCAddressPrefixOptions

type UpdateVPCAddressPrefixOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The prefix identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The prefix patch.
	AddressPrefixPatch map[string]interface{} `json:"AddressPrefix_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPCAddressPrefixOptions : The UpdateVPCAddressPrefix options.

func (*UpdateVPCAddressPrefixOptions) SetAddressPrefixPatch added in v0.2.0

func (_options *UpdateVPCAddressPrefixOptions) SetAddressPrefixPatch(addressPrefixPatch map[string]interface{}) *UpdateVPCAddressPrefixOptions

SetAddressPrefixPatch : Allow user to set AddressPrefixPatch

func (*UpdateVPCAddressPrefixOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateVPCAddressPrefixOptions) SetID

SetID : Allow user to set ID

func (*UpdateVPCAddressPrefixOptions) SetVPCID

SetVPCID : Allow user to set VPCID

type UpdateVPCDnsResolutionBindingOptions added in v0.43.0

type UpdateVPCDnsResolutionBindingOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The DNS resolution binding identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The DNS resolution binding patch.
	VpcdnsResolutionBindingPatch map[string]interface{} `json:"VpcdnsResolutionBinding_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPCDnsResolutionBindingOptions : The UpdateVPCDnsResolutionBinding options.

func (*UpdateVPCDnsResolutionBindingOptions) SetHeaders added in v0.43.0

SetHeaders : Allow user to set Headers

func (*UpdateVPCDnsResolutionBindingOptions) SetID added in v0.43.0

SetID : Allow user to set ID

func (*UpdateVPCDnsResolutionBindingOptions) SetVPCID added in v0.43.0

SetVPCID : Allow user to set VPCID

func (*UpdateVPCDnsResolutionBindingOptions) SetVpcdnsResolutionBindingPatch added in v0.43.0

func (_options *UpdateVPCDnsResolutionBindingOptions) SetVpcdnsResolutionBindingPatch(vpcdnsResolutionBindingPatch map[string]interface{}) *UpdateVPCDnsResolutionBindingOptions

SetVpcdnsResolutionBindingPatch : Allow user to set VpcdnsResolutionBindingPatch

type UpdateVPCOptions

type UpdateVPCOptions struct {
	// The VPC identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The VPC patch.
	VPCPatch map[string]interface{} `json:"VPC_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPCOptions : The UpdateVPC options.

func (*UpdateVPCOptions) SetHeaders

func (options *UpdateVPCOptions) SetHeaders(param map[string]string) *UpdateVPCOptions

SetHeaders : Allow user to set Headers

func (*UpdateVPCOptions) SetID

func (_options *UpdateVPCOptions) SetID(id string) *UpdateVPCOptions

SetID : Allow user to set ID

func (*UpdateVPCOptions) SetIfMatch added in v0.43.0

func (_options *UpdateVPCOptions) SetIfMatch(ifMatch string) *UpdateVPCOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateVPCOptions) SetVPCPatch added in v0.2.0

func (_options *UpdateVPCOptions) SetVPCPatch(vpcPatch map[string]interface{}) *UpdateVPCOptions

SetVPCPatch : Allow user to set VPCPatch

type UpdateVPCRouteOptions

type UpdateVPCRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The route patch.
	RoutePatch map[string]interface{} `json:"Route_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPCRouteOptions : The UpdateVPCRoute options.

func (*UpdateVPCRouteOptions) SetHeaders

func (options *UpdateVPCRouteOptions) SetHeaders(param map[string]string) *UpdateVPCRouteOptions

SetHeaders : Allow user to set Headers

func (*UpdateVPCRouteOptions) SetID

func (_options *UpdateVPCRouteOptions) SetID(id string) *UpdateVPCRouteOptions

SetID : Allow user to set ID

func (*UpdateVPCRouteOptions) SetRoutePatch added in v0.2.0

func (_options *UpdateVPCRouteOptions) SetRoutePatch(routePatch map[string]interface{}) *UpdateVPCRouteOptions

SetRoutePatch : Allow user to set RoutePatch

func (*UpdateVPCRouteOptions) SetVPCID

func (_options *UpdateVPCRouteOptions) SetVPCID(vpcID string) *UpdateVPCRouteOptions

SetVPCID : Allow user to set VPCID

type UpdateVPCRoutingTableOptions added in v0.3.0

type UpdateVPCRoutingTableOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The routing table patch.
	RoutingTablePatch map[string]interface{} `json:"RoutingTable_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPCRoutingTableOptions : The UpdateVPCRoutingTable options.

func (*UpdateVPCRoutingTableOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*UpdateVPCRoutingTableOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*UpdateVPCRoutingTableOptions) SetIfMatch added in v0.22.0

func (_options *UpdateVPCRoutingTableOptions) SetIfMatch(ifMatch string) *UpdateVPCRoutingTableOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateVPCRoutingTableOptions) SetRoutingTablePatch added in v0.3.0

func (_options *UpdateVPCRoutingTableOptions) SetRoutingTablePatch(routingTablePatch map[string]interface{}) *UpdateVPCRoutingTableOptions

SetRoutingTablePatch : Allow user to set RoutingTablePatch

func (*UpdateVPCRoutingTableOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type UpdateVPCRoutingTableRouteOptions added in v0.3.0

type UpdateVPCRoutingTableRouteOptions struct {
	// The VPC identifier.
	VPCID *string `json:"vpc_id" validate:"required,ne="`

	// The routing table identifier.
	RoutingTableID *string `json:"routing_table_id" validate:"required,ne="`

	// The VPC routing table route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The VPC route patch.
	RoutePatch map[string]interface{} `json:"Route_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPCRoutingTableRouteOptions : The UpdateVPCRoutingTableRoute options.

func (*UpdateVPCRoutingTableRouteOptions) SetHeaders added in v0.3.0

SetHeaders : Allow user to set Headers

func (*UpdateVPCRoutingTableRouteOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*UpdateVPCRoutingTableRouteOptions) SetRoutePatch added in v0.3.0

func (_options *UpdateVPCRoutingTableRouteOptions) SetRoutePatch(routePatch map[string]interface{}) *UpdateVPCRoutingTableRouteOptions

SetRoutePatch : Allow user to set RoutePatch

func (*UpdateVPCRoutingTableRouteOptions) SetRoutingTableID added in v0.3.0

func (_options *UpdateVPCRoutingTableRouteOptions) SetRoutingTableID(routingTableID string) *UpdateVPCRoutingTableRouteOptions

SetRoutingTableID : Allow user to set RoutingTableID

func (*UpdateVPCRoutingTableRouteOptions) SetVPCID added in v0.3.0

SetVPCID : Allow user to set VPCID

type UpdateVPNGatewayConnectionOptions

type UpdateVPNGatewayConnectionOptions struct {
	// The VPN gateway identifier.
	VPNGatewayID *string `json:"vpn_gateway_id" validate:"required,ne="`

	// The VPN gateway connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The VPN gateway connection patch.
	VPNGatewayConnectionPatch map[string]interface{} `json:"VPNGatewayConnection_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPNGatewayConnectionOptions : The UpdateVPNGatewayConnection options.

func (*UpdateVPNGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateVPNGatewayConnectionOptions) SetID

SetID : Allow user to set ID

func (*UpdateVPNGatewayConnectionOptions) SetVPNGatewayConnectionPatch added in v0.2.0

func (_options *UpdateVPNGatewayConnectionOptions) SetVPNGatewayConnectionPatch(vpnGatewayConnectionPatch map[string]interface{}) *UpdateVPNGatewayConnectionOptions

SetVPNGatewayConnectionPatch : Allow user to set VPNGatewayConnectionPatch

func (*UpdateVPNGatewayConnectionOptions) SetVPNGatewayID

func (_options *UpdateVPNGatewayConnectionOptions) SetVPNGatewayID(vpnGatewayID string) *UpdateVPNGatewayConnectionOptions

SetVPNGatewayID : Allow user to set VPNGatewayID

type UpdateVPNGatewayOptions

type UpdateVPNGatewayOptions struct {
	// The VPN gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The VPN gateway patch.
	VPNGatewayPatch map[string]interface{} `json:"VPNGateway_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPNGatewayOptions : The UpdateVPNGateway options.

func (*UpdateVPNGatewayOptions) SetHeaders

func (options *UpdateVPNGatewayOptions) SetHeaders(param map[string]string) *UpdateVPNGatewayOptions

SetHeaders : Allow user to set Headers

func (*UpdateVPNGatewayOptions) SetID

SetID : Allow user to set ID

func (*UpdateVPNGatewayOptions) SetVPNGatewayPatch added in v0.2.0

func (_options *UpdateVPNGatewayOptions) SetVPNGatewayPatch(vpnGatewayPatch map[string]interface{}) *UpdateVPNGatewayOptions

SetVPNGatewayPatch : Allow user to set VPNGatewayPatch

type UpdateVPNServerOptions added in v0.22.0

type UpdateVPNServerOptions struct {
	// The VPN server identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The VPN server patch.
	VPNServerPatch map[string]interface{} `json:"VPNServer_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPNServerOptions : The UpdateVPNServer options.

func (*UpdateVPNServerOptions) SetHeaders added in v0.22.0

func (options *UpdateVPNServerOptions) SetHeaders(param map[string]string) *UpdateVPNServerOptions

SetHeaders : Allow user to set Headers

func (*UpdateVPNServerOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*UpdateVPNServerOptions) SetIfMatch added in v0.22.0

func (_options *UpdateVPNServerOptions) SetIfMatch(ifMatch string) *UpdateVPNServerOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateVPNServerOptions) SetVPNServerPatch added in v0.22.0

func (_options *UpdateVPNServerOptions) SetVPNServerPatch(vpnServerPatch map[string]interface{}) *UpdateVPNServerOptions

SetVPNServerPatch : Allow user to set VPNServerPatch

type UpdateVPNServerRouteOptions added in v0.22.0

type UpdateVPNServerRouteOptions struct {
	// The VPN server identifier.
	VPNServerID *string `json:"vpn_server_id" validate:"required,ne="`

	// The VPN route identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The VPN route patch.
	VPNServerRoutePatch map[string]interface{} `json:"VPNServerRoute_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVPNServerRouteOptions : The UpdateVPNServerRoute options.

func (*UpdateVPNServerRouteOptions) SetHeaders added in v0.22.0

func (options *UpdateVPNServerRouteOptions) SetHeaders(param map[string]string) *UpdateVPNServerRouteOptions

SetHeaders : Allow user to set Headers

func (*UpdateVPNServerRouteOptions) SetID added in v0.22.0

SetID : Allow user to set ID

func (*UpdateVPNServerRouteOptions) SetVPNServerID added in v0.22.0

func (_options *UpdateVPNServerRouteOptions) SetVPNServerID(vpnServerID string) *UpdateVPNServerRouteOptions

SetVPNServerID : Allow user to set VPNServerID

func (*UpdateVPNServerRouteOptions) SetVPNServerRoutePatch added in v0.22.0

func (_options *UpdateVPNServerRouteOptions) SetVPNServerRoutePatch(vpnServerRoutePatch map[string]interface{}) *UpdateVPNServerRouteOptions

SetVPNServerRoutePatch : Allow user to set VPNServerRoutePatch

type UpdateVirtualNetworkInterfaceOptions added in v0.41.0

type UpdateVirtualNetworkInterfaceOptions struct {
	// The virtual network interface identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The virtual network interface patch.
	VirtualNetworkInterfacePatch map[string]interface{} `json:"VirtualNetworkInterface_patch" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVirtualNetworkInterfaceOptions : The UpdateVirtualNetworkInterface options.

func (*UpdateVirtualNetworkInterfaceOptions) SetHeaders added in v0.41.0

SetHeaders : Allow user to set Headers

func (*UpdateVirtualNetworkInterfaceOptions) SetID added in v0.41.0

SetID : Allow user to set ID

func (*UpdateVirtualNetworkInterfaceOptions) SetVirtualNetworkInterfacePatch added in v0.41.0

func (_options *UpdateVirtualNetworkInterfaceOptions) SetVirtualNetworkInterfacePatch(virtualNetworkInterfacePatch map[string]interface{}) *UpdateVirtualNetworkInterfaceOptions

SetVirtualNetworkInterfacePatch : Allow user to set VirtualNetworkInterfacePatch

type UpdateVolumeOptions

type UpdateVolumeOptions struct {
	// The volume identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The volume patch.
	VolumePatch map[string]interface{} `json:"Volume_patch" validate:"required"`

	// If present, the request will fail if the specified ETag value does not match the resource's current ETag value.
	// Required if the request body includes an array.
	IfMatch *string `json:"If-Match,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVolumeOptions : The UpdateVolume options.

func (*UpdateVolumeOptions) SetHeaders

func (options *UpdateVolumeOptions) SetHeaders(param map[string]string) *UpdateVolumeOptions

SetHeaders : Allow user to set Headers

func (*UpdateVolumeOptions) SetID

func (_options *UpdateVolumeOptions) SetID(id string) *UpdateVolumeOptions

SetID : Allow user to set ID

func (*UpdateVolumeOptions) SetIfMatch added in v0.20.0

func (_options *UpdateVolumeOptions) SetIfMatch(ifMatch string) *UpdateVolumeOptions

SetIfMatch : Allow user to set IfMatch

func (*UpdateVolumeOptions) SetVolumePatch added in v0.2.0

func (_options *UpdateVolumeOptions) SetVolumePatch(volumePatch map[string]interface{}) *UpdateVolumeOptions

SetVolumePatch : Allow user to set VolumePatch

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 Classic Infrastructure resources. Only one VPC, per region, may be connected
	// in this way. This value is set at creation and subsequently immutable.
	ClassicAccess *bool `json:"classic_access" validate:"required"`

	// The date and time that the VPC was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`

	// The 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,omitempty"`

	// The default network ACL to use for subnets created in this VPC.
	DefaultNetworkACL *NetworkACLReference `json:"default_network_acl" validate:"required"`

	// The default routing table to use for subnets created in this VPC.
	DefaultRoutingTable *RoutingTableReference `json:"default_routing_table" validate:"required"`

	// The default security group for this VPC. Resources created in this VPC that allow
	// a security group to be optionally specified will use this security group by
	// default.
	DefaultSecurityGroup *SecurityGroupReference `json:"default_security_group" validate:"required"`

	// The DNS configuration for this VPC.
	Dns *Vpcdns `json:"dns" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VPCHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`

	// The name for this VPC. The name is unique across all VPCs in the region.
	Name *string `json:"name" validate:"required"`

	// The resource group for this VPC.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of this VPC.
	Status *string `json:"status" validate:"required"`
}

VPC : VPC struct

type VPCAddressPrefixesPager added in v0.25.0

type VPCAddressPrefixesPager struct {
	// contains filtered or unexported fields
}

VPCAddressPrefixesPager can be used to simplify the use of the "ListVPCAddressPrefixes" method.

func (*VPCAddressPrefixesPager) GetAll added in v0.25.0

func (pager *VPCAddressPrefixesPager) GetAll() (allItems []AddressPrefix, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPCAddressPrefixesPager) GetAllWithContext added in v0.25.0

func (pager *VPCAddressPrefixesPager) GetAllWithContext(ctx context.Context) (allItems []AddressPrefix, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPCAddressPrefixesPager) GetNext added in v0.25.0

func (pager *VPCAddressPrefixesPager) GetNext() (page []AddressPrefix, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPCAddressPrefixesPager) GetNextWithContext added in v0.25.0

func (pager *VPCAddressPrefixesPager) GetNextWithContext(ctx context.Context) (page []AddressPrefix, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPCAddressPrefixesPager) HasNext added in v0.25.0

func (pager *VPCAddressPrefixesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPCCollection

type VPCCollection struct {
	// A link to the first page of resources.
	First *VPCCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VPCCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Collection of VPCs.
	Vpcs []VPC `json:"vpcs" validate:"required"`
}

VPCCollection : VPCCollection struct

func (*VPCCollection) GetNextStart added in v0.8.0

func (resp *VPCCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VPCCollectionFirst

type VPCCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPCCollectionFirst : A link to the first page of resources.

type VPCCollectionNext

type VPCCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPCCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VPCDnsResolutionBindingsPager added in v0.43.0

type VPCDnsResolutionBindingsPager struct {
	// contains filtered or unexported fields
}

VPCDnsResolutionBindingsPager can be used to simplify the use of the "ListVPCDnsResolutionBindings" method.

func (*VPCDnsResolutionBindingsPager) GetAll added in v0.43.0

func (pager *VPCDnsResolutionBindingsPager) GetAll() (allItems []VpcdnsResolutionBinding, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPCDnsResolutionBindingsPager) GetAllWithContext added in v0.43.0

func (pager *VPCDnsResolutionBindingsPager) GetAllWithContext(ctx context.Context) (allItems []VpcdnsResolutionBinding, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPCDnsResolutionBindingsPager) GetNext added in v0.43.0

func (pager *VPCDnsResolutionBindingsPager) GetNext() (page []VpcdnsResolutionBinding, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPCDnsResolutionBindingsPager) GetNextWithContext added in v0.43.0

func (pager *VPCDnsResolutionBindingsPager) GetNextWithContext(ctx context.Context) (page []VpcdnsResolutionBinding, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPCDnsResolutionBindingsPager) HasNext added in v0.43.0

func (pager *VPCDnsResolutionBindingsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPCHealthReason added in v0.43.0

type VPCHealthReason struct {
	// A reason code for this health state.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPCHealthReason : VPCHealthReason struct

type VPCIdentity

type VPCIdentity struct {
	// The unique identifier for this VPC.
	ID *string `json:"id,omitempty"`

	// The CRN for this VPC.
	CRN *string `json:"crn,omitempty"`

	// The URL for this VPC.
	Href *string `json:"href,omitempty"`
}

VPCIdentity : Identifies a VPC by a unique property. Models which "extend" this model: - VPCIdentityByID - VPCIdentityByCRN - VPCIdentityByHref

type VPCIdentityByCRN

type VPCIdentityByCRN struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`
}

VPCIdentityByCRN : VPCIdentityByCRN struct This model "extends" VPCIdentity

type VPCIdentityByHref

type VPCIdentityByHref struct {
	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`
}

VPCIdentityByHref : VPCIdentityByHref struct This model "extends" VPCIdentity

type VPCIdentityByID

type VPCIdentityByID struct {
	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`
}

VPCIdentityByID : VPCIdentityByID struct This model "extends" VPCIdentity

type VPCIdentityIntf

type VPCIdentityIntf interface {
	// contains filtered or unexported methods
}

type VPCPatch added in v0.2.0

type VPCPatch struct {
	// The DNS configuration for this VPC.
	Dns *VpcdnsPatch `json:"dns,omitempty"`

	// The name for this VPC. The name must not be used by another VPC in the region.
	Name *string `json:"name,omitempty"`
}

VPCPatch : VPCPatch struct

func (*VPCPatch) AsPatch added in v0.2.0

func (vpcPatch *VPCPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VPCPatch

type VPCReference

type VPCReference struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPCReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`

	// The name for this VPC. The name is unique across all VPCs in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VPCReference : VPCReference struct

type VPCReferenceDeleted added in v0.3.0

type VPCReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VPCReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VPCReferenceDnsResolverContext added in v0.43.0

type VPCReferenceDnsResolverContext struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPCReferenceDnsResolverContextDeleted `json:"deleted,omitempty"`

	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`

	// The name for this VPC. The name is unique across all VPCs in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *VPCRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VPCReferenceDnsResolverContext : A VPC whose DNS resolver is delegated to provide DNS servers for this VPC.

The VPC may be remote and therefore may not be directly retrievable.

type VPCReferenceDnsResolverContextDeleted added in v0.43.0

type VPCReferenceDnsResolverContextDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VPCReferenceDnsResolverContextDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VPCReferenceRemote added in v0.43.0

type VPCReferenceRemote struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`

	// The name for this VPC. The name is unique across all VPCs in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *VPCRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VPCReferenceRemote : VPCReferenceRemote struct

type VPCRemote added in v0.43.0

type VPCRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// account, and identifies the owning account.
	Account *AccountReference `json:"account,omitempty"`

	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

VPCRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type VPCRoutesPager added in v0.25.0

type VPCRoutesPager struct {
	// contains filtered or unexported fields
}

VPCRoutesPager can be used to simplify the use of the "ListVPCRoutes" method.

func (*VPCRoutesPager) GetAll added in v0.25.0

func (pager *VPCRoutesPager) GetAll() (allItems []RouteCollectionVPCContextRoutesItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPCRoutesPager) GetAllWithContext added in v0.25.0

func (pager *VPCRoutesPager) GetAllWithContext(ctx context.Context) (allItems []RouteCollectionVPCContextRoutesItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPCRoutesPager) GetNext added in v0.25.0

func (pager *VPCRoutesPager) GetNext() (page []RouteCollectionVPCContextRoutesItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPCRoutesPager) GetNextWithContext added in v0.25.0

func (pager *VPCRoutesPager) GetNextWithContext(ctx context.Context) (page []RouteCollectionVPCContextRoutesItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPCRoutesPager) HasNext added in v0.25.0

func (pager *VPCRoutesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPCRoutingTableRoutesPager added in v0.25.0

type VPCRoutingTableRoutesPager struct {
	// contains filtered or unexported fields
}

VPCRoutingTableRoutesPager can be used to simplify the use of the "ListVPCRoutingTableRoutes" method.

func (*VPCRoutingTableRoutesPager) GetAll added in v0.25.0

func (pager *VPCRoutingTableRoutesPager) GetAll() (allItems []Route, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPCRoutingTableRoutesPager) GetAllWithContext added in v0.25.0

func (pager *VPCRoutingTableRoutesPager) GetAllWithContext(ctx context.Context) (allItems []Route, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPCRoutingTableRoutesPager) GetNext added in v0.25.0

func (pager *VPCRoutingTableRoutesPager) GetNext() (page []Route, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPCRoutingTableRoutesPager) GetNextWithContext added in v0.25.0

func (pager *VPCRoutingTableRoutesPager) GetNextWithContext(ctx context.Context) (page []Route, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPCRoutingTableRoutesPager) HasNext added in v0.25.0

func (pager *VPCRoutingTableRoutesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPCRoutingTablesPager added in v0.25.0

type VPCRoutingTablesPager struct {
	// contains filtered or unexported fields
}

VPCRoutingTablesPager can be used to simplify the use of the "ListVPCRoutingTables" method.

func (*VPCRoutingTablesPager) GetAll added in v0.25.0

func (pager *VPCRoutingTablesPager) GetAll() (allItems []RoutingTable, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPCRoutingTablesPager) GetAllWithContext added in v0.25.0

func (pager *VPCRoutingTablesPager) GetAllWithContext(ctx context.Context) (allItems []RoutingTable, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPCRoutingTablesPager) GetNext added in v0.25.0

func (pager *VPCRoutingTablesPager) GetNext() (page []RoutingTable, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPCRoutingTablesPager) GetNextWithContext added in v0.25.0

func (pager *VPCRoutingTablesPager) GetNextWithContext(ctx context.Context) (page []RoutingTable, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPCRoutingTablesPager) HasNext added in v0.25.0

func (pager *VPCRoutingTablesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPNGateway

type VPNGateway struct {
	// Connections for this VPN gateway.
	Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"`

	// The date and time that this VPN gateway was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The VPN gateway's CRN.
	CRN *string `json:"crn" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VPNGatewayHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The VPN gateway's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway.
	ID *string `json:"id" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []VPNGatewayLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the VPN gateway.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// Collection of VPN gateway members.
	Members []VPNGatewayMember `json:"members" validate:"required"`

	// The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this VPN gateway.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The VPC this VPN gateway resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// Route mode VPN gateway.
	Mode *string `json:"mode,omitempty"`
}

VPNGateway : VPNGateway struct Models which "extend" this model: - VPNGatewayRouteMode - VPNGatewayPolicyMode

type VPNGatewayCollection

type VPNGatewayCollection struct {
	// A link to the first page of resources.
	First *VPNGatewayCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VPNGatewayCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Collection of VPN gateways.
	VPNGateways []VPNGatewayIntf `json:"vpn_gateways" validate:"required"`
}

VPNGatewayCollection : VPNGatewayCollection struct

func (*VPNGatewayCollection) GetNextStart added in v0.8.0

func (resp *VPNGatewayCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VPNGatewayCollectionFirst

type VPNGatewayCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNGatewayCollectionFirst : A link to the first page of resources.

type VPNGatewayCollectionNext

type VPNGatewayCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNGatewayCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VPNGatewayConnection

type VPNGatewayConnection struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up" validate:"required"`

	// The authentication mode. Only `psk` is currently supported.
	AuthenticationMode *string `json:"authentication_mode" validate:"required"`

	// The date and time that this VPN gateway connection was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The Dead Peer Detection settings.
	DeadPeerDetection *VPNGatewayConnectionDpd `json:"dead_peer_detection" validate:"required"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode" validate:"required"`

	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`

	// The IKE policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1).
	IkePolicy *IkePolicyReference `json:"ike_policy,omitempty"`

	// The IPsec policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2).
	IpsecPolicy *IPsecPolicyReference `json:"ipsec_policy,omitempty"`

	// The mode of the VPN gateway.
	Mode *string `json:"mode" validate:"required"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name" validate:"required"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of a VPN gateway connection.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current VPN gateway connection status (if any).
	StatusReasons []VPNGatewayConnectionStatusReason `json:"status_reasons" validate:"required"`

	Local *VPNGatewayConnectionStaticRouteModeLocal `json:"local,omitempty"`

	Peer VPNGatewayConnectionStaticRouteModePeerIntf `json:"peer,omitempty"`

	// Routing protocols are disabled for this VPN gateway connection.
	RoutingProtocol *string `json:"routing_protocol,omitempty"`

	// The VPN tunnel configuration for this VPN gateway connection (in static route mode).
	Tunnels []VPNGatewayConnectionStaticRouteModeTunnel `json:"tunnels,omitempty"`
}

VPNGatewayConnection : VPNGatewayConnection struct Models which "extend" this model: - VPNGatewayConnectionRouteMode - VPNGatewayConnectionPolicyMode

type VPNGatewayConnectionCIDRs added in v0.51.0

type VPNGatewayConnectionCIDRs struct {
	// The CIDRs for this resource.
	CIDRs []string `json:"cidrs" validate:"required"`
}

VPNGatewayConnectionCIDRs : VPNGatewayConnectionCIDRs struct

type VPNGatewayConnectionCollection

type VPNGatewayConnectionCollection struct {
	// Array of VPN gateway connections.
	Connections []VPNGatewayConnectionIntf `json:"connections" validate:"required"`
}

VPNGatewayConnectionCollection : Collection of VPN gateway connections in a VPN gateway.

type VPNGatewayConnectionDpd

type VPNGatewayConnectionDpd struct {
	// Dead Peer Detection actions.
	Action *string `json:"action" validate:"required"`

	// Dead Peer Detection interval in seconds.
	Interval *int64 `json:"interval" validate:"required"`

	// Dead Peer Detection timeout in seconds. Must be at least the interval.
	Timeout *int64 `json:"timeout" validate:"required"`
}

VPNGatewayConnectionDpd : The Dead Peer Detection settings.

type VPNGatewayConnectionDpdPatch added in v0.14.0

type VPNGatewayConnectionDpdPatch struct {
	// Dead Peer Detection actions.
	Action *string `json:"action,omitempty"`

	// Dead Peer Detection interval in seconds.
	Interval *int64 `json:"interval,omitempty"`

	// Dead Peer Detection timeout in seconds. Must be at least the interval.
	Timeout *int64 `json:"timeout,omitempty"`
}

VPNGatewayConnectionDpdPatch : The Dead Peer Detection settings.

type VPNGatewayConnectionDpdPrototype

type VPNGatewayConnectionDpdPrototype struct {
	// Dead Peer Detection actions.
	Action *string `json:"action,omitempty"`

	// Dead Peer Detection interval in seconds.
	Interval *int64 `json:"interval,omitempty"`

	// Dead Peer Detection timeout in seconds. Must be at least the interval.
	Timeout *int64 `json:"timeout,omitempty"`
}

VPNGatewayConnectionDpdPrototype : The Dead Peer Detection settings.

type VPNGatewayConnectionIPsecPolicyPatch added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPatch struct {
	// The unique identifier for this IPsec policy.
	ID *string `json:"id,omitempty"`

	// The IPsec policy's canonical URL.
	Href *string `json:"href,omitempty"`
}

VPNGatewayConnectionIPsecPolicyPatch : The IPsec policy to use. Specify `null` to remove any existing policy, [resulting in auto-negotiation](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2). Models which "extend" this model: - VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID - VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref

type VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref struct {
	// The IPsec policy's canonical URL.
	Href *string `json:"href" validate:"required"`
}

VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref : VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref struct This model "extends" VPNGatewayConnectionIPsecPolicyPatch

type VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID struct {
	// The unique identifier for this IPsec policy.
	ID *string `json:"id" validate:"required"`
}

VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID : VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID struct This model "extends" VPNGatewayConnectionIPsecPolicyPatch

type VPNGatewayConnectionIPsecPolicyPatchIntf added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPatchIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionIPsecPolicyPrototype added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPrototype struct {
	// The unique identifier for this IPsec policy.
	ID *string `json:"id,omitempty"`

	// The IPsec policy's canonical URL.
	Href *string `json:"href,omitempty"`
}

VPNGatewayConnectionIPsecPolicyPrototype : The IPsec policy to use. If unspecified, [auto-negotiation will be used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2). Models which "extend" this model: - VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID - VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref

type VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref struct {
	// The IPsec policy's canonical URL.
	Href *string `json:"href" validate:"required"`
}

VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref : VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref struct This model "extends" VPNGatewayConnectionIPsecPolicyPrototype

type VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID struct {
	// The unique identifier for this IPsec policy.
	ID *string `json:"id" validate:"required"`
}

VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID : VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID struct This model "extends" VPNGatewayConnectionIPsecPolicyPrototype

type VPNGatewayConnectionIPsecPolicyPrototypeIntf added in v0.14.0

type VPNGatewayConnectionIPsecPolicyPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionIkeIdentity added in v0.51.0

type VPNGatewayConnectionIkeIdentity struct {
	// The IKE identity type.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`

	// The IKE identity FQDN value.
	Value *string `json:"value,omitempty"`
}

VPNGatewayConnectionIkeIdentity : VPNGatewayConnectionIkeIdentity struct Models which "extend" this model: - VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn - VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname - VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 - VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID

type VPNGatewayConnectionIkeIdentityIntf added in v0.51.0

type VPNGatewayConnectionIkeIdentityIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionIkeIdentityPrototype added in v0.51.0

type VPNGatewayConnectionIkeIdentityPrototype struct {
	// The IKE identity type.
	Type *string `json:"type" validate:"required"`

	// The IKE identity FQDN value.
	Value *string `json:"value,omitempty"`
}

VPNGatewayConnectionIkeIdentityPrototype : VPNGatewayConnectionIkeIdentityPrototype struct Models which "extend" this model: - VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn - VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname - VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 - VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID

type VPNGatewayConnectionIkeIdentityPrototypeIntf added in v0.51.0

type VPNGatewayConnectionIkeIdentityPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn added in v0.51.0

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn struct {
	// The IKE identity type.
	Type *string `json:"type" validate:"required"`

	// The IKE identity FQDN value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn : VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn struct This model "extends" VPNGatewayConnectionIkeIdentityPrototype

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname added in v0.51.0

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname struct {
	// The IKE identity type.
	Type *string `json:"type" validate:"required"`

	// The IKE identity hostname value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname : VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname struct This model "extends" VPNGatewayConnectionIkeIdentityPrototype

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 added in v0.51.0

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 struct {
	// The IKE identity type.
	Type *string `json:"type" validate:"required"`

	// The IKE identity IPv4 address value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 : VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 struct This model "extends" VPNGatewayConnectionIkeIdentityPrototype

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID added in v0.51.0

type VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID struct {
	// The IKE identity type.
	Type *string `json:"type" validate:"required"`

	// The base64-encoded IKE identity key ID value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID : VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID struct This model "extends" VPNGatewayConnectionIkeIdentityPrototype

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn added in v0.51.0

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn struct {
	// The IKE identity type.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`

	// The IKE identity FQDN value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn : VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityFqdn struct This model "extends" VPNGatewayConnectionIkeIdentity

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname added in v0.51.0

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname struct {
	// The IKE identity type.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`

	// The IKE identity hostname value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname : VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityHostname struct This model "extends" VPNGatewayConnectionIkeIdentity

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 added in v0.51.0

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 struct {
	// The IKE identity type.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`

	// The IKE identity IPv4 address value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 : VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityIPv4 struct This model "extends" VPNGatewayConnectionIkeIdentity

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID added in v0.51.0

type VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID struct {
	// The IKE identity type.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Type *string `json:"type" validate:"required"`

	// The base64-encoded IKE identity key ID value.
	Value *string `json:"value" validate:"required"`
}

VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID : VPNGatewayConnectionIkeIdentityVPNGatewayConnectionIkeIdentityKeyID struct This model "extends" VPNGatewayConnectionIkeIdentity

type VPNGatewayConnectionIkePolicyPatch added in v0.14.0

type VPNGatewayConnectionIkePolicyPatch struct {
	// The unique identifier for this IKE policy.
	ID *string `json:"id,omitempty"`

	// The IKE policy's canonical URL.
	Href *string `json:"href,omitempty"`
}

VPNGatewayConnectionIkePolicyPatch : The IKE policy to use. Specify `null` to remove any existing policy, [resulting in auto-negotiation](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1). Models which "extend" this model: - VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID - VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref

type VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref added in v0.14.0

type VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref struct {
	// The IKE policy's canonical URL.
	Href *string `json:"href" validate:"required"`
}

VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref : VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref struct This model "extends" VPNGatewayConnectionIkePolicyPatch

type VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID added in v0.14.0

type VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID struct {
	// The unique identifier for this IKE policy.
	ID *string `json:"id" validate:"required"`
}

VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID : VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID struct This model "extends" VPNGatewayConnectionIkePolicyPatch

type VPNGatewayConnectionIkePolicyPatchIntf added in v0.14.0

type VPNGatewayConnectionIkePolicyPatchIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionIkePolicyPrototype added in v0.14.0

type VPNGatewayConnectionIkePolicyPrototype struct {
	// The unique identifier for this IKE policy.
	ID *string `json:"id,omitempty"`

	// The IKE policy's canonical URL.
	Href *string `json:"href,omitempty"`
}

VPNGatewayConnectionIkePolicyPrototype : The IKE policy to use. If unspecified, [auto-negotiation will be used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1). Models which "extend" this model: - VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID - VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref

type VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref added in v0.14.0

type VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref struct {
	// The IKE policy's canonical URL.
	Href *string `json:"href" validate:"required"`
}

VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref : VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref struct This model "extends" VPNGatewayConnectionIkePolicyPrototype

type VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID added in v0.14.0

type VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID struct {
	// The unique identifier for this IKE policy.
	ID *string `json:"id" validate:"required"`
}

VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID : VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID struct This model "extends" VPNGatewayConnectionIkePolicyPrototype

type VPNGatewayConnectionIkePolicyPrototypeIntf added in v0.14.0

type VPNGatewayConnectionIkePolicyPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionIntf added in v0.3.0

type VPNGatewayConnectionIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPatch added in v0.2.0

type VPNGatewayConnectionPatch struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// The Dead Peer Detection settings.
	DeadPeerDetection *VPNGatewayConnectionDpdPatch `json:"dead_peer_detection,omitempty"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode,omitempty"`

	// The IKE policy to use. Specify `null` to remove any existing policy, [resulting in
	// auto-negotiation](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1).
	IkePolicy VPNGatewayConnectionIkePolicyPatchIntf `json:"ike_policy,omitempty"`

	// The IPsec policy to use. Specify `null` to remove any existing policy, [resulting in
	// auto-negotiation](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2).
	IpsecPolicy VPNGatewayConnectionIPsecPolicyPatchIntf `json:"ipsec_policy,omitempty"`

	// The name for this VPN gateway connection. The name must not be used by another connection for the VPN gateway.
	Name *string `json:"name,omitempty"`

	Peer VPNGatewayConnectionPeerPatchIntf `json:"peer,omitempty"`

	// The pre-shared key.
	Psk *string `json:"psk,omitempty"`

	// Routing protocols are disabled for this VPN gateway connection.
	RoutingProtocol *string `json:"routing_protocol,omitempty"`
}

VPNGatewayConnectionPatch : VPNGatewayConnectionPatch struct

func (*VPNGatewayConnectionPatch) AsPatch added in v0.2.0

func (vpnGatewayConnectionPatch *VPNGatewayConnectionPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VPNGatewayConnectionPatch

type VPNGatewayConnectionPeerPatch added in v0.51.0

type VPNGatewayConnectionPeerPatch struct {
	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPeerPatch : VPNGatewayConnectionPeerPatch struct Models which "extend" this model: - VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch - VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch

type VPNGatewayConnectionPeerPatchIntf added in v0.51.0

type VPNGatewayConnectionPeerPatchIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch struct {
	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch : The peer VPN gateway for this connection. If `peer.type` is `ipv4_address`, only `peer.address` may be specified. If `peer.type` is fqdn, only `peer.fqdn` may be specified. Models which "extend" this model: - VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch - VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch This model "extends" VPNGatewayConnectionPeerPatch

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchIntf added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchIntf interface {
	VPNGatewayConnectionPeerPatchIntf
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch struct {
	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`
}

VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch : VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerAddressPatch struct This model "extends" VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch struct {
	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch : VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPolicyModePeerPatchVPNGatewayConnectionPeerFqdnPatch struct This model "extends" VPNGatewayConnectionPeerPatchVPNGatewayConnectionPolicyModePeerPatch

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch struct {
	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch : The peer VPN gateway for this connection. If `peer.type` is `ipv4_address`, only `peer.address` may be specified. If `peer.type` is fqdn, only `peer.fqdn` may be specified. Models which "extend" this model: - VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch - VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch This model "extends" VPNGatewayConnectionPeerPatch

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchIntf added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchIntf interface {
	VPNGatewayConnectionPeerPatchIntf
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch struct {
	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`
}

VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch : VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerAddressPatch struct This model "extends" VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch added in v0.51.0

type VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch struct {
	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch : VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionStaticRouteModePeerPatchVPNGatewayConnectionPeerFqdnPatch struct This model "extends" VPNGatewayConnectionPeerPatchVPNGatewayConnectionStaticRouteModePeerPatch

type VPNGatewayConnectionPolicyMode added in v0.3.0

type VPNGatewayConnectionPolicyMode struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up" validate:"required"`

	// The authentication mode. Only `psk` is currently supported.
	AuthenticationMode *string `json:"authentication_mode" validate:"required"`

	// The date and time that this VPN gateway connection was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	DeadPeerDetection *VPNGatewayConnectionDpd `json:"dead_peer_detection" validate:"required"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode" validate:"required"`

	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`

	// The IKE policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1).
	IkePolicy *IkePolicyReference `json:"ike_policy,omitempty"`

	// The IPsec policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2).
	IpsecPolicy *IPsecPolicyReference `json:"ipsec_policy,omitempty"`

	// The mode of the VPN gateway.
	Mode *string `json:"mode" validate:"required"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name" validate:"required"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of a VPN gateway connection.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current VPN gateway connection status (if any).
	StatusReasons []VPNGatewayConnectionStatusReason `json:"status_reasons" validate:"required"`

	Local *VPNGatewayConnectionPolicyModeLocal `json:"local" validate:"required"`

	Peer VPNGatewayConnectionPolicyModePeerIntf `json:"peer" validate:"required"`
}

VPNGatewayConnectionPolicyMode : VPNGatewayConnectionPolicyMode struct This model "extends" VPNGatewayConnection

type VPNGatewayConnectionPolicyModeLocal added in v0.51.0

type VPNGatewayConnectionPolicyModeLocal struct {
	// The local CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The local IKE identities.
	//
	// A VPN gateway in policy mode consists of two members in active-standby mode. The local IKE identity applies to the
	// active member.
	IkeIdentities []VPNGatewayConnectionIkeIdentityIntf `json:"ike_identities" validate:"required"`
}

VPNGatewayConnectionPolicyModeLocal : VPNGatewayConnectionPolicyModeLocal struct

type VPNGatewayConnectionPolicyModeLocalPrototype added in v0.51.0

type VPNGatewayConnectionPolicyModeLocalPrototype struct {
	// The local CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The local IKE identities to use.
	//
	// A VPN gateway in policy mode consists of two members in active-standby mode. The specified identity will be applied
	// to the active member.
	//
	// If unspecified, then `type` will be `ipv4_address` and `value` will be the public IP address of the VPN gateway.
	IkeIdentities []VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identities,omitempty"`
}

VPNGatewayConnectionPolicyModeLocalPrototype : VPNGatewayConnectionPolicyModeLocalPrototype struct

type VPNGatewayConnectionPolicyModePeer added in v0.51.0

type VPNGatewayConnectionPolicyModePeer struct {
	// The peer CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The peer IKE identity.
	IkeIdentity VPNGatewayConnectionIkeIdentityIntf `json:"ike_identity" validate:"required"`

	// Indicates whether `peer.address` or `peer.fqdn` is used.
	Type *string `json:"type" validate:"required"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPolicyModePeer : VPNGatewayConnectionPolicyModePeer struct Models which "extend" this model: - VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress - VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn

type VPNGatewayConnectionPolicyModePeerIntf added in v0.51.0

type VPNGatewayConnectionPolicyModePeerIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPolicyModePeerPrototype added in v0.51.0

type VPNGatewayConnectionPolicyModePeerPrototype struct {
	// The peer CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The peer IKE identity to use.
	//
	// If unspecified:
	// - If `peer.address` is specified, the `type` will be `ipv4_address`, and
	// the `value` will be `peer.address`.
	// - If `peer.fqdn` is specified, the `type` will be `fqdn`, and the `value`
	// will be `peer.fqdn`.
	IkeIdentity VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identity,omitempty"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionPolicyModePeerPrototype : VPNGatewayConnectionPolicyModePeerPrototype struct Models which "extend" this model: - VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress - VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn

type VPNGatewayConnectionPolicyModePeerPrototypeIntf added in v0.51.0

type VPNGatewayConnectionPolicyModePeerPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress added in v0.51.0

type VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress struct {
	// The peer CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The peer IKE identity to use.
	//
	// If unspecified:
	// - If `peer.address` is specified, the `type` will be `ipv4_address`, and the `value` will be `peer.address`.
	// - If `peer.fqdn` is specified, the `type` will be `fqdn`, and the `value` will be `peer.fqdn`.
	IkeIdentity VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identity,omitempty"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address" validate:"required"`
}

VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress : VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress struct This model "extends" VPNGatewayConnectionPolicyModePeerPrototype

type VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn added in v0.51.0

type VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn struct {
	// The peer CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The peer IKE identity to use.
	//
	// If unspecified:
	// - If `peer.address` is specified, the `type` will be `ipv4_address`, and the `value` will be `peer.address`.
	// - If `peer.fqdn` is specified, the `type` will be `fqdn`, and the `value` will be `peer.fqdn`.
	IkeIdentity VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identity,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn" validate:"required"`
}

VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn : VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn struct This model "extends" VPNGatewayConnectionPolicyModePeerPrototype

type VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress added in v0.51.0

type VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress struct {
	// The peer CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The peer IKE identity.
	IkeIdentity VPNGatewayConnectionIkeIdentityIntf `json:"ike_identity" validate:"required"`

	// Indicates whether `peer.address` or `peer.fqdn` is used.
	Type *string `json:"type" validate:"required"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address" validate:"required"`
}

VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress : VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress struct This model "extends" VPNGatewayConnectionPolicyModePeer

type VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn added in v0.51.0

type VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn struct {
	// The peer CIDRs for this VPN gateway connection.
	CIDRs []string `json:"cidrs" validate:"required"`

	// The peer IKE identity.
	IkeIdentity VPNGatewayConnectionIkeIdentityIntf `json:"ike_identity" validate:"required"`

	// Indicates whether `peer.address` or `peer.fqdn` is used.
	Type *string `json:"type" validate:"required"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn" validate:"required"`
}

VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn : VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFqdn struct This model "extends" VPNGatewayConnectionPolicyModePeer

type VPNGatewayConnectionPrototype added in v0.3.0

type VPNGatewayConnectionPrototype struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// The Dead Peer Detection settings.
	DeadPeerDetection *VPNGatewayConnectionDpdPrototype `json:"dead_peer_detection,omitempty"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode,omitempty"`

	// The IKE policy to use. If unspecified, [auto-negotiation will be
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1).
	IkePolicy VPNGatewayConnectionIkePolicyPrototypeIntf `json:"ike_policy,omitempty"`

	// The IPsec policy to use. If unspecified, [auto-negotiation will be
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2).
	IpsecPolicy VPNGatewayConnectionIPsecPolicyPrototypeIntf `json:"ipsec_policy,omitempty"`

	// The name for this VPN gateway connection. The name must not be used by another connection for the VPN gateway. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	Local *VPNGatewayConnectionStaticRouteModeLocalPrototype `json:"local,omitempty"`

	Peer VPNGatewayConnectionStaticRouteModePeerPrototypeIntf `json:"peer,omitempty"`

	// Routing protocols are disabled for this VPN gateway connection.
	RoutingProtocol *string `json:"routing_protocol,omitempty"`
}

VPNGatewayConnectionPrototype : VPNGatewayConnectionPrototype struct Models which "extend" this model: - VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype - VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype

type VPNGatewayConnectionPrototypeIntf added in v0.3.0

type VPNGatewayConnectionPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype added in v0.3.0

type VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	DeadPeerDetection *VPNGatewayConnectionDpdPrototype `json:"dead_peer_detection,omitempty"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode,omitempty"`

	IkePolicy VPNGatewayConnectionIkePolicyPrototypeIntf `json:"ike_policy,omitempty"`

	IpsecPolicy VPNGatewayConnectionIPsecPolicyPrototypeIntf `json:"ipsec_policy,omitempty"`

	// The name for this VPN gateway connection. The name must not be used by another connection for the VPN gateway. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	Local *VPNGatewayConnectionPolicyModeLocalPrototype `json:"local" validate:"required"`

	Peer VPNGatewayConnectionPolicyModePeerPrototypeIntf `json:"peer" validate:"required"`
}

VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype : VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype struct This model "extends" VPNGatewayConnectionPrototype

type VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype added in v0.3.0

type VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	DeadPeerDetection *VPNGatewayConnectionDpdPrototype `json:"dead_peer_detection,omitempty"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode,omitempty"`

	IkePolicy VPNGatewayConnectionIkePolicyPrototypeIntf `json:"ike_policy,omitempty"`

	IpsecPolicy VPNGatewayConnectionIPsecPolicyPrototypeIntf `json:"ipsec_policy,omitempty"`

	// The name for this VPN gateway connection. The name must not be used by another connection for the VPN gateway. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	Local *VPNGatewayConnectionStaticRouteModeLocalPrototype `json:"local,omitempty"`

	Peer VPNGatewayConnectionStaticRouteModePeerPrototypeIntf `json:"peer" validate:"required"`

	// Routing protocols are disabled for this VPN gateway connection.
	RoutingProtocol *string `json:"routing_protocol,omitempty"`
}

VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype : VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype struct This model "extends" VPNGatewayConnectionPrototype

type VPNGatewayConnectionReference

type VPNGatewayConnectionReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VPNGatewayConnectionReferenceDeleted `json:"deleted,omitempty"`

	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VPNGatewayConnectionReference : VPNGatewayConnectionReference struct

type VPNGatewayConnectionReferenceDeleted added in v0.3.0

type VPNGatewayConnectionReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VPNGatewayConnectionReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VPNGatewayConnectionRouteMode added in v0.49.0

type VPNGatewayConnectionRouteMode struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up" validate:"required"`

	// The authentication mode. Only `psk` is currently supported.
	AuthenticationMode *string `json:"authentication_mode" validate:"required"`

	// The date and time that this VPN gateway connection was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	DeadPeerDetection *VPNGatewayConnectionDpd `json:"dead_peer_detection" validate:"required"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode" validate:"required"`

	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`

	// The IKE policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1).
	IkePolicy *IkePolicyReference `json:"ike_policy,omitempty"`

	// The IPsec policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2).
	IpsecPolicy *IPsecPolicyReference `json:"ipsec_policy,omitempty"`

	// The mode of the VPN gateway.
	Mode *string `json:"mode" validate:"required"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name" validate:"required"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of a VPN gateway connection.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current VPN gateway connection status (if any).
	StatusReasons []VPNGatewayConnectionStatusReason `json:"status_reasons" validate:"required"`

	Local *VPNGatewayConnectionStaticRouteModeLocal `json:"local,omitempty"`

	Peer VPNGatewayConnectionStaticRouteModePeerIntf `json:"peer,omitempty"`

	// Routing protocols are disabled for this VPN gateway connection.
	RoutingProtocol *string `json:"routing_protocol,omitempty"`

	// The VPN tunnel configuration for this VPN gateway connection (in static route mode).
	Tunnels []VPNGatewayConnectionStaticRouteModeTunnel `json:"tunnels,omitempty"`
}

VPNGatewayConnectionRouteMode : VPNGatewayConnectionRouteMode struct Models which "extend" this model: - VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode This model "extends" VPNGatewayConnection

type VPNGatewayConnectionRouteModeIntf added in v0.49.0

type VPNGatewayConnectionRouteModeIntf interface {
	VPNGatewayConnectionIntf
	// contains filtered or unexported methods
}

type VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode added in v0.49.0

type VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode struct {
	// If set to false, the VPN gateway connection is shut down.
	AdminStateUp *bool `json:"admin_state_up" validate:"required"`

	// The authentication mode. Only `psk` is currently supported.
	AuthenticationMode *string `json:"authentication_mode" validate:"required"`

	// The date and time that this VPN gateway connection was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	DeadPeerDetection *VPNGatewayConnectionDpd `json:"dead_peer_detection" validate:"required"`

	// The establish mode of the VPN gateway connection:
	// - `bidirectional`: Either side of the VPN gateway can initiate IKE protocol
	//    negotiations or rekeying processes.
	// - `peer_only`: Only the peer can initiate IKE protocol negotiations for this VPN gateway
	//    connection. Additionally, the peer is responsible for initiating the rekeying process
	//    after the connection is established. If rekeying does not occur, the VPN gateway
	//    connection will be brought down after its lifetime expires.
	EstablishMode *string `json:"establish_mode" validate:"required"`

	// The VPN connection's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway connection.
	ID *string `json:"id" validate:"required"`

	// The IKE policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ike-auto-negotiation-phase-1).
	IkePolicy *IkePolicyReference `json:"ike_policy,omitempty"`

	// The IPsec policy. If absent, [auto-negotiation is
	// used](https://cloud.ibm.com/docs/vpc?topic=vpc-using-vpn&interface=ui#ipsec-auto-negotiation-phase-2).
	IpsecPolicy *IPsecPolicyReference `json:"ipsec_policy,omitempty"`

	// The mode of the VPN gateway.
	Mode *string `json:"mode" validate:"required"`

	// The name for this VPN gateway connection. The name is unique across all connections for the VPN gateway.
	Name *string `json:"name" validate:"required"`

	// The pre-shared key.
	Psk *string `json:"psk" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of a VPN gateway connection.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current VPN gateway connection status (if any).
	StatusReasons []VPNGatewayConnectionStatusReason `json:"status_reasons" validate:"required"`

	Local *VPNGatewayConnectionStaticRouteModeLocal `json:"local" validate:"required"`

	Peer VPNGatewayConnectionStaticRouteModePeerIntf `json:"peer" validate:"required"`

	// Routing protocols are disabled for this VPN gateway connection.
	RoutingProtocol *string `json:"routing_protocol" validate:"required"`

	// The VPN tunnel configuration for this VPN gateway connection (in static route mode).
	Tunnels []VPNGatewayConnectionStaticRouteModeTunnel `json:"tunnels" validate:"required"`
}

VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode : VPNGatewayConnectionRouteModeVPNGatewayConnectionStaticRouteMode struct This model "extends" VPNGatewayConnectionRouteMode

type VPNGatewayConnectionStaticRouteModeLocal added in v0.51.0

type VPNGatewayConnectionStaticRouteModeLocal struct {
	// The local IKE identities.
	//
	// A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the
	// first member, and the second identity applies to the second member.
	IkeIdentities []VPNGatewayConnectionIkeIdentityIntf `json:"ike_identities" validate:"required"`
}

VPNGatewayConnectionStaticRouteModeLocal : VPNGatewayConnectionStaticRouteModeLocal struct

type VPNGatewayConnectionStaticRouteModeLocalPrototype added in v0.51.0

type VPNGatewayConnectionStaticRouteModeLocalPrototype struct {
	// The local IKE identities to use.
	//
	// A VPN gateway in static route mode consists of two members in active-active mode. The first specified identity will
	// be applied to the first member, and the second specified identity will be applied to the second member.
	//
	// If unspecified, then `type` will be `ipv4_address` and `value` will be the public IP address of the member's VPN
	// connection tunnel.
	IkeIdentities []VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identities,omitempty"`
}

VPNGatewayConnectionStaticRouteModeLocalPrototype : VPNGatewayConnectionStaticRouteModeLocalPrototype struct

type VPNGatewayConnectionStaticRouteModePeer added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeer struct {
	// The peer IKE identity.
	IkeIdentity VPNGatewayConnectionIkeIdentityIntf `json:"ike_identity" validate:"required"`

	// Indicates whether `peer.address` or `peer.fqdn` is used.
	Type *string `json:"type" validate:"required"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionStaticRouteModePeer : VPNGatewayConnectionStaticRouteModePeer struct Models which "extend" this model: - VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress - VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn

type VPNGatewayConnectionStaticRouteModePeerIntf added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionStaticRouteModePeerPrototype added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerPrototype struct {
	// The peer IKE identity to use.
	//
	// If unspecified:
	// - If `peer.address` is specified, the `type` will be `ipv4_address`, and
	// the `value` will be `peer.address`.
	// - If `peer.fqdn` is specified, the `type` will be `fqdn`, and the `value`
	// will be `peer.fqdn`.
	IkeIdentity VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identity,omitempty"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn,omitempty"`
}

VPNGatewayConnectionStaticRouteModePeerPrototype : VPNGatewayConnectionStaticRouteModePeerPrototype struct Models which "extend" this model: - VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress - VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn

type VPNGatewayConnectionStaticRouteModePeerPrototypeIntf added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress struct {
	// The peer IKE identity to use.
	//
	// If unspecified:
	// - If `peer.address` is specified, the `type` will be `ipv4_address`, and the `value` will be `peer.address`.
	// - If `peer.fqdn` is specified, the `type` will be `fqdn`, and the `value` will be `peer.fqdn`.
	IkeIdentity VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identity,omitempty"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address" validate:"required"`
}

VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress : VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress struct This model "extends" VPNGatewayConnectionStaticRouteModePeerPrototype

type VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn struct {
	// The peer IKE identity to use.
	//
	// If unspecified:
	// - If `peer.address` is specified, the `type` will be `ipv4_address`, and the `value` will be `peer.address`.
	// - If `peer.fqdn` is specified, the `type` will be `fqdn`, and the `value` will be `peer.fqdn`.
	IkeIdentity VPNGatewayConnectionIkeIdentityPrototypeIntf `json:"ike_identity,omitempty"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn" validate:"required"`
}

VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn : VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn struct This model "extends" VPNGatewayConnectionStaticRouteModePeerPrototype

type VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress struct {
	// The peer IKE identity.
	IkeIdentity VPNGatewayConnectionIkeIdentityIntf `json:"ike_identity" validate:"required"`

	// Indicates whether `peer.address` or `peer.fqdn` is used.
	Type *string `json:"type" validate:"required"`

	// The IP address of the peer VPN gateway for this connection.
	Address *string `json:"address" validate:"required"`
}

VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress : VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByAddress struct This model "extends" VPNGatewayConnectionStaticRouteModePeer

type VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn added in v0.51.0

type VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn struct {
	// The peer IKE identity.
	IkeIdentity VPNGatewayConnectionIkeIdentityIntf `json:"ike_identity" validate:"required"`

	// Indicates whether `peer.address` or `peer.fqdn` is used.
	Type *string `json:"type" validate:"required"`

	// The FQDN of the peer VPN gateway for this connection.
	Fqdn *string `json:"fqdn" validate:"required"`
}

VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn : VPNGatewayConnectionStaticRouteModePeerVPNGatewayConnectionPeerByFqdn struct This model "extends" VPNGatewayConnectionStaticRouteModePeer

type VPNGatewayConnectionStaticRouteModeTunnel added in v0.3.0

type VPNGatewayConnectionStaticRouteModeTunnel struct {
	// The IP address of the VPN gateway member in which the tunnel resides.
	PublicIP *IP `json:"public_ip" validate:"required"`

	// The status of the VPN Tunnel.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []VPNGatewayConnectionTunnelStatusReason `json:"status_reasons" validate:"required"`
}

VPNGatewayConnectionStaticRouteModeTunnel : VPNGatewayConnectionStaticRouteModeTunnel struct

type VPNGatewayConnectionStatusReason added in v0.43.0

type VPNGatewayConnectionStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this VPN gateway connection's status.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNGatewayConnectionStatusReason : VPNGatewayConnectionStatusReason struct

type VPNGatewayConnectionTunnelStatusReason added in v0.43.0

type VPNGatewayConnectionTunnelStatusReason struct {
	// A reason code for this status:
	// - `cannot_authenticate_connection`: Failed to authenticate a connection because of
	//   mismatched IKE ID and PSK (check IKE ID and PSK in peer VPN configuration)
	// - `internal_error`: Internal error (contact IBM support)
	// - `ike_policy_mismatch`: None of the proposed IKE crypto suites was acceptable (check
	//    the IKE policies on both sides of the VPN)
	// - `ike_v1_id_local_remote_cidr_mismatch`: Invalid IKE ID or mismatched local CIDRs and
	//   remote CIDRs in IKE V1 (check the IKE ID or the local CIDRs and remote CIDRs in IKE
	//   V1 configuration)
	// - `ike_v2_local_remote_cidr_mismatch`: Mismatched local CIDRs and remote CIDRs in IKE
	//   V2 (check the local CIDRs and remote CIDRs in IKE V2 configuration)
	// - `ipsec_policy_mismatch`: None of the proposed IPsec crypto suites was acceptable
	//   (check the IPsec policies on both sides of the VPN)
	// - `peer_not_responding`: No response from peer (check network ACL configuration, peer
	//   availability, and on-premise firewall configuration)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this VPN gateway connection tunnel's status.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNGatewayConnectionTunnelStatusReason : VPNGatewayConnectionTunnelStatusReason struct

type VPNGatewayHealthReason added in v0.43.0

type VPNGatewayHealthReason struct {
	// A reason code for this health state:
	// - `cannot_create_vpc_route`: VPN cannot create route (check for conflict)
	// - `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's
	//   subnet)
	// - `internal_error`: Internal error (contact IBM support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNGatewayHealthReason : VPNGatewayHealthReason struct

type VPNGatewayIntf added in v0.3.0

type VPNGatewayIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayLifecycleReason added in v0.43.0

type VPNGatewayLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNGatewayLifecycleReason : VPNGatewayLifecycleReason struct

type VPNGatewayMember added in v0.3.0

type VPNGatewayMember struct {
	// The reasons for the current `health_state` (if any).
	HealthReasons []VPNGatewayMemberHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []VPNGatewayMemberLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the VPN gateway member.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The reserved IP address assigned to the VPN gateway member.
	//
	// This property will be present only when the VPN gateway status is `available`.
	PrivateIP *ReservedIPReference `json:"private_ip" validate:"required"`

	// The public IP address assigned to the VPN gateway member.
	PublicIP *IP `json:"public_ip" validate:"required"`

	// The high availability role assigned to the VPN gateway member.
	Role *string `json:"role" validate:"required"`
}

VPNGatewayMember : VPNGatewayMember struct

type VPNGatewayMemberHealthReason added in v0.43.0

type VPNGatewayMemberHealthReason struct {
	// A reason code for this health state:
	// - `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's
	//   subnet)
	// - `internal_error`: Internal error (contact IBM support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNGatewayMemberHealthReason : VPNGatewayMemberHealthReason struct

type VPNGatewayMemberLifecycleReason added in v0.43.0

type VPNGatewayMemberLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNGatewayMemberLifecycleReason : VPNGatewayMemberLifecycleReason struct

type VPNGatewayPatch added in v0.2.0

type VPNGatewayPatch struct {
	// The name for this VPN gateway. The name must not be used by another VPN gateway in the VPC.
	Name *string `json:"name,omitempty"`
}

VPNGatewayPatch : VPNGatewayPatch struct

func (*VPNGatewayPatch) AsPatch added in v0.2.0

func (vpnGatewayPatch *VPNGatewayPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VPNGatewayPatch

type VPNGatewayPolicyMode added in v0.3.0

type VPNGatewayPolicyMode struct {
	// Connections for this VPN gateway.
	Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"`

	// The date and time that this VPN gateway was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The VPN gateway's CRN.
	CRN *string `json:"crn" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VPNGatewayHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The VPN gateway's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway.
	ID *string `json:"id" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []VPNGatewayLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the VPN gateway.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// Collection of VPN gateway members.
	Members []VPNGatewayMember `json:"members" validate:"required"`

	// The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this VPN gateway.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The VPC this VPN gateway resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// Policy mode VPN gateway.
	Mode *string `json:"mode" validate:"required"`
}

VPNGatewayPolicyMode : VPNGatewayPolicyMode struct This model "extends" VPNGateway

type VPNGatewayPrototype added in v0.3.0

type VPNGatewayPrototype struct {
	// The name for this VPN gateway. The name must not be used by another VPN gateway in the VPC. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// Identifies a subnet by a unique property.
	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// Route mode VPN gateway.
	Mode *string `json:"mode,omitempty"`
}

VPNGatewayPrototype : VPNGatewayPrototype struct Models which "extend" this model: - VPNGatewayPrototypeVPNGatewayRouteModePrototype - VPNGatewayPrototypeVPNGatewayPolicyModePrototype

type VPNGatewayPrototypeIntf added in v0.3.0

type VPNGatewayPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNGatewayPrototypeVPNGatewayPolicyModePrototype added in v0.3.0

type VPNGatewayPrototypeVPNGatewayPolicyModePrototype struct {
	// The name for this VPN gateway. The name must not be used by another VPN gateway in the VPC. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// Policy mode VPN gateway.
	Mode *string `json:"mode,omitempty"`
}

VPNGatewayPrototypeVPNGatewayPolicyModePrototype : VPNGatewayPrototypeVPNGatewayPolicyModePrototype struct This model "extends" VPNGatewayPrototype

type VPNGatewayPrototypeVPNGatewayRouteModePrototype added in v0.3.0

type VPNGatewayPrototypeVPNGatewayRouteModePrototype struct {
	// The name for this VPN gateway. The name must not be used by another VPN gateway in the VPC. If unspecified, the name
	// will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	Subnet SubnetIdentityIntf `json:"subnet" validate:"required"`

	// Route mode VPN gateway.
	Mode *string `json:"mode,omitempty"`
}

VPNGatewayPrototypeVPNGatewayRouteModePrototype : VPNGatewayPrototypeVPNGatewayRouteModePrototype struct This model "extends" VPNGatewayPrototype

type VPNGatewayReferenceDeleted added in v0.19.0

type VPNGatewayReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VPNGatewayReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VPNGatewayRouteMode added in v0.3.0

type VPNGatewayRouteMode struct {
	// Connections for this VPN gateway.
	Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"`

	// The date and time that this VPN gateway was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The VPN gateway's CRN.
	CRN *string `json:"crn" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VPNGatewayHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The VPN gateway's canonical URL.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN gateway.
	ID *string `json:"id" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []VPNGatewayLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the VPN gateway.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// Collection of VPN gateway members.
	Members []VPNGatewayMember `json:"members" validate:"required"`

	// The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource group for this VPN gateway.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The VPC this VPN gateway resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// Route mode VPN gateway.
	Mode *string `json:"mode" validate:"required"`
}

VPNGatewayRouteMode : VPNGatewayRouteMode struct This model "extends" VPNGateway

type VPNGatewaysPager added in v0.25.0

type VPNGatewaysPager struct {
	// contains filtered or unexported fields
}

VPNGatewaysPager can be used to simplify the use of the "ListVPNGateways" method.

func (*VPNGatewaysPager) GetAll added in v0.25.0

func (pager *VPNGatewaysPager) GetAll() (allItems []VPNGatewayIntf, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPNGatewaysPager) GetAllWithContext added in v0.25.0

func (pager *VPNGatewaysPager) GetAllWithContext(ctx context.Context) (allItems []VPNGatewayIntf, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPNGatewaysPager) GetNext added in v0.25.0

func (pager *VPNGatewaysPager) GetNext() (page []VPNGatewayIntf, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPNGatewaysPager) GetNextWithContext added in v0.25.0

func (pager *VPNGatewaysPager) GetNextWithContext(ctx context.Context) (page []VPNGatewayIntf, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPNGatewaysPager) HasNext added in v0.25.0

func (pager *VPNGatewaysPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPNServer added in v0.22.0

type VPNServer struct {
	// The certificate instance for this VPN server.
	Certificate *CertificateInstanceReference `json:"certificate" validate:"required"`

	// The methods used to authenticate VPN clients to this VPN server. VPN clients must authenticate against all specified
	// methods.
	ClientAuthentication []VPNServerAuthenticationIntf `json:"client_authentication" validate:"required"`

	// Indicates whether disconnected VPN clients will be automatically deleted after
	// `client_auto_delete_timeout` hours have passed. At present, this is always `true`, but may be modifiable in the
	// future.
	ClientAutoDelete *bool `json:"client_auto_delete" validate:"required"`

	// If `client_auto_delete` is `true`, the hours after which disconnected VPN clients will be automatically deleted. If
	// the value is `0`, disconnected VPN clients will be deleted immediately. This value may be modifiable in the future.
	ClientAutoDeleteTimeout *int64 `json:"client_auto_delete_timeout" validate:"required"`

	// The DNS server addresses that will be provided to VPN clients that are connected to this VPN server.
	ClientDnsServerIps []IP `json:"client_dns_server_ips" validate:"required"`

	// The seconds a VPN client can be idle before this VPN server will disconnect it.  If `0`, the server will not
	// disconnect idle clients.
	ClientIdleTimeout *int64 `json:"client_idle_timeout" validate:"required"`

	// The VPN client IPv4 address pool, expressed in CIDR format.
	ClientIPPool *string `json:"client_ip_pool" validate:"required"`

	// The date and time that the VPN server was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this VPN server.
	CRN *string `json:"crn" validate:"required"`

	// Indicates whether the split tunneling is enabled on this VPN server.
	EnableSplitTunneling *bool `json:"enable_split_tunneling" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VPNServerHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// Fully qualified domain name assigned to this VPN server.
	Hostname *string `json:"hostname" validate:"required"`

	// The URL for this VPN server.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN server.
	ID *string `json:"id" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []VPNServerLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the VPN server.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this VPN server. The name is unique across all VPN servers in the VPC.
	Name *string `json:"name" validate:"required"`

	// The port number used by this VPN server.
	Port *int64 `json:"port" validate:"required"`

	// The reserved IPs bound to this VPN server.
	PrivateIps []ReservedIPReference `json:"private_ips" validate:"required"`

	// The transport protocol used by this VPN server.
	Protocol *string `json:"protocol" validate:"required"`

	// The resource group for this VPN server.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups targeting this VPN server.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The subnets this VPN server is provisioned in.
	Subnets []SubnetReference `json:"subnets" validate:"required"`

	// The VPC this VPN server resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`
}

VPNServer : VPNServer struct

type VPNServerAuthentication added in v0.22.0

type VPNServerAuthentication struct {
	// The type of authentication.
	Method *string `json:"method" validate:"required"`

	// The type of identity provider to be used by VPN client.
	IdentityProvider VPNServerAuthenticationByUsernameIDProviderIntf `json:"identity_provider,omitempty"`

	// The certificate instance used for the VPN client certificate authority (CA).
	ClientCa *CertificateInstanceReference `json:"client_ca,omitempty"`

	// The certificate revocation list contents, encoded in PEM format.
	Crl *string `json:"crl,omitempty"`
}

VPNServerAuthentication : An authentication method for this VPN server. Models which "extend" this model: - VPNServerAuthenticationByUsername - VPNServerAuthenticationByCertificate

type VPNServerAuthenticationByCertificate added in v0.22.0

type VPNServerAuthenticationByCertificate struct {
	// The type of authentication.
	Method *string `json:"method" validate:"required"`

	// The certificate instance used for the VPN client certificate authority (CA).
	ClientCa *CertificateInstanceReference `json:"client_ca" validate:"required"`

	// The certificate revocation list contents, encoded in PEM format.
	Crl *string `json:"crl,omitempty"`
}

VPNServerAuthenticationByCertificate : VPNServerAuthenticationByCertificate struct This model "extends" VPNServerAuthentication

type VPNServerAuthenticationByUsername added in v0.22.0

type VPNServerAuthenticationByUsername struct {
	// The type of authentication.
	Method *string `json:"method" validate:"required"`

	// The type of identity provider to be used by VPN client.
	IdentityProvider VPNServerAuthenticationByUsernameIDProviderIntf `json:"identity_provider" validate:"required"`
}

VPNServerAuthenticationByUsername : VPNServerAuthenticationByUsername struct This model "extends" VPNServerAuthentication

type VPNServerAuthenticationByUsernameIDProvider added in v0.22.0

type VPNServerAuthenticationByUsernameIDProvider struct {
	// The type of identity provider to be used by the VPN client:
	// - `iam`: IBM identity and access management
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProviderType *string `json:"provider_type,omitempty"`
}

VPNServerAuthenticationByUsernameIDProvider : The type of identity provider to be used by VPN client. Models which "extend" this model: - VPNServerAuthenticationByUsernameIDProviderByIam

type VPNServerAuthenticationByUsernameIDProviderByIam added in v0.22.0

type VPNServerAuthenticationByUsernameIDProviderByIam struct {
	// The type of identity provider to be used by the VPN client:
	// - `iam`: IBM identity and access management
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	ProviderType *string `json:"provider_type" validate:"required"`
}

VPNServerAuthenticationByUsernameIDProviderByIam : VPNServerAuthenticationByUsernameIDProviderByIam struct This model "extends" VPNServerAuthenticationByUsernameIDProvider

type VPNServerAuthenticationByUsernameIDProviderIntf added in v0.22.0

type VPNServerAuthenticationByUsernameIDProviderIntf interface {
	// contains filtered or unexported methods
}

type VPNServerAuthenticationIntf added in v0.22.0

type VPNServerAuthenticationIntf interface {
	// contains filtered or unexported methods
}

type VPNServerAuthenticationPrototype added in v0.22.0

type VPNServerAuthenticationPrototype struct {
	// The type of authentication.
	Method *string `json:"method" validate:"required"`

	// The type of identity provider to be used by VPN client.
	IdentityProvider VPNServerAuthenticationByUsernameIDProviderIntf `json:"identity_provider,omitempty"`

	// The certificate instance to use for the VPN client certificate authority (CA).
	ClientCa CertificateInstanceIdentityIntf `json:"client_ca,omitempty"`

	// The certificate revocation list contents, encoded in PEM format.
	Crl *string `json:"crl,omitempty"`
}

VPNServerAuthenticationPrototype : An authentication method for this VPN server. Models which "extend" this model: - VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype - VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype

type VPNServerAuthenticationPrototypeIntf added in v0.22.0

type VPNServerAuthenticationPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype added in v0.22.0

type VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype struct {
	// The type of authentication.
	Method *string `json:"method" validate:"required"`

	// The certificate instance to use for the VPN client certificate authority (CA).
	ClientCa CertificateInstanceIdentityIntf `json:"client_ca" validate:"required"`

	// The certificate revocation list contents, encoded in PEM format.
	Crl *string `json:"crl,omitempty"`
}

VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype : VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype struct This model "extends" VPNServerAuthenticationPrototype

type VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype added in v0.22.0

type VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype struct {
	// The type of authentication.
	Method *string `json:"method" validate:"required"`

	// The type of identity provider to be used by VPN client.
	IdentityProvider VPNServerAuthenticationByUsernameIDProviderIntf `json:"identity_provider" validate:"required"`
}

VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype : VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype struct This model "extends" VPNServerAuthenticationPrototype

type VPNServerClient added in v0.22.0

type VPNServerClient struct {
	// The IP address assigned to this VPN client from `client_ip_pool`.
	ClientIP *IP `json:"client_ip" validate:"required"`

	// The common name of client certificate that the VPN client provided when connecting to the server.
	//
	// This property will be present only when the `certificate` client authentication method is enabled on the VPN server.
	CommonName *string `json:"common_name,omitempty"`

	// The date and time that the VPN client was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The date and time that the VPN client was disconnected.
	//
	// This property will be present only when the client `status` is `disconnected`.
	DisconnectedAt *strfmt.DateTime `json:"disconnected_at,omitempty"`

	// The URL for this VPN client.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN client.
	ID *string `json:"id" validate:"required"`

	// The remote IP address of this VPN client.
	RemoteIP *IP `json:"remote_ip" validate:"required"`

	// The remote port of this VPN client.
	RemotePort *int64 `json:"remote_port" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The status of the VPN client:
	// - `connected`: the VPN client is `connected` to this VPN server.
	// - `disconnected`: the VPN client is `disconnected` from this VPN server.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The username that this VPN client provided when connecting to the VPN server.
	//
	// This property will be present only when the `username` client authentication method is enabled on the VPN server.
	Username *string `json:"username,omitempty"`
}

VPNServerClient : VPNServerClient struct

type VPNServerClientCollection added in v0.22.0

type VPNServerClientCollection struct {
	// Collection of VPN clients.
	Clients []VPNServerClient `json:"clients" validate:"required"`

	// A link to the first page of resources.
	First *VPNServerClientCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VPNServerClientCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

VPNServerClientCollection : VPNServerClientCollection struct

func (*VPNServerClientCollection) GetNextStart added in v0.22.0

func (resp *VPNServerClientCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VPNServerClientCollectionFirst added in v0.22.0

type VPNServerClientCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNServerClientCollectionFirst : A link to the first page of resources.

type VPNServerClientCollectionNext added in v0.22.0

type VPNServerClientCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNServerClientCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VPNServerClientsPager added in v0.25.0

type VPNServerClientsPager struct {
	// contains filtered or unexported fields
}

VPNServerClientsPager can be used to simplify the use of the "ListVPNServerClients" method.

func (*VPNServerClientsPager) GetAll added in v0.25.0

func (pager *VPNServerClientsPager) GetAll() (allItems []VPNServerClient, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPNServerClientsPager) GetAllWithContext added in v0.25.0

func (pager *VPNServerClientsPager) GetAllWithContext(ctx context.Context) (allItems []VPNServerClient, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPNServerClientsPager) GetNext added in v0.25.0

func (pager *VPNServerClientsPager) GetNext() (page []VPNServerClient, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPNServerClientsPager) GetNextWithContext added in v0.25.0

func (pager *VPNServerClientsPager) GetNextWithContext(ctx context.Context) (page []VPNServerClient, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPNServerClientsPager) HasNext added in v0.25.0

func (pager *VPNServerClientsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPNServerCollection added in v0.22.0

type VPNServerCollection struct {
	// A link to the first page of resources.
	First *VPNServerCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VPNServerCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Collection of VPN servers.
	VPNServers []VPNServer `json:"vpn_servers" validate:"required"`
}

VPNServerCollection : VPNServerCollection struct

func (*VPNServerCollection) GetNextStart added in v0.22.0

func (resp *VPNServerCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VPNServerCollectionFirst added in v0.22.0

type VPNServerCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNServerCollectionFirst : A link to the first page of resources.

type VPNServerCollectionNext added in v0.22.0

type VPNServerCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNServerCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VPNServerHealthReason added in v0.43.0

type VPNServerHealthReason struct {
	// A reason code for this health state:
	// - `cannot_access_client_certificate`: VPN server's client certificate is inaccessible
	//   (verify certificate exists and that IAM policies grant `VPN server for VPC` access
	//   to `Secrets Manager`)
	// - `cannot_access_server_certificate`: VPN server's server certificate is inaccessible
	//   (verify certificate exists and that IAM policies grant `VPN server for VPC` access
	//   to `Secrets Manager`)
	// - `cannot_create_vpc_route`: VPN cannot create route (check for conflict)
	// - `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's
	//   subnet)
	// - `internal_error`: Internal error (contact IBM support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNServerHealthReason : VPNServerHealthReason struct

type VPNServerLifecycleReason added in v0.43.0

type VPNServerLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNServerLifecycleReason : VPNServerLifecycleReason struct

type VPNServerPatch added in v0.22.0

type VPNServerPatch struct {
	// The certificate instance for this VPN server.
	Certificate CertificateInstanceIdentityIntf `json:"certificate,omitempty"`

	// The authentication methods to use to authenticate VPN client on this VPN server
	// (replacing any existing methods).
	ClientAuthentication []VPNServerAuthenticationPrototypeIntf `json:"client_authentication,omitempty"`

	// The DNS server addresses that will be provided to VPN clients connected to this VPN server (replacing any existing
	// addresses).
	ClientDnsServerIps []IP `json:"client_dns_server_ips,omitempty"`

	// The seconds a VPN client can be idle before this VPN server will disconnect it.  If `0`, the server will not
	// disconnect idle clients.
	ClientIdleTimeout *int64 `json:"client_idle_timeout,omitempty"`

	// The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address
	// prefixes in the VPC or any of the following reserved address ranges:
	//   - `127.0.0.0/8` (IPv4 loopback addresses)
	//   - `161.26.0.0/16` (IBM services)
	//   - `166.8.0.0/14` (Cloud Service Endpoints)
	//   - `169.254.0.0/16` (IPv4 link-local addresses)
	//   - `224.0.0.0/4` (IPv4 multicast addresses)
	//
	// The prefix length of the client IP address pool's CIDR must be between
	// `/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses
	// that are required to enable the maximum number of concurrent connections is recommended.
	ClientIPPool *string `json:"client_ip_pool,omitempty"`

	// Indicates whether the split tunneling is enabled on this VPN server.
	EnableSplitTunneling *bool `json:"enable_split_tunneling,omitempty"`

	// The name for this VPN server. The name must not be used by another VPN server in the VPC.
	Name *string `json:"name,omitempty"`

	// The port number used by this VPN server.
	Port *int64 `json:"port,omitempty"`

	// The transport protocol used by this VPN server.
	Protocol *string `json:"protocol,omitempty"`

	// The subnets to provision this VPN server in (replacing the existing subnets).
	Subnets []SubnetIdentityIntf `json:"subnets,omitempty"`
}

VPNServerPatch : VPNServerPatch struct

func (*VPNServerPatch) AsPatch added in v0.22.0

func (vpnServerPatch *VPNServerPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VPNServerPatch

type VPNServerReferenceDeleted added in v0.22.0

type VPNServerReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VPNServerReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VPNServerRoute added in v0.22.0

type VPNServerRoute struct {
	// The action to perform with a packet matching the VPN route:
	// - `translate`: translate the source IP address to one of the private IP addresses of
	//   the VPN server, then deliver the packet to target.
	// - `deliver`: deliver the packet into the VPC.
	// - `drop`: drop the packet
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Action *string `json:"action" validate:"required"`

	// The date and time that the VPN route was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The destination for this VPN route in the VPN server. If an incoming packet does not match any destination, it will
	// be dropped.
	Destination *string `json:"destination" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VPNServerRouteHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this VPN route.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this VPN route.
	ID *string `json:"id" validate:"required"`

	// The reasons for the current `lifecycle_state` (if any).
	LifecycleReasons []VPNServerRouteLifecycleReason `json:"lifecycle_reasons" validate:"required"`

	// The lifecycle state of the VPN route.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this VPN route. The name is unique across all routes for a VPN server.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VPNServerRoute : VPNServerRoute struct

type VPNServerRouteCollection added in v0.22.0

type VPNServerRouteCollection struct {
	// A link to the first page of resources.
	First *VPNServerRouteCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VPNServerRouteCollectionNext `json:"next,omitempty"`

	// Collection of VPN routes.
	Routes []VPNServerRoute `json:"routes" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

VPNServerRouteCollection : VPNServerRouteCollection struct

func (*VPNServerRouteCollection) GetNextStart added in v0.22.0

func (resp *VPNServerRouteCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VPNServerRouteCollectionFirst added in v0.22.0

type VPNServerRouteCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNServerRouteCollectionFirst : A link to the first page of resources.

type VPNServerRouteCollectionNext added in v0.22.0

type VPNServerRouteCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VPNServerRouteCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VPNServerRouteHealthReason added in v0.43.0

type VPNServerRouteHealthReason struct {
	// A reason code for this health state:
	// - `internal_error`: Internal error (contact IBM support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNServerRouteHealthReason : VPNServerRouteHealthReason struct

type VPNServerRouteLifecycleReason added in v0.43.0

type VPNServerRouteLifecycleReason struct {
	// A reason code for this lifecycle state:
	// - `internal_error`: internal error (contact IBM support)
	// - `resource_suspended_by_provider`: The resource has been suspended (contact IBM
	//   support)
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this lifecycle state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this lifecycle state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VPNServerRouteLifecycleReason : VPNServerRouteLifecycleReason struct

type VPNServerRoutePatch added in v0.22.0

type VPNServerRoutePatch struct {
	// The name for this VPN server route. The name must not be used by another route for the VPN server.
	Name *string `json:"name,omitempty"`
}

VPNServerRoutePatch : VPNServerRoutePatch struct

func (*VPNServerRoutePatch) AsPatch added in v0.22.0

func (vpnServerRoutePatch *VPNServerRoutePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VPNServerRoutePatch

type VPNServerRoutesPager added in v0.25.0

type VPNServerRoutesPager struct {
	// contains filtered or unexported fields
}

VPNServerRoutesPager can be used to simplify the use of the "ListVPNServerRoutes" method.

func (*VPNServerRoutesPager) GetAll added in v0.25.0

func (pager *VPNServerRoutesPager) GetAll() (allItems []VPNServerRoute, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPNServerRoutesPager) GetAllWithContext added in v0.25.0

func (pager *VPNServerRoutesPager) GetAllWithContext(ctx context.Context) (allItems []VPNServerRoute, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPNServerRoutesPager) GetNext added in v0.25.0

func (pager *VPNServerRoutesPager) GetNext() (page []VPNServerRoute, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPNServerRoutesPager) GetNextWithContext added in v0.25.0

func (pager *VPNServerRoutesPager) GetNextWithContext(ctx context.Context) (page []VPNServerRoute, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPNServerRoutesPager) HasNext added in v0.25.0

func (pager *VPNServerRoutesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VPNServersPager added in v0.25.0

type VPNServersPager struct {
	// contains filtered or unexported fields
}

VPNServersPager can be used to simplify the use of the "ListVPNServers" method.

func (*VPNServersPager) GetAll added in v0.25.0

func (pager *VPNServersPager) GetAll() (allItems []VPNServer, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VPNServersPager) GetAllWithContext added in v0.25.0

func (pager *VPNServersPager) GetAllWithContext(ctx context.Context) (allItems []VPNServer, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VPNServersPager) GetNext added in v0.25.0

func (pager *VPNServersPager) GetNext() (page []VPNServer, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VPNServersPager) GetNextWithContext added in v0.25.0

func (pager *VPNServersPager) GetNextWithContext(ctx context.Context) (page []VPNServer, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VPNServersPager) HasNext added in v0.25.0

func (pager *VPNServersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Vcpu added in v0.4.0

type Vcpu struct {
	// The VCPU architecture.
	Architecture *string `json:"architecture" validate:"required"`

	// The number of VCPUs assigned.
	Count *int64 `json:"count" validate:"required"`

	// The VCPU manufacturer.
	Manufacturer *string `json:"manufacturer" validate:"required"`
}

Vcpu : The VCPU configuration.

type VirtualNetworkInterface added in v0.41.0

type VirtualNetworkInterface struct {
	// Indicates whether source IP spoofing is allowed on this interface. If `false`, source IP spoofing is prevented on
	// this interface. If `true`, source IP spoofing is allowed on this interface.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing" validate:"required"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted.
	AutoDelete *bool `json:"auto_delete" validate:"required"`

	// The date and time that the virtual network interface was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat" validate:"required"`

	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`

	// The reserved IPs bound to this virtual network interface.
	//
	// May be empty when `lifecycle_state` is `pending`.
	Ips []ReservedIPReference `json:"ips" validate:"required"`

	// The lifecycle state of the virtual network interface.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The MAC address of the virtual network interface. May be absent if `lifecycle_state` is `pending`.
	MacAddress *string `json:"mac_address,omitempty"`

	// The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
	Name *string `json:"name" validate:"required"`

	// The reserved IP for this virtual network interface.
	PrimaryIP *ReservedIPReference `json:"primary_ip" validate:"required"`

	// The resource group for this virtual network interface.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The security groups for this virtual network interface.
	SecurityGroups []SecurityGroupReference `json:"security_groups" validate:"required"`

	// The associated subnet.
	Subnet *SubnetReference `json:"subnet" validate:"required"`

	// The target of this virtual network interface.
	//
	// If absent, this virtual network interface is not attached to a target.
	Target VirtualNetworkInterfaceTargetIntf `json:"target,omitempty"`

	// The VPC this virtual network interface resides in.
	VPC *VPCReference `json:"vpc" validate:"required"`

	// The zone this virtual network interface resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

VirtualNetworkInterface : VirtualNetworkInterface struct

type VirtualNetworkInterfaceCollection added in v0.41.0

type VirtualNetworkInterfaceCollection struct {
	// A link to the first page of resources.
	First *VirtualNetworkInterfaceCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VirtualNetworkInterfaceCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Collection of virtual network interfaces.
	VirtualNetworkInterfaces []VirtualNetworkInterface `json:"virtual_network_interfaces" validate:"required"`
}

VirtualNetworkInterfaceCollection : VirtualNetworkInterfaceCollection struct

func (*VirtualNetworkInterfaceCollection) GetNextStart added in v0.41.0

func (resp *VirtualNetworkInterfaceCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VirtualNetworkInterfaceCollectionFirst added in v0.41.0

type VirtualNetworkInterfaceCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VirtualNetworkInterfaceCollectionFirst : A link to the first page of resources.

type VirtualNetworkInterfaceCollectionNext added in v0.41.0

type VirtualNetworkInterfaceCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VirtualNetworkInterfaceCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VirtualNetworkInterfaceIPPrototype added in v0.47.0

type VirtualNetworkInterfaceIPPrototype struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`

	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`
}

VirtualNetworkInterfaceIPPrototype : VirtualNetworkInterfaceIPPrototype struct Models which "extend" this model: - VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext - VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext

type VirtualNetworkInterfaceIPPrototypeIntf added in v0.47.0

type VirtualNetworkInterfaceIPPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext added in v0.47.0

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`
}

VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext : Identifies a reserved IP by a unique property. The reserved IP must be currently unbound and in the primary IP's subnet. Models which "extend" this model: - VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID - VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref This model "extends" VirtualNetworkInterfaceIPPrototype

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref added in v0.47.0

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref struct {
	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`
}

VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref : VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref struct This model "extends" VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID added in v0.47.0

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`
}

VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID : VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID struct This model "extends" VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContext

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextIntf added in v0.47.0

type VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextIntf interface {
	VirtualNetworkInterfaceIPPrototypeIntf
	// contains filtered or unexported methods
}

type VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext added in v0.47.0

type VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext struct {
	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`
}

VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext : The prototype for a new reserved IP. Must be in the primary IP's subnet. This model "extends" VirtualNetworkInterfaceIPPrototype

type VirtualNetworkInterfaceIpsPager added in v0.47.0

type VirtualNetworkInterfaceIpsPager struct {
	// contains filtered or unexported fields
}

VirtualNetworkInterfaceIpsPager can be used to simplify the use of the "ListVirtualNetworkInterfaceIps" method.

func (*VirtualNetworkInterfaceIpsPager) GetAll added in v0.47.0

func (pager *VirtualNetworkInterfaceIpsPager) GetAll() (allItems []ReservedIPReference, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VirtualNetworkInterfaceIpsPager) GetAllWithContext added in v0.47.0

func (pager *VirtualNetworkInterfaceIpsPager) GetAllWithContext(ctx context.Context) (allItems []ReservedIPReference, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VirtualNetworkInterfaceIpsPager) GetNext added in v0.47.0

func (pager *VirtualNetworkInterfaceIpsPager) GetNext() (page []ReservedIPReference, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VirtualNetworkInterfaceIpsPager) GetNextWithContext added in v0.47.0

func (pager *VirtualNetworkInterfaceIpsPager) GetNextWithContext(ctx context.Context) (page []ReservedIPReference, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VirtualNetworkInterfaceIpsPager) HasNext added in v0.47.0

func (pager *VirtualNetworkInterfaceIpsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VirtualNetworkInterfacePatch added in v0.41.0

type VirtualNetworkInterfacePatch struct {
	// Indicates whether source IP spoofing is allowed on this interface.
	//
	// Must be `false` if `target` is a file share mount target.
	AllowIPSpoofing *bool `json:"allow_ip_spoofing,omitempty"`

	// Indicates whether this virtual network interface will be automatically deleted when
	// `target` is deleted. Must be `false` if the virtual network interface is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// If `true`:
	// - The VPC infrastructure performs any needed NAT operations.
	// - `floating_ips` must not have more than one floating IP.
	//
	// If `false`:
	// - Packets are passed unchanged to/from the virtual network interface,
	//   allowing the workload to perform any needed NAT operations.
	// - `allow_ip_spoofing` must be `false`.
	// - Can only be attached to a `target` with a `resource_type` of
	//   `bare_metal_server_network_attachment`.
	EnableInfrastructureNat *bool `json:"enable_infrastructure_nat,omitempty"`

	// The name for this virtual network interface. The name must not be used by another virtual network interface in the
	// region. Names beginning with `ibm-` are reserved for provider-owned resources, and are not allowed.
	Name *string `json:"name,omitempty"`
}

VirtualNetworkInterfacePatch : VirtualNetworkInterfacePatch struct

func (*VirtualNetworkInterfacePatch) AsPatch added in v0.41.0

func (virtualNetworkInterfacePatch *VirtualNetworkInterfacePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VirtualNetworkInterfacePatch

type VirtualNetworkInterfacePrimaryIPPrototype added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototype struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`

	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`
}

VirtualNetworkInterfacePrimaryIPPrototype : VirtualNetworkInterfacePrimaryIPPrototype struct Models which "extend" this model: - VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext - VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext

type VirtualNetworkInterfacePrimaryIPPrototypeIntf added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id,omitempty"`

	// The URL for this reserved IP.
	Href *string `json:"href,omitempty"`
}

VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext : Identifies a reserved IP by a unique property. Required if `subnet` is not specified. The reserved IP must be currently unbound. Models which "extend" this model: - VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID - VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref This model "extends" VirtualNetworkInterfacePrimaryIPPrototype

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref struct {
	// The URL for this reserved IP.
	Href *string `json:"href" validate:"required"`
}

VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref : VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref struct This model "extends" VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID struct {
	// The unique identifier for this reserved IP.
	ID *string `json:"id" validate:"required"`
}

VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID : VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID struct This model "extends" VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContext

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextIntf added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextIntf interface {
	VirtualNetworkInterfacePrimaryIPPrototypeIntf
	// contains filtered or unexported methods
}

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext added in v0.41.0

type VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext struct {
	// The IP address to reserve, which must not already be reserved on the subnet.
	//
	// If unspecified, an available address on the subnet will automatically be selected.
	Address *string `json:"address,omitempty"`

	// Indicates whether this reserved IP member will be automatically deleted when either
	// `target` is deleted, or the reserved IP is unbound.
	AutoDelete *bool `json:"auto_delete,omitempty"`

	// The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with
	// `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated
	// list of randomly-selected words.
	Name *string `json:"name,omitempty"`
}

VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext : The prototype for a new reserved IP. Requires `subnet` to be specified. This model "extends" VirtualNetworkInterfacePrimaryIPPrototype

type VirtualNetworkInterfaceReferenceAttachmentContext added in v0.41.0

type VirtualNetworkInterfaceReferenceAttachmentContext struct {
	// The CRN for this virtual network interface.
	CRN *string `json:"crn" validate:"required"`

	// The URL for this virtual network interface.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this virtual network interface.
	ID *string `json:"id" validate:"required"`

	// The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VirtualNetworkInterfaceReferenceAttachmentContext : VirtualNetworkInterfaceReferenceAttachmentContext struct

type VirtualNetworkInterfaceReferenceDeleted added in v0.41.0

type VirtualNetworkInterfaceReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VirtualNetworkInterfaceReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VirtualNetworkInterfaceTarget added in v0.41.0

type VirtualNetworkInterfaceTarget struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ShareMountTargetReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this share mount target.
	Href *string `json:"href,omitempty"`

	// The unique identifier for this share mount target.
	ID *string `json:"id,omitempty"`

	// The name for this share mount target. The name is unique across all mount targets for the file share.
	Name *string `json:"name,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type,omitempty"`
}

VirtualNetworkInterfaceTarget : A virtual network interface target.

The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. Models which "extend" this model: - VirtualNetworkInterfaceTargetShareMountTargetReference - VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext - VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext

type VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext added in v0.47.0

type VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext struct {
	// The URL for this bare metal server network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this bare metal server network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this bare metal server network attachment. The name is unique across all network attachments for the
	// bare metal server.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext : VirtualNetworkInterfaceTargetBareMetalServerNetworkAttachmentReferenceVirtualNetworkInterfaceContext struct This model "extends" VirtualNetworkInterfaceTarget

type VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext added in v0.47.0

type VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext struct {
	// The URL for this instance network attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this instance network attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this instance network attachment. The name is unique across all network attachments for the instance.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext : VirtualNetworkInterfaceTargetInstanceNetworkAttachmentReferenceVirtualNetworkInterfaceContext struct This model "extends" VirtualNetworkInterfaceTarget

type VirtualNetworkInterfaceTargetIntf added in v0.41.0

type VirtualNetworkInterfaceTargetIntf interface {
	// contains filtered or unexported methods
}

type VirtualNetworkInterfaceTargetShareMountTargetReference added in v0.41.0

type VirtualNetworkInterfaceTargetShareMountTargetReference struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *ShareMountTargetReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this share mount target.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this share mount target.
	ID *string `json:"id" validate:"required"`

	// The name for this share mount target. The name is unique across all mount targets for the file share.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VirtualNetworkInterfaceTargetShareMountTargetReference : VirtualNetworkInterfaceTargetShareMountTargetReference struct This model "extends" VirtualNetworkInterfaceTarget

type VirtualNetworkInterfacesPager added in v0.41.0

type VirtualNetworkInterfacesPager struct {
	// contains filtered or unexported fields
}

VirtualNetworkInterfacesPager can be used to simplify the use of the "ListVirtualNetworkInterfaces" method.

func (*VirtualNetworkInterfacesPager) GetAll added in v0.41.0

func (pager *VirtualNetworkInterfacesPager) GetAll() (allItems []VirtualNetworkInterface, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VirtualNetworkInterfacesPager) GetAllWithContext added in v0.41.0

func (pager *VirtualNetworkInterfacesPager) GetAllWithContext(ctx context.Context) (allItems []VirtualNetworkInterface, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VirtualNetworkInterfacesPager) GetNext added in v0.41.0

func (pager *VirtualNetworkInterfacesPager) GetNext() (page []VirtualNetworkInterface, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VirtualNetworkInterfacesPager) GetNextWithContext added in v0.41.0

func (pager *VirtualNetworkInterfacesPager) GetNextWithContext(ctx context.Context) (page []VirtualNetworkInterface, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VirtualNetworkInterfacesPager) HasNext added in v0.41.0

func (pager *VirtualNetworkInterfacesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Volume

type Volume struct {
	// Indicates whether a running virtual server instance has an attachment to this volume.
	Active *bool `json:"active" validate:"required"`

	// The attachment state of the volume
	// - `unattached`: Not attached to any virtual server instances
	// - `attached`: Attached to a virtual server instance (even if the instance is stopped)
	// - `unusable`: Not able to be attached to any virtual server instances.
	AttachmentState *string `json:"attachment_state" validate:"required"`

	// The maximum bandwidth (in megabits per second) for the volume.
	Bandwidth *int64 `json:"bandwidth" validate:"required"`

	// Indicates whether this volume is performing an operation that must be serialized. This must be `false` to perform an
	// operation that is specified to require serialization.
	Busy *bool `json:"busy" validate:"required"`

	// The capacity to use for the volume (in gigabytes).
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity" validate:"required"`

	// The date and time that the volume was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The CRN for this volume.
	CRN *string `json:"crn" validate:"required"`

	// The type of encryption used on the volume.
	Encryption *string `json:"encryption" validate:"required"`

	// The root key used to wrap the data encryption key for the volume.
	//
	// This property will be present for volumes with an `encryption` type of
	// `user_managed`.
	EncryptionKey *EncryptionKeyReference `json:"encryption_key,omitempty"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VolumeHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this volume.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume.
	ID *string `json:"id" validate:"required"`

	// The maximum I/O operations per second (IOPS) for this volume.
	Iops *int64 `json:"iops" validate:"required"`

	// The name for this volume. The name is unique across all volumes in the region.
	Name *string `json:"name" validate:"required"`

	// The operating system associated with this volume. If absent, this volume was not
	// created from an image, or the image did not include an operating system.
	OperatingSystem *OperatingSystem `json:"operating_system,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) for
	// this volume.
	Profile *VolumeProfileReference `json:"profile" validate:"required"`

	// The resource group for this volume.
	ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The image from which this volume was created (this may be
	// [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
	// If absent, this volume was not created from an image.
	SourceImage *ImageReference `json:"source_image,omitempty"`

	// The snapshot from which this volume was cloned.
	SourceSnapshot *SnapshotReference `json:"source_snapshot,omitempty"`

	// The status of the volume.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Status *string `json:"status" validate:"required"`

	// The reasons for the current status (if any).
	StatusReasons []VolumeStatusReason `json:"status_reasons" validate:"required"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags" validate:"required"`

	// The volume attachments for this volume.
	VolumeAttachments []VolumeAttachmentReferenceVolumeContext `json:"volume_attachments" validate:"required"`

	// The zone this volume resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

Volume : Volume struct

type VolumeAttachment

type VolumeAttachment struct {
	// The maximum bandwidth (in megabits per second) for the volume when attached to this instance. This may be lower than
	// the volume bandwidth depending on the configuration of the instance.
	Bandwidth *int64 `json:"bandwidth" validate:"required"`

	// The date and time that the volume was attached.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete" validate:"required"`

	// Information about how the volume is exposed to the instance operating system.
	//
	// This property may be absent if the volume attachment's `status` is not `attached`.
	Device *VolumeAttachmentDevice `json:"device,omitempty"`

	// The URL for this volume attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this volume attachment. The name is unique across all volume attachments on the instance.
	Name *string `json:"name" validate:"required"`

	// The status of this volume attachment.
	Status *string `json:"status" validate:"required"`

	// The type of volume attachment.
	Type *string `json:"type" validate:"required"`

	// The attached volume.
	//
	// This property will be absent if the volume has not yet been provisioned.
	Volume *VolumeReferenceVolumeAttachmentContext `json:"volume,omitempty"`
}

VolumeAttachment : VolumeAttachment struct

type VolumeAttachmentCollection

type VolumeAttachmentCollection struct {
	// Collection of volume attachments.
	VolumeAttachments []VolumeAttachment `json:"volume_attachments" validate:"required"`
}

VolumeAttachmentCollection : VolumeAttachmentCollection struct

type VolumeAttachmentDevice

type VolumeAttachmentDevice struct {
	// A unique identifier for the device which is exposed to the instance operating system.
	ID *string `json:"id,omitempty"`
}

VolumeAttachmentDevice : VolumeAttachmentDevice struct

type VolumeAttachmentPatch added in v0.2.0

type VolumeAttachmentPatch struct {
	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The name for this volume attachment. The name must not be used by another volume attachment on the instance.
	Name *string `json:"name,omitempty"`
}

VolumeAttachmentPatch : VolumeAttachmentPatch struct

func (*VolumeAttachmentPatch) AsPatch added in v0.2.0

func (volumeAttachmentPatch *VolumeAttachmentPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VolumeAttachmentPatch

type VolumeAttachmentPrototype added in v0.28.0

type VolumeAttachmentPrototype struct {
	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The name for this volume attachment. The name must not be used by another volume attachment on the instance. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// An existing volume to attach to the instance, or a prototype object for a new volume.
	Volume VolumeAttachmentPrototypeVolumeIntf `json:"volume" validate:"required"`
}

VolumeAttachmentPrototype : VolumeAttachmentPrototype struct

type VolumeAttachmentPrototypeInstanceByImageContext

type VolumeAttachmentPrototypeInstanceByImageContext struct {
	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The name for this volume attachment. The name must not be used by another volume attachment on the instance. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// A prototype object for a new volume.
	Volume *VolumePrototypeInstanceByImageContext `json:"volume" validate:"required"`
}

VolumeAttachmentPrototypeInstanceByImageContext : VolumeAttachmentPrototypeInstanceByImageContext struct

type VolumeAttachmentPrototypeInstanceBySourceSnapshotContext added in v0.18.0

type VolumeAttachmentPrototypeInstanceBySourceSnapshotContext struct {
	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The name for this volume attachment. The name must not be used by another volume attachment on the instance. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// A prototype object for a new volume from a snapshot.
	Volume *VolumePrototypeInstanceBySourceSnapshotContext `json:"volume" validate:"required"`
}

VolumeAttachmentPrototypeInstanceBySourceSnapshotContext : VolumeAttachmentPrototypeInstanceBySourceSnapshotContext struct

type VolumeAttachmentPrototypeInstanceByVolumeContext added in v0.7.0

type VolumeAttachmentPrototypeInstanceByVolumeContext struct {
	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete,omitempty"`

	// The name for this volume attachment. The name must not be used by another volume attachment on the instance. If
	// unspecified, the name will be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// An existing volume to attach.
	Volume VolumeIdentityIntf `json:"volume" validate:"required"`
}

VolumeAttachmentPrototypeInstanceByVolumeContext : VolumeAttachmentPrototypeInstanceByVolumeContext struct

type VolumeAttachmentPrototypeVolume added in v0.7.0

type VolumeAttachmentPrototypeVolume struct {
	// The unique identifier for this volume.
	ID *string `json:"id,omitempty"`

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

	// The URL for this volume.
	Href *string `json:"href,omitempty"`

	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to
	// use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile,omitempty"`

	// The resource group to use for this volume. If unspecified, the instance's resource
	// group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The capacity to use for the volume (in gigabytes).
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The snapshot from which to clone the volume.
	SourceSnapshot SnapshotIdentityIntf `json:"source_snapshot,omitempty"`
}

VolumeAttachmentPrototypeVolume : An existing volume to attach to the instance, or a prototype object for a new volume. Models which "extend" this model: - VolumeAttachmentPrototypeVolumeVolumeIdentity - VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext

type VolumeAttachmentPrototypeVolumeIntf added in v0.7.0

type VolumeAttachmentPrototypeVolumeIntf interface {
	// contains filtered or unexported methods
}

type VolumeAttachmentPrototypeVolumeVolumeIdentity added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumeIdentity struct {
	// The unique identifier for this volume.
	ID *string `json:"id,omitempty"`

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

	// The URL for this volume.
	Href *string `json:"href,omitempty"`
}

VolumeAttachmentPrototypeVolumeVolumeIdentity : Identifies a volume by a unique property. Models which "extend" this model: - VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID - VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN - VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref This model "extends" VolumeAttachmentPrototypeVolume

type VolumeAttachmentPrototypeVolumeVolumeIdentityIntf added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumeIdentityIntf interface {
	VolumeAttachmentPrototypeVolumeIntf
	// contains filtered or unexported methods
}

type VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN struct {
	// The CRN for this volume.
	CRN *string `json:"crn" validate:"required"`
}

VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN : VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN struct This model "extends" VolumeAttachmentPrototypeVolumeVolumeIdentity

type VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref struct {
	// The URL for this volume.
	Href *string `json:"href" validate:"required"`
}

VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref : VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref struct This model "extends" VolumeAttachmentPrototypeVolumeVolumeIdentity

type VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID struct {
	// The unique identifier for this volume.
	ID *string `json:"id" validate:"required"`
}

VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID : VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID struct This model "extends" VolumeAttachmentPrototypeVolumeVolumeIdentity

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext struct {
	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to
	// use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use for this volume. If unspecified, the instance's resource
	// group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The capacity to use for the volume (in gigabytes).
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The snapshot from which to clone the volume.
	SourceSnapshot SnapshotIdentityIntf `json:"source_snapshot,omitempty"`
}

VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext : VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext struct Models which "extend" this model: - VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity - VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot This model "extends" VolumeAttachmentPrototypeVolume

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextIntf added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextIntf interface {
	VolumeAttachmentPrototypeVolumeIntf
	// contains filtered or unexported methods
}

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity struct {
	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use for this volume. If unspecified, the instance's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The capacity to use for the volume (in gigabytes).
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity" validate:"required"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`
}

VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity : VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity struct This model "extends" VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot added in v0.7.0

type VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot struct {
	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use for this volume. If unspecified, the instance's resource group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The capacity to use for the volume (in gigabytes). Must be at least the snapshot's
	// `minimum_capacity`. The maximum value may increase in the future.
	//
	// If unspecified, the capacity will be the source snapshot's `minimum_capacity`.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The snapshot from which to clone the volume.
	SourceSnapshot SnapshotIdentityIntf `json:"source_snapshot" validate:"required"`
}

VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot : VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot struct This model "extends" VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContext

type VolumeAttachmentReferenceInstanceContext

type VolumeAttachmentReferenceInstanceContext struct {
	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VolumeAttachmentReferenceInstanceContextDeleted `json:"deleted,omitempty"`

	// Information about how the volume is exposed to the instance operating system.
	//
	// This property may be absent if the volume attachment's `status` is not `attached`.
	Device *VolumeAttachmentDevice `json:"device,omitempty"`

	// The URL for this volume attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume attachment.
	ID *string `json:"id" validate:"required"`

	// The name for this volume attachment. The name is unique across all volume attachments on the instance.
	Name *string `json:"name" validate:"required"`

	// The attached volume.
	//
	// This property will be absent if the volume has not yet been provisioned.
	Volume *VolumeReferenceVolumeAttachmentContext `json:"volume,omitempty"`
}

VolumeAttachmentReferenceInstanceContext : VolumeAttachmentReferenceInstanceContext struct

type VolumeAttachmentReferenceInstanceContextDeleted added in v0.3.0

type VolumeAttachmentReferenceInstanceContextDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VolumeAttachmentReferenceInstanceContextDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VolumeAttachmentReferenceVolumeContext

type VolumeAttachmentReferenceVolumeContext struct {
	// Indicates whether deleting the instance will also delete the attached volume.
	DeleteVolumeOnInstanceDelete *bool `json:"delete_volume_on_instance_delete" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VolumeAttachmentReferenceVolumeContextDeleted `json:"deleted,omitempty"`

	// Information about how the volume is exposed to the instance operating system.
	//
	// This property may be absent if the volume attachment's `status` is not `attached`.
	Device *VolumeAttachmentDevice `json:"device,omitempty"`

	// The URL for this volume attachment.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume attachment.
	ID *string `json:"id" validate:"required"`

	// The attached instance.
	Instance *InstanceReference `json:"instance" validate:"required"`

	// The name for this volume attachment. The name is unique across all volume attachments on the instance.
	Name *string `json:"name" validate:"required"`

	// The type of volume attachment.
	Type *string `json:"type" validate:"required"`
}

VolumeAttachmentReferenceVolumeContext : VolumeAttachmentReferenceVolumeContext struct

type VolumeAttachmentReferenceVolumeContextDeleted added in v0.3.0

type VolumeAttachmentReferenceVolumeContextDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VolumeAttachmentReferenceVolumeContextDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VolumeCollection

type VolumeCollection struct {
	// A link to the first page of resources.
	First *VolumeCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VolumeCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Collection of volumes.
	Volumes []Volume `json:"volumes" validate:"required"`
}

VolumeCollection : VolumeCollection struct

func (*VolumeCollection) GetNextStart added in v0.8.0

func (resp *VolumeCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VolumeCollectionFirst

type VolumeCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VolumeCollectionFirst : A link to the first page of resources.

type VolumeCollectionNext

type VolumeCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VolumeCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VolumeHealthReason added in v0.28.0

type VolumeHealthReason struct {
	// A reason code for this health state.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VolumeHealthReason : VolumeHealthReason struct

type VolumeIdentity

type VolumeIdentity struct {
	// The unique identifier for this volume.
	ID *string `json:"id,omitempty"`

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

	// The URL for this volume.
	Href *string `json:"href,omitempty"`
}

VolumeIdentity : Identifies a volume by a unique property. Models which "extend" this model: - VolumeIdentityByID - VolumeIdentityByCRN - VolumeIdentityByHref

type VolumeIdentityByCRN

type VolumeIdentityByCRN struct {
	// The CRN for this volume.
	CRN *string `json:"crn" validate:"required"`
}

VolumeIdentityByCRN : VolumeIdentityByCRN struct This model "extends" VolumeIdentity

type VolumeIdentityByHref

type VolumeIdentityByHref struct {
	// The URL for this volume.
	Href *string `json:"href" validate:"required"`
}

VolumeIdentityByHref : VolumeIdentityByHref struct This model "extends" VolumeIdentity

type VolumeIdentityByID

type VolumeIdentityByID struct {
	// The unique identifier for this volume.
	ID *string `json:"id" validate:"required"`
}

VolumeIdentityByID : VolumeIdentityByID struct This model "extends" VolumeIdentity

type VolumeIdentityIntf

type VolumeIdentityIntf interface {
	// contains filtered or unexported methods
}

type VolumePatch added in v0.2.0

type VolumePatch struct {
	// The capacity to use for the volume (in gigabytes). The volume must be attached to a running virtual server instance,
	// and the specified value must not be less than the current capacity. Additionally, if the volume is attached as a
	// boot volume, the maximum value is 250 gigabytes.
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity,omitempty"`

	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`. The volume must be attached as a data volume to a running virtual server instance.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region.
	Name *string `json:"name,omitempty"`

	// The profile to use for this volume. The requested profile must be in the same
	// `family` as the current profile. The volume must be attached as a data volume to
	// a running virtual server instance, and must have a `capacity` within the range
	// supported by the specified profile.
	Profile VolumeProfileIdentityIntf `json:"profile,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`
}

VolumePatch : VolumePatch struct

func (*VolumePatch) AsPatch added in v0.2.0

func (volumePatch *VolumePatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VolumePatch

type VolumeProfile

type VolumeProfile struct {
	// The product family this volume profile belongs to.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Family *string `json:"family" validate:"required"`

	// The URL for this volume profile.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this volume profile.
	Name *string `json:"name" validate:"required"`
}

VolumeProfile : VolumeProfile struct

type VolumeProfileCollection

type VolumeProfileCollection struct {
	// A link to the first page of resources.
	First *VolumeProfileCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VolumeProfileCollectionNext `json:"next,omitempty"`

	// Collection of volume profiles.
	Profiles []VolumeProfile `json:"profiles" validate:"required"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

VolumeProfileCollection : VolumeProfileCollection struct

func (*VolumeProfileCollection) GetNextStart added in v0.8.0

func (resp *VolumeProfileCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VolumeProfileCollectionFirst

type VolumeProfileCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VolumeProfileCollectionFirst : A link to the first page of resources.

type VolumeProfileCollectionNext

type VolumeProfileCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VolumeProfileCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VolumeProfileIdentity

type VolumeProfileIdentity struct {
	// The globally unique name for this volume profile.
	Name *string `json:"name,omitempty"`

	// The URL for this volume profile.
	Href *string `json:"href,omitempty"`
}

VolumeProfileIdentity : Identifies a volume profile by a unique property. Models which "extend" this model: - VolumeProfileIdentityByName - VolumeProfileIdentityByHref

type VolumeProfileIdentityByHref

type VolumeProfileIdentityByHref struct {
	// The URL for this volume profile.
	Href *string `json:"href" validate:"required"`
}

VolumeProfileIdentityByHref : VolumeProfileIdentityByHref struct This model "extends" VolumeProfileIdentity

type VolumeProfileIdentityByName

type VolumeProfileIdentityByName struct {
	// The globally unique name for this volume profile.
	Name *string `json:"name" validate:"required"`
}

VolumeProfileIdentityByName : VolumeProfileIdentityByName struct This model "extends" VolumeProfileIdentity

type VolumeProfileIdentityIntf

type VolumeProfileIdentityIntf interface {
	// contains filtered or unexported methods
}

type VolumeProfileReference

type VolumeProfileReference struct {
	// The URL for this volume profile.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this volume profile.
	Name *string `json:"name" validate:"required"`
}

VolumeProfileReference : VolumeProfileReference struct

type VolumeProfilesPager added in v0.25.0

type VolumeProfilesPager struct {
	// contains filtered or unexported fields
}

VolumeProfilesPager can be used to simplify the use of the "ListVolumeProfiles" method.

func (*VolumeProfilesPager) GetAll added in v0.25.0

func (pager *VolumeProfilesPager) GetAll() (allItems []VolumeProfile, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VolumeProfilesPager) GetAllWithContext added in v0.25.0

func (pager *VolumeProfilesPager) GetAllWithContext(ctx context.Context) (allItems []VolumeProfile, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VolumeProfilesPager) GetNext added in v0.25.0

func (pager *VolumeProfilesPager) GetNext() (page []VolumeProfile, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VolumeProfilesPager) GetNextWithContext added in v0.25.0

func (pager *VolumeProfilesPager) GetNextWithContext(ctx context.Context) (page []VolumeProfile, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VolumeProfilesPager) HasNext added in v0.25.0

func (pager *VolumeProfilesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VolumePrototype

type VolumePrototype struct {
	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to
	// use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this volume will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The capacity to use for the volume (in gigabytes).
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The snapshot from which to clone the volume.
	SourceSnapshot SnapshotIdentityIntf `json:"source_snapshot,omitempty"`
}

VolumePrototype : VolumePrototype struct Models which "extend" this model: - VolumePrototypeVolumeByCapacity - VolumePrototypeVolumeBySourceSnapshot

type VolumePrototypeInstanceByImageContext

type VolumePrototypeInstanceByImageContext struct {
	// The capacity to use for the volume (in gigabytes). Must be at least the image's
	// `minimum_provisioned_size`. The maximum value may increase in the future.
	//
	// If unspecified, the capacity will be the image's `minimum_provisioned_size`.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to
	// use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use for this volume. If unspecified, the instance's resource
	// group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`
}

VolumePrototypeInstanceByImageContext : VolumePrototypeInstanceByImageContext struct

type VolumePrototypeInstanceBySourceSnapshotContext added in v0.18.0

type VolumePrototypeInstanceBySourceSnapshotContext struct {
	// The capacity to use for the volume (in gigabytes). Must be at least the snapshot's
	// `minimum_capacity`. The maximum value may increase in the future.
	//
	// If unspecified, the capacity will be the source snapshot's `minimum_capacity`.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to
	// use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	// The resource group to use for this volume. If unspecified, the instance's resource
	// group will be used.
	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The snapshot from which to clone the volume.
	SourceSnapshot SnapshotIdentityIntf `json:"source_snapshot" validate:"required"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`
}

VolumePrototypeInstanceBySourceSnapshotContext : VolumePrototypeInstanceBySourceSnapshotContext struct

type VolumePrototypeIntf

type VolumePrototypeIntf interface {
	// contains filtered or unexported methods
}

type VolumePrototypeVolumeByCapacity

type VolumePrototypeVolumeByCapacity struct {
	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this volume will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The capacity to use for the volume (in gigabytes).
	//
	// The minimum and maximum limits for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Capacity *int64 `json:"capacity" validate:"required"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`
}

VolumePrototypeVolumeByCapacity : VolumePrototypeVolumeByCapacity struct This model "extends" VolumePrototype

type VolumePrototypeVolumeBySourceSnapshot added in v0.22.0

type VolumePrototypeVolumeBySourceSnapshot struct {
	// The maximum I/O operations per second (IOPS) to use for this volume. Applicable only to volumes using a profile
	// `family` of `custom`.
	Iops *int64 `json:"iops,omitempty"`

	// The name for this volume. The name must not be used by another volume in the region. If unspecified, the name will
	// be a hyphenated list of randomly-selected words.
	Name *string `json:"name,omitempty"`

	// The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) to use for this volume.
	Profile VolumeProfileIdentityIntf `json:"profile" validate:"required"`

	ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"`

	// The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this volume.
	UserTags []string `json:"user_tags,omitempty"`

	// The zone this volume will reside in.
	Zone ZoneIdentityIntf `json:"zone" validate:"required"`

	// The capacity to use for the volume (in gigabytes). Must be at least the snapshot's
	// `minimum_capacity`. The maximum value may increase in the future.
	//
	// If unspecified, the capacity will be the source snapshot's `minimum_capacity`.
	Capacity *int64 `json:"capacity,omitempty"`

	// The root key to use to wrap the data encryption key for the volume.
	//
	// If unspecified, the `encryption` type for the volume will be `provider_managed`.
	EncryptionKey EncryptionKeyIdentityIntf `json:"encryption_key,omitempty"`

	// The snapshot from which to clone the volume.
	SourceSnapshot SnapshotIdentityIntf `json:"source_snapshot" validate:"required"`
}

VolumePrototypeVolumeBySourceSnapshot : VolumePrototypeVolumeBySourceSnapshot struct This model "extends" VolumePrototype

type VolumeReference

type VolumeReference struct {
	// The CRN for this volume.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VolumeReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this volume.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume.
	ID *string `json:"id" validate:"required"`

	// The name for this volume. The name is unique across all volumes in the region.
	Name *string `json:"name" validate:"required"`

	// If present, this property indicates that the resource associated with this reference
	// is remote and therefore may not be directly retrievable.
	Remote *VolumeRemote `json:"remote,omitempty"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VolumeReference : VolumeReference struct

type VolumeReferenceDeleted added in v0.3.0

type VolumeReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VolumeReferenceDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VolumeReferenceVolumeAttachmentContext added in v0.33.0

type VolumeReferenceVolumeAttachmentContext struct {
	// The CRN for this volume.
	CRN *string `json:"crn" validate:"required"`

	// If present, this property indicates the referenced resource has been deleted, and provides
	// some supplementary information.
	Deleted *VolumeReferenceVolumeAttachmentContextDeleted `json:"deleted,omitempty"`

	// The URL for this volume.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this volume.
	ID *string `json:"id" validate:"required"`

	// The name for this volume. The name is unique across all volumes in the region.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`
}

VolumeReferenceVolumeAttachmentContext : VolumeReferenceVolumeAttachmentContext struct

type VolumeReferenceVolumeAttachmentContextDeleted added in v0.33.0

type VolumeReferenceVolumeAttachmentContextDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo *string `json:"more_info" validate:"required"`
}

VolumeReferenceVolumeAttachmentContextDeleted : If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.

type VolumeRemote added in v0.39.0

type VolumeRemote struct {
	// If present, this property indicates that the referenced resource is remote to this
	// region, and identifies the native region.
	Region *RegionReference `json:"region,omitempty"`
}

VolumeRemote : If present, this property indicates that the resource associated with this reference is remote and therefore may not be directly retrievable.

type VolumeStatusReason added in v0.4.0

type VolumeStatusReason struct {
	// A snake case string succinctly identifying the status reason.
	//
	// The enumerated values for this property may
	// [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
	Code *string `json:"code" validate:"required"`

	// An explanation of the status reason.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about this status reason.
	MoreInfo *string `json:"more_info,omitempty"`
}

VolumeStatusReason : VolumeStatusReason struct

type VolumesPager added in v0.25.0

type VolumesPager struct {
	// contains filtered or unexported fields
}

VolumesPager can be used to simplify the use of the "ListVolumes" method.

func (*VolumesPager) GetAll added in v0.25.0

func (pager *VolumesPager) GetAll() (allItems []Volume, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VolumesPager) GetAllWithContext added in v0.25.0

func (pager *VolumesPager) GetAllWithContext(ctx context.Context) (allItems []Volume, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VolumesPager) GetNext added in v0.25.0

func (pager *VolumesPager) GetNext() (page []Volume, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VolumesPager) GetNextWithContext added in v0.25.0

func (pager *VolumesPager) GetNextWithContext(ctx context.Context) (page []Volume, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VolumesPager) HasNext added in v0.25.0

func (pager *VolumesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type VpcV1

type VpcV1 struct {
	Service *core.BaseService

	// The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2024-04-30`
	// and `2024-05-10`.
	Version *string
	// contains filtered or unexported fields
}

VpcV1 : The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual server instances, along with subnets, volumes, load balancers, and more.

API Version: 2024-05-10

func NewVpcV1

func NewVpcV1(options *VpcV1Options) (service *VpcV1, err error)

NewVpcV1 : constructs an instance of VpcV1 with passed in options.

func NewVpcV1UsingExternalConfig

func NewVpcV1UsingExternalConfig(options *VpcV1Options) (vpc *VpcV1, err error)

NewVpcV1UsingExternalConfig : constructs an instance of VpcV1 with passed in options and external configuration.

func (*VpcV1) ActivateReservation added in v0.48.0

func (vpc *VpcV1) ActivateReservation(activateReservationOptions *ActivateReservationOptions) (response *core.DetailedResponse, err error)

ActivateReservation : Activate a reservation This request activates a reservation. For this request to succeed, the reservation status must be `inactive`.

func (*VpcV1) ActivateReservationWithContext added in v0.48.0

func (vpc *VpcV1) ActivateReservationWithContext(ctx context.Context, activateReservationOptions *ActivateReservationOptions) (response *core.DetailedResponse, err error)

ActivateReservationWithContext is an alternate form of the ActivateReservation method which supports a Context parameter

func (*VpcV1) AddBareMetalServerNetworkInterfaceFloatingIP added in v0.16.0

func (vpc *VpcV1) AddBareMetalServerNetworkInterfaceFloatingIP(addBareMetalServerNetworkInterfaceFloatingIPOptions *AddBareMetalServerNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

AddBareMetalServerNetworkInterfaceFloatingIP : Associate a floating IP with a bare metal server network interface This request associates the specified floating IP with the specified bare metal server network interface. If `enable_infrastructure_nat` is `false`, this adds the IP to any existing associations. If `enable_infrastructure_nat` is `true`, this replaces any existing association.

The existing floating IP must: - not be required by another resource, such as a public gateway - be in the same `zone` as the bare metal server

A request body is not required, and if provided, is ignored.

func (*VpcV1) AddBareMetalServerNetworkInterfaceFloatingIPWithContext added in v0.16.0

func (vpc *VpcV1) AddBareMetalServerNetworkInterfaceFloatingIPWithContext(ctx context.Context, addBareMetalServerNetworkInterfaceFloatingIPOptions *AddBareMetalServerNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

AddBareMetalServerNetworkInterfaceFloatingIPWithContext is an alternate form of the AddBareMetalServerNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) AddEndpointGatewayIP added in v0.3.0

func (vpc *VpcV1) AddEndpointGatewayIP(addEndpointGatewayIPOptions *AddEndpointGatewayIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

AddEndpointGatewayIP : Bind a reserved IP to an endpoint gateway This request binds the specified reserved IP to the specified endpoint gateway. The reserved IP:

- must currently be unbound, or not required by its target - must not be in the same zone as any other reserved IP bound to the endpoint gateway.

func (*VpcV1) AddEndpointGatewayIPWithContext added in v0.4.2

func (vpc *VpcV1) AddEndpointGatewayIPWithContext(ctx context.Context, addEndpointGatewayIPOptions *AddEndpointGatewayIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

AddEndpointGatewayIPWithContext is an alternate form of the AddEndpointGatewayIP method which supports a Context parameter

func (*VpcV1) AddInstanceNetworkInterfaceFloatingIP

func (vpc *VpcV1) AddInstanceNetworkInterfaceFloatingIP(addInstanceNetworkInterfaceFloatingIPOptions *AddInstanceNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

AddInstanceNetworkInterfaceFloatingIP : Associate a floating IP with an instance network interface This request associates the specified floating IP with the specified instance network interface, replacing any existing association.

The existing floating IP must: - not be required by another resource, such as a public gateway - be in the same `zone` as the instance

A request body is not required, and if provided, is ignored.

func (*VpcV1) AddInstanceNetworkInterfaceFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) AddInstanceNetworkInterfaceFloatingIPWithContext(ctx context.Context, addInstanceNetworkInterfaceFloatingIPOptions *AddInstanceNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

AddInstanceNetworkInterfaceFloatingIPWithContext is an alternate form of the AddInstanceNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) AddNetworkInterfaceFloatingIP added in v0.47.0

func (vpc *VpcV1) AddNetworkInterfaceFloatingIP(addNetworkInterfaceFloatingIPOptions *AddNetworkInterfaceFloatingIPOptions) (result *FloatingIPReference, response *core.DetailedResponse, err error)

AddNetworkInterfaceFloatingIP : Add an association between a floating IP and a virtual network interface This request adds an association between the specified floating IP and the specified virtual network interface.

If the virtual network interface has `enable_infrastructure_nat` set to `true`, no more than one floating IP can be associated, and network address translation is performed between the floating IP address and the virtual network interface's `primary_ip` address.

If the virtual network interface has `enable_infrastructure_nat` set to `false`, packets are passed unchanged to/from the virtual network interface.

The floating IP must: - be in the same `zone` as the virtual network interface - not currently be associated with another resource

The virtual network interface's `target` must not currently be a file share mount target.

A request body is not required, and if provided, is ignored.

func (*VpcV1) AddNetworkInterfaceFloatingIPWithContext added in v0.47.0

func (vpc *VpcV1) AddNetworkInterfaceFloatingIPWithContext(ctx context.Context, addNetworkInterfaceFloatingIPOptions *AddNetworkInterfaceFloatingIPOptions) (result *FloatingIPReference, response *core.DetailedResponse, err error)

AddNetworkInterfaceFloatingIPWithContext is an alternate form of the AddNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) AddVPNGatewayConnectionsLocalCIDR added in v0.51.0

func (vpc *VpcV1) AddVPNGatewayConnectionsLocalCIDR(addVPNGatewayConnectionsLocalCIDROptions *AddVPNGatewayConnectionsLocalCIDROptions) (response *core.DetailedResponse, err error)

AddVPNGatewayConnectionsLocalCIDR : Set a local CIDR on a VPN gateway connection This request adds the specified CIDR to the specified VPN gateway connection. This request succeeds if the specified CIDR already exists. A request body is not required, and if provided, is ignored.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) AddVPNGatewayConnectionsLocalCIDRWithContext added in v0.51.0

func (vpc *VpcV1) AddVPNGatewayConnectionsLocalCIDRWithContext(ctx context.Context, addVPNGatewayConnectionsLocalCIDROptions *AddVPNGatewayConnectionsLocalCIDROptions) (response *core.DetailedResponse, err error)

AddVPNGatewayConnectionsLocalCIDRWithContext is an alternate form of the AddVPNGatewayConnectionsLocalCIDR method which supports a Context parameter

func (*VpcV1) AddVPNGatewayConnectionsPeerCIDR added in v0.51.0

func (vpc *VpcV1) AddVPNGatewayConnectionsPeerCIDR(addVPNGatewayConnectionsPeerCIDROptions *AddVPNGatewayConnectionsPeerCIDROptions) (response *core.DetailedResponse, err error)

AddVPNGatewayConnectionsPeerCIDR : Set a peer CIDR on a VPN gateway connection This request adds the specified CIDR to the specified VPN gateway connection. This request succeeds if the specified CIDR already exists. A request body is not required, and if provided, is ignored.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) AddVPNGatewayConnectionsPeerCIDRWithContext added in v0.51.0

func (vpc *VpcV1) AddVPNGatewayConnectionsPeerCIDRWithContext(ctx context.Context, addVPNGatewayConnectionsPeerCIDROptions *AddVPNGatewayConnectionsPeerCIDROptions) (response *core.DetailedResponse, err error)

AddVPNGatewayConnectionsPeerCIDRWithContext is an alternate form of the AddVPNGatewayConnectionsPeerCIDR method which supports a Context parameter

func (*VpcV1) AddVirtualNetworkInterfaceIP added in v0.47.0

func (vpc *VpcV1) AddVirtualNetworkInterfaceIP(addVirtualNetworkInterfaceIPOptions *AddVirtualNetworkInterfaceIPOptions) (result *ReservedIPReference, response *core.DetailedResponse, err error)

AddVirtualNetworkInterfaceIP : Bind a reserved IP to a virtual network interface This request binds the specified reserved IP to the specified virtual network interface.

The reserved IP must currently be unbound and in the primary IP's subnet. The virtual network interface's `target` must not currently be a file share mount target.

func (*VpcV1) AddVirtualNetworkInterfaceIPWithContext added in v0.47.0

func (vpc *VpcV1) AddVirtualNetworkInterfaceIPWithContext(ctx context.Context, addVirtualNetworkInterfaceIPOptions *AddVirtualNetworkInterfaceIPOptions) (result *ReservedIPReference, response *core.DetailedResponse, err error)

AddVirtualNetworkInterfaceIPWithContext is an alternate form of the AddVirtualNetworkInterfaceIP method which supports a Context parameter

func (*VpcV1) CheckVPNGatewayConnectionsLocalCIDR added in v0.51.0

func (vpc *VpcV1) CheckVPNGatewayConnectionsLocalCIDR(checkVPNGatewayConnectionsLocalCIDROptions *CheckVPNGatewayConnectionsLocalCIDROptions) (response *core.DetailedResponse, err error)

CheckVPNGatewayConnectionsLocalCIDR : Check if the specified local CIDR exists on a VPN gateway connection This request succeeds if a CIDR exists on the specified VPN gateway connection, and fails otherwise.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) CheckVPNGatewayConnectionsLocalCIDRWithContext added in v0.51.0

func (vpc *VpcV1) CheckVPNGatewayConnectionsLocalCIDRWithContext(ctx context.Context, checkVPNGatewayConnectionsLocalCIDROptions *CheckVPNGatewayConnectionsLocalCIDROptions) (response *core.DetailedResponse, err error)

CheckVPNGatewayConnectionsLocalCIDRWithContext is an alternate form of the CheckVPNGatewayConnectionsLocalCIDR method which supports a Context parameter

func (*VpcV1) CheckVPNGatewayConnectionsPeerCIDR added in v0.51.0

func (vpc *VpcV1) CheckVPNGatewayConnectionsPeerCIDR(checkVPNGatewayConnectionsPeerCIDROptions *CheckVPNGatewayConnectionsPeerCIDROptions) (response *core.DetailedResponse, err error)

CheckVPNGatewayConnectionsPeerCIDR : Check if the specified peer CIDR exists on a VPN gateway connection This request succeeds if a CIDR exists on the specified VPN gateway connection, and fails otherwise.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) CheckVPNGatewayConnectionsPeerCIDRWithContext added in v0.51.0

func (vpc *VpcV1) CheckVPNGatewayConnectionsPeerCIDRWithContext(ctx context.Context, checkVPNGatewayConnectionsPeerCIDROptions *CheckVPNGatewayConnectionsPeerCIDROptions) (response *core.DetailedResponse, err error)

CheckVPNGatewayConnectionsPeerCIDRWithContext is an alternate form of the CheckVPNGatewayConnectionsPeerCIDR method which supports a Context parameter

func (*VpcV1) Clone added in v0.4.2

func (vpc *VpcV1) Clone() *VpcV1

Clone makes a copy of "vpc" suitable for processing requests.

func (*VpcV1) CreateBackupPolicy added in v0.21.0

func (vpc *VpcV1) CreateBackupPolicy(createBackupPolicyOptions *CreateBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

CreateBackupPolicy : Create a backup policy This request creates a new backup policy from a backup policy prototype object. The prototype object is structured in the same way as a retrieved backup policy, and contains the information necessary to create the new backup policy.

func (*VpcV1) CreateBackupPolicyPlan added in v0.21.0

func (vpc *VpcV1) CreateBackupPolicyPlan(createBackupPolicyPlanOptions *CreateBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

CreateBackupPolicyPlan : Create a plan for a backup policy This request creates a new backup policy plan from a backup policy plan prototype object. The prototype object is structured in the same way as a retrieved backup policy plan, and contains the information necessary to create the new backup policy plan.

Backups created by this plan will use the resource group of the source being backed up.

Backups created by this plan will use the plan's name truncated to 46 characters, followed by a unique 16-character suffix.

func (*VpcV1) CreateBackupPolicyPlanWithContext added in v0.21.0

func (vpc *VpcV1) CreateBackupPolicyPlanWithContext(ctx context.Context, createBackupPolicyPlanOptions *CreateBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

CreateBackupPolicyPlanWithContext is an alternate form of the CreateBackupPolicyPlan method which supports a Context parameter

func (*VpcV1) CreateBackupPolicyWithContext added in v0.21.0

func (vpc *VpcV1) CreateBackupPolicyWithContext(ctx context.Context, createBackupPolicyOptions *CreateBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

CreateBackupPolicyWithContext is an alternate form of the CreateBackupPolicy method which supports a Context parameter

func (*VpcV1) CreateBareMetalServer added in v0.16.0

func (vpc *VpcV1) CreateBareMetalServer(createBareMetalServerOptions *CreateBareMetalServerOptions) (result *BareMetalServer, response *core.DetailedResponse, err error)

CreateBareMetalServer : Create a bare metal server This request provisions a new bare metal server from a prototype object. The prototype object is structured in the same way as a retrieved bare metal server, and contains the information necessary to provision the new bare metal server. The bare metal server is automatically started.

func (*VpcV1) CreateBareMetalServerConsoleAccessToken added in v0.16.0

func (vpc *VpcV1) CreateBareMetalServerConsoleAccessToken(createBareMetalServerConsoleAccessTokenOptions *CreateBareMetalServerConsoleAccessTokenOptions) (result *BareMetalServerConsoleAccessToken, response *core.DetailedResponse, err error)

CreateBareMetalServerConsoleAccessToken : Create a console access token for a bare metal server This request creates a new single-use console access token for a bare metal server. All console configuration is provided at token create time, and the token is subsequently used in the `access_token` query parameter for the WebSocket request. The access token is only valid for a short period of time, and a maximum of one token is valid for a given bare metal server at a time.

func (*VpcV1) CreateBareMetalServerConsoleAccessTokenWithContext added in v0.16.0

func (vpc *VpcV1) CreateBareMetalServerConsoleAccessTokenWithContext(ctx context.Context, createBareMetalServerConsoleAccessTokenOptions *CreateBareMetalServerConsoleAccessTokenOptions) (result *BareMetalServerConsoleAccessToken, response *core.DetailedResponse, err error)

CreateBareMetalServerConsoleAccessTokenWithContext is an alternate form of the CreateBareMetalServerConsoleAccessToken method which supports a Context parameter

func (*VpcV1) CreateBareMetalServerNetworkAttachment added in v0.47.0

func (vpc *VpcV1) CreateBareMetalServerNetworkAttachment(createBareMetalServerNetworkAttachmentOptions *CreateBareMetalServerNetworkAttachmentOptions) (result BareMetalServerNetworkAttachmentIntf, response *core.DetailedResponse, err error)

CreateBareMetalServerNetworkAttachment : Create a network attachment on a bare metal server This request creates a new bare metal server network attachment from a bare metal server network attachment prototype object. The prototype object is structured in the same way as a retrieved bare metal server network attachment, and contains the information necessary to create the new bare metal server network attachment.

func (*VpcV1) CreateBareMetalServerNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) CreateBareMetalServerNetworkAttachmentWithContext(ctx context.Context, createBareMetalServerNetworkAttachmentOptions *CreateBareMetalServerNetworkAttachmentOptions) (result BareMetalServerNetworkAttachmentIntf, response *core.DetailedResponse, err error)

CreateBareMetalServerNetworkAttachmentWithContext is an alternate form of the CreateBareMetalServerNetworkAttachment method which supports a Context parameter

func (*VpcV1) CreateBareMetalServerNetworkInterface added in v0.16.0

func (vpc *VpcV1) CreateBareMetalServerNetworkInterface(createBareMetalServerNetworkInterfaceOptions *CreateBareMetalServerNetworkInterfaceOptions) (result BareMetalServerNetworkInterfaceIntf, response *core.DetailedResponse, err error)

CreateBareMetalServerNetworkInterface : Create a network interface on a bare metal server This request creates a new bare metal server network interface from a bare metal server network interface prototype object. The prototype object is structured in the same way as a retrieved bare metal server network interface, and contains the information necessary to create the new bare metal server network interface. Any subnet in the bare metal server's VPC may be specified, even if it is already attached to another bare metal server network interface. Addresses on the bare metal server network interface must be within the specified subnet's CIDR blocks.

If this bare metal server has network attachments, each network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and new network interfaces are not allowed to be created.

func (*VpcV1) CreateBareMetalServerNetworkInterfaceWithContext added in v0.16.0

func (vpc *VpcV1) CreateBareMetalServerNetworkInterfaceWithContext(ctx context.Context, createBareMetalServerNetworkInterfaceOptions *CreateBareMetalServerNetworkInterfaceOptions) (result BareMetalServerNetworkInterfaceIntf, response *core.DetailedResponse, err error)

CreateBareMetalServerNetworkInterfaceWithContext is an alternate form of the CreateBareMetalServerNetworkInterface method which supports a Context parameter

func (*VpcV1) CreateBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) CreateBareMetalServerWithContext(ctx context.Context, createBareMetalServerOptions *CreateBareMetalServerOptions) (result *BareMetalServer, response *core.DetailedResponse, err error)

CreateBareMetalServerWithContext is an alternate form of the CreateBareMetalServer method which supports a Context parameter

func (*VpcV1) CreateDedicatedHost added in v0.4.0

func (vpc *VpcV1) CreateDedicatedHost(createDedicatedHostOptions *CreateDedicatedHostOptions) (result *DedicatedHost, response *core.DetailedResponse, err error)

CreateDedicatedHost : Create a dedicated host This request creates a new dedicated host.

func (*VpcV1) CreateDedicatedHostGroup added in v0.4.0

func (vpc *VpcV1) CreateDedicatedHostGroup(createDedicatedHostGroupOptions *CreateDedicatedHostGroupOptions) (result *DedicatedHostGroup, response *core.DetailedResponse, err error)

CreateDedicatedHostGroup : Create a dedicated host group This request creates a new dedicated host group.

func (*VpcV1) CreateDedicatedHostGroupWithContext added in v0.4.2

func (vpc *VpcV1) CreateDedicatedHostGroupWithContext(ctx context.Context, createDedicatedHostGroupOptions *CreateDedicatedHostGroupOptions) (result *DedicatedHostGroup, response *core.DetailedResponse, err error)

CreateDedicatedHostGroupWithContext is an alternate form of the CreateDedicatedHostGroup method which supports a Context parameter

func (*VpcV1) CreateDedicatedHostWithContext added in v0.4.2

func (vpc *VpcV1) CreateDedicatedHostWithContext(ctx context.Context, createDedicatedHostOptions *CreateDedicatedHostOptions) (result *DedicatedHost, response *core.DetailedResponse, err error)

CreateDedicatedHostWithContext is an alternate form of the CreateDedicatedHost method which supports a Context parameter

func (*VpcV1) CreateEndpointGateway added in v0.3.0

func (vpc *VpcV1) CreateEndpointGateway(createEndpointGatewayOptions *CreateEndpointGatewayOptions) (result *EndpointGateway, response *core.DetailedResponse, err error)

CreateEndpointGateway : Create an endpoint gateway This request creates a new endpoint gateway. An endpoint gateway maps one or more reserved IPs in a VPC to a target outside the VPC.

func (*VpcV1) CreateEndpointGatewayWithContext added in v0.4.2

func (vpc *VpcV1) CreateEndpointGatewayWithContext(ctx context.Context, createEndpointGatewayOptions *CreateEndpointGatewayOptions) (result *EndpointGateway, response *core.DetailedResponse, err error)

CreateEndpointGatewayWithContext is an alternate form of the CreateEndpointGateway method which supports a Context parameter

func (*VpcV1) CreateFloatingIP

func (vpc *VpcV1) CreateFloatingIP(createFloatingIPOptions *CreateFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

CreateFloatingIP : Reserve a floating IP This request reserves a new floating IP.

func (*VpcV1) CreateFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) CreateFloatingIPWithContext(ctx context.Context, createFloatingIPOptions *CreateFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

CreateFloatingIPWithContext is an alternate form of the CreateFloatingIP method which supports a Context parameter

func (*VpcV1) CreateFlowLogCollector

func (vpc *VpcV1) CreateFlowLogCollector(createFlowLogCollectorOptions *CreateFlowLogCollectorOptions) (result *FlowLogCollector, response *core.DetailedResponse, err error)

CreateFlowLogCollector : Create a flow log collector This request creates and starts a new flow log collector from a flow log collector prototype object. The prototype object is structured in the same way as a retrieved flow log collector, and contains the information necessary to create and start the new flow log collector.

func (*VpcV1) CreateFlowLogCollectorWithContext added in v0.4.2

func (vpc *VpcV1) CreateFlowLogCollectorWithContext(ctx context.Context, createFlowLogCollectorOptions *CreateFlowLogCollectorOptions) (result *FlowLogCollector, response *core.DetailedResponse, err error)

CreateFlowLogCollectorWithContext is an alternate form of the CreateFlowLogCollector method which supports a Context parameter

func (*VpcV1) CreateIkePolicy

func (vpc *VpcV1) CreateIkePolicy(createIkePolicyOptions *CreateIkePolicyOptions) (result *IkePolicy, response *core.DetailedResponse, err error)

CreateIkePolicy : Create an IKE policy This request creates a new IKE policy.

func (*VpcV1) CreateIkePolicyWithContext added in v0.4.2

func (vpc *VpcV1) CreateIkePolicyWithContext(ctx context.Context, createIkePolicyOptions *CreateIkePolicyOptions) (result *IkePolicy, response *core.DetailedResponse, err error)

CreateIkePolicyWithContext is an alternate form of the CreateIkePolicy method which supports a Context parameter

func (*VpcV1) CreateImage

func (vpc *VpcV1) CreateImage(createImageOptions *CreateImageOptions) (result *Image, response *core.DetailedResponse, err error)

CreateImage : Create an image This request creates a new image from an image prototype object. The prototype object is structured in the same way as a retrieved image, and contains the information necessary to create the new image. If an image is being imported, a URL to the image file on object storage must be specified. If an image is being created from an existing volume, that volume must be specified.

func (*VpcV1) CreateImageExportJob added in v0.37.0

func (vpc *VpcV1) CreateImageExportJob(createImageExportJobOptions *CreateImageExportJobOptions) (result *ImageExportJob, response *core.DetailedResponse, err error)

CreateImageExportJob : Create an image export job This request creates and queues a new export job for the image specified in the URL using the image export job prototype object. The image must be owned by the account and be in the `available`, `deprecated`, `obsolete`, or `unusable` state. The prototype object is structured in the same way as a retrieved image export job, and contains the information necessary to create and queue the new image export job.

func (*VpcV1) CreateImageExportJobWithContext added in v0.37.0

func (vpc *VpcV1) CreateImageExportJobWithContext(ctx context.Context, createImageExportJobOptions *CreateImageExportJobOptions) (result *ImageExportJob, response *core.DetailedResponse, err error)

CreateImageExportJobWithContext is an alternate form of the CreateImageExportJob method which supports a Context parameter

func (*VpcV1) CreateImageWithContext added in v0.4.2

func (vpc *VpcV1) CreateImageWithContext(ctx context.Context, createImageOptions *CreateImageOptions) (result *Image, response *core.DetailedResponse, err error)

CreateImageWithContext is an alternate form of the CreateImage method which supports a Context parameter

func (*VpcV1) CreateInstance

func (vpc *VpcV1) CreateInstance(createInstanceOptions *CreateInstanceOptions) (result *Instance, response *core.DetailedResponse, err error)

CreateInstance : Create an instance This request provisions a new instance from an instance prototype object. The prototype object is structured in the same way as a retrieved instance, and contains the information necessary to provision the new instance. The instance is automatically started.

func (*VpcV1) CreateInstanceAction

func (vpc *VpcV1) CreateInstanceAction(createInstanceActionOptions *CreateInstanceActionOptions) (result *InstanceAction, response *core.DetailedResponse, err error)

CreateInstanceAction : Create an instance action This request creates a new action which will be queued up to run as soon as any pending or running actions have completed.

func (*VpcV1) CreateInstanceActionWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceActionWithContext(ctx context.Context, createInstanceActionOptions *CreateInstanceActionOptions) (result *InstanceAction, response *core.DetailedResponse, err error)

CreateInstanceActionWithContext is an alternate form of the CreateInstanceAction method which supports a Context parameter

func (*VpcV1) CreateInstanceConsoleAccessToken added in v0.5.0

func (vpc *VpcV1) CreateInstanceConsoleAccessToken(createInstanceConsoleAccessTokenOptions *CreateInstanceConsoleAccessTokenOptions) (result *InstanceConsoleAccessToken, response *core.DetailedResponse, err error)

CreateInstanceConsoleAccessToken : Create a console access token for an instance This request creates a new single-use console access token for an instance. All console configuration is provided at token create time, and the token is subsequently used in the `access_token` query parameter for the WebSocket request. The access token is only valid for a short period of time, and a maximum of one token is valid for a given instance at a time.

func (*VpcV1) CreateInstanceConsoleAccessTokenWithContext added in v0.5.0

func (vpc *VpcV1) CreateInstanceConsoleAccessTokenWithContext(ctx context.Context, createInstanceConsoleAccessTokenOptions *CreateInstanceConsoleAccessTokenOptions) (result *InstanceConsoleAccessToken, response *core.DetailedResponse, err error)

CreateInstanceConsoleAccessTokenWithContext is an alternate form of the CreateInstanceConsoleAccessToken method which supports a Context parameter

func (*VpcV1) CreateInstanceGroup added in v0.1.0

func (vpc *VpcV1) CreateInstanceGroup(createInstanceGroupOptions *CreateInstanceGroupOptions) (result *InstanceGroup, response *core.DetailedResponse, err error)

CreateInstanceGroup : Create an instance group This request creates a new instance group.

func (*VpcV1) CreateInstanceGroupManager added in v0.1.0

func (vpc *VpcV1) CreateInstanceGroupManager(createInstanceGroupManagerOptions *CreateInstanceGroupManagerOptions) (result InstanceGroupManagerIntf, response *core.DetailedResponse, err error)

CreateInstanceGroupManager : Create a manager for an instance group This request creates a new instance group manager.

func (*VpcV1) CreateInstanceGroupManagerAction added in v0.6.0

func (vpc *VpcV1) CreateInstanceGroupManagerAction(createInstanceGroupManagerActionOptions *CreateInstanceGroupManagerActionOptions) (result InstanceGroupManagerActionIntf, response *core.DetailedResponse, err error)

CreateInstanceGroupManagerAction : Create an instance group manager action This request creates a new instance group manager action.

func (*VpcV1) CreateInstanceGroupManagerActionWithContext added in v0.6.0

func (vpc *VpcV1) CreateInstanceGroupManagerActionWithContext(ctx context.Context, createInstanceGroupManagerActionOptions *CreateInstanceGroupManagerActionOptions) (result InstanceGroupManagerActionIntf, response *core.DetailedResponse, err error)

CreateInstanceGroupManagerActionWithContext is an alternate form of the CreateInstanceGroupManagerAction method which supports a Context parameter

func (*VpcV1) CreateInstanceGroupManagerPolicy added in v0.1.0

func (vpc *VpcV1) CreateInstanceGroupManagerPolicy(createInstanceGroupManagerPolicyOptions *CreateInstanceGroupManagerPolicyOptions) (result InstanceGroupManagerPolicyIntf, response *core.DetailedResponse, err error)

CreateInstanceGroupManagerPolicy : Create a policy for an instance group manager This request creates a new instance group manager policy.

func (*VpcV1) CreateInstanceGroupManagerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceGroupManagerPolicyWithContext(ctx context.Context, createInstanceGroupManagerPolicyOptions *CreateInstanceGroupManagerPolicyOptions) (result InstanceGroupManagerPolicyIntf, response *core.DetailedResponse, err error)

CreateInstanceGroupManagerPolicyWithContext is an alternate form of the CreateInstanceGroupManagerPolicy method which supports a Context parameter

func (*VpcV1) CreateInstanceGroupManagerWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceGroupManagerWithContext(ctx context.Context, createInstanceGroupManagerOptions *CreateInstanceGroupManagerOptions) (result InstanceGroupManagerIntf, response *core.DetailedResponse, err error)

CreateInstanceGroupManagerWithContext is an alternate form of the CreateInstanceGroupManager method which supports a Context parameter

func (*VpcV1) CreateInstanceGroupWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceGroupWithContext(ctx context.Context, createInstanceGroupOptions *CreateInstanceGroupOptions) (result *InstanceGroup, response *core.DetailedResponse, err error)

CreateInstanceGroupWithContext is an alternate form of the CreateInstanceGroup method which supports a Context parameter

func (*VpcV1) CreateInstanceNetworkAttachment added in v0.47.0

func (vpc *VpcV1) CreateInstanceNetworkAttachment(createInstanceNetworkAttachmentOptions *CreateInstanceNetworkAttachmentOptions) (result *InstanceNetworkAttachment, response *core.DetailedResponse, err error)

CreateInstanceNetworkAttachment : Create a network attachment on an instance This request creates a new instance network attachment from an instance network attachment prototype object. The prototype object is structured in the same way as a retrieved instance network attachment, and contains the information necessary to create the new instance network attachment.

func (*VpcV1) CreateInstanceNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) CreateInstanceNetworkAttachmentWithContext(ctx context.Context, createInstanceNetworkAttachmentOptions *CreateInstanceNetworkAttachmentOptions) (result *InstanceNetworkAttachment, response *core.DetailedResponse, err error)

CreateInstanceNetworkAttachmentWithContext is an alternate form of the CreateInstanceNetworkAttachment method which supports a Context parameter

func (*VpcV1) CreateInstanceNetworkInterface

func (vpc *VpcV1) CreateInstanceNetworkInterface(createInstanceNetworkInterfaceOptions *CreateInstanceNetworkInterfaceOptions) (result *NetworkInterface, response *core.DetailedResponse, err error)

CreateInstanceNetworkInterface : Create a network interface on an instance This request creates a new instance network interface from an instance network interface prototype object. The prototype object is structured in the same way as a retrieved instance network interface, and contains the information necessary to create the new instance network interface. Any subnet in the instance's VPC may be specified. Addresses on the instance network interface must be within the specified subnet's CIDR blocks.

If this instance has network attachments, each network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and new network interfaces are not allowed to be created.

func (*VpcV1) CreateInstanceNetworkInterfaceWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceNetworkInterfaceWithContext(ctx context.Context, createInstanceNetworkInterfaceOptions *CreateInstanceNetworkInterfaceOptions) (result *NetworkInterface, response *core.DetailedResponse, err error)

CreateInstanceNetworkInterfaceWithContext is an alternate form of the CreateInstanceNetworkInterface method which supports a Context parameter

func (*VpcV1) CreateInstanceTemplate added in v0.1.0

func (vpc *VpcV1) CreateInstanceTemplate(createInstanceTemplateOptions *CreateInstanceTemplateOptions) (result InstanceTemplateIntf, response *core.DetailedResponse, err error)

CreateInstanceTemplate : Create an instance template This request creates a new instance template. The prototype object is structured in the same way as a retrieved instance template, and contains the information necessary to provision a new instance from the template.

If a `source_template` is specified in the prototype object, its contents are copied into the new template prior to copying any other properties provided in the prototype object.

func (*VpcV1) CreateInstanceTemplateWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceTemplateWithContext(ctx context.Context, createInstanceTemplateOptions *CreateInstanceTemplateOptions) (result InstanceTemplateIntf, response *core.DetailedResponse, err error)

CreateInstanceTemplateWithContext is an alternate form of the CreateInstanceTemplate method which supports a Context parameter

func (*VpcV1) CreateInstanceVolumeAttachment

func (vpc *VpcV1) CreateInstanceVolumeAttachment(createInstanceVolumeAttachmentOptions *CreateInstanceVolumeAttachmentOptions) (result *VolumeAttachment, response *core.DetailedResponse, err error)

CreateInstanceVolumeAttachment : Create a volume attachment on an instance This request creates a new volume attachment from a volume attachment prototype object, connecting a volume to an instance. For this request to succeed, the specified volume must not be busy. The prototype object is structured in the same way as a retrieved volume attachment, and contains the information necessary to create the new volume attachment.

func (*VpcV1) CreateInstanceVolumeAttachmentWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceVolumeAttachmentWithContext(ctx context.Context, createInstanceVolumeAttachmentOptions *CreateInstanceVolumeAttachmentOptions) (result *VolumeAttachment, response *core.DetailedResponse, err error)

CreateInstanceVolumeAttachmentWithContext is an alternate form of the CreateInstanceVolumeAttachment method which supports a Context parameter

func (*VpcV1) CreateInstanceWithContext added in v0.4.2

func (vpc *VpcV1) CreateInstanceWithContext(ctx context.Context, createInstanceOptions *CreateInstanceOptions) (result *Instance, response *core.DetailedResponse, err error)

CreateInstanceWithContext is an alternate form of the CreateInstance method which supports a Context parameter

func (*VpcV1) CreateIpsecPolicy

func (vpc *VpcV1) CreateIpsecPolicy(createIpsecPolicyOptions *CreateIpsecPolicyOptions) (result *IPsecPolicy, response *core.DetailedResponse, err error)

CreateIpsecPolicy : Create an IPsec policy This request creates a new IPsec policy.

func (*VpcV1) CreateIpsecPolicyWithContext added in v0.4.2

func (vpc *VpcV1) CreateIpsecPolicyWithContext(ctx context.Context, createIpsecPolicyOptions *CreateIpsecPolicyOptions) (result *IPsecPolicy, response *core.DetailedResponse, err error)

CreateIpsecPolicyWithContext is an alternate form of the CreateIpsecPolicy method which supports a Context parameter

func (*VpcV1) CreateKey

func (vpc *VpcV1) CreateKey(createKeyOptions *CreateKeyOptions) (result *Key, response *core.DetailedResponse, err error)

CreateKey : Create a key This request creates a new SSH key from an key prototype object. The prototype object is structured in the same way as a retrieved key, and contains the information necessary to create the new key. The public key value must be provided.

func (*VpcV1) CreateKeyWithContext added in v0.4.2

func (vpc *VpcV1) CreateKeyWithContext(ctx context.Context, createKeyOptions *CreateKeyOptions) (result *Key, response *core.DetailedResponse, err error)

CreateKeyWithContext is an alternate form of the CreateKey method which supports a Context parameter

func (*VpcV1) CreateLoadBalancer

func (vpc *VpcV1) CreateLoadBalancer(createLoadBalancerOptions *CreateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

CreateLoadBalancer : Create a load balancer This request creates and provisions a new load balancer.

func (*VpcV1) CreateLoadBalancerListener

func (vpc *VpcV1) CreateLoadBalancerListener(createLoadBalancerListenerOptions *CreateLoadBalancerListenerOptions) (result *LoadBalancerListener, response *core.DetailedResponse, err error)

CreateLoadBalancerListener : Create a listener for a load balancer This request creates a new listener for a load balancer.

func (*VpcV1) CreateLoadBalancerListenerPolicy

func (vpc *VpcV1) CreateLoadBalancerListenerPolicy(createLoadBalancerListenerPolicyOptions *CreateLoadBalancerListenerPolicyOptions) (result *LoadBalancerListenerPolicy, response *core.DetailedResponse, err error)

CreateLoadBalancerListenerPolicy : Create a policy for a load balancer listener This request creates a new policy from a load balancer listener policy object. The prototype object is structured in the same way as a retrieved policy, and contains the information necessary to create the new policy. For this request to succeed, the listener must have a `protocol` of `http` or `https`.

func (*VpcV1) CreateLoadBalancerListenerPolicyRule

func (vpc *VpcV1) CreateLoadBalancerListenerPolicyRule(createLoadBalancerListenerPolicyRuleOptions *CreateLoadBalancerListenerPolicyRuleOptions) (result *LoadBalancerListenerPolicyRule, response *core.DetailedResponse, err error)

CreateLoadBalancerListenerPolicyRule : Create a rule for a load balancer listener policy Creates a new rule for the load balancer listener policy.

func (*VpcV1) CreateLoadBalancerListenerPolicyRuleWithContext added in v0.4.2

func (vpc *VpcV1) CreateLoadBalancerListenerPolicyRuleWithContext(ctx context.Context, createLoadBalancerListenerPolicyRuleOptions *CreateLoadBalancerListenerPolicyRuleOptions) (result *LoadBalancerListenerPolicyRule, response *core.DetailedResponse, err error)

CreateLoadBalancerListenerPolicyRuleWithContext is an alternate form of the CreateLoadBalancerListenerPolicyRule method which supports a Context parameter

func (*VpcV1) CreateLoadBalancerListenerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) CreateLoadBalancerListenerPolicyWithContext(ctx context.Context, createLoadBalancerListenerPolicyOptions *CreateLoadBalancerListenerPolicyOptions) (result *LoadBalancerListenerPolicy, response *core.DetailedResponse, err error)

CreateLoadBalancerListenerPolicyWithContext is an alternate form of the CreateLoadBalancerListenerPolicy method which supports a Context parameter

func (*VpcV1) CreateLoadBalancerListenerWithContext added in v0.4.2

func (vpc *VpcV1) CreateLoadBalancerListenerWithContext(ctx context.Context, createLoadBalancerListenerOptions *CreateLoadBalancerListenerOptions) (result *LoadBalancerListener, response *core.DetailedResponse, err error)

CreateLoadBalancerListenerWithContext is an alternate form of the CreateLoadBalancerListener method which supports a Context parameter

func (*VpcV1) CreateLoadBalancerPool

func (vpc *VpcV1) CreateLoadBalancerPool(createLoadBalancerPoolOptions *CreateLoadBalancerPoolOptions) (result *LoadBalancerPool, response *core.DetailedResponse, err error)

CreateLoadBalancerPool : Create a load balancer pool This request creates a new pool from a pool prototype object.

func (*VpcV1) CreateLoadBalancerPoolMember

func (vpc *VpcV1) CreateLoadBalancerPoolMember(createLoadBalancerPoolMemberOptions *CreateLoadBalancerPoolMemberOptions) (result *LoadBalancerPoolMember, response *core.DetailedResponse, err error)

CreateLoadBalancerPoolMember : Create a member in a load balancer pool This request creates a new member and adds the member to the pool.

func (*VpcV1) CreateLoadBalancerPoolMemberWithContext added in v0.4.2

func (vpc *VpcV1) CreateLoadBalancerPoolMemberWithContext(ctx context.Context, createLoadBalancerPoolMemberOptions *CreateLoadBalancerPoolMemberOptions) (result *LoadBalancerPoolMember, response *core.DetailedResponse, err error)

CreateLoadBalancerPoolMemberWithContext is an alternate form of the CreateLoadBalancerPoolMember method which supports a Context parameter

func (*VpcV1) CreateLoadBalancerPoolWithContext added in v0.4.2

func (vpc *VpcV1) CreateLoadBalancerPoolWithContext(ctx context.Context, createLoadBalancerPoolOptions *CreateLoadBalancerPoolOptions) (result *LoadBalancerPool, response *core.DetailedResponse, err error)

CreateLoadBalancerPoolWithContext is an alternate form of the CreateLoadBalancerPool method which supports a Context parameter

func (*VpcV1) CreateLoadBalancerWithContext added in v0.4.2

func (vpc *VpcV1) CreateLoadBalancerWithContext(ctx context.Context, createLoadBalancerOptions *CreateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

CreateLoadBalancerWithContext is an alternate form of the CreateLoadBalancer method which supports a Context parameter

func (*VpcV1) CreateNetworkACL

func (vpc *VpcV1) CreateNetworkACL(createNetworkACLOptions *CreateNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

CreateNetworkACL : Create a network ACL This request creates a new stateless network ACL from a network ACL prototype object. The prototype object is structured in the same way as a retrieved network ACL, and contains the information necessary to create the new network ACL.

func (*VpcV1) CreateNetworkACLRule

func (vpc *VpcV1) CreateNetworkACLRule(createNetworkACLRuleOptions *CreateNetworkACLRuleOptions) (result NetworkACLRuleIntf, response *core.DetailedResponse, err error)

CreateNetworkACLRule : Create a rule for a network ACL This request creates a new rule from a network ACL rule prototype object. The prototype object is structured in the same way as a retrieved rule, and contains the information necessary to create the new rule.

func (*VpcV1) CreateNetworkACLRuleWithContext added in v0.4.2

func (vpc *VpcV1) CreateNetworkACLRuleWithContext(ctx context.Context, createNetworkACLRuleOptions *CreateNetworkACLRuleOptions) (result NetworkACLRuleIntf, response *core.DetailedResponse, err error)

CreateNetworkACLRuleWithContext is an alternate form of the CreateNetworkACLRule method which supports a Context parameter

func (*VpcV1) CreateNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) CreateNetworkACLWithContext(ctx context.Context, createNetworkACLOptions *CreateNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

CreateNetworkACLWithContext is an alternate form of the CreateNetworkACL method which supports a Context parameter

func (*VpcV1) CreatePlacementGroup added in v0.9.0

func (vpc *VpcV1) CreatePlacementGroup(createPlacementGroupOptions *CreatePlacementGroupOptions) (result *PlacementGroup, response *core.DetailedResponse, err error)

CreatePlacementGroup : Create a placement group This request creates a new placement group.

func (*VpcV1) CreatePlacementGroupWithContext added in v0.9.0

func (vpc *VpcV1) CreatePlacementGroupWithContext(ctx context.Context, createPlacementGroupOptions *CreatePlacementGroupOptions) (result *PlacementGroup, response *core.DetailedResponse, err error)

CreatePlacementGroupWithContext is an alternate form of the CreatePlacementGroup method which supports a Context parameter

func (*VpcV1) CreatePublicGateway

func (vpc *VpcV1) CreatePublicGateway(createPublicGatewayOptions *CreatePublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

CreatePublicGateway : Create a public gateway This request creates a new public gateway from a public gateway prototype object. For this to succeed, the VPC must not already have a public gateway in the specified zone.

If a floating IP is provided, it must be unbound. If a floating IP is not provided, one will be created and bound to the public gateway. Once a public gateway has been created, its floating IP cannot be unbound. A public gateway must be explicitly attached to each subnet it will provide connectivity for.

func (*VpcV1) CreatePublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) CreatePublicGatewayWithContext(ctx context.Context, createPublicGatewayOptions *CreatePublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

CreatePublicGatewayWithContext is an alternate form of the CreatePublicGateway method which supports a Context parameter

func (*VpcV1) CreateReservation added in v0.48.0

func (vpc *VpcV1) CreateReservation(createReservationOptions *CreateReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

CreateReservation : Create a reservation This request creates a new reservation from a reservation prototype object. The prototype object is structured in the same way as a retrieved reservation, and contains the information necessary to create the new reservation.

func (*VpcV1) CreateReservationWithContext added in v0.48.0

func (vpc *VpcV1) CreateReservationWithContext(ctx context.Context, createReservationOptions *CreateReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

CreateReservationWithContext is an alternate form of the CreateReservation method which supports a Context parameter

func (*VpcV1) CreateSecurityGroup

func (vpc *VpcV1) CreateSecurityGroup(createSecurityGroupOptions *CreateSecurityGroupOptions) (result *SecurityGroup, response *core.DetailedResponse, err error)

CreateSecurityGroup : Create a security group This request creates a new security group from a security group prototype object. The prototype object is structured in the same way as a retrieved security group, and contains the information necessary to create the new security group. If security group rules are included in the prototype object, those rules will be added to the security group. Each security group is scoped to one VPC. Only resources in that VPC can be added to the security group.

func (*VpcV1) CreateSecurityGroupRule

func (vpc *VpcV1) CreateSecurityGroupRule(createSecurityGroupRuleOptions *CreateSecurityGroupRuleOptions) (result SecurityGroupRuleIntf, response *core.DetailedResponse, err error)

CreateSecurityGroupRule : Create a rule for a security group This request creates a new security group rule from a security group rule prototype object. The prototype object is structured in the same way as a retrieved security group rule and contains the information necessary to create the rule. As part of creating a new rule in a security group, the rule is applied to all the networking interfaces in the security group. Rules specify which IP traffic a security group will allow. Security group rules are stateful, such that reverse traffic in response to allowed traffic is automatically permitted. A rule allowing inbound TCP traffic on port 80 also allows outbound TCP traffic on port 80 without the need for an additional rule.

func (*VpcV1) CreateSecurityGroupRuleWithContext added in v0.4.2

func (vpc *VpcV1) CreateSecurityGroupRuleWithContext(ctx context.Context, createSecurityGroupRuleOptions *CreateSecurityGroupRuleOptions) (result SecurityGroupRuleIntf, response *core.DetailedResponse, err error)

CreateSecurityGroupRuleWithContext is an alternate form of the CreateSecurityGroupRule method which supports a Context parameter

func (*VpcV1) CreateSecurityGroupTargetBinding added in v0.5.0

func (vpc *VpcV1) CreateSecurityGroupTargetBinding(createSecurityGroupTargetBindingOptions *CreateSecurityGroupTargetBindingOptions) (result SecurityGroupTargetReferenceIntf, response *core.DetailedResponse, err error)

CreateSecurityGroupTargetBinding : Add a target to a security group This request adds a resource to an existing security group. The specified target identifier can be:

- A bare metal server network interface identifier - A virtual network interface identifier - A VPN server identifier - A load balancer identifier - An endpoint gateway identifier - An instance network interface identifier

When a target is added to a security group, the security group rules are applied to the target. A request body is not required, and if provided, is ignored.

func (*VpcV1) CreateSecurityGroupTargetBindingWithContext added in v0.5.0

func (vpc *VpcV1) CreateSecurityGroupTargetBindingWithContext(ctx context.Context, createSecurityGroupTargetBindingOptions *CreateSecurityGroupTargetBindingOptions) (result SecurityGroupTargetReferenceIntf, response *core.DetailedResponse, err error)

CreateSecurityGroupTargetBindingWithContext is an alternate form of the CreateSecurityGroupTargetBinding method which supports a Context parameter

func (*VpcV1) CreateSecurityGroupWithContext added in v0.4.2

func (vpc *VpcV1) CreateSecurityGroupWithContext(ctx context.Context, createSecurityGroupOptions *CreateSecurityGroupOptions) (result *SecurityGroup, response *core.DetailedResponse, err error)

CreateSecurityGroupWithContext is an alternate form of the CreateSecurityGroup method which supports a Context parameter

func (*VpcV1) CreateShare added in v0.41.0

func (vpc *VpcV1) CreateShare(createShareOptions *CreateShareOptions) (result *Share, response *core.DetailedResponse, err error)

CreateShare : Create a file share This request provisions new file shares from a share prototype object. The new file shares can be a standalone share, a replica share, or both a source and replica share.

The prototype object is structured in the same way as a retrieved share, and contains the information necessary to provision the new file shares.

func (*VpcV1) CreateShareMountTarget added in v0.41.0

func (vpc *VpcV1) CreateShareMountTarget(createShareMountTargetOptions *CreateShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

CreateShareMountTarget : Create a mount target for a file share This request creates a new share mount target from a share mount target prototype object.

The prototype object is structured in the same way as a retrieved share mount target, and contains the information necessary to provision the new file share mount target.

func (*VpcV1) CreateShareMountTargetWithContext added in v0.41.0

func (vpc *VpcV1) CreateShareMountTargetWithContext(ctx context.Context, createShareMountTargetOptions *CreateShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

CreateShareMountTargetWithContext is an alternate form of the CreateShareMountTarget method which supports a Context parameter

func (*VpcV1) CreateShareWithContext added in v0.41.0

func (vpc *VpcV1) CreateShareWithContext(ctx context.Context, createShareOptions *CreateShareOptions) (result *Share, response *core.DetailedResponse, err error)

CreateShareWithContext is an alternate form of the CreateShare method which supports a Context parameter

func (*VpcV1) CreateSnapshot added in v0.7.0

func (vpc *VpcV1) CreateSnapshot(createSnapshotOptions *CreateSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error)

CreateSnapshot : Create a snapshot This request creates a new snapshot from a snapshot prototype object. The prototype object is structured in the same way as a retrieved snapshot, and contains the information necessary to provision the new snapshot.

func (*VpcV1) CreateSnapshotClone added in v0.31.0

func (vpc *VpcV1) CreateSnapshotClone(createSnapshotCloneOptions *CreateSnapshotCloneOptions) (result *SnapshotClone, response *core.DetailedResponse, err error)

CreateSnapshotClone : Create a clone for a snapshot This request creates a new clone for a snapshot in the specified zone. A request body is not required, and if provided, is ignored. If the snapshot already has a clone in the zone, it is returned.

func (*VpcV1) CreateSnapshotCloneWithContext added in v0.31.0

func (vpc *VpcV1) CreateSnapshotCloneWithContext(ctx context.Context, createSnapshotCloneOptions *CreateSnapshotCloneOptions) (result *SnapshotClone, response *core.DetailedResponse, err error)

CreateSnapshotCloneWithContext is an alternate form of the CreateSnapshotClone method which supports a Context parameter

func (*VpcV1) CreateSnapshotConsistencyGroup added in v0.45.0

func (vpc *VpcV1) CreateSnapshotConsistencyGroup(createSnapshotConsistencyGroupOptions *CreateSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

CreateSnapshotConsistencyGroup : Create a snapshot consistency group This request creates a new snapshot consistency group from a snapshot consistency group object. The prototype object is structured in the same way as a retrieved consistency group, and contains the information necessary to provision the new snapshot consistency group.

func (*VpcV1) CreateSnapshotConsistencyGroupWithContext added in v0.45.0

func (vpc *VpcV1) CreateSnapshotConsistencyGroupWithContext(ctx context.Context, createSnapshotConsistencyGroupOptions *CreateSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

CreateSnapshotConsistencyGroupWithContext is an alternate form of the CreateSnapshotConsistencyGroup method which supports a Context parameter

func (*VpcV1) CreateSnapshotWithContext added in v0.7.0

func (vpc *VpcV1) CreateSnapshotWithContext(ctx context.Context, createSnapshotOptions *CreateSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error)

CreateSnapshotWithContext is an alternate form of the CreateSnapshot method which supports a Context parameter

func (*VpcV1) CreateSubnet

func (vpc *VpcV1) CreateSubnet(createSubnetOptions *CreateSubnetOptions) (result *Subnet, response *core.DetailedResponse, err error)

CreateSubnet : Create a subnet This request creates a new subnet from a subnet prototype object. The prototype object is structured in the same way as a retrieved subnet, and contains the information necessary to create the new subnet. For this request to succeed, the prototype's CIDR block must not overlap with an existing subnet in the VPC.

func (*VpcV1) CreateSubnetReservedIP added in v0.3.0

func (vpc *VpcV1) CreateSubnetReservedIP(createSubnetReservedIPOptions *CreateSubnetReservedIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

CreateSubnetReservedIP : Reserve an IP in a subnet This request reserves an IP address in a subnet. If the provided prototype object includes an `address`, the address must not already be reserved.

func (*VpcV1) CreateSubnetReservedIPWithContext added in v0.4.2

func (vpc *VpcV1) CreateSubnetReservedIPWithContext(ctx context.Context, createSubnetReservedIPOptions *CreateSubnetReservedIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

CreateSubnetReservedIPWithContext is an alternate form of the CreateSubnetReservedIP method which supports a Context parameter

func (*VpcV1) CreateSubnetWithContext added in v0.4.2

func (vpc *VpcV1) CreateSubnetWithContext(ctx context.Context, createSubnetOptions *CreateSubnetOptions) (result *Subnet, response *core.DetailedResponse, err error)

CreateSubnetWithContext is an alternate form of the CreateSubnet method which supports a Context parameter

func (*VpcV1) CreateVPC

func (vpc *VpcV1) CreateVPC(createVPCOptions *CreateVPCOptions) (result *VPC, response *core.DetailedResponse, err error)

CreateVPC : Create a VPC This request creates a new VPC from a VPC prototype object. The prototype object is structured in the same way as a retrieved VPC, and contains the information necessary to create the new VPC.

func (*VpcV1) CreateVPCAddressPrefix

func (vpc *VpcV1) CreateVPCAddressPrefix(createVPCAddressPrefixOptions *CreateVPCAddressPrefixOptions) (result *AddressPrefix, response *core.DetailedResponse, err error)

CreateVPCAddressPrefix : Create an address prefix for a VPC This request creates a new prefix from a prefix prototype object. The prototype object is structured in the same way as a retrieved prefix, and contains the information necessary to create the new prefix.

func (*VpcV1) CreateVPCAddressPrefixWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPCAddressPrefixWithContext(ctx context.Context, createVPCAddressPrefixOptions *CreateVPCAddressPrefixOptions) (result *AddressPrefix, response *core.DetailedResponse, err error)

CreateVPCAddressPrefixWithContext is an alternate form of the CreateVPCAddressPrefix method which supports a Context parameter

func (*VpcV1) CreateVPCDnsResolutionBinding added in v0.43.0

func (vpc *VpcV1) CreateVPCDnsResolutionBinding(createVPCDnsResolutionBindingOptions *CreateVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

CreateVPCDnsResolutionBinding : Create a DNS resolution binding This request creates a new DNS resolution binding from a DNS resolution binding prototype object. The prototype object is structured in the same way as a retrieved DNS resolution binding, and contains the information necessary to create the new DNS resolution binding.

For this request to succeed, `dns.enable_hub` must be `false` for the VPC specified by the identifier in the URL, and the VPC must not already have a DNS resolution binding.

See [About DNS sharing for VPE gateways](/docs/vpc?topic=vpc-hub-spoke-model) for more information.

func (*VpcV1) CreateVPCDnsResolutionBindingWithContext added in v0.43.0

func (vpc *VpcV1) CreateVPCDnsResolutionBindingWithContext(ctx context.Context, createVPCDnsResolutionBindingOptions *CreateVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

CreateVPCDnsResolutionBindingWithContext is an alternate form of the CreateVPCDnsResolutionBinding method which supports a Context parameter

func (*VpcV1) CreateVPCRoute

func (vpc *VpcV1) CreateVPCRoute(createVPCRouteOptions *CreateVPCRouteOptions) (result *Route, response *core.DetailedResponse, err error)

CreateVPCRoute : Create a route in a VPC's default routing table This request creates a new route in the VPC's default routing table. The route prototype object is structured in the same way as a retrieved route, and contains the information necessary to create the new route. The request will fail if the new route will cause a loop. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) CreateVPCRouteWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPCRouteWithContext(ctx context.Context, createVPCRouteOptions *CreateVPCRouteOptions) (result *Route, response *core.DetailedResponse, err error)

CreateVPCRouteWithContext is an alternate form of the CreateVPCRoute method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) CreateVPCRoutingTable added in v0.3.0

func (vpc *VpcV1) CreateVPCRoutingTable(createVPCRoutingTableOptions *CreateVPCRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

CreateVPCRoutingTable : Create a routing table for a VPC This request creates a routing table from a routing table prototype object. The prototype object is structured in the same way as a retrieved routing table, and contains the information necessary to create the new routing table.

func (*VpcV1) CreateVPCRoutingTableRoute added in v0.3.0

func (vpc *VpcV1) CreateVPCRoutingTableRoute(createVPCRoutingTableRouteOptions *CreateVPCRoutingTableRouteOptions) (result *Route, response *core.DetailedResponse, err error)

CreateVPCRoutingTableRoute : Create a route in a VPC routing table This request creates a new VPC route from a VPC route prototype object. The prototype object is structured in the same way as a retrieved VPC route and contains the information necessary to create the route.

func (*VpcV1) CreateVPCRoutingTableRouteWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPCRoutingTableRouteWithContext(ctx context.Context, createVPCRoutingTableRouteOptions *CreateVPCRoutingTableRouteOptions) (result *Route, response *core.DetailedResponse, err error)

CreateVPCRoutingTableRouteWithContext is an alternate form of the CreateVPCRoutingTableRoute method which supports a Context parameter

func (*VpcV1) CreateVPCRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPCRoutingTableWithContext(ctx context.Context, createVPCRoutingTableOptions *CreateVPCRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

CreateVPCRoutingTableWithContext is an alternate form of the CreateVPCRoutingTable method which supports a Context parameter

func (*VpcV1) CreateVPCWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPCWithContext(ctx context.Context, createVPCOptions *CreateVPCOptions) (result *VPC, response *core.DetailedResponse, err error)

CreateVPCWithContext is an alternate form of the CreateVPC method which supports a Context parameter

func (*VpcV1) CreateVPNGateway

func (vpc *VpcV1) CreateVPNGateway(createVPNGatewayOptions *CreateVPNGatewayOptions) (result VPNGatewayIntf, response *core.DetailedResponse, err error)

CreateVPNGateway : Create a VPN gateway This request creates a new VPN gateway.

func (*VpcV1) CreateVPNGatewayConnection

func (vpc *VpcV1) CreateVPNGatewayConnection(createVPNGatewayConnectionOptions *CreateVPNGatewayConnectionOptions) (result VPNGatewayConnectionIntf, response *core.DetailedResponse, err error)

CreateVPNGatewayConnection : Create a connection for a VPN gateway This request creates a new VPN gateway connection.

func (*VpcV1) CreateVPNGatewayConnectionWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPNGatewayConnectionWithContext(ctx context.Context, createVPNGatewayConnectionOptions *CreateVPNGatewayConnectionOptions) (result VPNGatewayConnectionIntf, response *core.DetailedResponse, err error)

CreateVPNGatewayConnectionWithContext is an alternate form of the CreateVPNGatewayConnection method which supports a Context parameter

func (*VpcV1) CreateVPNGatewayWithContext added in v0.4.2

func (vpc *VpcV1) CreateVPNGatewayWithContext(ctx context.Context, createVPNGatewayOptions *CreateVPNGatewayOptions) (result VPNGatewayIntf, response *core.DetailedResponse, err error)

CreateVPNGatewayWithContext is an alternate form of the CreateVPNGateway method which supports a Context parameter

func (*VpcV1) CreateVPNServer added in v0.22.0

func (vpc *VpcV1) CreateVPNServer(createVPNServerOptions *CreateVPNServerOptions) (result *VPNServer, response *core.DetailedResponse, err error)

CreateVPNServer : Create a VPN server This request creates a new VPN server.

func (*VpcV1) CreateVPNServerRoute added in v0.22.0

func (vpc *VpcV1) CreateVPNServerRoute(createVPNServerRouteOptions *CreateVPNServerRouteOptions) (result *VPNServerRoute, response *core.DetailedResponse, err error)

CreateVPNServerRoute : Create a VPN route for a VPN server This request creates a new VPN route in the VPN server. All VPN routes are provided to the VPN client when the connection is established. Packets received from the VPN client will be dropped by the VPN server if there is no VPN route matching their specified destinations. All VPN routes must be unique within the VPN server. destination of the packet.

func (*VpcV1) CreateVPNServerRouteWithContext added in v0.22.0

func (vpc *VpcV1) CreateVPNServerRouteWithContext(ctx context.Context, createVPNServerRouteOptions *CreateVPNServerRouteOptions) (result *VPNServerRoute, response *core.DetailedResponse, err error)

CreateVPNServerRouteWithContext is an alternate form of the CreateVPNServerRoute method which supports a Context parameter

func (*VpcV1) CreateVPNServerWithContext added in v0.22.0

func (vpc *VpcV1) CreateVPNServerWithContext(ctx context.Context, createVPNServerOptions *CreateVPNServerOptions) (result *VPNServer, response *core.DetailedResponse, err error)

CreateVPNServerWithContext is an alternate form of the CreateVPNServer method which supports a Context parameter

func (*VpcV1) CreateVirtualNetworkInterface added in v0.47.0

func (vpc *VpcV1) CreateVirtualNetworkInterface(createVirtualNetworkInterfaceOptions *CreateVirtualNetworkInterfaceOptions) (result *VirtualNetworkInterface, response *core.DetailedResponse, err error)

CreateVirtualNetworkInterface : Create a virtual network interface This request creates a new virtual network interface from a virtual network interface prototype object. The prototype object is structured in the same way as a retrieved virtual network interface, and contains the information necessary to create the new virtual network interface.

func (*VpcV1) CreateVirtualNetworkInterfaceWithContext added in v0.47.0

func (vpc *VpcV1) CreateVirtualNetworkInterfaceWithContext(ctx context.Context, createVirtualNetworkInterfaceOptions *CreateVirtualNetworkInterfaceOptions) (result *VirtualNetworkInterface, response *core.DetailedResponse, err error)

CreateVirtualNetworkInterfaceWithContext is an alternate form of the CreateVirtualNetworkInterface method which supports a Context parameter

func (*VpcV1) CreateVolume

func (vpc *VpcV1) CreateVolume(createVolumeOptions *CreateVolumeOptions) (result *Volume, response *core.DetailedResponse, err error)

CreateVolume : Create a volume This request creates a new volume from a volume prototype object. The prototype object is structured in the same way as a retrieved volume, and contains the information necessary to create the new volume.

func (*VpcV1) CreateVolumeWithContext added in v0.4.2

func (vpc *VpcV1) CreateVolumeWithContext(ctx context.Context, createVolumeOptions *CreateVolumeOptions) (result *Volume, response *core.DetailedResponse, err error)

CreateVolumeWithContext is an alternate form of the CreateVolume method which supports a Context parameter

func (*VpcV1) DeleteBackupPolicy added in v0.21.0

func (vpc *VpcV1) DeleteBackupPolicy(deleteBackupPolicyOptions *DeleteBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

DeleteBackupPolicy : Delete a backup policy This request deletes a backup policy. This operation cannot be reversed.

If the request is accepted, the backup policy `status` will be set to `deleting`. Once deletion processing completes, the backup policy will no longer be retrievable.

func (*VpcV1) DeleteBackupPolicyPlan added in v0.21.0

func (vpc *VpcV1) DeleteBackupPolicyPlan(deleteBackupPolicyPlanOptions *DeleteBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

DeleteBackupPolicyPlan : Delete a backup policy plan This request deletes a backup policy plan. This operation cannot be reversed. Any backups that have been created by the plan will remain but will no longer be subject to the plan's deletion trigger. Any running jobs associated with the plan will run to completion before the plan is deleted.

If the request is accepted, the backup policy plan `status` will be set to `deleting`. Once deletion processing completes, the backup policy plan will no longer be retrievable.

func (*VpcV1) DeleteBackupPolicyPlanWithContext added in v0.21.0

func (vpc *VpcV1) DeleteBackupPolicyPlanWithContext(ctx context.Context, deleteBackupPolicyPlanOptions *DeleteBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

DeleteBackupPolicyPlanWithContext is an alternate form of the DeleteBackupPolicyPlan method which supports a Context parameter

func (*VpcV1) DeleteBackupPolicyWithContext added in v0.21.0

func (vpc *VpcV1) DeleteBackupPolicyWithContext(ctx context.Context, deleteBackupPolicyOptions *DeleteBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

DeleteBackupPolicyWithContext is an alternate form of the DeleteBackupPolicy method which supports a Context parameter

func (*VpcV1) DeleteBareMetalServer added in v0.16.0

func (vpc *VpcV1) DeleteBareMetalServer(deleteBareMetalServerOptions *DeleteBareMetalServerOptions) (response *core.DetailedResponse, err error)

DeleteBareMetalServer : Delete a bare metal server This request deletes a bare metal server. This operation cannot be reversed. Any floating IPs associated with the bare metal server network interfaces are implicitly disassociated.

func (*VpcV1) DeleteBareMetalServerNetworkAttachment added in v0.47.0

func (vpc *VpcV1) DeleteBareMetalServerNetworkAttachment(deleteBareMetalServerNetworkAttachmentOptions *DeleteBareMetalServerNetworkAttachmentOptions) (response *core.DetailedResponse, err error)

DeleteBareMetalServerNetworkAttachment : Delete a bare metal server network attachment This request deletes a bare metal server network attachment. This operation cannot be reversed. Any floating IPs associated with the bare metal server network attachment are implicitly disassociated.

The bare metal server's primary network attachment cannot be deleted.

func (*VpcV1) DeleteBareMetalServerNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) DeleteBareMetalServerNetworkAttachmentWithContext(ctx context.Context, deleteBareMetalServerNetworkAttachmentOptions *DeleteBareMetalServerNetworkAttachmentOptions) (response *core.DetailedResponse, err error)

DeleteBareMetalServerNetworkAttachmentWithContext is an alternate form of the DeleteBareMetalServerNetworkAttachment method which supports a Context parameter

func (*VpcV1) DeleteBareMetalServerNetworkInterface added in v0.16.0

func (vpc *VpcV1) DeleteBareMetalServerNetworkInterface(deleteBareMetalServerNetworkInterfaceOptions *DeleteBareMetalServerNetworkInterfaceOptions) (response *core.DetailedResponse, err error)

DeleteBareMetalServerNetworkInterface : Delete a bare metal server network interface This request deletes a bare metal server network interface. This operation cannot be reversed. Any floating IPs associated with the bare metal server network interface are implicitly disassociated. The primary bare metal server network interface is not allowed to be deleted.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and is not allowed to be deleted.

func (*VpcV1) DeleteBareMetalServerNetworkInterfaceWithContext added in v0.16.0

func (vpc *VpcV1) DeleteBareMetalServerNetworkInterfaceWithContext(ctx context.Context, deleteBareMetalServerNetworkInterfaceOptions *DeleteBareMetalServerNetworkInterfaceOptions) (response *core.DetailedResponse, err error)

DeleteBareMetalServerNetworkInterfaceWithContext is an alternate form of the DeleteBareMetalServerNetworkInterface method which supports a Context parameter

func (*VpcV1) DeleteBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) DeleteBareMetalServerWithContext(ctx context.Context, deleteBareMetalServerOptions *DeleteBareMetalServerOptions) (response *core.DetailedResponse, err error)

DeleteBareMetalServerWithContext is an alternate form of the DeleteBareMetalServer method which supports a Context parameter

func (*VpcV1) DeleteDedicatedHost added in v0.4.0

func (vpc *VpcV1) DeleteDedicatedHost(deleteDedicatedHostOptions *DeleteDedicatedHostOptions) (response *core.DetailedResponse, err error)

DeleteDedicatedHost : Delete a dedicated host This request deletes a dedicated host.

func (*VpcV1) DeleteDedicatedHostGroup added in v0.4.0

func (vpc *VpcV1) DeleteDedicatedHostGroup(deleteDedicatedHostGroupOptions *DeleteDedicatedHostGroupOptions) (response *core.DetailedResponse, err error)

DeleteDedicatedHostGroup : Delete a dedicated host group This request deletes a dedicated host group.

func (*VpcV1) DeleteDedicatedHostGroupWithContext added in v0.4.2

func (vpc *VpcV1) DeleteDedicatedHostGroupWithContext(ctx context.Context, deleteDedicatedHostGroupOptions *DeleteDedicatedHostGroupOptions) (response *core.DetailedResponse, err error)

DeleteDedicatedHostGroupWithContext is an alternate form of the DeleteDedicatedHostGroup method which supports a Context parameter

func (*VpcV1) DeleteDedicatedHostWithContext added in v0.4.2

func (vpc *VpcV1) DeleteDedicatedHostWithContext(ctx context.Context, deleteDedicatedHostOptions *DeleteDedicatedHostOptions) (response *core.DetailedResponse, err error)

DeleteDedicatedHostWithContext is an alternate form of the DeleteDedicatedHost method which supports a Context parameter

func (*VpcV1) DeleteEndpointGateway added in v0.3.0

func (vpc *VpcV1) DeleteEndpointGateway(deleteEndpointGatewayOptions *DeleteEndpointGatewayOptions) (response *core.DetailedResponse, err error)

DeleteEndpointGateway : Delete an endpoint gateway This request deletes an endpoint gateway. This operation cannot be reversed.

Reserved IPs that were bound to the endpoint gateway will be released if their `auto_delete` property is set to true.

func (*VpcV1) DeleteEndpointGatewayWithContext added in v0.4.2

func (vpc *VpcV1) DeleteEndpointGatewayWithContext(ctx context.Context, deleteEndpointGatewayOptions *DeleteEndpointGatewayOptions) (response *core.DetailedResponse, err error)

DeleteEndpointGatewayWithContext is an alternate form of the DeleteEndpointGateway method which supports a Context parameter

func (*VpcV1) DeleteFloatingIP

func (vpc *VpcV1) DeleteFloatingIP(deleteFloatingIPOptions *DeleteFloatingIPOptions) (response *core.DetailedResponse, err error)

DeleteFloatingIP : Delete a floating IP This request disassociates (if associated) and releases a floating IP. This operation cannot be reversed. For this request to succeed, the floating IP must not be required by another resource, such as a public gateway.

func (*VpcV1) DeleteFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) DeleteFloatingIPWithContext(ctx context.Context, deleteFloatingIPOptions *DeleteFloatingIPOptions) (response *core.DetailedResponse, err error)

DeleteFloatingIPWithContext is an alternate form of the DeleteFloatingIP method which supports a Context parameter

func (*VpcV1) DeleteFlowLogCollector

func (vpc *VpcV1) DeleteFlowLogCollector(deleteFlowLogCollectorOptions *DeleteFlowLogCollectorOptions) (response *core.DetailedResponse, err error)

DeleteFlowLogCollector : Delete a flow log collector This request stops and deletes a flow log collector. This operation cannot be reversed.

Collected flow logs remain available within the flow log collector's Cloud Object Storage bucket.

func (*VpcV1) DeleteFlowLogCollectorWithContext added in v0.4.2

func (vpc *VpcV1) DeleteFlowLogCollectorWithContext(ctx context.Context, deleteFlowLogCollectorOptions *DeleteFlowLogCollectorOptions) (response *core.DetailedResponse, err error)

DeleteFlowLogCollectorWithContext is an alternate form of the DeleteFlowLogCollector method which supports a Context parameter

func (*VpcV1) DeleteIkePolicy

func (vpc *VpcV1) DeleteIkePolicy(deleteIkePolicyOptions *DeleteIkePolicyOptions) (response *core.DetailedResponse, err error)

DeleteIkePolicy : Delete an IKE policy This request deletes an IKE policy. This operation cannot be reversed. For this request to succeed, there must not be any VPN gateway connections using this policy.

func (*VpcV1) DeleteIkePolicyWithContext added in v0.4.2

func (vpc *VpcV1) DeleteIkePolicyWithContext(ctx context.Context, deleteIkePolicyOptions *DeleteIkePolicyOptions) (response *core.DetailedResponse, err error)

DeleteIkePolicyWithContext is an alternate form of the DeleteIkePolicy method which supports a Context parameter

func (*VpcV1) DeleteImage

func (vpc *VpcV1) DeleteImage(deleteImageOptions *DeleteImageOptions) (response *core.DetailedResponse, err error)

DeleteImage : Delete an image This request deletes an image. Any active image export jobs will be completed first. This operation cannot be reversed. A system-provided image is not allowed to be deleted. Additionally, an image cannot be deleted if it: - has a `status` of `deleting` - has a `status` of `pending` with a `status_reasons` code of `image_request_in_progress` - has `catalog_offering.managed` set to `true`.

func (*VpcV1) DeleteImageExportJob added in v0.37.0

func (vpc *VpcV1) DeleteImageExportJob(deleteImageExportJobOptions *DeleteImageExportJobOptions) (response *core.DetailedResponse, err error)

DeleteImageExportJob : Delete an image export job This request deletes an image export job. This operation cannot be reversed. If the job has not completed, the job will be canceled, and the incomplete exported image object deleted. If the job has completed, the exported image object will not be deleted.

func (*VpcV1) DeleteImageExportJobWithContext added in v0.37.0

func (vpc *VpcV1) DeleteImageExportJobWithContext(ctx context.Context, deleteImageExportJobOptions *DeleteImageExportJobOptions) (response *core.DetailedResponse, err error)

DeleteImageExportJobWithContext is an alternate form of the DeleteImageExportJob method which supports a Context parameter

func (*VpcV1) DeleteImageWithContext added in v0.4.2

func (vpc *VpcV1) DeleteImageWithContext(ctx context.Context, deleteImageOptions *DeleteImageOptions) (response *core.DetailedResponse, err error)

DeleteImageWithContext is an alternate form of the DeleteImage method which supports a Context parameter

func (*VpcV1) DeleteInstance

func (vpc *VpcV1) DeleteInstance(deleteInstanceOptions *DeleteInstanceOptions) (response *core.DetailedResponse, err error)

DeleteInstance : Delete an instance This request deletes an instance. This operation cannot be reversed. Any floating IPs associated with instance network interfaces are implicitly disassociated. All virtual network interfaces with `auto_delete` set to `true` targeting instance network attachments on the instance are automatically deleted. All flow log collectors with `auto_delete` set to `true` targeting the instance, the instance network attachments, the instance network interfaces, or the automatically deleted virtual network interfaces are automatically deleted.

func (*VpcV1) DeleteInstanceGroup added in v0.1.0

func (vpc *VpcV1) DeleteInstanceGroup(deleteInstanceGroupOptions *DeleteInstanceGroupOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroup : Delete an instance group This request deletes an instance group. This operation cannot be reversed. Any instances associated with the group will be deleted.

func (*VpcV1) DeleteInstanceGroupLoadBalancer added in v0.1.0

func (vpc *VpcV1) DeleteInstanceGroupLoadBalancer(deleteInstanceGroupLoadBalancerOptions *DeleteInstanceGroupLoadBalancerOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupLoadBalancer : Delete an instance group load balancer This request unbinds the instance group from the load balancer pool, and deletes the load balancer pool members.

func (*VpcV1) DeleteInstanceGroupLoadBalancerWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceGroupLoadBalancerWithContext(ctx context.Context, deleteInstanceGroupLoadBalancerOptions *DeleteInstanceGroupLoadBalancerOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupLoadBalancerWithContext is an alternate form of the DeleteInstanceGroupLoadBalancer method which supports a Context parameter

func (*VpcV1) DeleteInstanceGroupManager added in v0.1.0

func (vpc *VpcV1) DeleteInstanceGroupManager(deleteInstanceGroupManagerOptions *DeleteInstanceGroupManagerOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupManager : Delete an instance group manager This request deletes an instance group manager. This operation cannot be reversed.

func (*VpcV1) DeleteInstanceGroupManagerAction added in v0.6.0

func (vpc *VpcV1) DeleteInstanceGroupManagerAction(deleteInstanceGroupManagerActionOptions *DeleteInstanceGroupManagerActionOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupManagerAction : Delete specified instance group manager action This request deletes an instance group manager action. This operation cannot be reversed.

func (*VpcV1) DeleteInstanceGroupManagerActionWithContext added in v0.6.0

func (vpc *VpcV1) DeleteInstanceGroupManagerActionWithContext(ctx context.Context, deleteInstanceGroupManagerActionOptions *DeleteInstanceGroupManagerActionOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupManagerActionWithContext is an alternate form of the DeleteInstanceGroupManagerAction method which supports a Context parameter

func (*VpcV1) DeleteInstanceGroupManagerPolicy added in v0.1.0

func (vpc *VpcV1) DeleteInstanceGroupManagerPolicy(deleteInstanceGroupManagerPolicyOptions *DeleteInstanceGroupManagerPolicyOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupManagerPolicy : Delete an instance group manager policy This request deletes an instance group manager policy. This operation cannot be reversed.

func (*VpcV1) DeleteInstanceGroupManagerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceGroupManagerPolicyWithContext(ctx context.Context, deleteInstanceGroupManagerPolicyOptions *DeleteInstanceGroupManagerPolicyOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupManagerPolicyWithContext is an alternate form of the DeleteInstanceGroupManagerPolicy method which supports a Context parameter

func (*VpcV1) DeleteInstanceGroupManagerWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceGroupManagerWithContext(ctx context.Context, deleteInstanceGroupManagerOptions *DeleteInstanceGroupManagerOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupManagerWithContext is an alternate form of the DeleteInstanceGroupManager method which supports a Context parameter

func (*VpcV1) DeleteInstanceGroupMembership added in v0.1.0

func (vpc *VpcV1) DeleteInstanceGroupMembership(deleteInstanceGroupMembershipOptions *DeleteInstanceGroupMembershipOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupMembership : Delete an instance group membership This request deletes a memberships of an instance group. This operation cannot be reversed. reversed. If the membership has `delete_instance_on_membership_delete` set to `true`, the instance will also be deleted.

func (*VpcV1) DeleteInstanceGroupMembershipWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceGroupMembershipWithContext(ctx context.Context, deleteInstanceGroupMembershipOptions *DeleteInstanceGroupMembershipOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupMembershipWithContext is an alternate form of the DeleteInstanceGroupMembership method which supports a Context parameter

func (*VpcV1) DeleteInstanceGroupMemberships added in v0.1.0

func (vpc *VpcV1) DeleteInstanceGroupMemberships(deleteInstanceGroupMembershipsOptions *DeleteInstanceGroupMembershipsOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupMemberships : Delete all memberships from an instance group This request deletes all memberships of an instance group. This operation cannot be reversed. reversed. Any memberships that have `delete_instance_on_membership_delete` set to `true` will also have their instances deleted.

func (*VpcV1) DeleteInstanceGroupMembershipsWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceGroupMembershipsWithContext(ctx context.Context, deleteInstanceGroupMembershipsOptions *DeleteInstanceGroupMembershipsOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupMembershipsWithContext is an alternate form of the DeleteInstanceGroupMemberships method which supports a Context parameter

func (*VpcV1) DeleteInstanceGroupWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceGroupWithContext(ctx context.Context, deleteInstanceGroupOptions *DeleteInstanceGroupOptions) (response *core.DetailedResponse, err error)

DeleteInstanceGroupWithContext is an alternate form of the DeleteInstanceGroup method which supports a Context parameter

func (*VpcV1) DeleteInstanceNetworkAttachment added in v0.47.0

func (vpc *VpcV1) DeleteInstanceNetworkAttachment(deleteInstanceNetworkAttachmentOptions *DeleteInstanceNetworkAttachmentOptions) (response *core.DetailedResponse, err error)

DeleteInstanceNetworkAttachment : Delete an instance network attachment This request deletes an instance network attachment. This operation cannot be reversed. Any floating IPs associated with the instance network attachment are implicitly disassociated. All flow log collectors with `auto_delete` set to `true` targeting the instance network attachment are automatically deleted. The primary instance network attachment is not allowed to be deleted.

func (*VpcV1) DeleteInstanceNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) DeleteInstanceNetworkAttachmentWithContext(ctx context.Context, deleteInstanceNetworkAttachmentOptions *DeleteInstanceNetworkAttachmentOptions) (response *core.DetailedResponse, err error)

DeleteInstanceNetworkAttachmentWithContext is an alternate form of the DeleteInstanceNetworkAttachment method which supports a Context parameter

func (*VpcV1) DeleteInstanceNetworkInterface

func (vpc *VpcV1) DeleteInstanceNetworkInterface(deleteInstanceNetworkInterfaceOptions *DeleteInstanceNetworkInterfaceOptions) (response *core.DetailedResponse, err error)

DeleteInstanceNetworkInterface : Delete an instance network interface This request deletes an instance network interface. This operation cannot be reversed. Any floating IPs associated with the instance network interface are implicitly disassociated. All flow log collectors with `auto_delete` set to `true` targeting the instance network interface are automatically deleted. The primary instance network interface is not allowed to be deleted.

If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and is not allowed to be deleted.

func (*VpcV1) DeleteInstanceNetworkInterfaceWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceNetworkInterfaceWithContext(ctx context.Context, deleteInstanceNetworkInterfaceOptions *DeleteInstanceNetworkInterfaceOptions) (response *core.DetailedResponse, err error)

DeleteInstanceNetworkInterfaceWithContext is an alternate form of the DeleteInstanceNetworkInterface method which supports a Context parameter

func (*VpcV1) DeleteInstanceTemplate added in v0.1.0

func (vpc *VpcV1) DeleteInstanceTemplate(deleteInstanceTemplateOptions *DeleteInstanceTemplateOptions) (response *core.DetailedResponse, err error)

DeleteInstanceTemplate : Delete an instance template This request deletes the instance template. This operation cannot be reversed.

func (*VpcV1) DeleteInstanceTemplateWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceTemplateWithContext(ctx context.Context, deleteInstanceTemplateOptions *DeleteInstanceTemplateOptions) (response *core.DetailedResponse, err error)

DeleteInstanceTemplateWithContext is an alternate form of the DeleteInstanceTemplate method which supports a Context parameter

func (*VpcV1) DeleteInstanceVolumeAttachment

func (vpc *VpcV1) DeleteInstanceVolumeAttachment(deleteInstanceVolumeAttachmentOptions *DeleteInstanceVolumeAttachmentOptions) (response *core.DetailedResponse, err error)

DeleteInstanceVolumeAttachment : Delete a volume attachment This request deletes a volume attachment. This operation cannot be reversed, but a new volume attachment may subsequently be created for the volume. For this request to succeed, the volume must not be busy.

func (*VpcV1) DeleteInstanceVolumeAttachmentWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceVolumeAttachmentWithContext(ctx context.Context, deleteInstanceVolumeAttachmentOptions *DeleteInstanceVolumeAttachmentOptions) (response *core.DetailedResponse, err error)

DeleteInstanceVolumeAttachmentWithContext is an alternate form of the DeleteInstanceVolumeAttachment method which supports a Context parameter

func (*VpcV1) DeleteInstanceWithContext added in v0.4.2

func (vpc *VpcV1) DeleteInstanceWithContext(ctx context.Context, deleteInstanceOptions *DeleteInstanceOptions) (response *core.DetailedResponse, err error)

DeleteInstanceWithContext is an alternate form of the DeleteInstance method which supports a Context parameter

func (*VpcV1) DeleteIpsecPolicy

func (vpc *VpcV1) DeleteIpsecPolicy(deleteIpsecPolicyOptions *DeleteIpsecPolicyOptions) (response *core.DetailedResponse, err error)

DeleteIpsecPolicy : Delete an IPsec policy This request deletes an IPsec policy. This operation cannot be reversed. For this request to succeed, there must not be any VPN gateway connections using this policy.

func (*VpcV1) DeleteIpsecPolicyWithContext added in v0.4.2

func (vpc *VpcV1) DeleteIpsecPolicyWithContext(ctx context.Context, deleteIpsecPolicyOptions *DeleteIpsecPolicyOptions) (response *core.DetailedResponse, err error)

DeleteIpsecPolicyWithContext is an alternate form of the DeleteIpsecPolicy method which supports a Context parameter

func (*VpcV1) DeleteKey

func (vpc *VpcV1) DeleteKey(deleteKeyOptions *DeleteKeyOptions) (response *core.DetailedResponse, err error)

DeleteKey : Delete a key This request deletes a key. This operation cannot be reversed.

func (*VpcV1) DeleteKeyWithContext added in v0.4.2

func (vpc *VpcV1) DeleteKeyWithContext(ctx context.Context, deleteKeyOptions *DeleteKeyOptions) (response *core.DetailedResponse, err error)

DeleteKeyWithContext is an alternate form of the DeleteKey method which supports a Context parameter

func (*VpcV1) DeleteLoadBalancer

func (vpc *VpcV1) DeleteLoadBalancer(deleteLoadBalancerOptions *DeleteLoadBalancerOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancer : Delete a load balancer This request deletes a load balancer. This operation cannot be reversed. A load balancer cannot be deleted if its `provisioning_status` is `delete_pending` or it is referenced by a resource.

func (*VpcV1) DeleteLoadBalancerListener

func (vpc *VpcV1) DeleteLoadBalancerListener(deleteLoadBalancerListenerOptions *DeleteLoadBalancerListenerOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerListener : Delete a load balancer listener This request deletes a load balancer listener. This operation cannot be reversed. For this operation to succeed, the listener must not be the target of another load balancer listener.

func (*VpcV1) DeleteLoadBalancerListenerPolicy

func (vpc *VpcV1) DeleteLoadBalancerListenerPolicy(deleteLoadBalancerListenerPolicyOptions *DeleteLoadBalancerListenerPolicyOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerListenerPolicy : Delete a load balancer listener policy Deletes a policy of the load balancer listener. This operation cannot be reversed.

func (*VpcV1) DeleteLoadBalancerListenerPolicyRule

func (vpc *VpcV1) DeleteLoadBalancerListenerPolicyRule(deleteLoadBalancerListenerPolicyRuleOptions *DeleteLoadBalancerListenerPolicyRuleOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerListenerPolicyRule : Delete a load balancer listener policy rule Deletes a rule from the load balancer listener policy. This operation cannot be reversed.

func (*VpcV1) DeleteLoadBalancerListenerPolicyRuleWithContext added in v0.4.2

func (vpc *VpcV1) DeleteLoadBalancerListenerPolicyRuleWithContext(ctx context.Context, deleteLoadBalancerListenerPolicyRuleOptions *DeleteLoadBalancerListenerPolicyRuleOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerListenerPolicyRuleWithContext is an alternate form of the DeleteLoadBalancerListenerPolicyRule method which supports a Context parameter

func (*VpcV1) DeleteLoadBalancerListenerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) DeleteLoadBalancerListenerPolicyWithContext(ctx context.Context, deleteLoadBalancerListenerPolicyOptions *DeleteLoadBalancerListenerPolicyOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerListenerPolicyWithContext is an alternate form of the DeleteLoadBalancerListenerPolicy method which supports a Context parameter

func (*VpcV1) DeleteLoadBalancerListenerWithContext added in v0.4.2

func (vpc *VpcV1) DeleteLoadBalancerListenerWithContext(ctx context.Context, deleteLoadBalancerListenerOptions *DeleteLoadBalancerListenerOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerListenerWithContext is an alternate form of the DeleteLoadBalancerListener method which supports a Context parameter

func (*VpcV1) DeleteLoadBalancerPool

func (vpc *VpcV1) DeleteLoadBalancerPool(deleteLoadBalancerPoolOptions *DeleteLoadBalancerPoolOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerPool : Delete a load balancer pool This request deletes a load balancer pool. This operation cannot be reversed. The pool must not currently be the default pool for any listener in the load balancer.

func (*VpcV1) DeleteLoadBalancerPoolMember

func (vpc *VpcV1) DeleteLoadBalancerPoolMember(deleteLoadBalancerPoolMemberOptions *DeleteLoadBalancerPoolMemberOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerPoolMember : Delete a load balancer pool member This request deletes a member from the pool. This operation cannot be reversed.

func (*VpcV1) DeleteLoadBalancerPoolMemberWithContext added in v0.4.2

func (vpc *VpcV1) DeleteLoadBalancerPoolMemberWithContext(ctx context.Context, deleteLoadBalancerPoolMemberOptions *DeleteLoadBalancerPoolMemberOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerPoolMemberWithContext is an alternate form of the DeleteLoadBalancerPoolMember method which supports a Context parameter

func (*VpcV1) DeleteLoadBalancerPoolWithContext added in v0.4.2

func (vpc *VpcV1) DeleteLoadBalancerPoolWithContext(ctx context.Context, deleteLoadBalancerPoolOptions *DeleteLoadBalancerPoolOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerPoolWithContext is an alternate form of the DeleteLoadBalancerPool method which supports a Context parameter

func (*VpcV1) DeleteLoadBalancerWithContext added in v0.4.2

func (vpc *VpcV1) DeleteLoadBalancerWithContext(ctx context.Context, deleteLoadBalancerOptions *DeleteLoadBalancerOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerWithContext is an alternate form of the DeleteLoadBalancer method which supports a Context parameter

func (*VpcV1) DeleteNetworkACL

func (vpc *VpcV1) DeleteNetworkACL(deleteNetworkACLOptions *DeleteNetworkACLOptions) (response *core.DetailedResponse, err error)

DeleteNetworkACL : Delete a network ACL This request deletes a network ACL. This operation cannot be reversed. For this request to succeed, the network ACL must not be the default network ACL for any VPCs, and the network ACL must not be attached to any subnets.

func (*VpcV1) DeleteNetworkACLRule

func (vpc *VpcV1) DeleteNetworkACLRule(deleteNetworkACLRuleOptions *DeleteNetworkACLRuleOptions) (response *core.DetailedResponse, err error)

DeleteNetworkACLRule : Delete a network ACL rule This request deletes a rule. This operation cannot be reversed.

func (*VpcV1) DeleteNetworkACLRuleWithContext added in v0.4.2

func (vpc *VpcV1) DeleteNetworkACLRuleWithContext(ctx context.Context, deleteNetworkACLRuleOptions *DeleteNetworkACLRuleOptions) (response *core.DetailedResponse, err error)

DeleteNetworkACLRuleWithContext is an alternate form of the DeleteNetworkACLRule method which supports a Context parameter

func (*VpcV1) DeleteNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) DeleteNetworkACLWithContext(ctx context.Context, deleteNetworkACLOptions *DeleteNetworkACLOptions) (response *core.DetailedResponse, err error)

DeleteNetworkACLWithContext is an alternate form of the DeleteNetworkACL method which supports a Context parameter

func (*VpcV1) DeletePlacementGroup added in v0.9.0

func (vpc *VpcV1) DeletePlacementGroup(deletePlacementGroupOptions *DeletePlacementGroupOptions) (response *core.DetailedResponse, err error)

DeletePlacementGroup : Delete a placement group This request deletes a placement group. This operation cannot be reversed. For this request to succeed, the placement group must not be associated with an instance.

func (*VpcV1) DeletePlacementGroupWithContext added in v0.9.0

func (vpc *VpcV1) DeletePlacementGroupWithContext(ctx context.Context, deletePlacementGroupOptions *DeletePlacementGroupOptions) (response *core.DetailedResponse, err error)

DeletePlacementGroupWithContext is an alternate form of the DeletePlacementGroup method which supports a Context parameter

func (*VpcV1) DeletePublicGateway

func (vpc *VpcV1) DeletePublicGateway(deletePublicGatewayOptions *DeletePublicGatewayOptions) (response *core.DetailedResponse, err error)

DeletePublicGateway : Delete a public gateway This request deletes a public gateway. This operation cannot be reversed. For this request to succeed, the public gateway must not be attached to any subnets. The public gateway's floating IP will be automatically unbound. If the floating IP was created when the public gateway was created, it will be deleted.

func (*VpcV1) DeletePublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) DeletePublicGatewayWithContext(ctx context.Context, deletePublicGatewayOptions *DeletePublicGatewayOptions) (response *core.DetailedResponse, err error)

DeletePublicGatewayWithContext is an alternate form of the DeletePublicGateway method which supports a Context parameter

func (*VpcV1) DeleteReservation added in v0.48.0

func (vpc *VpcV1) DeleteReservation(deleteReservationOptions *DeleteReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

DeleteReservation : Delete a reservation This request deletes a reservation. This operation cannot be reversed. Reservations with a `status` of `active` are not allowed to be deleted.

func (*VpcV1) DeleteReservationWithContext added in v0.48.0

func (vpc *VpcV1) DeleteReservationWithContext(ctx context.Context, deleteReservationOptions *DeleteReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

DeleteReservationWithContext is an alternate form of the DeleteReservation method which supports a Context parameter

func (*VpcV1) DeleteSecurityGroup

func (vpc *VpcV1) DeleteSecurityGroup(deleteSecurityGroupOptions *DeleteSecurityGroupOptions) (response *core.DetailedResponse, err error)

DeleteSecurityGroup : Delete a security group This request deletes a security group. A security group cannot be deleted if it is referenced by any security group targets or rules. Additionally, a VPC's default security group cannot be deleted. This operation cannot be reversed.

func (*VpcV1) DeleteSecurityGroupRule

func (vpc *VpcV1) DeleteSecurityGroupRule(deleteSecurityGroupRuleOptions *DeleteSecurityGroupRuleOptions) (response *core.DetailedResponse, err error)

DeleteSecurityGroupRule : Delete a security group rule This request deletes a security group rule. This operation cannot be reversed. Removing a security group rule will not end existing connections allowed by that rule.

func (*VpcV1) DeleteSecurityGroupRuleWithContext added in v0.4.2

func (vpc *VpcV1) DeleteSecurityGroupRuleWithContext(ctx context.Context, deleteSecurityGroupRuleOptions *DeleteSecurityGroupRuleOptions) (response *core.DetailedResponse, err error)

DeleteSecurityGroupRuleWithContext is an alternate form of the DeleteSecurityGroupRule method which supports a Context parameter

func (*VpcV1) DeleteSecurityGroupTargetBinding added in v0.5.0

func (vpc *VpcV1) DeleteSecurityGroupTargetBinding(deleteSecurityGroupTargetBindingOptions *DeleteSecurityGroupTargetBindingOptions) (response *core.DetailedResponse, err error)

DeleteSecurityGroupTargetBinding : Remove a target from a security group This request removes a target from a security group. For this request to succeed, the target must be attached to at least one other security group. The specified target identifier can be:

- A bare metal server network interface identifier - A virtual network interface identifier - A VPN server identifier - A load balancer identifier - An endpoint gateway identifier - An instance network interface identifier

Security groups are stateful, so any changes to a target's security groups are applied to new connections. Existing connections are not affected.

func (*VpcV1) DeleteSecurityGroupTargetBindingWithContext added in v0.5.0

func (vpc *VpcV1) DeleteSecurityGroupTargetBindingWithContext(ctx context.Context, deleteSecurityGroupTargetBindingOptions *DeleteSecurityGroupTargetBindingOptions) (response *core.DetailedResponse, err error)

DeleteSecurityGroupTargetBindingWithContext is an alternate form of the DeleteSecurityGroupTargetBinding method which supports a Context parameter

func (*VpcV1) DeleteSecurityGroupWithContext added in v0.4.2

func (vpc *VpcV1) DeleteSecurityGroupWithContext(ctx context.Context, deleteSecurityGroupOptions *DeleteSecurityGroupOptions) (response *core.DetailedResponse, err error)

DeleteSecurityGroupWithContext is an alternate form of the DeleteSecurityGroup method which supports a Context parameter

func (*VpcV1) DeleteShare added in v0.41.0

func (vpc *VpcV1) DeleteShare(deleteShareOptions *DeleteShareOptions) (result *Share, response *core.DetailedResponse, err error)

DeleteShare : Delete a file share This request deletes a share. This operation cannot be reversed. A share cannot be deleted if it: - has share mount targets - has a `lifecycle_state` of `updating` - has a replication operation in progress

If the request is accepted, the share `lifecycle_state` will be set to `deleting`. Once deletion processing completes, it will no longer be retrievable.

func (*VpcV1) DeleteShareMountTarget added in v0.41.0

func (vpc *VpcV1) DeleteShareMountTarget(deleteShareMountTargetOptions *DeleteShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

DeleteShareMountTarget : Delete a share mount target This request deletes a share mount target. This operation cannot be reversed.

If the request is accepted, the share mount target `lifecycle_state` will be set to `deleting`. Once deletion processing completes, it will no longer be retrievable.

func (*VpcV1) DeleteShareMountTargetWithContext added in v0.41.0

func (vpc *VpcV1) DeleteShareMountTargetWithContext(ctx context.Context, deleteShareMountTargetOptions *DeleteShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

DeleteShareMountTargetWithContext is an alternate form of the DeleteShareMountTarget method which supports a Context parameter

func (*VpcV1) DeleteShareSource added in v0.41.0

func (vpc *VpcV1) DeleteShareSource(deleteShareSourceOptions *DeleteShareSourceOptions) (response *core.DetailedResponse, err error)

DeleteShareSource : Split the source file share from a replica share This request removes the replication relationship between a source share and the replica share specified by the identifier in the URL. The replication relationship cannot be removed if a source share or the replica share has a `lifecycle_state` of `updating`, or has a replication operation in progress.

This operation cannot be reversed.

func (*VpcV1) DeleteShareSourceWithContext added in v0.41.0

func (vpc *VpcV1) DeleteShareSourceWithContext(ctx context.Context, deleteShareSourceOptions *DeleteShareSourceOptions) (response *core.DetailedResponse, err error)

DeleteShareSourceWithContext is an alternate form of the DeleteShareSource method which supports a Context parameter

func (*VpcV1) DeleteShareWithContext added in v0.41.0

func (vpc *VpcV1) DeleteShareWithContext(ctx context.Context, deleteShareOptions *DeleteShareOptions) (result *Share, response *core.DetailedResponse, err error)

DeleteShareWithContext is an alternate form of the DeleteShare method which supports a Context parameter

func (*VpcV1) DeleteSnapshot added in v0.7.0

func (vpc *VpcV1) DeleteSnapshot(deleteSnapshotOptions *DeleteSnapshotOptions) (response *core.DetailedResponse, err error)

DeleteSnapshot : Delete a snapshot This request deletes a snapshot. This operation cannot be reversed.

func (*VpcV1) DeleteSnapshotClone added in v0.31.0

func (vpc *VpcV1) DeleteSnapshotClone(deleteSnapshotCloneOptions *DeleteSnapshotCloneOptions) (response *core.DetailedResponse, err error)

DeleteSnapshotClone : Delete a snapshot clone This request deletes a snapshot clone. This operation cannot be reversed, but an equivalent clone may be recreated from the snapshot.

func (*VpcV1) DeleteSnapshotCloneWithContext added in v0.31.0

func (vpc *VpcV1) DeleteSnapshotCloneWithContext(ctx context.Context, deleteSnapshotCloneOptions *DeleteSnapshotCloneOptions) (response *core.DetailedResponse, err error)

DeleteSnapshotCloneWithContext is an alternate form of the DeleteSnapshotClone method which supports a Context parameter

func (*VpcV1) DeleteSnapshotConsistencyGroup added in v0.45.0

func (vpc *VpcV1) DeleteSnapshotConsistencyGroup(deleteSnapshotConsistencyGroupOptions *DeleteSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

DeleteSnapshotConsistencyGroup : Delete a snapshot consistency group This request deletes snapshot consistency group. This operation cannot be reversed. If the `delete_snapshots_on_delete` property is `true`, all snapshots in the consistency group will also be deleted.

func (*VpcV1) DeleteSnapshotConsistencyGroupWithContext added in v0.45.0

func (vpc *VpcV1) DeleteSnapshotConsistencyGroupWithContext(ctx context.Context, deleteSnapshotConsistencyGroupOptions *DeleteSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

DeleteSnapshotConsistencyGroupWithContext is an alternate form of the DeleteSnapshotConsistencyGroup method which supports a Context parameter

func (*VpcV1) DeleteSnapshotWithContext added in v0.7.0

func (vpc *VpcV1) DeleteSnapshotWithContext(ctx context.Context, deleteSnapshotOptions *DeleteSnapshotOptions) (response *core.DetailedResponse, err error)

DeleteSnapshotWithContext is an alternate form of the DeleteSnapshot method which supports a Context parameter

func (*VpcV1) DeleteSnapshots added in v0.7.0

func (vpc *VpcV1) DeleteSnapshots(deleteSnapshotsOptions *DeleteSnapshotsOptions) (response *core.DetailedResponse, err error)

DeleteSnapshots : Delete a filtered collection of snapshots This request deletes all snapshots created from a specific source volume.

func (*VpcV1) DeleteSnapshotsWithContext added in v0.7.0

func (vpc *VpcV1) DeleteSnapshotsWithContext(ctx context.Context, deleteSnapshotsOptions *DeleteSnapshotsOptions) (response *core.DetailedResponse, err error)

DeleteSnapshotsWithContext is an alternate form of the DeleteSnapshots method which supports a Context parameter

func (*VpcV1) DeleteSubnet

func (vpc *VpcV1) DeleteSubnet(deleteSubnetOptions *DeleteSubnetOptions) (response *core.DetailedResponse, err error)

DeleteSubnet : Delete a subnet This request deletes a subnet. This operation cannot be reversed. For this request to succeed, the subnet must not be referenced by any bare metal server network interfaces, instance network interfaces, virtual network interfaces, VPN gateways, or load balancers. A delete operation automatically detaches the subnet from any network ACLs, public gateways, or endpoint gateways. All flow log collectors with `auto_delete` set to `true` targeting the subnet or any resource in the subnet are automatically deleted.

func (*VpcV1) DeleteSubnetReservedIP added in v0.3.0

func (vpc *VpcV1) DeleteSubnetReservedIP(deleteSubnetReservedIPOptions *DeleteSubnetReservedIPOptions) (response *core.DetailedResponse, err error)

DeleteSubnetReservedIP : Delete a reserved IP This request releases a reserved IP. This operation cannot be reversed.

For this request to succeed, the reserved IP must not be required by another resource, such as a bare metal server network interface, instance network interface or virtual network interface for which it is the primary IP. A provider-owned reserved IP is not allowed to be deleted.

func (*VpcV1) DeleteSubnetReservedIPWithContext added in v0.4.2

func (vpc *VpcV1) DeleteSubnetReservedIPWithContext(ctx context.Context, deleteSubnetReservedIPOptions *DeleteSubnetReservedIPOptions) (response *core.DetailedResponse, err error)

DeleteSubnetReservedIPWithContext is an alternate form of the DeleteSubnetReservedIP method which supports a Context parameter

func (*VpcV1) DeleteSubnetWithContext added in v0.4.2

func (vpc *VpcV1) DeleteSubnetWithContext(ctx context.Context, deleteSubnetOptions *DeleteSubnetOptions) (response *core.DetailedResponse, err error)

DeleteSubnetWithContext is an alternate form of the DeleteSubnet method which supports a Context parameter

func (*VpcV1) DeleteVPC

func (vpc *VpcV1) DeleteVPC(deleteVPCOptions *DeleteVPCOptions) (response *core.DetailedResponse, err error)

DeleteVPC : Delete a VPC This request deletes a VPC. This operation cannot be reversed.

For this request to succeed: - Instances, subnets, public gateways, and endpoint gateways must not reside in this VPC - The VPC must not be providing DNS resolution for any other VPCs - If `dns.enable_hub` is `true`, `dns.resolution_binding_count` must be zero

All security groups and network ACLs associated with the VPC are automatically deleted. All flow log collectors with `auto_delete` set to `true` targeting the VPC or any resource in the VPC are automatically deleted.

func (*VpcV1) DeleteVPCAddressPrefix

func (vpc *VpcV1) DeleteVPCAddressPrefix(deleteVPCAddressPrefixOptions *DeleteVPCAddressPrefixOptions) (response *core.DetailedResponse, err error)

DeleteVPCAddressPrefix : Delete an address prefix This request deletes a prefix. This operation cannot be reversed. The request will fail if any subnets use addresses from this prefix.

func (*VpcV1) DeleteVPCAddressPrefixWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPCAddressPrefixWithContext(ctx context.Context, deleteVPCAddressPrefixOptions *DeleteVPCAddressPrefixOptions) (response *core.DetailedResponse, err error)

DeleteVPCAddressPrefixWithContext is an alternate form of the DeleteVPCAddressPrefix method which supports a Context parameter

func (*VpcV1) DeleteVPCDnsResolutionBinding added in v0.43.0

func (vpc *VpcV1) DeleteVPCDnsResolutionBinding(deleteVPCDnsResolutionBindingOptions *DeleteVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

DeleteVPCDnsResolutionBinding : Delete a DNS resolution binding This request deletes a DNS resolution binding. This operation cannot be reversed.

For this request to succeed, the VPC specified by the identifier in the URL must not have `dns.resolver.type` set to `delegated`.

func (*VpcV1) DeleteVPCDnsResolutionBindingWithContext added in v0.43.0

func (vpc *VpcV1) DeleteVPCDnsResolutionBindingWithContext(ctx context.Context, deleteVPCDnsResolutionBindingOptions *DeleteVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

DeleteVPCDnsResolutionBindingWithContext is an alternate form of the DeleteVPCDnsResolutionBinding method which supports a Context parameter

func (*VpcV1) DeleteVPCRoute

func (vpc *VpcV1) DeleteVPCRoute(deleteVPCRouteOptions *DeleteVPCRouteOptions) (response *core.DetailedResponse, err error)

DeleteVPCRoute : Delete a VPC route This request deletes a route. This operation cannot be reversed. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) DeleteVPCRouteWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPCRouteWithContext(ctx context.Context, deleteVPCRouteOptions *DeleteVPCRouteOptions) (response *core.DetailedResponse, err error)

DeleteVPCRouteWithContext is an alternate form of the DeleteVPCRoute method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) DeleteVPCRoutingTable added in v0.3.0

func (vpc *VpcV1) DeleteVPCRoutingTable(deleteVPCRoutingTableOptions *DeleteVPCRoutingTableOptions) (response *core.DetailedResponse, err error)

DeleteVPCRoutingTable : Delete a VPC routing table This request deletes a routing table. A routing table cannot be deleted if it is associated with any subnets in the VPC. Additionally, a VPC's default routing table cannot be deleted. This operation cannot be reversed.

func (*VpcV1) DeleteVPCRoutingTableRoute added in v0.3.0

func (vpc *VpcV1) DeleteVPCRoutingTableRoute(deleteVPCRoutingTableRouteOptions *DeleteVPCRoutingTableRouteOptions) (response *core.DetailedResponse, err error)

DeleteVPCRoutingTableRoute : Delete a VPC routing table route This request deletes a VPC route. This operation cannot be reversed. Only VPC routes with an `origin` of `user` are allowed to be deleted.

func (*VpcV1) DeleteVPCRoutingTableRouteWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPCRoutingTableRouteWithContext(ctx context.Context, deleteVPCRoutingTableRouteOptions *DeleteVPCRoutingTableRouteOptions) (response *core.DetailedResponse, err error)

DeleteVPCRoutingTableRouteWithContext is an alternate form of the DeleteVPCRoutingTableRoute method which supports a Context parameter

func (*VpcV1) DeleteVPCRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPCRoutingTableWithContext(ctx context.Context, deleteVPCRoutingTableOptions *DeleteVPCRoutingTableOptions) (response *core.DetailedResponse, err error)

DeleteVPCRoutingTableWithContext is an alternate form of the DeleteVPCRoutingTable method which supports a Context parameter

func (*VpcV1) DeleteVPCWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPCWithContext(ctx context.Context, deleteVPCOptions *DeleteVPCOptions) (response *core.DetailedResponse, err error)

DeleteVPCWithContext is an alternate form of the DeleteVPC method which supports a Context parameter

func (*VpcV1) DeleteVPNGateway

func (vpc *VpcV1) DeleteVPNGateway(deleteVPNGatewayOptions *DeleteVPNGatewayOptions) (response *core.DetailedResponse, err error)

DeleteVPNGateway : Delete a VPN gateway This request deletes a VPN gateway. This operation cannot be reversed. For this request to succeed, the VPN gateway must not have a `status` of `pending`, and there must not be any VPC routes using the VPN gateway's connections as a next hop.

func (*VpcV1) DeleteVPNGatewayConnection

func (vpc *VpcV1) DeleteVPNGatewayConnection(deleteVPNGatewayConnectionOptions *DeleteVPNGatewayConnectionOptions) (response *core.DetailedResponse, err error)

DeleteVPNGatewayConnection : Delete a VPN gateway connection This request deletes a VPN gateway connection. This operation cannot be reversed. For this request to succeed, there must not be VPC routes using this VPN connection as a next hop.

func (*VpcV1) DeleteVPNGatewayConnectionWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPNGatewayConnectionWithContext(ctx context.Context, deleteVPNGatewayConnectionOptions *DeleteVPNGatewayConnectionOptions) (response *core.DetailedResponse, err error)

DeleteVPNGatewayConnectionWithContext is an alternate form of the DeleteVPNGatewayConnection method which supports a Context parameter

func (*VpcV1) DeleteVPNGatewayWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVPNGatewayWithContext(ctx context.Context, deleteVPNGatewayOptions *DeleteVPNGatewayOptions) (response *core.DetailedResponse, err error)

DeleteVPNGatewayWithContext is an alternate form of the DeleteVPNGateway method which supports a Context parameter

func (*VpcV1) DeleteVPNServer added in v0.22.0

func (vpc *VpcV1) DeleteVPNServer(deleteVPNServerOptions *DeleteVPNServerOptions) (response *core.DetailedResponse, err error)

DeleteVPNServer : Delete a VPN server This request deletes a VPN server. This operation cannot be reversed.

func (*VpcV1) DeleteVPNServerClient added in v0.22.0

func (vpc *VpcV1) DeleteVPNServerClient(deleteVPNServerClientOptions *DeleteVPNServerClientOptions) (response *core.DetailedResponse, err error)

DeleteVPNServerClient : Delete a VPN client This request disconnects and deletes the VPN client from the VPN server. The VPN client may reconnect unless its authentication permissions for the configured authentication methods (such as its client certificate) have been revoked.

func (*VpcV1) DeleteVPNServerClientWithContext added in v0.22.0

func (vpc *VpcV1) DeleteVPNServerClientWithContext(ctx context.Context, deleteVPNServerClientOptions *DeleteVPNServerClientOptions) (response *core.DetailedResponse, err error)

DeleteVPNServerClientWithContext is an alternate form of the DeleteVPNServerClient method which supports a Context parameter

func (*VpcV1) DeleteVPNServerRoute added in v0.22.0

func (vpc *VpcV1) DeleteVPNServerRoute(deleteVPNServerRouteOptions *DeleteVPNServerRouteOptions) (response *core.DetailedResponse, err error)

DeleteVPNServerRoute : Delete a VPN route This request deletes a VPN route. This operation cannot be reversed.

func (*VpcV1) DeleteVPNServerRouteWithContext added in v0.22.0

func (vpc *VpcV1) DeleteVPNServerRouteWithContext(ctx context.Context, deleteVPNServerRouteOptions *DeleteVPNServerRouteOptions) (response *core.DetailedResponse, err error)

DeleteVPNServerRouteWithContext is an alternate form of the DeleteVPNServerRoute method which supports a Context parameter

func (*VpcV1) DeleteVPNServerWithContext added in v0.22.0

func (vpc *VpcV1) DeleteVPNServerWithContext(ctx context.Context, deleteVPNServerOptions *DeleteVPNServerOptions) (response *core.DetailedResponse, err error)

DeleteVPNServerWithContext is an alternate form of the DeleteVPNServer method which supports a Context parameter

func (*VpcV1) DeleteVirtualNetworkInterfaces added in v0.47.0

func (vpc *VpcV1) DeleteVirtualNetworkInterfaces(deleteVirtualNetworkInterfacesOptions *DeleteVirtualNetworkInterfacesOptions) (response *core.DetailedResponse, err error)

DeleteVirtualNetworkInterfaces : Delete a virtual network interface This request deletes a virtual network interface. This operation cannot be reversed. For this request to succeed, the virtual network interface must not be required by another resource, such as the primary network attachment for an instance.

func (*VpcV1) DeleteVirtualNetworkInterfacesWithContext added in v0.47.0

func (vpc *VpcV1) DeleteVirtualNetworkInterfacesWithContext(ctx context.Context, deleteVirtualNetworkInterfacesOptions *DeleteVirtualNetworkInterfacesOptions) (response *core.DetailedResponse, err error)

DeleteVirtualNetworkInterfacesWithContext is an alternate form of the DeleteVirtualNetworkInterfaces method which supports a Context parameter

func (*VpcV1) DeleteVolume

func (vpc *VpcV1) DeleteVolume(deleteVolumeOptions *DeleteVolumeOptions) (response *core.DetailedResponse, err error)

DeleteVolume : Delete a volume This request deletes a volume. This operation cannot be reversed. For this request to succeed, the volume must not be attached to any instances.

func (*VpcV1) DeleteVolumeWithContext added in v0.4.2

func (vpc *VpcV1) DeleteVolumeWithContext(ctx context.Context, deleteVolumeOptions *DeleteVolumeOptions) (response *core.DetailedResponse, err error)

DeleteVolumeWithContext is an alternate form of the DeleteVolume method which supports a Context parameter

func (*VpcV1) DeprecateImage added in v0.40.0

func (vpc *VpcV1) DeprecateImage(deprecateImageOptions *DeprecateImageOptions) (response *core.DetailedResponse, err error)

DeprecateImage : Deprecate an image This request deprecates an image, resulting in its `status` becoming `deprecated` and `deprecation_at` being set to the current date and time.

The image must: - have a `status` of `available` - have `catalog_offering.managed` set to `false` - not have `deprecation_at` set

The image must not have `deprecation_at` set, must have `catalog_offering.managed` set to `false`, and must have a `status` of `available`.

A system-provided image is not allowed to be deprecated.

func (*VpcV1) DeprecateImageWithContext added in v0.40.0

func (vpc *VpcV1) DeprecateImageWithContext(ctx context.Context, deprecateImageOptions *DeprecateImageOptions) (response *core.DetailedResponse, err error)

DeprecateImageWithContext is an alternate form of the DeprecateImage method which supports a Context parameter

func (*VpcV1) DisableRetries added in v0.4.2

func (vpc *VpcV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*VpcV1) DisconnectVPNClient added in v0.22.0

func (vpc *VpcV1) DisconnectVPNClient(disconnectVPNClientOptions *DisconnectVPNClientOptions) (response *core.DetailedResponse, err error)

DisconnectVPNClient : Disconnect a VPN client This request disconnects the specified VPN client, and deletes the client according to the VPN server's auto-deletion policy. The VPN client may reconnect unless its authentication permissions for the configured authentication methods (such as its client certificate) have been revoked.

func (*VpcV1) DisconnectVPNClientWithContext added in v0.22.0

func (vpc *VpcV1) DisconnectVPNClientWithContext(ctx context.Context, disconnectVPNClientOptions *DisconnectVPNClientOptions) (response *core.DetailedResponse, err error)

DisconnectVPNClientWithContext is an alternate form of the DisconnectVPNClient method which supports a Context parameter

func (*VpcV1) EnableRetries added in v0.4.2

func (vpc *VpcV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*VpcV1) FailoverShare added in v0.41.0

func (vpc *VpcV1) FailoverShare(failoverShareOptions *FailoverShareOptions) (response *core.DetailedResponse, err error)

FailoverShare : Failover to replica file share This request triggers a failover to the replica file share specified by the identifier in the URL. The failover cannot be started if a source share or the replica share has a `lifecycle_state` of `updating`, or has a replication operation in progress.

If `fallback_policy` is specified as `split`, and the request is accepted but the failover operation cannot be performed, a split will be triggered.

func (*VpcV1) FailoverShareWithContext added in v0.41.0

func (vpc *VpcV1) FailoverShareWithContext(ctx context.Context, failoverShareOptions *FailoverShareOptions) (response *core.DetailedResponse, err error)

FailoverShareWithContext is an alternate form of the FailoverShare method which supports a Context parameter

func (*VpcV1) GetBackupPolicy added in v0.21.0

func (vpc *VpcV1) GetBackupPolicy(getBackupPolicyOptions *GetBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

GetBackupPolicy : Retrieve a backup policy This request retrieves a single backup policy specified by the identifier in the URL.

func (*VpcV1) GetBackupPolicyJob added in v0.29.0

func (vpc *VpcV1) GetBackupPolicyJob(getBackupPolicyJobOptions *GetBackupPolicyJobOptions) (result *BackupPolicyJob, response *core.DetailedResponse, err error)

GetBackupPolicyJob : Retrieve a backup policy job This request retrieves a single backup policy job specified by the identifier in the URL.

func (*VpcV1) GetBackupPolicyJobWithContext added in v0.29.0

func (vpc *VpcV1) GetBackupPolicyJobWithContext(ctx context.Context, getBackupPolicyJobOptions *GetBackupPolicyJobOptions) (result *BackupPolicyJob, response *core.DetailedResponse, err error)

GetBackupPolicyJobWithContext is an alternate form of the GetBackupPolicyJob method which supports a Context parameter

func (*VpcV1) GetBackupPolicyPlan added in v0.21.0

func (vpc *VpcV1) GetBackupPolicyPlan(getBackupPolicyPlanOptions *GetBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

GetBackupPolicyPlan : Retrieve a backup policy plan This request retrieves a single backup policy plan specified by the identifier in the URL.

func (*VpcV1) GetBackupPolicyPlanWithContext added in v0.21.0

func (vpc *VpcV1) GetBackupPolicyPlanWithContext(ctx context.Context, getBackupPolicyPlanOptions *GetBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

GetBackupPolicyPlanWithContext is an alternate form of the GetBackupPolicyPlan method which supports a Context parameter

func (*VpcV1) GetBackupPolicyWithContext added in v0.21.0

func (vpc *VpcV1) GetBackupPolicyWithContext(ctx context.Context, getBackupPolicyOptions *GetBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

GetBackupPolicyWithContext is an alternate form of the GetBackupPolicy method which supports a Context parameter

func (*VpcV1) GetBareMetalServer added in v0.16.0

func (vpc *VpcV1) GetBareMetalServer(getBareMetalServerOptions *GetBareMetalServerOptions) (result *BareMetalServer, response *core.DetailedResponse, err error)

GetBareMetalServer : Retrieve a bare metal server This request retrieves a single bare metal server specified by the identifier in the URL.

func (*VpcV1) GetBareMetalServerDisk added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerDisk(getBareMetalServerDiskOptions *GetBareMetalServerDiskOptions) (result *BareMetalServerDisk, response *core.DetailedResponse, err error)

GetBareMetalServerDisk : Retrieve a bare metal server disk This request retrieves a single disk specified by the identifier in the URL.

func (*VpcV1) GetBareMetalServerDiskWithContext added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerDiskWithContext(ctx context.Context, getBareMetalServerDiskOptions *GetBareMetalServerDiskOptions) (result *BareMetalServerDisk, response *core.DetailedResponse, err error)

GetBareMetalServerDiskWithContext is an alternate form of the GetBareMetalServerDisk method which supports a Context parameter

func (*VpcV1) GetBareMetalServerInitialization added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerInitialization(getBareMetalServerInitializationOptions *GetBareMetalServerInitializationOptions) (result *BareMetalServerInitialization, response *core.DetailedResponse, err error)

GetBareMetalServerInitialization : Retrieve initialization configuration for a bare metal server This request retrieves configuration used to initialize the bare metal server, such as the image used, SSH keys, and any configured usernames and passwords. These can subsequently be changed on the server and therefore may not be current.

func (*VpcV1) GetBareMetalServerInitializationWithContext added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerInitializationWithContext(ctx context.Context, getBareMetalServerInitializationOptions *GetBareMetalServerInitializationOptions) (result *BareMetalServerInitialization, response *core.DetailedResponse, err error)

GetBareMetalServerInitializationWithContext is an alternate form of the GetBareMetalServerInitialization method which supports a Context parameter

func (*VpcV1) GetBareMetalServerNetworkAttachment added in v0.47.0

func (vpc *VpcV1) GetBareMetalServerNetworkAttachment(getBareMetalServerNetworkAttachmentOptions *GetBareMetalServerNetworkAttachmentOptions) (result BareMetalServerNetworkAttachmentIntf, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkAttachment : Retrieve a bare metal server network attachment This request retrieves a single bare metal server network attachment specified by the identifier in the URL.

func (*VpcV1) GetBareMetalServerNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) GetBareMetalServerNetworkAttachmentWithContext(ctx context.Context, getBareMetalServerNetworkAttachmentOptions *GetBareMetalServerNetworkAttachmentOptions) (result BareMetalServerNetworkAttachmentIntf, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkAttachmentWithContext is an alternate form of the GetBareMetalServerNetworkAttachment method which supports a Context parameter

func (*VpcV1) GetBareMetalServerNetworkInterface added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerNetworkInterface(getBareMetalServerNetworkInterfaceOptions *GetBareMetalServerNetworkInterfaceOptions) (result BareMetalServerNetworkInterfaceIntf, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkInterface : Retrieve a bare metal server network interface This request retrieves a single bare metal server network interface specified by the identifier in the URL.

If this bare metal server has network attachments, the retrieved network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface.

func (*VpcV1) GetBareMetalServerNetworkInterfaceFloatingIP added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerNetworkInterfaceFloatingIP(getBareMetalServerNetworkInterfaceFloatingIPOptions *GetBareMetalServerNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkInterfaceFloatingIP : Retrieve associated floating IP This request retrieves a specified floating IP if it is associated with the bare metal server network interface specified in the URL.

func (*VpcV1) GetBareMetalServerNetworkInterfaceFloatingIPWithContext added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerNetworkInterfaceFloatingIPWithContext(ctx context.Context, getBareMetalServerNetworkInterfaceFloatingIPOptions *GetBareMetalServerNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkInterfaceFloatingIPWithContext is an alternate form of the GetBareMetalServerNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) GetBareMetalServerNetworkInterfaceIP added in v0.19.0

func (vpc *VpcV1) GetBareMetalServerNetworkInterfaceIP(getBareMetalServerNetworkInterfaceIPOptions *GetBareMetalServerNetworkInterfaceIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkInterfaceIP : Retrieve the primary reserved IP This request retrieves the primary reserved IP for a bare metal server network interface. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) GetBareMetalServerNetworkInterfaceIPWithContext added in v0.19.0

func (vpc *VpcV1) GetBareMetalServerNetworkInterfaceIPWithContext(ctx context.Context, getBareMetalServerNetworkInterfaceIPOptions *GetBareMetalServerNetworkInterfaceIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkInterfaceIPWithContext is an alternate form of the GetBareMetalServerNetworkInterfaceIP method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) GetBareMetalServerNetworkInterfaceWithContext added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerNetworkInterfaceWithContext(ctx context.Context, getBareMetalServerNetworkInterfaceOptions *GetBareMetalServerNetworkInterfaceOptions) (result BareMetalServerNetworkInterfaceIntf, response *core.DetailedResponse, err error)

GetBareMetalServerNetworkInterfaceWithContext is an alternate form of the GetBareMetalServerNetworkInterface method which supports a Context parameter

func (*VpcV1) GetBareMetalServerProfile added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerProfile(getBareMetalServerProfileOptions *GetBareMetalServerProfileOptions) (result *BareMetalServerProfile, response *core.DetailedResponse, err error)

GetBareMetalServerProfile : Retrieve a bare metal server profile This request retrieves a single bare metal server profile specified by the name in the URL.

func (*VpcV1) GetBareMetalServerProfileWithContext added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerProfileWithContext(ctx context.Context, getBareMetalServerProfileOptions *GetBareMetalServerProfileOptions) (result *BareMetalServerProfile, response *core.DetailedResponse, err error)

GetBareMetalServerProfileWithContext is an alternate form of the GetBareMetalServerProfile method which supports a Context parameter

func (*VpcV1) GetBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) GetBareMetalServerWithContext(ctx context.Context, getBareMetalServerOptions *GetBareMetalServerOptions) (result *BareMetalServer, response *core.DetailedResponse, err error)

GetBareMetalServerWithContext is an alternate form of the GetBareMetalServer method which supports a Context parameter

func (*VpcV1) GetDedicatedHost added in v0.4.0

func (vpc *VpcV1) GetDedicatedHost(getDedicatedHostOptions *GetDedicatedHostOptions) (result *DedicatedHost, response *core.DetailedResponse, err error)

GetDedicatedHost : Retrieve a dedicated host This request retrieves a single dedicated host specified by the identifiers in the URL.

func (*VpcV1) GetDedicatedHostDisk added in v0.5.0

func (vpc *VpcV1) GetDedicatedHostDisk(getDedicatedHostDiskOptions *GetDedicatedHostDiskOptions) (result *DedicatedHostDisk, response *core.DetailedResponse, err error)

GetDedicatedHostDisk : Retrieve a dedicated host disk This request retrieves a single dedicated host disk specified by the identifier in the URL.

func (*VpcV1) GetDedicatedHostDiskWithContext added in v0.5.0

func (vpc *VpcV1) GetDedicatedHostDiskWithContext(ctx context.Context, getDedicatedHostDiskOptions *GetDedicatedHostDiskOptions) (result *DedicatedHostDisk, response *core.DetailedResponse, err error)

GetDedicatedHostDiskWithContext is an alternate form of the GetDedicatedHostDisk method which supports a Context parameter

func (*VpcV1) GetDedicatedHostGroup added in v0.4.0

func (vpc *VpcV1) GetDedicatedHostGroup(getDedicatedHostGroupOptions *GetDedicatedHostGroupOptions) (result *DedicatedHostGroup, response *core.DetailedResponse, err error)

GetDedicatedHostGroup : Retrieve a dedicated host group This request retrieves a single dedicated host group specified by the identifier in the URL.

func (*VpcV1) GetDedicatedHostGroupWithContext added in v0.4.2

func (vpc *VpcV1) GetDedicatedHostGroupWithContext(ctx context.Context, getDedicatedHostGroupOptions *GetDedicatedHostGroupOptions) (result *DedicatedHostGroup, response *core.DetailedResponse, err error)

GetDedicatedHostGroupWithContext is an alternate form of the GetDedicatedHostGroup method which supports a Context parameter

func (*VpcV1) GetDedicatedHostProfile added in v0.4.0

func (vpc *VpcV1) GetDedicatedHostProfile(getDedicatedHostProfileOptions *GetDedicatedHostProfileOptions) (result *DedicatedHostProfile, response *core.DetailedResponse, err error)

GetDedicatedHostProfile : Retrieve a dedicated host profile This request retrieves a single dedicated host profile specified by the name in the URL.

func (*VpcV1) GetDedicatedHostProfileWithContext added in v0.4.2

func (vpc *VpcV1) GetDedicatedHostProfileWithContext(ctx context.Context, getDedicatedHostProfileOptions *GetDedicatedHostProfileOptions) (result *DedicatedHostProfile, response *core.DetailedResponse, err error)

GetDedicatedHostProfileWithContext is an alternate form of the GetDedicatedHostProfile method which supports a Context parameter

func (*VpcV1) GetDedicatedHostWithContext added in v0.4.2

func (vpc *VpcV1) GetDedicatedHostWithContext(ctx context.Context, getDedicatedHostOptions *GetDedicatedHostOptions) (result *DedicatedHost, response *core.DetailedResponse, err error)

GetDedicatedHostWithContext is an alternate form of the GetDedicatedHost method which supports a Context parameter

func (*VpcV1) GetEnableGzipCompression added in v0.4.2

func (vpc *VpcV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*VpcV1) GetEndpointGateway added in v0.3.0

func (vpc *VpcV1) GetEndpointGateway(getEndpointGatewayOptions *GetEndpointGatewayOptions) (result *EndpointGateway, response *core.DetailedResponse, err error)

GetEndpointGateway : Retrieve an endpoint gateway This request retrieves a single endpoint gateway specified by the identifier in the URL.

func (*VpcV1) GetEndpointGatewayIP added in v0.3.0

func (vpc *VpcV1) GetEndpointGatewayIP(getEndpointGatewayIPOptions *GetEndpointGatewayIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetEndpointGatewayIP : Retrieve a reserved IP bound to an endpoint gateway This request retrieves the specified reserved IP address if it is bound to the endpoint gateway specified in the URL.

func (*VpcV1) GetEndpointGatewayIPWithContext added in v0.4.2

func (vpc *VpcV1) GetEndpointGatewayIPWithContext(ctx context.Context, getEndpointGatewayIPOptions *GetEndpointGatewayIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetEndpointGatewayIPWithContext is an alternate form of the GetEndpointGatewayIP method which supports a Context parameter

func (*VpcV1) GetEndpointGatewayWithContext added in v0.4.2

func (vpc *VpcV1) GetEndpointGatewayWithContext(ctx context.Context, getEndpointGatewayOptions *GetEndpointGatewayOptions) (result *EndpointGateway, response *core.DetailedResponse, err error)

GetEndpointGatewayWithContext is an alternate form of the GetEndpointGateway method which supports a Context parameter

func (*VpcV1) GetFloatingIP

func (vpc *VpcV1) GetFloatingIP(getFloatingIPOptions *GetFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

GetFloatingIP : Retrieve a floating IP This request retrieves a single floating IP specified by the identifier in the URL.

func (*VpcV1) GetFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) GetFloatingIPWithContext(ctx context.Context, getFloatingIPOptions *GetFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

GetFloatingIPWithContext is an alternate form of the GetFloatingIP method which supports a Context parameter

func (*VpcV1) GetFlowLogCollector

func (vpc *VpcV1) GetFlowLogCollector(getFlowLogCollectorOptions *GetFlowLogCollectorOptions) (result *FlowLogCollector, response *core.DetailedResponse, err error)

GetFlowLogCollector : Retrieve a flow log collector This request retrieves a single flow log collector specified by the identifier in the URL.

func (*VpcV1) GetFlowLogCollectorWithContext added in v0.4.2

func (vpc *VpcV1) GetFlowLogCollectorWithContext(ctx context.Context, getFlowLogCollectorOptions *GetFlowLogCollectorOptions) (result *FlowLogCollector, response *core.DetailedResponse, err error)

GetFlowLogCollectorWithContext is an alternate form of the GetFlowLogCollector method which supports a Context parameter

func (*VpcV1) GetIkePolicy

func (vpc *VpcV1) GetIkePolicy(getIkePolicyOptions *GetIkePolicyOptions) (result *IkePolicy, response *core.DetailedResponse, err error)

GetIkePolicy : Retrieve an IKE policy This request retrieves a single IKE policy specified by the identifier in the URL.

func (*VpcV1) GetIkePolicyWithContext added in v0.4.2

func (vpc *VpcV1) GetIkePolicyWithContext(ctx context.Context, getIkePolicyOptions *GetIkePolicyOptions) (result *IkePolicy, response *core.DetailedResponse, err error)

GetIkePolicyWithContext is an alternate form of the GetIkePolicy method which supports a Context parameter

func (*VpcV1) GetImage

func (vpc *VpcV1) GetImage(getImageOptions *GetImageOptions) (result *Image, response *core.DetailedResponse, err error)

GetImage : Retrieve an image This request retrieves a single image specified by the identifier in the URL.

func (*VpcV1) GetImageExportJob added in v0.37.0

func (vpc *VpcV1) GetImageExportJob(getImageExportJobOptions *GetImageExportJobOptions) (result *ImageExportJob, response *core.DetailedResponse, err error)

GetImageExportJob : Retrieve an image export job This request retrieves a single image export job specified by the identifier in the URL.

func (*VpcV1) GetImageExportJobWithContext added in v0.37.0

func (vpc *VpcV1) GetImageExportJobWithContext(ctx context.Context, getImageExportJobOptions *GetImageExportJobOptions) (result *ImageExportJob, response *core.DetailedResponse, err error)

GetImageExportJobWithContext is an alternate form of the GetImageExportJob method which supports a Context parameter

func (*VpcV1) GetImageWithContext added in v0.4.2

func (vpc *VpcV1) GetImageWithContext(ctx context.Context, getImageOptions *GetImageOptions) (result *Image, response *core.DetailedResponse, err error)

GetImageWithContext is an alternate form of the GetImage method which supports a Context parameter

func (*VpcV1) GetInstance

func (vpc *VpcV1) GetInstance(getInstanceOptions *GetInstanceOptions) (result *Instance, response *core.DetailedResponse, err error)

GetInstance : Retrieve an instance This request retrieves a single instance specified by the identifier in the URL.

func (*VpcV1) GetInstanceDisk added in v0.5.0

func (vpc *VpcV1) GetInstanceDisk(getInstanceDiskOptions *GetInstanceDiskOptions) (result *InstanceDisk, response *core.DetailedResponse, err error)

GetInstanceDisk : Retrieve an instance disk This request retrieves a single instance disk specified by the identifier in the URL.

func (*VpcV1) GetInstanceDiskWithContext added in v0.5.0

func (vpc *VpcV1) GetInstanceDiskWithContext(ctx context.Context, getInstanceDiskOptions *GetInstanceDiskOptions) (result *InstanceDisk, response *core.DetailedResponse, err error)

GetInstanceDiskWithContext is an alternate form of the GetInstanceDisk method which supports a Context parameter

func (*VpcV1) GetInstanceGroup added in v0.1.0

func (vpc *VpcV1) GetInstanceGroup(getInstanceGroupOptions *GetInstanceGroupOptions) (result *InstanceGroup, response *core.DetailedResponse, err error)

GetInstanceGroup : Retrieve an instance group This request retrieves a single instance group specified by identifier in the URL.

func (*VpcV1) GetInstanceGroupManager added in v0.1.0

func (vpc *VpcV1) GetInstanceGroupManager(getInstanceGroupManagerOptions *GetInstanceGroupManagerOptions) (result InstanceGroupManagerIntf, response *core.DetailedResponse, err error)

GetInstanceGroupManager : Retrieve an instance group manager This request retrieves a single instance group manager specified by identifier in the URL.

func (*VpcV1) GetInstanceGroupManagerAction added in v0.6.0

func (vpc *VpcV1) GetInstanceGroupManagerAction(getInstanceGroupManagerActionOptions *GetInstanceGroupManagerActionOptions) (result InstanceGroupManagerActionIntf, response *core.DetailedResponse, err error)

GetInstanceGroupManagerAction : Retrieve specified instance group manager action This request retrieves a single instance group manager action specified by identifier in the URL.

func (*VpcV1) GetInstanceGroupManagerActionWithContext added in v0.6.0

func (vpc *VpcV1) GetInstanceGroupManagerActionWithContext(ctx context.Context, getInstanceGroupManagerActionOptions *GetInstanceGroupManagerActionOptions) (result InstanceGroupManagerActionIntf, response *core.DetailedResponse, err error)

GetInstanceGroupManagerActionWithContext is an alternate form of the GetInstanceGroupManagerAction method which supports a Context parameter

func (*VpcV1) GetInstanceGroupManagerPolicy added in v0.1.0

func (vpc *VpcV1) GetInstanceGroupManagerPolicy(getInstanceGroupManagerPolicyOptions *GetInstanceGroupManagerPolicyOptions) (result InstanceGroupManagerPolicyIntf, response *core.DetailedResponse, err error)

GetInstanceGroupManagerPolicy : Retrieve an instance group manager policy This request retrieves a single instance group manager policy specified by identifier in the URL.

func (*VpcV1) GetInstanceGroupManagerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceGroupManagerPolicyWithContext(ctx context.Context, getInstanceGroupManagerPolicyOptions *GetInstanceGroupManagerPolicyOptions) (result InstanceGroupManagerPolicyIntf, response *core.DetailedResponse, err error)

GetInstanceGroupManagerPolicyWithContext is an alternate form of the GetInstanceGroupManagerPolicy method which supports a Context parameter

func (*VpcV1) GetInstanceGroupManagerWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceGroupManagerWithContext(ctx context.Context, getInstanceGroupManagerOptions *GetInstanceGroupManagerOptions) (result InstanceGroupManagerIntf, response *core.DetailedResponse, err error)

GetInstanceGroupManagerWithContext is an alternate form of the GetInstanceGroupManager method which supports a Context parameter

func (*VpcV1) GetInstanceGroupMembership added in v0.1.0

func (vpc *VpcV1) GetInstanceGroupMembership(getInstanceGroupMembershipOptions *GetInstanceGroupMembershipOptions) (result *InstanceGroupMembership, response *core.DetailedResponse, err error)

GetInstanceGroupMembership : Retrieve an instance group membership This request retrieves a single instance group membership specified by identifier in the URL.

func (*VpcV1) GetInstanceGroupMembershipWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceGroupMembershipWithContext(ctx context.Context, getInstanceGroupMembershipOptions *GetInstanceGroupMembershipOptions) (result *InstanceGroupMembership, response *core.DetailedResponse, err error)

GetInstanceGroupMembershipWithContext is an alternate form of the GetInstanceGroupMembership method which supports a Context parameter

func (*VpcV1) GetInstanceGroupWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceGroupWithContext(ctx context.Context, getInstanceGroupOptions *GetInstanceGroupOptions) (result *InstanceGroup, response *core.DetailedResponse, err error)

GetInstanceGroupWithContext is an alternate form of the GetInstanceGroup method which supports a Context parameter

func (*VpcV1) GetInstanceInitialization

func (vpc *VpcV1) GetInstanceInitialization(getInstanceInitializationOptions *GetInstanceInitializationOptions) (result *InstanceInitialization, response *core.DetailedResponse, err error)

GetInstanceInitialization : Retrieve initialization configuration for an instance This request retrieves configuration used to initialize the instance, such as SSH keys and the Windows administrator password. These can subsequently be changed on the instance and therefore may not be current.

func (*VpcV1) GetInstanceInitializationWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceInitializationWithContext(ctx context.Context, getInstanceInitializationOptions *GetInstanceInitializationOptions) (result *InstanceInitialization, response *core.DetailedResponse, err error)

GetInstanceInitializationWithContext is an alternate form of the GetInstanceInitialization method which supports a Context parameter

func (*VpcV1) GetInstanceNetworkAttachment added in v0.47.0

func (vpc *VpcV1) GetInstanceNetworkAttachment(getInstanceNetworkAttachmentOptions *GetInstanceNetworkAttachmentOptions) (result *InstanceNetworkAttachment, response *core.DetailedResponse, err error)

GetInstanceNetworkAttachment : Retrieve an instance network attachment This request retrieves a single instance network attachment specified by the identifier in the URL.

func (*VpcV1) GetInstanceNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) GetInstanceNetworkAttachmentWithContext(ctx context.Context, getInstanceNetworkAttachmentOptions *GetInstanceNetworkAttachmentOptions) (result *InstanceNetworkAttachment, response *core.DetailedResponse, err error)

GetInstanceNetworkAttachmentWithContext is an alternate form of the GetInstanceNetworkAttachment method which supports a Context parameter

func (*VpcV1) GetInstanceNetworkInterface

func (vpc *VpcV1) GetInstanceNetworkInterface(getInstanceNetworkInterfaceOptions *GetInstanceNetworkInterfaceOptions) (result *NetworkInterface, response *core.DetailedResponse, err error)

GetInstanceNetworkInterface : Retrieve an instance network interface This request retrieves a single instance network interface specified by the identifier in the URL.

If this instance has network attachments, the retrieved network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface.

func (*VpcV1) GetInstanceNetworkInterfaceFloatingIP

func (vpc *VpcV1) GetInstanceNetworkInterfaceFloatingIP(getInstanceNetworkInterfaceFloatingIPOptions *GetInstanceNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

GetInstanceNetworkInterfaceFloatingIP : Retrieve associated floating IP This request retrieves a specified floating IP address if it is associated with the instance network interface and instance specified in the URL.

func (*VpcV1) GetInstanceNetworkInterfaceFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceNetworkInterfaceFloatingIPWithContext(ctx context.Context, getInstanceNetworkInterfaceFloatingIPOptions *GetInstanceNetworkInterfaceFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

GetInstanceNetworkInterfaceFloatingIPWithContext is an alternate form of the GetInstanceNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) GetInstanceNetworkInterfaceIP added in v0.19.0

func (vpc *VpcV1) GetInstanceNetworkInterfaceIP(getInstanceNetworkInterfaceIPOptions *GetInstanceNetworkInterfaceIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetInstanceNetworkInterfaceIP : Retrieve the primary reserved IP This request retrieves the primary reserved IP for an instance network interface. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) GetInstanceNetworkInterfaceIPWithContext added in v0.19.0

func (vpc *VpcV1) GetInstanceNetworkInterfaceIPWithContext(ctx context.Context, getInstanceNetworkInterfaceIPOptions *GetInstanceNetworkInterfaceIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetInstanceNetworkInterfaceIPWithContext is an alternate form of the GetInstanceNetworkInterfaceIP method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) GetInstanceNetworkInterfaceWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceNetworkInterfaceWithContext(ctx context.Context, getInstanceNetworkInterfaceOptions *GetInstanceNetworkInterfaceOptions) (result *NetworkInterface, response *core.DetailedResponse, err error)

GetInstanceNetworkInterfaceWithContext is an alternate form of the GetInstanceNetworkInterface method which supports a Context parameter

func (*VpcV1) GetInstanceProfile

func (vpc *VpcV1) GetInstanceProfile(getInstanceProfileOptions *GetInstanceProfileOptions) (result *InstanceProfile, response *core.DetailedResponse, err error)

GetInstanceProfile : Retrieve an instance profile This request retrieves a single instance profile specified by the name in the URL.

func (*VpcV1) GetInstanceProfileWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceProfileWithContext(ctx context.Context, getInstanceProfileOptions *GetInstanceProfileOptions) (result *InstanceProfile, response *core.DetailedResponse, err error)

GetInstanceProfileWithContext is an alternate form of the GetInstanceProfile method which supports a Context parameter

func (*VpcV1) GetInstanceTemplate added in v0.1.0

func (vpc *VpcV1) GetInstanceTemplate(getInstanceTemplateOptions *GetInstanceTemplateOptions) (result InstanceTemplateIntf, response *core.DetailedResponse, err error)

GetInstanceTemplate : Retrieve an instance template This request retrieves a single instance template specified by the identifier in the URL.

func (*VpcV1) GetInstanceTemplateWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceTemplateWithContext(ctx context.Context, getInstanceTemplateOptions *GetInstanceTemplateOptions) (result InstanceTemplateIntf, response *core.DetailedResponse, err error)

GetInstanceTemplateWithContext is an alternate form of the GetInstanceTemplate method which supports a Context parameter

func (*VpcV1) GetInstanceVolumeAttachment

func (vpc *VpcV1) GetInstanceVolumeAttachment(getInstanceVolumeAttachmentOptions *GetInstanceVolumeAttachmentOptions) (result *VolumeAttachment, response *core.DetailedResponse, err error)

GetInstanceVolumeAttachment : Retrieve a volume attachment This request retrieves a single volume attachment specified by the identifier in the URL.

func (*VpcV1) GetInstanceVolumeAttachmentWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceVolumeAttachmentWithContext(ctx context.Context, getInstanceVolumeAttachmentOptions *GetInstanceVolumeAttachmentOptions) (result *VolumeAttachment, response *core.DetailedResponse, err error)

GetInstanceVolumeAttachmentWithContext is an alternate form of the GetInstanceVolumeAttachment method which supports a Context parameter

func (*VpcV1) GetInstanceWithContext added in v0.4.2

func (vpc *VpcV1) GetInstanceWithContext(ctx context.Context, getInstanceOptions *GetInstanceOptions) (result *Instance, response *core.DetailedResponse, err error)

GetInstanceWithContext is an alternate form of the GetInstance method which supports a Context parameter

func (*VpcV1) GetIpsecPolicy

func (vpc *VpcV1) GetIpsecPolicy(getIpsecPolicyOptions *GetIpsecPolicyOptions) (result *IPsecPolicy, response *core.DetailedResponse, err error)

GetIpsecPolicy : Retrieve an IPsec policy This request retrieves a single IPsec policy specified by the identifier in the URL.

func (*VpcV1) GetIpsecPolicyWithContext added in v0.4.2

func (vpc *VpcV1) GetIpsecPolicyWithContext(ctx context.Context, getIpsecPolicyOptions *GetIpsecPolicyOptions) (result *IPsecPolicy, response *core.DetailedResponse, err error)

GetIpsecPolicyWithContext is an alternate form of the GetIpsecPolicy method which supports a Context parameter

func (*VpcV1) GetKey

func (vpc *VpcV1) GetKey(getKeyOptions *GetKeyOptions) (result *Key, response *core.DetailedResponse, err error)

GetKey : Retrieve a key This request retrieves a single key specified by the identifier in the URL.

func (*VpcV1) GetKeyWithContext added in v0.4.2

func (vpc *VpcV1) GetKeyWithContext(ctx context.Context, getKeyOptions *GetKeyOptions) (result *Key, response *core.DetailedResponse, err error)

GetKeyWithContext is an alternate form of the GetKey method which supports a Context parameter

func (*VpcV1) GetLoadBalancer

func (vpc *VpcV1) GetLoadBalancer(getLoadBalancerOptions *GetLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

GetLoadBalancer : Retrieve a load balancer This request retrieves a single load balancer specified by the identifier in the URL path.

func (*VpcV1) GetLoadBalancerListener

func (vpc *VpcV1) GetLoadBalancerListener(getLoadBalancerListenerOptions *GetLoadBalancerListenerOptions) (result *LoadBalancerListener, response *core.DetailedResponse, err error)

GetLoadBalancerListener : Retrieve a load balancer listener This request retrieves a single listener specified by the identifier in the URL path.

func (*VpcV1) GetLoadBalancerListenerPolicy

func (vpc *VpcV1) GetLoadBalancerListenerPolicy(getLoadBalancerListenerPolicyOptions *GetLoadBalancerListenerPolicyOptions) (result *LoadBalancerListenerPolicy, response *core.DetailedResponse, err error)

GetLoadBalancerListenerPolicy : Retrieve a load balancer listener policy Retrieve a single policy specified by the identifier in the URL path.

func (*VpcV1) GetLoadBalancerListenerPolicyRule

func (vpc *VpcV1) GetLoadBalancerListenerPolicyRule(getLoadBalancerListenerPolicyRuleOptions *GetLoadBalancerListenerPolicyRuleOptions) (result *LoadBalancerListenerPolicyRule, response *core.DetailedResponse, err error)

GetLoadBalancerListenerPolicyRule : Retrieve a load balancer listener policy rule Retrieves a single rule specified by the identifier in the URL path.

func (*VpcV1) GetLoadBalancerListenerPolicyRuleWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerListenerPolicyRuleWithContext(ctx context.Context, getLoadBalancerListenerPolicyRuleOptions *GetLoadBalancerListenerPolicyRuleOptions) (result *LoadBalancerListenerPolicyRule, response *core.DetailedResponse, err error)

GetLoadBalancerListenerPolicyRuleWithContext is an alternate form of the GetLoadBalancerListenerPolicyRule method which supports a Context parameter

func (*VpcV1) GetLoadBalancerListenerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerListenerPolicyWithContext(ctx context.Context, getLoadBalancerListenerPolicyOptions *GetLoadBalancerListenerPolicyOptions) (result *LoadBalancerListenerPolicy, response *core.DetailedResponse, err error)

GetLoadBalancerListenerPolicyWithContext is an alternate form of the GetLoadBalancerListenerPolicy method which supports a Context parameter

func (*VpcV1) GetLoadBalancerListenerWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerListenerWithContext(ctx context.Context, getLoadBalancerListenerOptions *GetLoadBalancerListenerOptions) (result *LoadBalancerListener, response *core.DetailedResponse, err error)

GetLoadBalancerListenerWithContext is an alternate form of the GetLoadBalancerListener method which supports a Context parameter

func (*VpcV1) GetLoadBalancerPool

func (vpc *VpcV1) GetLoadBalancerPool(getLoadBalancerPoolOptions *GetLoadBalancerPoolOptions) (result *LoadBalancerPool, response *core.DetailedResponse, err error)

GetLoadBalancerPool : Retrieve a load balancer pool This request retrieves a single pool specified by the identifier in the URL path.

func (*VpcV1) GetLoadBalancerPoolMember

func (vpc *VpcV1) GetLoadBalancerPoolMember(getLoadBalancerPoolMemberOptions *GetLoadBalancerPoolMemberOptions) (result *LoadBalancerPoolMember, response *core.DetailedResponse, err error)

GetLoadBalancerPoolMember : Retrieve a load balancer pool member This request retrieves a single member specified by the identifier in the URL path.

func (*VpcV1) GetLoadBalancerPoolMemberWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerPoolMemberWithContext(ctx context.Context, getLoadBalancerPoolMemberOptions *GetLoadBalancerPoolMemberOptions) (result *LoadBalancerPoolMember, response *core.DetailedResponse, err error)

GetLoadBalancerPoolMemberWithContext is an alternate form of the GetLoadBalancerPoolMember method which supports a Context parameter

func (*VpcV1) GetLoadBalancerPoolWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerPoolWithContext(ctx context.Context, getLoadBalancerPoolOptions *GetLoadBalancerPoolOptions) (result *LoadBalancerPool, response *core.DetailedResponse, err error)

GetLoadBalancerPoolWithContext is an alternate form of the GetLoadBalancerPool method which supports a Context parameter

func (*VpcV1) GetLoadBalancerProfile added in v0.1.0

func (vpc *VpcV1) GetLoadBalancerProfile(getLoadBalancerProfileOptions *GetLoadBalancerProfileOptions) (result *LoadBalancerProfile, response *core.DetailedResponse, err error)

GetLoadBalancerProfile : Retrieve a load balancer profile This request retrieves a load balancer profile specified by the name in the URL.

func (*VpcV1) GetLoadBalancerProfileWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerProfileWithContext(ctx context.Context, getLoadBalancerProfileOptions *GetLoadBalancerProfileOptions) (result *LoadBalancerProfile, response *core.DetailedResponse, err error)

GetLoadBalancerProfileWithContext is an alternate form of the GetLoadBalancerProfile method which supports a Context parameter

func (*VpcV1) GetLoadBalancerStatistics

func (vpc *VpcV1) GetLoadBalancerStatistics(getLoadBalancerStatisticsOptions *GetLoadBalancerStatisticsOptions) (result *LoadBalancerStatistics, response *core.DetailedResponse, err error)

GetLoadBalancerStatistics : List all statistics of a load balancer This request lists statistics of a load balancer.

func (*VpcV1) GetLoadBalancerStatisticsWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerStatisticsWithContext(ctx context.Context, getLoadBalancerStatisticsOptions *GetLoadBalancerStatisticsOptions) (result *LoadBalancerStatistics, response *core.DetailedResponse, err error)

GetLoadBalancerStatisticsWithContext is an alternate form of the GetLoadBalancerStatistics method which supports a Context parameter

func (*VpcV1) GetLoadBalancerWithContext added in v0.4.2

func (vpc *VpcV1) GetLoadBalancerWithContext(ctx context.Context, getLoadBalancerOptions *GetLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

GetLoadBalancerWithContext is an alternate form of the GetLoadBalancer method which supports a Context parameter

func (*VpcV1) GetNetworkACL

func (vpc *VpcV1) GetNetworkACL(getNetworkACLOptions *GetNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

GetNetworkACL : Retrieve a network ACL This request retrieves a single network ACL specified by the identifier in the URL.

func (*VpcV1) GetNetworkACLRule

func (vpc *VpcV1) GetNetworkACLRule(getNetworkACLRuleOptions *GetNetworkACLRuleOptions) (result NetworkACLRuleIntf, response *core.DetailedResponse, err error)

GetNetworkACLRule : Retrieve a network ACL rule This request retrieves a single rule specified by the identifier in the URL.

func (*VpcV1) GetNetworkACLRuleWithContext added in v0.4.2

func (vpc *VpcV1) GetNetworkACLRuleWithContext(ctx context.Context, getNetworkACLRuleOptions *GetNetworkACLRuleOptions) (result NetworkACLRuleIntf, response *core.DetailedResponse, err error)

GetNetworkACLRuleWithContext is an alternate form of the GetNetworkACLRule method which supports a Context parameter

func (*VpcV1) GetNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) GetNetworkACLWithContext(ctx context.Context, getNetworkACLOptions *GetNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

GetNetworkACLWithContext is an alternate form of the GetNetworkACL method which supports a Context parameter

func (*VpcV1) GetNetworkInterfaceFloatingIP added in v0.47.0

func (vpc *VpcV1) GetNetworkInterfaceFloatingIP(getNetworkInterfaceFloatingIPOptions *GetNetworkInterfaceFloatingIPOptions) (result *FloatingIPReference, response *core.DetailedResponse, err error)

GetNetworkInterfaceFloatingIP : Retrieve associated floating IP This request retrieves a specified floating IP if it is associated with the virtual network interface specified in the URL.

func (*VpcV1) GetNetworkInterfaceFloatingIPWithContext added in v0.47.0

func (vpc *VpcV1) GetNetworkInterfaceFloatingIPWithContext(ctx context.Context, getNetworkInterfaceFloatingIPOptions *GetNetworkInterfaceFloatingIPOptions) (result *FloatingIPReference, response *core.DetailedResponse, err error)

GetNetworkInterfaceFloatingIPWithContext is an alternate form of the GetNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) GetOperatingSystem

func (vpc *VpcV1) GetOperatingSystem(getOperatingSystemOptions *GetOperatingSystemOptions) (result *OperatingSystem, response *core.DetailedResponse, err error)

GetOperatingSystem : Retrieve an operating system This request retrieves a single operating system specified by the name in the URL.

func (*VpcV1) GetOperatingSystemWithContext added in v0.4.2

func (vpc *VpcV1) GetOperatingSystemWithContext(ctx context.Context, getOperatingSystemOptions *GetOperatingSystemOptions) (result *OperatingSystem, response *core.DetailedResponse, err error)

GetOperatingSystemWithContext is an alternate form of the GetOperatingSystem method which supports a Context parameter

func (*VpcV1) GetPlacementGroup added in v0.9.0

func (vpc *VpcV1) GetPlacementGroup(getPlacementGroupOptions *GetPlacementGroupOptions) (result *PlacementGroup, response *core.DetailedResponse, err error)

GetPlacementGroup : Retrieve a placement group This request retrieves a single placement group specified by identifier in the URL.

func (*VpcV1) GetPlacementGroupWithContext added in v0.9.0

func (vpc *VpcV1) GetPlacementGroupWithContext(ctx context.Context, getPlacementGroupOptions *GetPlacementGroupOptions) (result *PlacementGroup, response *core.DetailedResponse, err error)

GetPlacementGroupWithContext is an alternate form of the GetPlacementGroup method which supports a Context parameter

func (*VpcV1) GetPublicGateway

func (vpc *VpcV1) GetPublicGateway(getPublicGatewayOptions *GetPublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

GetPublicGateway : Retrieve a public gateway This request retrieves a single public gateway specified by the identifier in the URL.

func (*VpcV1) GetPublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) GetPublicGatewayWithContext(ctx context.Context, getPublicGatewayOptions *GetPublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

GetPublicGatewayWithContext is an alternate form of the GetPublicGateway method which supports a Context parameter

func (*VpcV1) GetRegion

func (vpc *VpcV1) GetRegion(getRegionOptions *GetRegionOptions) (result *Region, response *core.DetailedResponse, err error)

GetRegion : Retrieve a region This request retrieves a single region specified by the name in the URL.

func (*VpcV1) GetRegionWithContext added in v0.4.2

func (vpc *VpcV1) GetRegionWithContext(ctx context.Context, getRegionOptions *GetRegionOptions) (result *Region, response *core.DetailedResponse, err error)

GetRegionWithContext is an alternate form of the GetRegion method which supports a Context parameter

func (*VpcV1) GetRegionZone

func (vpc *VpcV1) GetRegionZone(getRegionZoneOptions *GetRegionZoneOptions) (result *Zone, response *core.DetailedResponse, err error)

GetRegionZone : Retrieve a zone This request retrieves a single zone specified by the region and zone names in the URL.

func (*VpcV1) GetRegionZoneWithContext added in v0.4.2

func (vpc *VpcV1) GetRegionZoneWithContext(ctx context.Context, getRegionZoneOptions *GetRegionZoneOptions) (result *Zone, response *core.DetailedResponse, err error)

GetRegionZoneWithContext is an alternate form of the GetRegionZone method which supports a Context parameter

func (*VpcV1) GetReservation added in v0.48.0

func (vpc *VpcV1) GetReservation(getReservationOptions *GetReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

GetReservation : Retrieve a reservation This request retrieves a single reservation specified by identifier in the URL.

func (*VpcV1) GetReservationWithContext added in v0.48.0

func (vpc *VpcV1) GetReservationWithContext(ctx context.Context, getReservationOptions *GetReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

GetReservationWithContext is an alternate form of the GetReservation method which supports a Context parameter

func (*VpcV1) GetSecurityGroup

func (vpc *VpcV1) GetSecurityGroup(getSecurityGroupOptions *GetSecurityGroupOptions) (result *SecurityGroup, response *core.DetailedResponse, err error)

GetSecurityGroup : Retrieve a security group This request retrieves a single security group specified by the identifier in the URL path.

func (*VpcV1) GetSecurityGroupRule

func (vpc *VpcV1) GetSecurityGroupRule(getSecurityGroupRuleOptions *GetSecurityGroupRuleOptions) (result SecurityGroupRuleIntf, response *core.DetailedResponse, err error)

GetSecurityGroupRule : Retrieve a security group rule This request retrieves a single security group rule specified by the identifier in the URL path.

func (*VpcV1) GetSecurityGroupRuleWithContext added in v0.4.2

func (vpc *VpcV1) GetSecurityGroupRuleWithContext(ctx context.Context, getSecurityGroupRuleOptions *GetSecurityGroupRuleOptions) (result SecurityGroupRuleIntf, response *core.DetailedResponse, err error)

GetSecurityGroupRuleWithContext is an alternate form of the GetSecurityGroupRule method which supports a Context parameter

func (*VpcV1) GetSecurityGroupTarget added in v0.5.0

func (vpc *VpcV1) GetSecurityGroupTarget(getSecurityGroupTargetOptions *GetSecurityGroupTargetOptions) (result SecurityGroupTargetReferenceIntf, response *core.DetailedResponse, err error)

GetSecurityGroupTarget : Retrieve a security group target This request retrieves a single target specified by the identifier in the URL path. The target must be an existing target of the security group.

func (*VpcV1) GetSecurityGroupTargetWithContext added in v0.5.0

func (vpc *VpcV1) GetSecurityGroupTargetWithContext(ctx context.Context, getSecurityGroupTargetOptions *GetSecurityGroupTargetOptions) (result SecurityGroupTargetReferenceIntf, response *core.DetailedResponse, err error)

GetSecurityGroupTargetWithContext is an alternate form of the GetSecurityGroupTarget method which supports a Context parameter

func (*VpcV1) GetSecurityGroupWithContext added in v0.4.2

func (vpc *VpcV1) GetSecurityGroupWithContext(ctx context.Context, getSecurityGroupOptions *GetSecurityGroupOptions) (result *SecurityGroup, response *core.DetailedResponse, err error)

GetSecurityGroupWithContext is an alternate form of the GetSecurityGroup method which supports a Context parameter

func (*VpcV1) GetServiceURL added in v0.4.2

func (vpc *VpcV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*VpcV1) GetShare added in v0.41.0

func (vpc *VpcV1) GetShare(getShareOptions *GetShareOptions) (result *Share, response *core.DetailedResponse, err error)

GetShare : Retrieve a file share This request retrieves a single file share specified by the identifier in the URL.

func (*VpcV1) GetShareMountTarget added in v0.41.0

func (vpc *VpcV1) GetShareMountTarget(getShareMountTargetOptions *GetShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

GetShareMountTarget : Retrieve a share mount target This request retrieves a single share mount target specified by the identifier in the URL.

func (*VpcV1) GetShareMountTargetWithContext added in v0.41.0

func (vpc *VpcV1) GetShareMountTargetWithContext(ctx context.Context, getShareMountTargetOptions *GetShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

GetShareMountTargetWithContext is an alternate form of the GetShareMountTarget method which supports a Context parameter

func (*VpcV1) GetShareProfile added in v0.41.0

func (vpc *VpcV1) GetShareProfile(getShareProfileOptions *GetShareProfileOptions) (result *ShareProfile, response *core.DetailedResponse, err error)

GetShareProfile : Retrieve a file share profile This request retrieves a single file share profile specified by the name in the URL.

func (*VpcV1) GetShareProfileWithContext added in v0.41.0

func (vpc *VpcV1) GetShareProfileWithContext(ctx context.Context, getShareProfileOptions *GetShareProfileOptions) (result *ShareProfile, response *core.DetailedResponse, err error)

GetShareProfileWithContext is an alternate form of the GetShareProfile method which supports a Context parameter

func (*VpcV1) GetShareSource added in v0.41.0

func (vpc *VpcV1) GetShareSource(getShareSourceOptions *GetShareSourceOptions) (result *ShareReference, response *core.DetailedResponse, err error)

GetShareSource : Retrieve the source file share for a replica file share This request retrieves the source file share associated with the replica file share specified by the identifier in the URL.

func (*VpcV1) GetShareSourceWithContext added in v0.41.0

func (vpc *VpcV1) GetShareSourceWithContext(ctx context.Context, getShareSourceOptions *GetShareSourceOptions) (result *ShareReference, response *core.DetailedResponse, err error)

GetShareSourceWithContext is an alternate form of the GetShareSource method which supports a Context parameter

func (*VpcV1) GetShareWithContext added in v0.41.0

func (vpc *VpcV1) GetShareWithContext(ctx context.Context, getShareOptions *GetShareOptions) (result *Share, response *core.DetailedResponse, err error)

GetShareWithContext is an alternate form of the GetShare method which supports a Context parameter

func (*VpcV1) GetSnapshot added in v0.7.0

func (vpc *VpcV1) GetSnapshot(getSnapshotOptions *GetSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error)

GetSnapshot : Retrieve a snapshot This request retrieves a single snapshot specified by the identifier in the URL.

func (*VpcV1) GetSnapshotClone added in v0.31.0

func (vpc *VpcV1) GetSnapshotClone(getSnapshotCloneOptions *GetSnapshotCloneOptions) (result *SnapshotClone, response *core.DetailedResponse, err error)

GetSnapshotClone : Retrieve a snapshot clone This request retrieves a single clone specified by the snapshot identifier and zone name in the URL.

func (*VpcV1) GetSnapshotCloneWithContext added in v0.31.0

func (vpc *VpcV1) GetSnapshotCloneWithContext(ctx context.Context, getSnapshotCloneOptions *GetSnapshotCloneOptions) (result *SnapshotClone, response *core.DetailedResponse, err error)

GetSnapshotCloneWithContext is an alternate form of the GetSnapshotClone method which supports a Context parameter

func (*VpcV1) GetSnapshotConsistencyGroup added in v0.45.0

func (vpc *VpcV1) GetSnapshotConsistencyGroup(getSnapshotConsistencyGroupOptions *GetSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

GetSnapshotConsistencyGroup : Retrieve a snapshot consistency group This request retrieves a single snapshot consistency group specified by the identifier in the URL.

func (*VpcV1) GetSnapshotConsistencyGroupWithContext added in v0.45.0

func (vpc *VpcV1) GetSnapshotConsistencyGroupWithContext(ctx context.Context, getSnapshotConsistencyGroupOptions *GetSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

GetSnapshotConsistencyGroupWithContext is an alternate form of the GetSnapshotConsistencyGroup method which supports a Context parameter

func (*VpcV1) GetSnapshotWithContext added in v0.7.0

func (vpc *VpcV1) GetSnapshotWithContext(ctx context.Context, getSnapshotOptions *GetSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error)

GetSnapshotWithContext is an alternate form of the GetSnapshot method which supports a Context parameter

func (*VpcV1) GetSubnet

func (vpc *VpcV1) GetSubnet(getSubnetOptions *GetSubnetOptions) (result *Subnet, response *core.DetailedResponse, err error)

GetSubnet : Retrieve a subnet This request retrieves a single subnet specified by the identifier in the URL.

func (*VpcV1) GetSubnetNetworkACL

func (vpc *VpcV1) GetSubnetNetworkACL(getSubnetNetworkACLOptions *GetSubnetNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

GetSubnetNetworkACL : Retrieve a subnet's attached network ACL This request retrieves the network ACL attached to the subnet specified by the identifier in the URL.

func (*VpcV1) GetSubnetNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) GetSubnetNetworkACLWithContext(ctx context.Context, getSubnetNetworkACLOptions *GetSubnetNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

GetSubnetNetworkACLWithContext is an alternate form of the GetSubnetNetworkACL method which supports a Context parameter

func (*VpcV1) GetSubnetPublicGateway

func (vpc *VpcV1) GetSubnetPublicGateway(getSubnetPublicGatewayOptions *GetSubnetPublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

GetSubnetPublicGateway : Retrieve a subnet's attached public gateway This request retrieves the public gateway attached to the subnet specified by the identifier in the URL.

func (*VpcV1) GetSubnetPublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) GetSubnetPublicGatewayWithContext(ctx context.Context, getSubnetPublicGatewayOptions *GetSubnetPublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

GetSubnetPublicGatewayWithContext is an alternate form of the GetSubnetPublicGateway method which supports a Context parameter

func (*VpcV1) GetSubnetReservedIP added in v0.3.0

func (vpc *VpcV1) GetSubnetReservedIP(getSubnetReservedIPOptions *GetSubnetReservedIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetSubnetReservedIP : Retrieve a reserved IP This request retrieves a single reserved IP specified by the identifier in the URL.

func (*VpcV1) GetSubnetReservedIPWithContext added in v0.4.2

func (vpc *VpcV1) GetSubnetReservedIPWithContext(ctx context.Context, getSubnetReservedIPOptions *GetSubnetReservedIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

GetSubnetReservedIPWithContext is an alternate form of the GetSubnetReservedIP method which supports a Context parameter

func (*VpcV1) GetSubnetRoutingTable added in v0.3.0

func (vpc *VpcV1) GetSubnetRoutingTable(getSubnetRoutingTableOptions *GetSubnetRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

GetSubnetRoutingTable : Retrieve a subnet's attached routing table This request retrieves the routing table attached to the subnet specified by the identifier in the URL.

func (*VpcV1) GetSubnetRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) GetSubnetRoutingTableWithContext(ctx context.Context, getSubnetRoutingTableOptions *GetSubnetRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

GetSubnetRoutingTableWithContext is an alternate form of the GetSubnetRoutingTable method which supports a Context parameter

func (*VpcV1) GetSubnetWithContext added in v0.4.2

func (vpc *VpcV1) GetSubnetWithContext(ctx context.Context, getSubnetOptions *GetSubnetOptions) (result *Subnet, response *core.DetailedResponse, err error)

GetSubnetWithContext is an alternate form of the GetSubnet method which supports a Context parameter

func (*VpcV1) GetVPC

func (vpc *VpcV1) GetVPC(getVPCOptions *GetVPCOptions) (result *VPC, response *core.DetailedResponse, err error)

GetVPC : Retrieve a VPC This request retrieves a single VPC specified by the identifier in the URL.

func (*VpcV1) GetVPCAddressPrefix

func (vpc *VpcV1) GetVPCAddressPrefix(getVPCAddressPrefixOptions *GetVPCAddressPrefixOptions) (result *AddressPrefix, response *core.DetailedResponse, err error)

GetVPCAddressPrefix : Retrieve an address prefix This request retrieves a single prefix specified by the identifier in the URL.

func (*VpcV1) GetVPCAddressPrefixWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCAddressPrefixWithContext(ctx context.Context, getVPCAddressPrefixOptions *GetVPCAddressPrefixOptions) (result *AddressPrefix, response *core.DetailedResponse, err error)

GetVPCAddressPrefixWithContext is an alternate form of the GetVPCAddressPrefix method which supports a Context parameter

func (*VpcV1) GetVPCDefaultNetworkACL

func (vpc *VpcV1) GetVPCDefaultNetworkACL(getVPCDefaultNetworkACLOptions *GetVPCDefaultNetworkACLOptions) (result *DefaultNetworkACL, response *core.DetailedResponse, err error)

GetVPCDefaultNetworkACL : Retrieve a VPC's default network ACL This request retrieves the default network ACL for the VPC specified by the identifier in the URL. The default network ACL is applied to any new subnets in the VPC which do not specify a network ACL.

func (*VpcV1) GetVPCDefaultNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCDefaultNetworkACLWithContext(ctx context.Context, getVPCDefaultNetworkACLOptions *GetVPCDefaultNetworkACLOptions) (result *DefaultNetworkACL, response *core.DetailedResponse, err error)

GetVPCDefaultNetworkACLWithContext is an alternate form of the GetVPCDefaultNetworkACL method which supports a Context parameter

func (*VpcV1) GetVPCDefaultRoutingTable added in v0.3.0

func (vpc *VpcV1) GetVPCDefaultRoutingTable(getVPCDefaultRoutingTableOptions *GetVPCDefaultRoutingTableOptions) (result *DefaultRoutingTable, response *core.DetailedResponse, err error)

GetVPCDefaultRoutingTable : Retrieve a VPC's default routing table This request retrieves the default routing table for the VPC specified by the identifier in the URL. The default routing table is associated with any subnets in the VPC which have not been explicitly associated with another routing table.

func (*VpcV1) GetVPCDefaultRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCDefaultRoutingTableWithContext(ctx context.Context, getVPCDefaultRoutingTableOptions *GetVPCDefaultRoutingTableOptions) (result *DefaultRoutingTable, response *core.DetailedResponse, err error)

GetVPCDefaultRoutingTableWithContext is an alternate form of the GetVPCDefaultRoutingTable method which supports a Context parameter

func (*VpcV1) GetVPCDefaultSecurityGroup

func (vpc *VpcV1) GetVPCDefaultSecurityGroup(getVPCDefaultSecurityGroupOptions *GetVPCDefaultSecurityGroupOptions) (result *DefaultSecurityGroup, response *core.DetailedResponse, err error)

GetVPCDefaultSecurityGroup : Retrieve a VPC's default security group This request retrieves the default security group for the VPC specified by the identifier in the URL. Resources created in this VPC that allow a security group to be optionally specified will use this security group by default.

func (*VpcV1) GetVPCDefaultSecurityGroupWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCDefaultSecurityGroupWithContext(ctx context.Context, getVPCDefaultSecurityGroupOptions *GetVPCDefaultSecurityGroupOptions) (result *DefaultSecurityGroup, response *core.DetailedResponse, err error)

GetVPCDefaultSecurityGroupWithContext is an alternate form of the GetVPCDefaultSecurityGroup method which supports a Context parameter

func (*VpcV1) GetVPCDnsResolutionBinding added in v0.43.0

func (vpc *VpcV1) GetVPCDnsResolutionBinding(getVPCDnsResolutionBindingOptions *GetVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

GetVPCDnsResolutionBinding : Retrieve a DNS resolution binding This request retrieves a single DNS resolution binding specified by the identifier in the URL.

func (*VpcV1) GetVPCDnsResolutionBindingWithContext added in v0.43.0

func (vpc *VpcV1) GetVPCDnsResolutionBindingWithContext(ctx context.Context, getVPCDnsResolutionBindingOptions *GetVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

GetVPCDnsResolutionBindingWithContext is an alternate form of the GetVPCDnsResolutionBinding method which supports a Context parameter

func (*VpcV1) GetVPCRoute

func (vpc *VpcV1) GetVPCRoute(getVPCRouteOptions *GetVPCRouteOptions) (result *Route, response *core.DetailedResponse, err error)

GetVPCRoute : Retrieve a VPC route This request retrieves a single route specified by the identifier in the URL. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) GetVPCRouteWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCRouteWithContext(ctx context.Context, getVPCRouteOptions *GetVPCRouteOptions) (result *Route, response *core.DetailedResponse, err error)

GetVPCRouteWithContext is an alternate form of the GetVPCRoute method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) GetVPCRoutingTable added in v0.3.0

func (vpc *VpcV1) GetVPCRoutingTable(getVPCRoutingTableOptions *GetVPCRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

GetVPCRoutingTable : Retrieve a VPC routing table This request retrieves a single routing table specified by the identifier in the URL.

func (*VpcV1) GetVPCRoutingTableRoute added in v0.3.0

func (vpc *VpcV1) GetVPCRoutingTableRoute(getVPCRoutingTableRouteOptions *GetVPCRoutingTableRouteOptions) (result *Route, response *core.DetailedResponse, err error)

GetVPCRoutingTableRoute : Retrieve a VPC routing table route This request retrieves a single VPC route specified by the identifier in the URL path.

func (*VpcV1) GetVPCRoutingTableRouteWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCRoutingTableRouteWithContext(ctx context.Context, getVPCRoutingTableRouteOptions *GetVPCRoutingTableRouteOptions) (result *Route, response *core.DetailedResponse, err error)

GetVPCRoutingTableRouteWithContext is an alternate form of the GetVPCRoutingTableRoute method which supports a Context parameter

func (*VpcV1) GetVPCRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCRoutingTableWithContext(ctx context.Context, getVPCRoutingTableOptions *GetVPCRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

GetVPCRoutingTableWithContext is an alternate form of the GetVPCRoutingTable method which supports a Context parameter

func (*VpcV1) GetVPCWithContext added in v0.4.2

func (vpc *VpcV1) GetVPCWithContext(ctx context.Context, getVPCOptions *GetVPCOptions) (result *VPC, response *core.DetailedResponse, err error)

GetVPCWithContext is an alternate form of the GetVPC method which supports a Context parameter

func (*VpcV1) GetVPNGateway

func (vpc *VpcV1) GetVPNGateway(getVPNGatewayOptions *GetVPNGatewayOptions) (result VPNGatewayIntf, response *core.DetailedResponse, err error)

GetVPNGateway : Retrieve a VPN gateway This request retrieves a single VPN gateway specified by the identifier in the URL.

func (*VpcV1) GetVPNGatewayConnection

func (vpc *VpcV1) GetVPNGatewayConnection(getVPNGatewayConnectionOptions *GetVPNGatewayConnectionOptions) (result VPNGatewayConnectionIntf, response *core.DetailedResponse, err error)

GetVPNGatewayConnection : Retrieve a VPN gateway connection This request retrieves a single VPN gateway connection specified by the identifier in the URL.

func (*VpcV1) GetVPNGatewayConnectionWithContext added in v0.4.2

func (vpc *VpcV1) GetVPNGatewayConnectionWithContext(ctx context.Context, getVPNGatewayConnectionOptions *GetVPNGatewayConnectionOptions) (result VPNGatewayConnectionIntf, response *core.DetailedResponse, err error)

GetVPNGatewayConnectionWithContext is an alternate form of the GetVPNGatewayConnection method which supports a Context parameter

func (*VpcV1) GetVPNGatewayWithContext added in v0.4.2

func (vpc *VpcV1) GetVPNGatewayWithContext(ctx context.Context, getVPNGatewayOptions *GetVPNGatewayOptions) (result VPNGatewayIntf, response *core.DetailedResponse, err error)

GetVPNGatewayWithContext is an alternate form of the GetVPNGateway method which supports a Context parameter

func (*VpcV1) GetVPNServer added in v0.22.0

func (vpc *VpcV1) GetVPNServer(getVPNServerOptions *GetVPNServerOptions) (result *VPNServer, response *core.DetailedResponse, err error)

GetVPNServer : Retrieve a VPN server This request retrieves a single VPN server specified by the identifier in the URL.

func (*VpcV1) GetVPNServerClient added in v0.22.0

func (vpc *VpcV1) GetVPNServerClient(getVPNServerClientOptions *GetVPNServerClientOptions) (result *VPNServerClient, response *core.DetailedResponse, err error)

GetVPNServerClient : Retrieve a VPN client This request retrieves a single VPN client specified by the identifier in the URL.

func (*VpcV1) GetVPNServerClientConfiguration added in v0.22.0

func (vpc *VpcV1) GetVPNServerClientConfiguration(getVPNServerClientConfigurationOptions *GetVPNServerClientConfigurationOptions) (result *string, response *core.DetailedResponse, err error)

GetVPNServerClientConfiguration : Retrieve client configuration This request retrieves OpenVPN client configuration on a single VPN server specified by the identifier in the URL. This configuration includes directives compatible with OpenVPN releases 2.4 and 2.5.

func (*VpcV1) GetVPNServerClientConfigurationWithContext added in v0.22.0

func (vpc *VpcV1) GetVPNServerClientConfigurationWithContext(ctx context.Context, getVPNServerClientConfigurationOptions *GetVPNServerClientConfigurationOptions) (result *string, response *core.DetailedResponse, err error)

GetVPNServerClientConfigurationWithContext is an alternate form of the GetVPNServerClientConfiguration method which supports a Context parameter

func (*VpcV1) GetVPNServerClientWithContext added in v0.22.0

func (vpc *VpcV1) GetVPNServerClientWithContext(ctx context.Context, getVPNServerClientOptions *GetVPNServerClientOptions) (result *VPNServerClient, response *core.DetailedResponse, err error)

GetVPNServerClientWithContext is an alternate form of the GetVPNServerClient method which supports a Context parameter

func (*VpcV1) GetVPNServerRoute added in v0.22.0

func (vpc *VpcV1) GetVPNServerRoute(getVPNServerRouteOptions *GetVPNServerRouteOptions) (result *VPNServerRoute, response *core.DetailedResponse, err error)

GetVPNServerRoute : Retrieve a VPN route This request retrieves a single VPN route specified by the identifier in the URL.

func (*VpcV1) GetVPNServerRouteWithContext added in v0.22.0

func (vpc *VpcV1) GetVPNServerRouteWithContext(ctx context.Context, getVPNServerRouteOptions *GetVPNServerRouteOptions) (result *VPNServerRoute, response *core.DetailedResponse, err error)

GetVPNServerRouteWithContext is an alternate form of the GetVPNServerRoute method which supports a Context parameter

func (*VpcV1) GetVPNServerWithContext added in v0.22.0

func (vpc *VpcV1) GetVPNServerWithContext(ctx context.Context, getVPNServerOptions *GetVPNServerOptions) (result *VPNServer, response *core.DetailedResponse, err error)

GetVPNServerWithContext is an alternate form of the GetVPNServer method which supports a Context parameter

func (*VpcV1) GetVirtualNetworkInterface added in v0.41.0

func (vpc *VpcV1) GetVirtualNetworkInterface(getVirtualNetworkInterfaceOptions *GetVirtualNetworkInterfaceOptions) (result *VirtualNetworkInterface, response *core.DetailedResponse, err error)

GetVirtualNetworkInterface : Retrieve a virtual network interface This request retrieves a single virtual network interface specified by the identifier in the URL.

func (*VpcV1) GetVirtualNetworkInterfaceIP added in v0.47.0

func (vpc *VpcV1) GetVirtualNetworkInterfaceIP(getVirtualNetworkInterfaceIPOptions *GetVirtualNetworkInterfaceIPOptions) (result *ReservedIPReference, response *core.DetailedResponse, err error)

GetVirtualNetworkInterfaceIP : Retrieve bound reserved IP This request retrieves the specified reserved IP address if it is bound to the virtual network interface specified in the URL.

func (*VpcV1) GetVirtualNetworkInterfaceIPWithContext added in v0.47.0

func (vpc *VpcV1) GetVirtualNetworkInterfaceIPWithContext(ctx context.Context, getVirtualNetworkInterfaceIPOptions *GetVirtualNetworkInterfaceIPOptions) (result *ReservedIPReference, response *core.DetailedResponse, err error)

GetVirtualNetworkInterfaceIPWithContext is an alternate form of the GetVirtualNetworkInterfaceIP method which supports a Context parameter

func (*VpcV1) GetVirtualNetworkInterfaceWithContext added in v0.41.0

func (vpc *VpcV1) GetVirtualNetworkInterfaceWithContext(ctx context.Context, getVirtualNetworkInterfaceOptions *GetVirtualNetworkInterfaceOptions) (result *VirtualNetworkInterface, response *core.DetailedResponse, err error)

GetVirtualNetworkInterfaceWithContext is an alternate form of the GetVirtualNetworkInterface method which supports a Context parameter

func (*VpcV1) GetVolume

func (vpc *VpcV1) GetVolume(getVolumeOptions *GetVolumeOptions) (result *Volume, response *core.DetailedResponse, err error)

GetVolume : Retrieve a volume This request retrieves a single volume specified by the identifier in the URL.

func (*VpcV1) GetVolumeProfile

func (vpc *VpcV1) GetVolumeProfile(getVolumeProfileOptions *GetVolumeProfileOptions) (result *VolumeProfile, response *core.DetailedResponse, err error)

GetVolumeProfile : Retrieve a volume profile This request retrieves a single volume profile specified by the name in the URL.

func (*VpcV1) GetVolumeProfileWithContext added in v0.4.2

func (vpc *VpcV1) GetVolumeProfileWithContext(ctx context.Context, getVolumeProfileOptions *GetVolumeProfileOptions) (result *VolumeProfile, response *core.DetailedResponse, err error)

GetVolumeProfileWithContext is an alternate form of the GetVolumeProfile method which supports a Context parameter

func (*VpcV1) GetVolumeWithContext added in v0.4.2

func (vpc *VpcV1) GetVolumeWithContext(ctx context.Context, getVolumeOptions *GetVolumeOptions) (result *Volume, response *core.DetailedResponse, err error)

GetVolumeWithContext is an alternate form of the GetVolume method which supports a Context parameter

func (*VpcV1) ListBackupPolicies added in v0.21.0

func (vpc *VpcV1) ListBackupPolicies(listBackupPoliciesOptions *ListBackupPoliciesOptions) (result *BackupPolicyCollection, response *core.DetailedResponse, err error)

ListBackupPolicies : List all backup policies This request lists all backup policies in the region. Backup policies control which sources are selected for backup and include a set of backup policy plans that provide the backup schedules and deletion triggers.

func (*VpcV1) ListBackupPoliciesWithContext added in v0.21.0

func (vpc *VpcV1) ListBackupPoliciesWithContext(ctx context.Context, listBackupPoliciesOptions *ListBackupPoliciesOptions) (result *BackupPolicyCollection, response *core.DetailedResponse, err error)

ListBackupPoliciesWithContext is an alternate form of the ListBackupPolicies method which supports a Context parameter

func (*VpcV1) ListBackupPolicyJobs added in v0.29.0

func (vpc *VpcV1) ListBackupPolicyJobs(listBackupPolicyJobsOptions *ListBackupPolicyJobsOptions) (result *BackupPolicyJobCollection, response *core.DetailedResponse, err error)

ListBackupPolicyJobs : List all jobs for a backup policy This request retrieves all jobs for a backup policy. A backup job represents the execution of a backup policy plan for a resource matching the policy's criteria.

func (*VpcV1) ListBackupPolicyJobsWithContext added in v0.29.0

func (vpc *VpcV1) ListBackupPolicyJobsWithContext(ctx context.Context, listBackupPolicyJobsOptions *ListBackupPolicyJobsOptions) (result *BackupPolicyJobCollection, response *core.DetailedResponse, err error)

ListBackupPolicyJobsWithContext is an alternate form of the ListBackupPolicyJobs method which supports a Context parameter

func (*VpcV1) ListBackupPolicyPlans added in v0.21.0

func (vpc *VpcV1) ListBackupPolicyPlans(listBackupPolicyPlansOptions *ListBackupPolicyPlansOptions) (result *BackupPolicyPlanCollection, response *core.DetailedResponse, err error)

ListBackupPolicyPlans : List all plans for a backup policy This request retrieves all plans for a backup policy. Backup plans provide the backup schedule and deletion triggers.

func (*VpcV1) ListBackupPolicyPlansWithContext added in v0.21.0

func (vpc *VpcV1) ListBackupPolicyPlansWithContext(ctx context.Context, listBackupPolicyPlansOptions *ListBackupPolicyPlansOptions) (result *BackupPolicyPlanCollection, response *core.DetailedResponse, err error)

ListBackupPolicyPlansWithContext is an alternate form of the ListBackupPolicyPlans method which supports a Context parameter

func (*VpcV1) ListBareMetalServerDisks added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerDisks(listBareMetalServerDisksOptions *ListBareMetalServerDisksOptions) (result *BareMetalServerDiskCollection, response *core.DetailedResponse, err error)

ListBareMetalServerDisks : List all disks on a bare metal server This request lists all disks on a bare metal server. A disk is a block device that is locally attached to the physical server. By default, the listed disks are sorted by their `created_at` property values, with the newest disk first.

func (*VpcV1) ListBareMetalServerDisksWithContext added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerDisksWithContext(ctx context.Context, listBareMetalServerDisksOptions *ListBareMetalServerDisksOptions) (result *BareMetalServerDiskCollection, response *core.DetailedResponse, err error)

ListBareMetalServerDisksWithContext is an alternate form of the ListBareMetalServerDisks method which supports a Context parameter

func (*VpcV1) ListBareMetalServerNetworkAttachments added in v0.47.0

func (vpc *VpcV1) ListBareMetalServerNetworkAttachments(listBareMetalServerNetworkAttachmentsOptions *ListBareMetalServerNetworkAttachmentsOptions) (result *BareMetalServerNetworkAttachmentCollection, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkAttachments : List all network attachments on a bare metal server This request lists all network attachments on a bare metal server. A bare metal server network attachment is an abstract representation of a network device and attaches a bare metal server to a single subnet. Each network interface on a bare metal server can attach to any subnet in the zone, including subnets that are already attached to the bare metal server.

The network attachments will be sorted by their `created_at` property values, with newest network attachments first. Network attachments with identical `created_at` property values will in turn be sorted by ascending `name` property values.

func (*VpcV1) ListBareMetalServerNetworkAttachmentsWithContext added in v0.47.0

func (vpc *VpcV1) ListBareMetalServerNetworkAttachmentsWithContext(ctx context.Context, listBareMetalServerNetworkAttachmentsOptions *ListBareMetalServerNetworkAttachmentsOptions) (result *BareMetalServerNetworkAttachmentCollection, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkAttachmentsWithContext is an alternate form of the ListBareMetalServerNetworkAttachments method which supports a Context parameter

func (*VpcV1) ListBareMetalServerNetworkInterfaceFloatingIps added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerNetworkInterfaceFloatingIps(listBareMetalServerNetworkInterfaceFloatingIpsOptions *ListBareMetalServerNetworkInterfaceFloatingIpsOptions) (result *FloatingIPUnpaginatedCollection, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkInterfaceFloatingIps : List all floating IPs associated with a bare metal server network interface This request lists all floating IPs associated with a bare metal server network interface.

func (*VpcV1) ListBareMetalServerNetworkInterfaceFloatingIpsWithContext added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerNetworkInterfaceFloatingIpsWithContext(ctx context.Context, listBareMetalServerNetworkInterfaceFloatingIpsOptions *ListBareMetalServerNetworkInterfaceFloatingIpsOptions) (result *FloatingIPUnpaginatedCollection, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkInterfaceFloatingIpsWithContext is an alternate form of the ListBareMetalServerNetworkInterfaceFloatingIps method which supports a Context parameter

func (*VpcV1) ListBareMetalServerNetworkInterfaceIps added in v0.19.0

func (vpc *VpcV1) ListBareMetalServerNetworkInterfaceIps(listBareMetalServerNetworkInterfaceIpsOptions *ListBareMetalServerNetworkInterfaceIpsOptions) (result *ReservedIPCollectionBareMetalServerNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkInterfaceIps : List the primary reserved IP for a bare metal server network interface This request lists the primary reserved IP for a bare metal server network interface. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) ListBareMetalServerNetworkInterfaceIpsWithContext added in v0.19.0

func (vpc *VpcV1) ListBareMetalServerNetworkInterfaceIpsWithContext(ctx context.Context, listBareMetalServerNetworkInterfaceIpsOptions *ListBareMetalServerNetworkInterfaceIpsOptions) (result *ReservedIPCollectionBareMetalServerNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkInterfaceIpsWithContext is an alternate form of the ListBareMetalServerNetworkInterfaceIps method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) ListBareMetalServerNetworkInterfaces added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerNetworkInterfaces(listBareMetalServerNetworkInterfacesOptions *ListBareMetalServerNetworkInterfacesOptions) (result *BareMetalServerNetworkInterfaceCollection, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkInterfaces : List all network interfaces on a bare metal server This request lists all network interfaces on a bare metal server. A bare metal server network interface is an abstract representation of a network device and attaches a bare metal server to a single subnet. Each network interface on a bare metal server can attach to any subnet in the zone, including subnets that are already attached to the bare metal server.

If this bare metal server has network attachments, each returned network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface.

func (*VpcV1) ListBareMetalServerNetworkInterfacesWithContext added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerNetworkInterfacesWithContext(ctx context.Context, listBareMetalServerNetworkInterfacesOptions *ListBareMetalServerNetworkInterfacesOptions) (result *BareMetalServerNetworkInterfaceCollection, response *core.DetailedResponse, err error)

ListBareMetalServerNetworkInterfacesWithContext is an alternate form of the ListBareMetalServerNetworkInterfaces method which supports a Context parameter

func (*VpcV1) ListBareMetalServerProfiles added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerProfiles(listBareMetalServerProfilesOptions *ListBareMetalServerProfilesOptions) (result *BareMetalServerProfileCollection, response *core.DetailedResponse, err error)

ListBareMetalServerProfiles : List all bare metal server profiles This request lists all [bare metal server profiles](https://cloud.ibm.com/docs/vpc?topic=vpc-bare-metal-servers-profile) available in the region. A bare metal server profile specifies the performance characteristics and pricing model for a bare metal server.

func (*VpcV1) ListBareMetalServerProfilesWithContext added in v0.16.0

func (vpc *VpcV1) ListBareMetalServerProfilesWithContext(ctx context.Context, listBareMetalServerProfilesOptions *ListBareMetalServerProfilesOptions) (result *BareMetalServerProfileCollection, response *core.DetailedResponse, err error)

ListBareMetalServerProfilesWithContext is an alternate form of the ListBareMetalServerProfiles method which supports a Context parameter

func (*VpcV1) ListBareMetalServers added in v0.16.0

func (vpc *VpcV1) ListBareMetalServers(listBareMetalServersOptions *ListBareMetalServersOptions) (result *BareMetalServerCollection, response *core.DetailedResponse, err error)

ListBareMetalServers : List all bare metal servers This request lists all bare metal servers in the region.

func (*VpcV1) ListBareMetalServersWithContext added in v0.16.0

func (vpc *VpcV1) ListBareMetalServersWithContext(ctx context.Context, listBareMetalServersOptions *ListBareMetalServersOptions) (result *BareMetalServerCollection, response *core.DetailedResponse, err error)

ListBareMetalServersWithContext is an alternate form of the ListBareMetalServers method which supports a Context parameter

func (*VpcV1) ListDedicatedHostDisks added in v0.5.0

func (vpc *VpcV1) ListDedicatedHostDisks(listDedicatedHostDisksOptions *ListDedicatedHostDisksOptions) (result *DedicatedHostDiskCollection, response *core.DetailedResponse, err error)

ListDedicatedHostDisks : List all disks on a dedicated host This request lists all disks on a dedicated host. A disk is a physical device that is locally attached to the compute node. By default, the listed disks are sorted by their `created_at` property values, with the newest disk first.

func (*VpcV1) ListDedicatedHostDisksWithContext added in v0.5.0

func (vpc *VpcV1) ListDedicatedHostDisksWithContext(ctx context.Context, listDedicatedHostDisksOptions *ListDedicatedHostDisksOptions) (result *DedicatedHostDiskCollection, response *core.DetailedResponse, err error)

ListDedicatedHostDisksWithContext is an alternate form of the ListDedicatedHostDisks method which supports a Context parameter

func (*VpcV1) ListDedicatedHostGroups added in v0.4.0

func (vpc *VpcV1) ListDedicatedHostGroups(listDedicatedHostGroupsOptions *ListDedicatedHostGroupsOptions) (result *DedicatedHostGroupCollection, response *core.DetailedResponse, err error)

ListDedicatedHostGroups : List all dedicated host groups This request lists all dedicated host groups in the region. Host groups are a collection of dedicated hosts for placement of instances. Each dedicated host must belong to one and only one group. Host groups do not span zones.

func (*VpcV1) ListDedicatedHostGroupsWithContext added in v0.4.2

func (vpc *VpcV1) ListDedicatedHostGroupsWithContext(ctx context.Context, listDedicatedHostGroupsOptions *ListDedicatedHostGroupsOptions) (result *DedicatedHostGroupCollection, response *core.DetailedResponse, err error)

ListDedicatedHostGroupsWithContext is an alternate form of the ListDedicatedHostGroups method which supports a Context parameter

func (*VpcV1) ListDedicatedHostProfiles added in v0.4.0

func (vpc *VpcV1) ListDedicatedHostProfiles(listDedicatedHostProfilesOptions *ListDedicatedHostProfilesOptions) (result *DedicatedHostProfileCollection, response *core.DetailedResponse, err error)

ListDedicatedHostProfiles : List all dedicated host profiles This request lists provisionable [dedicated host profiles](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) in the region. A dedicated host profile specifies the hardware characteristics for a dedicated host.

func (*VpcV1) ListDedicatedHostProfilesWithContext added in v0.4.2

func (vpc *VpcV1) ListDedicatedHostProfilesWithContext(ctx context.Context, listDedicatedHostProfilesOptions *ListDedicatedHostProfilesOptions) (result *DedicatedHostProfileCollection, response *core.DetailedResponse, err error)

ListDedicatedHostProfilesWithContext is an alternate form of the ListDedicatedHostProfiles method which supports a Context parameter

func (*VpcV1) ListDedicatedHosts added in v0.4.0

func (vpc *VpcV1) ListDedicatedHosts(listDedicatedHostsOptions *ListDedicatedHostsOptions) (result *DedicatedHostCollection, response *core.DetailedResponse, err error)

ListDedicatedHosts : List all dedicated hosts This request lists all dedicated hosts in the region.

func (*VpcV1) ListDedicatedHostsWithContext added in v0.4.2

func (vpc *VpcV1) ListDedicatedHostsWithContext(ctx context.Context, listDedicatedHostsOptions *ListDedicatedHostsOptions) (result *DedicatedHostCollection, response *core.DetailedResponse, err error)

ListDedicatedHostsWithContext is an alternate form of the ListDedicatedHosts method which supports a Context parameter

func (*VpcV1) ListEndpointGatewayIps added in v0.3.0

func (vpc *VpcV1) ListEndpointGatewayIps(listEndpointGatewayIpsOptions *ListEndpointGatewayIpsOptions) (result *ReservedIPCollectionEndpointGatewayContext, response *core.DetailedResponse, err error)

ListEndpointGatewayIps : List all reserved IPs bound to an endpoint gateway This request lists all reserved IPs bound to an endpoint gateway.

func (*VpcV1) ListEndpointGatewayIpsWithContext added in v0.4.2

func (vpc *VpcV1) ListEndpointGatewayIpsWithContext(ctx context.Context, listEndpointGatewayIpsOptions *ListEndpointGatewayIpsOptions) (result *ReservedIPCollectionEndpointGatewayContext, response *core.DetailedResponse, err error)

ListEndpointGatewayIpsWithContext is an alternate form of the ListEndpointGatewayIps method which supports a Context parameter

func (*VpcV1) ListEndpointGateways added in v0.3.0

func (vpc *VpcV1) ListEndpointGateways(listEndpointGatewaysOptions *ListEndpointGatewaysOptions) (result *EndpointGatewayCollection, response *core.DetailedResponse, err error)

ListEndpointGateways : List all endpoint gateways This request lists all endpoint gateways in the region. An endpoint gateway maps one or more reserved IPs in a VPC to a target outside the VPC.

func (*VpcV1) ListEndpointGatewaysWithContext added in v0.4.2

func (vpc *VpcV1) ListEndpointGatewaysWithContext(ctx context.Context, listEndpointGatewaysOptions *ListEndpointGatewaysOptions) (result *EndpointGatewayCollection, response *core.DetailedResponse, err error)

ListEndpointGatewaysWithContext is an alternate form of the ListEndpointGateways method which supports a Context parameter

func (*VpcV1) ListFloatingIps

func (vpc *VpcV1) ListFloatingIps(listFloatingIpsOptions *ListFloatingIpsOptions) (result *FloatingIPCollection, response *core.DetailedResponse, err error)

ListFloatingIps : List all floating IPs This request lists all floating IPs in the region. Floating IPs allow inbound and outbound traffic from the Internet to an instance.

func (*VpcV1) ListFloatingIpsWithContext added in v0.4.2

func (vpc *VpcV1) ListFloatingIpsWithContext(ctx context.Context, listFloatingIpsOptions *ListFloatingIpsOptions) (result *FloatingIPCollection, response *core.DetailedResponse, err error)

ListFloatingIpsWithContext is an alternate form of the ListFloatingIps method which supports a Context parameter

func (*VpcV1) ListFlowLogCollectors

func (vpc *VpcV1) ListFlowLogCollectors(listFlowLogCollectorsOptions *ListFlowLogCollectorsOptions) (result *FlowLogCollectorCollection, response *core.DetailedResponse, err error)

ListFlowLogCollectors : List all flow log collectors This request lists all flow log collectors in the region. A flow log collector summarizes data sent over the instance network interfaces and instance network attachments contained within its target.

func (*VpcV1) ListFlowLogCollectorsWithContext added in v0.4.2

func (vpc *VpcV1) ListFlowLogCollectorsWithContext(ctx context.Context, listFlowLogCollectorsOptions *ListFlowLogCollectorsOptions) (result *FlowLogCollectorCollection, response *core.DetailedResponse, err error)

ListFlowLogCollectorsWithContext is an alternate form of the ListFlowLogCollectors method which supports a Context parameter

func (*VpcV1) ListIkePolicies

func (vpc *VpcV1) ListIkePolicies(listIkePoliciesOptions *ListIkePoliciesOptions) (result *IkePolicyCollection, response *core.DetailedResponse, err error)

ListIkePolicies : List all IKE policies This request lists all IKE policies in the region.

func (*VpcV1) ListIkePoliciesWithContext added in v0.4.2

func (vpc *VpcV1) ListIkePoliciesWithContext(ctx context.Context, listIkePoliciesOptions *ListIkePoliciesOptions) (result *IkePolicyCollection, response *core.DetailedResponse, err error)

ListIkePoliciesWithContext is an alternate form of the ListIkePolicies method which supports a Context parameter

func (*VpcV1) ListIkePolicyConnections

func (vpc *VpcV1) ListIkePolicyConnections(listIkePolicyConnectionsOptions *ListIkePolicyConnectionsOptions) (result *VPNGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListIkePolicyConnections : List all VPN gateway connections that use a specified IKE policy This request lists all VPN gateway connections that use a policy.

func (*VpcV1) ListIkePolicyConnectionsWithContext added in v0.4.2

func (vpc *VpcV1) ListIkePolicyConnectionsWithContext(ctx context.Context, listIkePolicyConnectionsOptions *ListIkePolicyConnectionsOptions) (result *VPNGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListIkePolicyConnectionsWithContext is an alternate form of the ListIkePolicyConnections method which supports a Context parameter

func (*VpcV1) ListImageExportJobs added in v0.37.0

func (vpc *VpcV1) ListImageExportJobs(listImageExportJobsOptions *ListImageExportJobsOptions) (result *ImageExportJobUnpaginatedCollection, response *core.DetailedResponse, err error)

ListImageExportJobs : List all image export jobs This request lists all export jobs for an image. Each job tracks the exporting of the image to another location, such as a bucket within cloud object storage.

The jobs will be sorted by their `created_at` property values, with newest jobs first. Jobs with identical `created_at` property values will in turn be sorted by ascending `name` property values.

func (*VpcV1) ListImageExportJobsWithContext added in v0.37.0

func (vpc *VpcV1) ListImageExportJobsWithContext(ctx context.Context, listImageExportJobsOptions *ListImageExportJobsOptions) (result *ImageExportJobUnpaginatedCollection, response *core.DetailedResponse, err error)

ListImageExportJobsWithContext is an alternate form of the ListImageExportJobs method which supports a Context parameter

func (*VpcV1) ListImages

func (vpc *VpcV1) ListImages(listImagesOptions *ListImagesOptions) (result *ImageCollection, response *core.DetailedResponse, err error)

ListImages : List all images This request lists all images available in the region. An image provides source data for a volume. Images are either system-provided, or created from another source, such as importing from Cloud Object Storage.

func (*VpcV1) ListImagesWithContext added in v0.4.2

func (vpc *VpcV1) ListImagesWithContext(ctx context.Context, listImagesOptions *ListImagesOptions) (result *ImageCollection, response *core.DetailedResponse, err error)

ListImagesWithContext is an alternate form of the ListImages method which supports a Context parameter

func (*VpcV1) ListInstanceDisks added in v0.5.0

func (vpc *VpcV1) ListInstanceDisks(listInstanceDisksOptions *ListInstanceDisksOptions) (result *InstanceDiskCollection, response *core.DetailedResponse, err error)

ListInstanceDisks : List all disks on an instance This request lists all disks on an instance. A disk is a block device that is locally attached to the instance's physical host and is also referred to as instance storage. By default, the listed disks are sorted by their `created_at` property values, with the newest disk first.

func (*VpcV1) ListInstanceDisksWithContext added in v0.5.0

func (vpc *VpcV1) ListInstanceDisksWithContext(ctx context.Context, listInstanceDisksOptions *ListInstanceDisksOptions) (result *InstanceDiskCollection, response *core.DetailedResponse, err error)

ListInstanceDisksWithContext is an alternate form of the ListInstanceDisks method which supports a Context parameter

func (*VpcV1) ListInstanceGroupManagerActions added in v0.6.0

func (vpc *VpcV1) ListInstanceGroupManagerActions(listInstanceGroupManagerActionsOptions *ListInstanceGroupManagerActionsOptions) (result *InstanceGroupManagerActionsCollection, response *core.DetailedResponse, err error)

ListInstanceGroupManagerActions : List all actions for an instance group manager This request lists all instance group actions for an instance group manager.

func (*VpcV1) ListInstanceGroupManagerActionsWithContext added in v0.6.0

func (vpc *VpcV1) ListInstanceGroupManagerActionsWithContext(ctx context.Context, listInstanceGroupManagerActionsOptions *ListInstanceGroupManagerActionsOptions) (result *InstanceGroupManagerActionsCollection, response *core.DetailedResponse, err error)

ListInstanceGroupManagerActionsWithContext is an alternate form of the ListInstanceGroupManagerActions method which supports a Context parameter

func (*VpcV1) ListInstanceGroupManagerPolicies added in v0.1.0

func (vpc *VpcV1) ListInstanceGroupManagerPolicies(listInstanceGroupManagerPoliciesOptions *ListInstanceGroupManagerPoliciesOptions) (result *InstanceGroupManagerPolicyCollection, response *core.DetailedResponse, err error)

ListInstanceGroupManagerPolicies : List all policies for an instance group manager This request lists all policies for an instance group manager.

func (*VpcV1) ListInstanceGroupManagerPoliciesWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceGroupManagerPoliciesWithContext(ctx context.Context, listInstanceGroupManagerPoliciesOptions *ListInstanceGroupManagerPoliciesOptions) (result *InstanceGroupManagerPolicyCollection, response *core.DetailedResponse, err error)

ListInstanceGroupManagerPoliciesWithContext is an alternate form of the ListInstanceGroupManagerPolicies method which supports a Context parameter

func (*VpcV1) ListInstanceGroupManagers added in v0.1.0

func (vpc *VpcV1) ListInstanceGroupManagers(listInstanceGroupManagersOptions *ListInstanceGroupManagersOptions) (result *InstanceGroupManagerCollection, response *core.DetailedResponse, err error)

ListInstanceGroupManagers : List all managers for an instance group This request lists all managers for an instance group.

func (*VpcV1) ListInstanceGroupManagersWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceGroupManagersWithContext(ctx context.Context, listInstanceGroupManagersOptions *ListInstanceGroupManagersOptions) (result *InstanceGroupManagerCollection, response *core.DetailedResponse, err error)

ListInstanceGroupManagersWithContext is an alternate form of the ListInstanceGroupManagers method which supports a Context parameter

func (*VpcV1) ListInstanceGroupMemberships added in v0.1.0

func (vpc *VpcV1) ListInstanceGroupMemberships(listInstanceGroupMembershipsOptions *ListInstanceGroupMembershipsOptions) (result *InstanceGroupMembershipCollection, response *core.DetailedResponse, err error)

ListInstanceGroupMemberships : List all memberships for an instance group This request lists all instance group memberships for an instance group.

func (*VpcV1) ListInstanceGroupMembershipsWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceGroupMembershipsWithContext(ctx context.Context, listInstanceGroupMembershipsOptions *ListInstanceGroupMembershipsOptions) (result *InstanceGroupMembershipCollection, response *core.DetailedResponse, err error)

ListInstanceGroupMembershipsWithContext is an alternate form of the ListInstanceGroupMemberships method which supports a Context parameter

func (*VpcV1) ListInstanceGroups added in v0.1.0

func (vpc *VpcV1) ListInstanceGroups(listInstanceGroupsOptions *ListInstanceGroupsOptions) (result *InstanceGroupCollection, response *core.DetailedResponse, err error)

ListInstanceGroups : List all instance groups This request lists all instance groups in the region.

func (*VpcV1) ListInstanceGroupsWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceGroupsWithContext(ctx context.Context, listInstanceGroupsOptions *ListInstanceGroupsOptions) (result *InstanceGroupCollection, response *core.DetailedResponse, err error)

ListInstanceGroupsWithContext is an alternate form of the ListInstanceGroups method which supports a Context parameter

func (*VpcV1) ListInstanceNetworkAttachments added in v0.47.0

func (vpc *VpcV1) ListInstanceNetworkAttachments(listInstanceNetworkAttachmentsOptions *ListInstanceNetworkAttachmentsOptions) (result *InstanceNetworkAttachmentCollection, response *core.DetailedResponse, err error)

ListInstanceNetworkAttachments : List all network attachments on an instance This request lists all network attachments on an instance. A network attachment represents a device on the instance to which a virtual network interface is attached.

The network attachments will be sorted by their `created_at` property values, with newest network attachments first. Network attachments with identical `created_at` property values will in turn be sorted by ascending `name` property values.

func (*VpcV1) ListInstanceNetworkAttachmentsWithContext added in v0.47.0

func (vpc *VpcV1) ListInstanceNetworkAttachmentsWithContext(ctx context.Context, listInstanceNetworkAttachmentsOptions *ListInstanceNetworkAttachmentsOptions) (result *InstanceNetworkAttachmentCollection, response *core.DetailedResponse, err error)

ListInstanceNetworkAttachmentsWithContext is an alternate form of the ListInstanceNetworkAttachments method which supports a Context parameter

func (*VpcV1) ListInstanceNetworkInterfaceFloatingIps

func (vpc *VpcV1) ListInstanceNetworkInterfaceFloatingIps(listInstanceNetworkInterfaceFloatingIpsOptions *ListInstanceNetworkInterfaceFloatingIpsOptions) (result *FloatingIPUnpaginatedCollection, response *core.DetailedResponse, err error)

ListInstanceNetworkInterfaceFloatingIps : List all floating IPs associated with an instance network interface This request lists all floating IPs associated with an instance network interface.

func (*VpcV1) ListInstanceNetworkInterfaceFloatingIpsWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceNetworkInterfaceFloatingIpsWithContext(ctx context.Context, listInstanceNetworkInterfaceFloatingIpsOptions *ListInstanceNetworkInterfaceFloatingIpsOptions) (result *FloatingIPUnpaginatedCollection, response *core.DetailedResponse, err error)

ListInstanceNetworkInterfaceFloatingIpsWithContext is an alternate form of the ListInstanceNetworkInterfaceFloatingIps method which supports a Context parameter

func (*VpcV1) ListInstanceNetworkInterfaceIps added in v0.19.0

func (vpc *VpcV1) ListInstanceNetworkInterfaceIps(listInstanceNetworkInterfaceIpsOptions *ListInstanceNetworkInterfaceIpsOptions) (result *ReservedIPCollectionInstanceNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListInstanceNetworkInterfaceIps : List the primary reserved IP for an instance network interface This request lists the primary reserved IP for an instance network interface. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) ListInstanceNetworkInterfaceIpsWithContext added in v0.19.0

func (vpc *VpcV1) ListInstanceNetworkInterfaceIpsWithContext(ctx context.Context, listInstanceNetworkInterfaceIpsOptions *ListInstanceNetworkInterfaceIpsOptions) (result *ReservedIPCollectionInstanceNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListInstanceNetworkInterfaceIpsWithContext is an alternate form of the ListInstanceNetworkInterfaceIps method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) ListInstanceNetworkInterfaces

func (vpc *VpcV1) ListInstanceNetworkInterfaces(listInstanceNetworkInterfacesOptions *ListInstanceNetworkInterfacesOptions) (result *NetworkInterfaceUnpaginatedCollection, response *core.DetailedResponse, err error)

ListInstanceNetworkInterfaces : List all network interfaces on an instance This request lists all network interfaces on an instance. An instance network interface is an abstract representation of a network device and attaches an instance to a single subnet. Each network interface on an instance can attach to any subnet in the zone, including subnets that are already attached to the instance. Multiple network interfaces on the instance may also attach to the same subnet.

If this instance has network attachments, each returned network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface.

func (*VpcV1) ListInstanceNetworkInterfacesWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceNetworkInterfacesWithContext(ctx context.Context, listInstanceNetworkInterfacesOptions *ListInstanceNetworkInterfacesOptions) (result *NetworkInterfaceUnpaginatedCollection, response *core.DetailedResponse, err error)

ListInstanceNetworkInterfacesWithContext is an alternate form of the ListInstanceNetworkInterfaces method which supports a Context parameter

func (*VpcV1) ListInstanceProfiles

func (vpc *VpcV1) ListInstanceProfiles(listInstanceProfilesOptions *ListInstanceProfilesOptions) (result *InstanceProfileCollection, response *core.DetailedResponse, err error)

ListInstanceProfiles : List all instance profiles This request lists provisionable [instance profiles](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) in the region. An instance profile specifies the performance characteristics and pricing model for an instance.

func (*VpcV1) ListInstanceProfilesWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceProfilesWithContext(ctx context.Context, listInstanceProfilesOptions *ListInstanceProfilesOptions) (result *InstanceProfileCollection, response *core.DetailedResponse, err error)

ListInstanceProfilesWithContext is an alternate form of the ListInstanceProfiles method which supports a Context parameter

func (*VpcV1) ListInstanceTemplates added in v0.1.0

func (vpc *VpcV1) ListInstanceTemplates(listInstanceTemplatesOptions *ListInstanceTemplatesOptions) (result *InstanceTemplateCollection, response *core.DetailedResponse, err error)

ListInstanceTemplates : List all instance templates This request lists all instance templates in the region.

func (*VpcV1) ListInstanceTemplatesWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceTemplatesWithContext(ctx context.Context, listInstanceTemplatesOptions *ListInstanceTemplatesOptions) (result *InstanceTemplateCollection, response *core.DetailedResponse, err error)

ListInstanceTemplatesWithContext is an alternate form of the ListInstanceTemplates method which supports a Context parameter

func (*VpcV1) ListInstanceVolumeAttachments

func (vpc *VpcV1) ListInstanceVolumeAttachments(listInstanceVolumeAttachmentsOptions *ListInstanceVolumeAttachmentsOptions) (result *VolumeAttachmentCollection, response *core.DetailedResponse, err error)

ListInstanceVolumeAttachments : List all volumes attachments on an instance This request lists all volume attachments on an instance. A volume attachment connects a volume to an instance. Each instance may have many volume attachments but each volume attachment connects exactly one instance to exactly one volume.

func (*VpcV1) ListInstanceVolumeAttachmentsWithContext added in v0.4.2

func (vpc *VpcV1) ListInstanceVolumeAttachmentsWithContext(ctx context.Context, listInstanceVolumeAttachmentsOptions *ListInstanceVolumeAttachmentsOptions) (result *VolumeAttachmentCollection, response *core.DetailedResponse, err error)

ListInstanceVolumeAttachmentsWithContext is an alternate form of the ListInstanceVolumeAttachments method which supports a Context parameter

func (*VpcV1) ListInstances

func (vpc *VpcV1) ListInstances(listInstancesOptions *ListInstancesOptions) (result *InstanceCollection, response *core.DetailedResponse, err error)

ListInstances : List all instances This request lists all instances in the region.

func (*VpcV1) ListInstancesWithContext added in v0.4.2

func (vpc *VpcV1) ListInstancesWithContext(ctx context.Context, listInstancesOptions *ListInstancesOptions) (result *InstanceCollection, response *core.DetailedResponse, err error)

ListInstancesWithContext is an alternate form of the ListInstances method which supports a Context parameter

func (*VpcV1) ListIpsecPolicies

func (vpc *VpcV1) ListIpsecPolicies(listIpsecPoliciesOptions *ListIpsecPoliciesOptions) (result *IPsecPolicyCollection, response *core.DetailedResponse, err error)

ListIpsecPolicies : List all IPsec policies This request lists all IPsec policies in the region.

func (*VpcV1) ListIpsecPoliciesWithContext added in v0.4.2

func (vpc *VpcV1) ListIpsecPoliciesWithContext(ctx context.Context, listIpsecPoliciesOptions *ListIpsecPoliciesOptions) (result *IPsecPolicyCollection, response *core.DetailedResponse, err error)

ListIpsecPoliciesWithContext is an alternate form of the ListIpsecPolicies method which supports a Context parameter

func (*VpcV1) ListIpsecPolicyConnections

func (vpc *VpcV1) ListIpsecPolicyConnections(listIpsecPolicyConnectionsOptions *ListIpsecPolicyConnectionsOptions) (result *VPNGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListIpsecPolicyConnections : List all VPN gateway connections that use a specified IPsec policy This request lists all VPN gateway connections that use a policy.

func (*VpcV1) ListIpsecPolicyConnectionsWithContext added in v0.4.2

func (vpc *VpcV1) ListIpsecPolicyConnectionsWithContext(ctx context.Context, listIpsecPolicyConnectionsOptions *ListIpsecPolicyConnectionsOptions) (result *VPNGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListIpsecPolicyConnectionsWithContext is an alternate form of the ListIpsecPolicyConnections method which supports a Context parameter

func (*VpcV1) ListKeys

func (vpc *VpcV1) ListKeys(listKeysOptions *ListKeysOptions) (result *KeyCollection, response *core.DetailedResponse, err error)

ListKeys : List all keys This request lists all keys in the region. A key contains a public SSH key which may be installed on instances when they are created. Private keys are not stored.

func (*VpcV1) ListKeysWithContext added in v0.4.2

func (vpc *VpcV1) ListKeysWithContext(ctx context.Context, listKeysOptions *ListKeysOptions) (result *KeyCollection, response *core.DetailedResponse, err error)

ListKeysWithContext is an alternate form of the ListKeys method which supports a Context parameter

func (*VpcV1) ListLoadBalancerListenerPolicies

func (vpc *VpcV1) ListLoadBalancerListenerPolicies(listLoadBalancerListenerPoliciesOptions *ListLoadBalancerListenerPoliciesOptions) (result *LoadBalancerListenerPolicyCollection, response *core.DetailedResponse, err error)

ListLoadBalancerListenerPolicies : List all policies for a load balancer listener This request lists all policies for a load balancer listener. A policy consists of rules to match against each incoming request, and an action to apply to the request if a rule matches.

func (*VpcV1) ListLoadBalancerListenerPoliciesWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancerListenerPoliciesWithContext(ctx context.Context, listLoadBalancerListenerPoliciesOptions *ListLoadBalancerListenerPoliciesOptions) (result *LoadBalancerListenerPolicyCollection, response *core.DetailedResponse, err error)

ListLoadBalancerListenerPoliciesWithContext is an alternate form of the ListLoadBalancerListenerPolicies method which supports a Context parameter

func (*VpcV1) ListLoadBalancerListenerPolicyRules

func (vpc *VpcV1) ListLoadBalancerListenerPolicyRules(listLoadBalancerListenerPolicyRulesOptions *ListLoadBalancerListenerPolicyRulesOptions) (result *LoadBalancerListenerPolicyRuleCollection, response *core.DetailedResponse, err error)

ListLoadBalancerListenerPolicyRules : List all rules of a load balancer listener policy This request lists all rules of a load balancer listener policy.

func (*VpcV1) ListLoadBalancerListenerPolicyRulesWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancerListenerPolicyRulesWithContext(ctx context.Context, listLoadBalancerListenerPolicyRulesOptions *ListLoadBalancerListenerPolicyRulesOptions) (result *LoadBalancerListenerPolicyRuleCollection, response *core.DetailedResponse, err error)

ListLoadBalancerListenerPolicyRulesWithContext is an alternate form of the ListLoadBalancerListenerPolicyRules method which supports a Context parameter

func (*VpcV1) ListLoadBalancerListeners

func (vpc *VpcV1) ListLoadBalancerListeners(listLoadBalancerListenersOptions *ListLoadBalancerListenersOptions) (result *LoadBalancerListenerCollection, response *core.DetailedResponse, err error)

ListLoadBalancerListeners : List all listeners for a load balancer This request lists all listeners for a load balancer.

func (*VpcV1) ListLoadBalancerListenersWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancerListenersWithContext(ctx context.Context, listLoadBalancerListenersOptions *ListLoadBalancerListenersOptions) (result *LoadBalancerListenerCollection, response *core.DetailedResponse, err error)

ListLoadBalancerListenersWithContext is an alternate form of the ListLoadBalancerListeners method which supports a Context parameter

func (*VpcV1) ListLoadBalancerPoolMembers

func (vpc *VpcV1) ListLoadBalancerPoolMembers(listLoadBalancerPoolMembersOptions *ListLoadBalancerPoolMembersOptions) (result *LoadBalancerPoolMemberCollection, response *core.DetailedResponse, err error)

ListLoadBalancerPoolMembers : List all members of a load balancer pool This request lists all members of a load balancer pool.

func (*VpcV1) ListLoadBalancerPoolMembersWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancerPoolMembersWithContext(ctx context.Context, listLoadBalancerPoolMembersOptions *ListLoadBalancerPoolMembersOptions) (result *LoadBalancerPoolMemberCollection, response *core.DetailedResponse, err error)

ListLoadBalancerPoolMembersWithContext is an alternate form of the ListLoadBalancerPoolMembers method which supports a Context parameter

func (*VpcV1) ListLoadBalancerPools

func (vpc *VpcV1) ListLoadBalancerPools(listLoadBalancerPoolsOptions *ListLoadBalancerPoolsOptions) (result *LoadBalancerPoolCollection, response *core.DetailedResponse, err error)

ListLoadBalancerPools : List all pools of a load balancer This request lists all pools of a load balancer.

func (*VpcV1) ListLoadBalancerPoolsWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancerPoolsWithContext(ctx context.Context, listLoadBalancerPoolsOptions *ListLoadBalancerPoolsOptions) (result *LoadBalancerPoolCollection, response *core.DetailedResponse, err error)

ListLoadBalancerPoolsWithContext is an alternate form of the ListLoadBalancerPools method which supports a Context parameter

func (*VpcV1) ListLoadBalancerProfiles added in v0.1.0

func (vpc *VpcV1) ListLoadBalancerProfiles(listLoadBalancerProfilesOptions *ListLoadBalancerProfilesOptions) (result *LoadBalancerProfileCollection, response *core.DetailedResponse, err error)

ListLoadBalancerProfiles : List all load balancer profiles This request lists all load balancer profiles available in the region. A load balancer profile specifies the performance characteristics and pricing model for a load balancer.

func (*VpcV1) ListLoadBalancerProfilesWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancerProfilesWithContext(ctx context.Context, listLoadBalancerProfilesOptions *ListLoadBalancerProfilesOptions) (result *LoadBalancerProfileCollection, response *core.DetailedResponse, err error)

ListLoadBalancerProfilesWithContext is an alternate form of the ListLoadBalancerProfiles method which supports a Context parameter

func (*VpcV1) ListLoadBalancers

func (vpc *VpcV1) ListLoadBalancers(listLoadBalancersOptions *ListLoadBalancersOptions) (result *LoadBalancerCollection, response *core.DetailedResponse, err error)

ListLoadBalancers : List all load balancers This request lists all load balancers in the region.

func (*VpcV1) ListLoadBalancersWithContext added in v0.4.2

func (vpc *VpcV1) ListLoadBalancersWithContext(ctx context.Context, listLoadBalancersOptions *ListLoadBalancersOptions) (result *LoadBalancerCollection, response *core.DetailedResponse, err error)

ListLoadBalancersWithContext is an alternate form of the ListLoadBalancers method which supports a Context parameter

func (*VpcV1) ListNetworkACLRules

func (vpc *VpcV1) ListNetworkACLRules(listNetworkACLRulesOptions *ListNetworkACLRulesOptions) (result *NetworkACLRuleCollection, response *core.DetailedResponse, err error)

ListNetworkACLRules : List all rules for a network ACL This request lists all rules for a network ACL. These rules can allow or deny traffic between a source CIDR block and a destination CIDR block over a particular protocol and port range.

func (*VpcV1) ListNetworkACLRulesWithContext added in v0.4.2

func (vpc *VpcV1) ListNetworkACLRulesWithContext(ctx context.Context, listNetworkACLRulesOptions *ListNetworkACLRulesOptions) (result *NetworkACLRuleCollection, response *core.DetailedResponse, err error)

ListNetworkACLRulesWithContext is an alternate form of the ListNetworkACLRules method which supports a Context parameter

func (*VpcV1) ListNetworkAcls

func (vpc *VpcV1) ListNetworkAcls(listNetworkAclsOptions *ListNetworkAclsOptions) (result *NetworkACLCollection, response *core.DetailedResponse, err error)

ListNetworkAcls : List all network ACLs This request lists all network ACLs in the region. A network ACL defines a set of packet filtering (5-tuple) rules for all traffic in and out of a subnet. Both allow and deny rules can be defined, and rules are stateless such that reverse traffic in response to allowed traffic is not automatically permitted.

func (*VpcV1) ListNetworkAclsWithContext added in v0.4.2

func (vpc *VpcV1) ListNetworkAclsWithContext(ctx context.Context, listNetworkAclsOptions *ListNetworkAclsOptions) (result *NetworkACLCollection, response *core.DetailedResponse, err error)

ListNetworkAclsWithContext is an alternate form of the ListNetworkAcls method which supports a Context parameter

func (*VpcV1) ListNetworkInterfaceFloatingIps added in v0.47.0

func (vpc *VpcV1) ListNetworkInterfaceFloatingIps(listNetworkInterfaceFloatingIpsOptions *ListNetworkInterfaceFloatingIpsOptions) (result *FloatingIPCollectionVirtualNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListNetworkInterfaceFloatingIps : List all floating IPs associated with a virtual network interface This request lists all floating IPs associated with a virtual network interface.

func (*VpcV1) ListNetworkInterfaceFloatingIpsWithContext added in v0.47.0

func (vpc *VpcV1) ListNetworkInterfaceFloatingIpsWithContext(ctx context.Context, listNetworkInterfaceFloatingIpsOptions *ListNetworkInterfaceFloatingIpsOptions) (result *FloatingIPCollectionVirtualNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListNetworkInterfaceFloatingIpsWithContext is an alternate form of the ListNetworkInterfaceFloatingIps method which supports a Context parameter

func (*VpcV1) ListOperatingSystems

func (vpc *VpcV1) ListOperatingSystems(listOperatingSystemsOptions *ListOperatingSystemsOptions) (result *OperatingSystemCollection, response *core.DetailedResponse, err error)

ListOperatingSystems : List all operating systems This request lists all operating systems in the region.

func (*VpcV1) ListOperatingSystemsWithContext added in v0.4.2

func (vpc *VpcV1) ListOperatingSystemsWithContext(ctx context.Context, listOperatingSystemsOptions *ListOperatingSystemsOptions) (result *OperatingSystemCollection, response *core.DetailedResponse, err error)

ListOperatingSystemsWithContext is an alternate form of the ListOperatingSystems method which supports a Context parameter

func (*VpcV1) ListPlacementGroups added in v0.9.0

func (vpc *VpcV1) ListPlacementGroups(listPlacementGroupsOptions *ListPlacementGroupsOptions) (result *PlacementGroupCollection, response *core.DetailedResponse, err error)

ListPlacementGroups : List all placement groups This request lists all placement groups in the region.

func (*VpcV1) ListPlacementGroupsWithContext added in v0.9.0

func (vpc *VpcV1) ListPlacementGroupsWithContext(ctx context.Context, listPlacementGroupsOptions *ListPlacementGroupsOptions) (result *PlacementGroupCollection, response *core.DetailedResponse, err error)

ListPlacementGroupsWithContext is an alternate form of the ListPlacementGroups method which supports a Context parameter

func (*VpcV1) ListPublicGateways

func (vpc *VpcV1) ListPublicGateways(listPublicGatewaysOptions *ListPublicGatewaysOptions) (result *PublicGatewayCollection, response *core.DetailedResponse, err error)

ListPublicGateways : List all public gateways This request lists all public gateways in the region. A public gateway is a virtual network device associated with a VPC, which allows access to the Internet. A public gateway resides in a zone and can be connected to subnets in the same zone only.

func (*VpcV1) ListPublicGatewaysWithContext added in v0.4.2

func (vpc *VpcV1) ListPublicGatewaysWithContext(ctx context.Context, listPublicGatewaysOptions *ListPublicGatewaysOptions) (result *PublicGatewayCollection, response *core.DetailedResponse, err error)

ListPublicGatewaysWithContext is an alternate form of the ListPublicGateways method which supports a Context parameter

func (*VpcV1) ListRegionZones

func (vpc *VpcV1) ListRegionZones(listRegionZonesOptions *ListRegionZonesOptions) (result *ZoneCollection, response *core.DetailedResponse, err error)

ListRegionZones : List all zones in a region This request lists all zones in a region. Zones represent logically-isolated data centers with high-bandwidth and low-latency interconnects to other zones in the same region. Faults in a zone do not affect other zones.

func (*VpcV1) ListRegionZonesWithContext added in v0.4.2

func (vpc *VpcV1) ListRegionZonesWithContext(ctx context.Context, listRegionZonesOptions *ListRegionZonesOptions) (result *ZoneCollection, response *core.DetailedResponse, err error)

ListRegionZonesWithContext is an alternate form of the ListRegionZones method which supports a Context parameter

func (*VpcV1) ListRegions

func (vpc *VpcV1) ListRegions(listRegionsOptions *ListRegionsOptions) (result *RegionCollection, response *core.DetailedResponse, err error)

ListRegions : List all regions This request lists all regions. Each region is a separate geographic area that contains multiple isolated zones. Resources can be provisioned into one or more zones in a region. Each zone is isolated, but connected to other zones in the same region with low-latency and high-bandwidth links. Regions represent the top-level of fault isolation available. Resources deployed within a single region also benefit from the low latency afforded by geographic proximity.

func (*VpcV1) ListRegionsWithContext added in v0.4.2

func (vpc *VpcV1) ListRegionsWithContext(ctx context.Context, listRegionsOptions *ListRegionsOptions) (result *RegionCollection, response *core.DetailedResponse, err error)

ListRegionsWithContext is an alternate form of the ListRegions method which supports a Context parameter

func (*VpcV1) ListReservations added in v0.48.0

func (vpc *VpcV1) ListReservations(listReservationsOptions *ListReservationsOptions) (result *ReservationCollection, response *core.DetailedResponse, err error)

ListReservations : List all reservations This request lists all reservations in the region. A reservation provides reserved capacity for a specified profile in a specified zone. A reservation can also include a long-term committed use discount.

The reservations will be sorted by their `created_at` property values, with newest reservations first. Reservations with identical `created_at` property values will in turn be sorted by ascending `name` property values.

func (*VpcV1) ListReservationsWithContext added in v0.48.0

func (vpc *VpcV1) ListReservationsWithContext(ctx context.Context, listReservationsOptions *ListReservationsOptions) (result *ReservationCollection, response *core.DetailedResponse, err error)

ListReservationsWithContext is an alternate form of the ListReservations method which supports a Context parameter

func (*VpcV1) ListSecurityGroupRules

func (vpc *VpcV1) ListSecurityGroupRules(listSecurityGroupRulesOptions *ListSecurityGroupRulesOptions) (result *SecurityGroupRuleCollection, response *core.DetailedResponse, err error)

ListSecurityGroupRules : List all rules in a security group This request lists all rules in a security group. These rules define what traffic the security group permits. Security group rules are stateful, such that reverse traffic in response to allowed traffic is automatically permitted.

func (*VpcV1) ListSecurityGroupRulesWithContext added in v0.4.2

func (vpc *VpcV1) ListSecurityGroupRulesWithContext(ctx context.Context, listSecurityGroupRulesOptions *ListSecurityGroupRulesOptions) (result *SecurityGroupRuleCollection, response *core.DetailedResponse, err error)

ListSecurityGroupRulesWithContext is an alternate form of the ListSecurityGroupRules method which supports a Context parameter

func (*VpcV1) ListSecurityGroupTargets added in v0.5.0

func (vpc *VpcV1) ListSecurityGroupTargets(listSecurityGroupTargetsOptions *ListSecurityGroupTargetsOptions) (result *SecurityGroupTargetCollection, response *core.DetailedResponse, err error)

ListSecurityGroupTargets : List all targets associated with a security group This request lists all targets associated with a security group, to which the rules in the security group are applied.

func (*VpcV1) ListSecurityGroupTargetsWithContext added in v0.5.0

func (vpc *VpcV1) ListSecurityGroupTargetsWithContext(ctx context.Context, listSecurityGroupTargetsOptions *ListSecurityGroupTargetsOptions) (result *SecurityGroupTargetCollection, response *core.DetailedResponse, err error)

ListSecurityGroupTargetsWithContext is an alternate form of the ListSecurityGroupTargets method which supports a Context parameter

func (*VpcV1) ListSecurityGroups

func (vpc *VpcV1) ListSecurityGroups(listSecurityGroupsOptions *ListSecurityGroupsOptions) (result *SecurityGroupCollection, response *core.DetailedResponse, err error)

ListSecurityGroups : List all security groups This request lists all security groups in the region. Security groups provide a way to apply IP filtering rules to instances in the associated VPC. With security groups, all traffic is denied by default, and rules added to security groups define which traffic the security group permits. Security group rules are stateful such that reverse traffic in response to allowed traffic is automatically permitted.

func (*VpcV1) ListSecurityGroupsWithContext added in v0.4.2

func (vpc *VpcV1) ListSecurityGroupsWithContext(ctx context.Context, listSecurityGroupsOptions *ListSecurityGroupsOptions) (result *SecurityGroupCollection, response *core.DetailedResponse, err error)

ListSecurityGroupsWithContext is an alternate form of the ListSecurityGroups method which supports a Context parameter

func (*VpcV1) ListShareMountTargets added in v0.41.0

func (vpc *VpcV1) ListShareMountTargets(listShareMountTargetsOptions *ListShareMountTargetsOptions) (result *ShareMountTargetCollection, response *core.DetailedResponse, err error)

ListShareMountTargets : List all mount targets for a file share This request retrieves all share mount targets for a file share. A share mount target is a network endpoint at which a file share may be mounted. The file share can be mounted by clients in the same VPC and zone after creating share mount targets.

The share mount targets will be sorted by their `created_at` property values, with newest targets first.

func (*VpcV1) ListShareMountTargetsWithContext added in v0.41.0

func (vpc *VpcV1) ListShareMountTargetsWithContext(ctx context.Context, listShareMountTargetsOptions *ListShareMountTargetsOptions) (result *ShareMountTargetCollection, response *core.DetailedResponse, err error)

ListShareMountTargetsWithContext is an alternate form of the ListShareMountTargets method which supports a Context parameter

func (*VpcV1) ListShareProfiles added in v0.41.0

func (vpc *VpcV1) ListShareProfiles(listShareProfilesOptions *ListShareProfilesOptions) (result *ShareProfileCollection, response *core.DetailedResponse, err error)

ListShareProfiles : List all file share profiles This request lists all [file share profiles](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) available in the region. A file share profile specifies the performance characteristics and pricing model for a file share.

func (*VpcV1) ListShareProfilesWithContext added in v0.41.0

func (vpc *VpcV1) ListShareProfilesWithContext(ctx context.Context, listShareProfilesOptions *ListShareProfilesOptions) (result *ShareProfileCollection, response *core.DetailedResponse, err error)

ListShareProfilesWithContext is an alternate form of the ListShareProfiles method which supports a Context parameter

func (*VpcV1) ListShares added in v0.41.0

func (vpc *VpcV1) ListShares(listSharesOptions *ListSharesOptions) (result *ShareCollection, response *core.DetailedResponse, err error)

ListShares : List all file shares This request lists all file shares in the region.

func (*VpcV1) ListSharesWithContext added in v0.41.0

func (vpc *VpcV1) ListSharesWithContext(ctx context.Context, listSharesOptions *ListSharesOptions) (result *ShareCollection, response *core.DetailedResponse, err error)

ListSharesWithContext is an alternate form of the ListShares method which supports a Context parameter

func (*VpcV1) ListSnapshotClones added in v0.31.0

func (vpc *VpcV1) ListSnapshotClones(listSnapshotClonesOptions *ListSnapshotClonesOptions) (result *SnapshotCloneCollection, response *core.DetailedResponse, err error)

ListSnapshotClones : List all clones for a snapshot This request lists all clones for a snapshot. Use a clone to quickly restore a snapshot within the clone's zone.

func (*VpcV1) ListSnapshotClonesWithContext added in v0.31.0

func (vpc *VpcV1) ListSnapshotClonesWithContext(ctx context.Context, listSnapshotClonesOptions *ListSnapshotClonesOptions) (result *SnapshotCloneCollection, response *core.DetailedResponse, err error)

ListSnapshotClonesWithContext is an alternate form of the ListSnapshotClones method which supports a Context parameter

func (*VpcV1) ListSnapshotConsistencyGroups added in v0.45.0

func (vpc *VpcV1) ListSnapshotConsistencyGroups(listSnapshotConsistencyGroupsOptions *ListSnapshotConsistencyGroupsOptions) (result *SnapshotConsistencyGroupCollection, response *core.DetailedResponse, err error)

ListSnapshotConsistencyGroups : List all snapshot consistency groups This request lists all snapshot consistency groups in the region. A snapshot consistency group is a collection of individual snapshots taken at the same time.

func (*VpcV1) ListSnapshotConsistencyGroupsWithContext added in v0.45.0

func (vpc *VpcV1) ListSnapshotConsistencyGroupsWithContext(ctx context.Context, listSnapshotConsistencyGroupsOptions *ListSnapshotConsistencyGroupsOptions) (result *SnapshotConsistencyGroupCollection, response *core.DetailedResponse, err error)

ListSnapshotConsistencyGroupsWithContext is an alternate form of the ListSnapshotConsistencyGroups method which supports a Context parameter

func (*VpcV1) ListSnapshots added in v0.7.0

func (vpc *VpcV1) ListSnapshots(listSnapshotsOptions *ListSnapshotsOptions) (result *SnapshotCollection, response *core.DetailedResponse, err error)

ListSnapshots : List all snapshots This request lists all snapshots in the region. A snapshot preserves the data of a volume at the time the snapshot is created.

func (*VpcV1) ListSnapshotsWithContext added in v0.7.0

func (vpc *VpcV1) ListSnapshotsWithContext(ctx context.Context, listSnapshotsOptions *ListSnapshotsOptions) (result *SnapshotCollection, response *core.DetailedResponse, err error)

ListSnapshotsWithContext is an alternate form of the ListSnapshots method which supports a Context parameter

func (*VpcV1) ListSubnetReservedIps added in v0.3.0

func (vpc *VpcV1) ListSubnetReservedIps(listSubnetReservedIpsOptions *ListSubnetReservedIpsOptions) (result *ReservedIPCollection, response *core.DetailedResponse, err error)

ListSubnetReservedIps : List all reserved IPs in a subnet This request lists all reserved IPs in a subnet. A reserved IP resource will exist for every address in the subnet which is not available for use.

func (*VpcV1) ListSubnetReservedIpsWithContext added in v0.4.2

func (vpc *VpcV1) ListSubnetReservedIpsWithContext(ctx context.Context, listSubnetReservedIpsOptions *ListSubnetReservedIpsOptions) (result *ReservedIPCollection, response *core.DetailedResponse, err error)

ListSubnetReservedIpsWithContext is an alternate form of the ListSubnetReservedIps method which supports a Context parameter

func (*VpcV1) ListSubnets

func (vpc *VpcV1) ListSubnets(listSubnetsOptions *ListSubnetsOptions) (result *SubnetCollection, response *core.DetailedResponse, err error)

ListSubnets : List all subnets This request lists all subnets in the region. Subnets are contiguous ranges of IP addresses specified in CIDR block notation. Each subnet is within a particular zone and cannot span multiple zones or regions.

func (*VpcV1) ListSubnetsWithContext added in v0.4.2

func (vpc *VpcV1) ListSubnetsWithContext(ctx context.Context, listSubnetsOptions *ListSubnetsOptions) (result *SubnetCollection, response *core.DetailedResponse, err error)

ListSubnetsWithContext is an alternate form of the ListSubnets method which supports a Context parameter

func (*VpcV1) ListVPCAddressPrefixes

func (vpc *VpcV1) ListVPCAddressPrefixes(listVPCAddressPrefixesOptions *ListVPCAddressPrefixesOptions) (result *AddressPrefixCollection, response *core.DetailedResponse, err error)

ListVPCAddressPrefixes : List all address prefixes for a VPC This request lists all address pool prefixes for a VPC.

func (*VpcV1) ListVPCAddressPrefixesWithContext added in v0.4.2

func (vpc *VpcV1) ListVPCAddressPrefixesWithContext(ctx context.Context, listVPCAddressPrefixesOptions *ListVPCAddressPrefixesOptions) (result *AddressPrefixCollection, response *core.DetailedResponse, err error)

ListVPCAddressPrefixesWithContext is an alternate form of the ListVPCAddressPrefixes method which supports a Context parameter

func (*VpcV1) ListVPCDnsResolutionBindings added in v0.43.0

func (vpc *VpcV1) ListVPCDnsResolutionBindings(listVPCDnsResolutionBindingsOptions *ListVPCDnsResolutionBindingsOptions) (result *VpcdnsResolutionBindingCollection, response *core.DetailedResponse, err error)

ListVPCDnsResolutionBindings : List all DNS resolution bindings for a VPC This request lists all DNS resolution bindings for a VPC. A DNS resolution binding represents an association with another VPC for centralizing DNS name resolution.

If the VPC specified by the identifier in the URL is a DNS hub VPC (has `dns.enable_hub` set to `true`) then there is one binding for each VPC bound to the hub VPC. The endpoint gateways in the bound VPCs can allow (using `allow_dns_resolution_binding`) the hub VPC to centralize resolution of their DNS names.

If the VPC specified by the identifier in the URL is not a DNS hub VPC, then there is at most one binding (to a hub VPC). The endpoint gateways in the VPC specified by the identifier in the URL can allow (using `allow_dns_resolution_binding`) its hub VPC to centralize resolution of their DNS names.

To make use of centralized DNS resolution, a VPC bound to a DNS hub VPC must delegate DNS resolution to its hub VPC by setting `dns.resolver.type` to `delegate`.

The bindings will be sorted by their `created_at` property values, with newest bindings first. Bindings with identical `created_at` property values will in turn be sorted by ascending `name` property values.

func (*VpcV1) ListVPCDnsResolutionBindingsWithContext added in v0.43.0

func (vpc *VpcV1) ListVPCDnsResolutionBindingsWithContext(ctx context.Context, listVPCDnsResolutionBindingsOptions *ListVPCDnsResolutionBindingsOptions) (result *VpcdnsResolutionBindingCollection, response *core.DetailedResponse, err error)

ListVPCDnsResolutionBindingsWithContext is an alternate form of the ListVPCDnsResolutionBindings method which supports a Context parameter

func (*VpcV1) ListVPCRoutes

func (vpc *VpcV1) ListVPCRoutes(listVPCRoutesOptions *ListVPCRoutesOptions) (result *RouteCollectionVPCContext, response *core.DetailedResponse, err error)

ListVPCRoutes : List all routes in a VPC's default routing table This request lists all routes in the VPC's default routing table. Each route is zone-specific and directs any packets matching its destination CIDR block to a `next_hop` IP address. The most specific route matching a packet's destination will be used. If multiple equally-specific routes exist, traffic will be distributed across them. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) ListVPCRoutesWithContext added in v0.4.2

func (vpc *VpcV1) ListVPCRoutesWithContext(ctx context.Context, listVPCRoutesOptions *ListVPCRoutesOptions) (result *RouteCollectionVPCContext, response *core.DetailedResponse, err error)

ListVPCRoutesWithContext is an alternate form of the ListVPCRoutes method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) ListVPCRoutingTableRoutes added in v0.3.0

func (vpc *VpcV1) ListVPCRoutingTableRoutes(listVPCRoutingTableRoutesOptions *ListVPCRoutingTableRoutesOptions) (result *RouteCollection, response *core.DetailedResponse, err error)

ListVPCRoutingTableRoutes : List all routes in a VPC routing table This request lists all routes in a VPC routing table. If subnets are associated with this routing table, delivery of packets sent on a subnet is performed according to the action of the most specific matching route in the table (provided the subnet and route are in the same zone). If multiple equally-specific routes exist, the route with the highest priority will be used. If two matching routes have the same destination and priority, traffic will be distributed between them. If no routes match, delivery will be controlled by the system's built-in routes.

func (*VpcV1) ListVPCRoutingTableRoutesWithContext added in v0.4.2

func (vpc *VpcV1) ListVPCRoutingTableRoutesWithContext(ctx context.Context, listVPCRoutingTableRoutesOptions *ListVPCRoutingTableRoutesOptions) (result *RouteCollection, response *core.DetailedResponse, err error)

ListVPCRoutingTableRoutesWithContext is an alternate form of the ListVPCRoutingTableRoutes method which supports a Context parameter

func (*VpcV1) ListVPCRoutingTables added in v0.3.0

func (vpc *VpcV1) ListVPCRoutingTables(listVPCRoutingTablesOptions *ListVPCRoutingTablesOptions) (result *RoutingTableCollection, response *core.DetailedResponse, err error)

ListVPCRoutingTables : List all routing tables for a VPC This request lists all routing tables for a VPC. Each subnet in a VPC is associated with a routing table, which controls delivery of packets sent on that subnet according to the action of the most specific matching route in the table. If multiple equally-specific routes exist, traffic will be distributed across them. If no routes match, delivery will be controlled by the system's built-in routes.

func (*VpcV1) ListVPCRoutingTablesWithContext added in v0.4.2

func (vpc *VpcV1) ListVPCRoutingTablesWithContext(ctx context.Context, listVPCRoutingTablesOptions *ListVPCRoutingTablesOptions) (result *RoutingTableCollection, response *core.DetailedResponse, err error)

ListVPCRoutingTablesWithContext is an alternate form of the ListVPCRoutingTables method which supports a Context parameter

func (*VpcV1) ListVPNGatewayConnections

func (vpc *VpcV1) ListVPNGatewayConnections(listVPNGatewayConnectionsOptions *ListVPNGatewayConnectionsOptions) (result *VPNGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListVPNGatewayConnections : List all connections of a VPN gateway This request lists all connections of a VPN gateway.

func (*VpcV1) ListVPNGatewayConnectionsLocalCIDRs added in v0.51.0

func (vpc *VpcV1) ListVPNGatewayConnectionsLocalCIDRs(listVPNGatewayConnectionsLocalCIDRsOptions *ListVPNGatewayConnectionsLocalCIDRsOptions) (result *VPNGatewayConnectionCIDRs, response *core.DetailedResponse, err error)

ListVPNGatewayConnectionsLocalCIDRs : List all local CIDRs for a VPN gateway connection This request lists all local CIDRs for a VPN gateway connection.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) ListVPNGatewayConnectionsLocalCIDRsWithContext added in v0.51.0

func (vpc *VpcV1) ListVPNGatewayConnectionsLocalCIDRsWithContext(ctx context.Context, listVPNGatewayConnectionsLocalCIDRsOptions *ListVPNGatewayConnectionsLocalCIDRsOptions) (result *VPNGatewayConnectionCIDRs, response *core.DetailedResponse, err error)

ListVPNGatewayConnectionsLocalCIDRsWithContext is an alternate form of the ListVPNGatewayConnectionsLocalCIDRs method which supports a Context parameter

func (*VpcV1) ListVPNGatewayConnectionsPeerCIDRs added in v0.51.0

func (vpc *VpcV1) ListVPNGatewayConnectionsPeerCIDRs(listVPNGatewayConnectionsPeerCIDRsOptions *ListVPNGatewayConnectionsPeerCIDRsOptions) (result *VPNGatewayConnectionCIDRs, response *core.DetailedResponse, err error)

ListVPNGatewayConnectionsPeerCIDRs : List all peer CIDRs for a VPN gateway connection This request lists all peer CIDRs for a VPN gateway connection.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) ListVPNGatewayConnectionsPeerCIDRsWithContext added in v0.51.0

func (vpc *VpcV1) ListVPNGatewayConnectionsPeerCIDRsWithContext(ctx context.Context, listVPNGatewayConnectionsPeerCIDRsOptions *ListVPNGatewayConnectionsPeerCIDRsOptions) (result *VPNGatewayConnectionCIDRs, response *core.DetailedResponse, err error)

ListVPNGatewayConnectionsPeerCIDRsWithContext is an alternate form of the ListVPNGatewayConnectionsPeerCIDRs method which supports a Context parameter

func (*VpcV1) ListVPNGatewayConnectionsWithContext added in v0.4.2

func (vpc *VpcV1) ListVPNGatewayConnectionsWithContext(ctx context.Context, listVPNGatewayConnectionsOptions *ListVPNGatewayConnectionsOptions) (result *VPNGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListVPNGatewayConnectionsWithContext is an alternate form of the ListVPNGatewayConnections method which supports a Context parameter

func (*VpcV1) ListVPNGateways

func (vpc *VpcV1) ListVPNGateways(listVPNGatewaysOptions *ListVPNGatewaysOptions) (result *VPNGatewayCollection, response *core.DetailedResponse, err error)

ListVPNGateways : List all VPN gateways This request lists all VPN gateways in the region.

func (*VpcV1) ListVPNGatewaysWithContext added in v0.4.2

func (vpc *VpcV1) ListVPNGatewaysWithContext(ctx context.Context, listVPNGatewaysOptions *ListVPNGatewaysOptions) (result *VPNGatewayCollection, response *core.DetailedResponse, err error)

ListVPNGatewaysWithContext is an alternate form of the ListVPNGateways method which supports a Context parameter

func (*VpcV1) ListVPNServerClients added in v0.22.0

func (vpc *VpcV1) ListVPNServerClients(listVPNServerClientsOptions *ListVPNServerClientsOptions) (result *VPNServerClientCollection, response *core.DetailedResponse, err error)

ListVPNServerClients : List all VPN clients for a VPN server This request retrieves all connected VPN clients, and any disconnected VPN clients that the VPN server has not yet deleted based on its auto-deletion policy.

func (*VpcV1) ListVPNServerClientsWithContext added in v0.22.0

func (vpc *VpcV1) ListVPNServerClientsWithContext(ctx context.Context, listVPNServerClientsOptions *ListVPNServerClientsOptions) (result *VPNServerClientCollection, response *core.DetailedResponse, err error)

ListVPNServerClientsWithContext is an alternate form of the ListVPNServerClients method which supports a Context parameter

func (*VpcV1) ListVPNServerRoutes added in v0.22.0

func (vpc *VpcV1) ListVPNServerRoutes(listVPNServerRoutesOptions *ListVPNServerRoutesOptions) (result *VPNServerRouteCollection, response *core.DetailedResponse, err error)

ListVPNServerRoutes : List all VPN routes for a VPN server This request lists all VPN routes in a VPN server. All VPN routes are provided to the VPN client when the connection is established. Packets received from the VPN client will be dropped by the VPN server if there is no VPN route matching their specified destinations. All VPN routes must be unique within the VPN server.

func (*VpcV1) ListVPNServerRoutesWithContext added in v0.22.0

func (vpc *VpcV1) ListVPNServerRoutesWithContext(ctx context.Context, listVPNServerRoutesOptions *ListVPNServerRoutesOptions) (result *VPNServerRouteCollection, response *core.DetailedResponse, err error)

ListVPNServerRoutesWithContext is an alternate form of the ListVPNServerRoutes method which supports a Context parameter

func (*VpcV1) ListVPNServers added in v0.22.0

func (vpc *VpcV1) ListVPNServers(listVPNServersOptions *ListVPNServersOptions) (result *VPNServerCollection, response *core.DetailedResponse, err error)

ListVPNServers : List all VPN servers This request lists all VPN servers.

func (*VpcV1) ListVPNServersWithContext added in v0.22.0

func (vpc *VpcV1) ListVPNServersWithContext(ctx context.Context, listVPNServersOptions *ListVPNServersOptions) (result *VPNServerCollection, response *core.DetailedResponse, err error)

ListVPNServersWithContext is an alternate form of the ListVPNServers method which supports a Context parameter

func (*VpcV1) ListVirtualNetworkInterfaceIps added in v0.47.0

func (vpc *VpcV1) ListVirtualNetworkInterfaceIps(listVirtualNetworkInterfaceIpsOptions *ListVirtualNetworkInterfaceIpsOptions) (result *ReservedIPCollectionVirtualNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListVirtualNetworkInterfaceIps : List all reserved IPs bound to a virtual network interface This request lists all reserved IPs bound to a virtual network interface.

func (*VpcV1) ListVirtualNetworkInterfaceIpsWithContext added in v0.47.0

func (vpc *VpcV1) ListVirtualNetworkInterfaceIpsWithContext(ctx context.Context, listVirtualNetworkInterfaceIpsOptions *ListVirtualNetworkInterfaceIpsOptions) (result *ReservedIPCollectionVirtualNetworkInterfaceContext, response *core.DetailedResponse, err error)

ListVirtualNetworkInterfaceIpsWithContext is an alternate form of the ListVirtualNetworkInterfaceIps method which supports a Context parameter

func (*VpcV1) ListVirtualNetworkInterfaces added in v0.41.0

func (vpc *VpcV1) ListVirtualNetworkInterfaces(listVirtualNetworkInterfacesOptions *ListVirtualNetworkInterfacesOptions) (result *VirtualNetworkInterfaceCollection, response *core.DetailedResponse, err error)

ListVirtualNetworkInterfaces : List all virtual network interfaces This request lists all virtual network interfaces in the region. A virtual network interface is a logical abstraction of a virtual network interface in a subnet, and may be attached to a target resource.

The virtual network interfaces will be sorted by their `created_at` property values, with newest virtual network interfaces first. Virtual network interfaces with identical `created_at` property values will in turn be sorted by ascending `name` property values.

func (*VpcV1) ListVirtualNetworkInterfacesWithContext added in v0.41.0

func (vpc *VpcV1) ListVirtualNetworkInterfacesWithContext(ctx context.Context, listVirtualNetworkInterfacesOptions *ListVirtualNetworkInterfacesOptions) (result *VirtualNetworkInterfaceCollection, response *core.DetailedResponse, err error)

ListVirtualNetworkInterfacesWithContext is an alternate form of the ListVirtualNetworkInterfaces method which supports a Context parameter

func (*VpcV1) ListVolumeProfiles

func (vpc *VpcV1) ListVolumeProfiles(listVolumeProfilesOptions *ListVolumeProfilesOptions) (result *VolumeProfileCollection, response *core.DetailedResponse, err error)

ListVolumeProfiles : List all volume profiles This request lists all [volume profiles](https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles) available in the region. A volume profile specifies the performance characteristics and pricing model for a volume.

func (*VpcV1) ListVolumeProfilesWithContext added in v0.4.2

func (vpc *VpcV1) ListVolumeProfilesWithContext(ctx context.Context, listVolumeProfilesOptions *ListVolumeProfilesOptions) (result *VolumeProfileCollection, response *core.DetailedResponse, err error)

ListVolumeProfilesWithContext is an alternate form of the ListVolumeProfiles method which supports a Context parameter

func (*VpcV1) ListVolumes

func (vpc *VpcV1) ListVolumes(listVolumesOptions *ListVolumesOptions) (result *VolumeCollection, response *core.DetailedResponse, err error)

ListVolumes : List all volumes This request lists all volumes in the region. Volumes are network-connected block storage devices that may be attached to one or more instances in the same region.

func (*VpcV1) ListVolumesWithContext added in v0.4.2

func (vpc *VpcV1) ListVolumesWithContext(ctx context.Context, listVolumesOptions *ListVolumesOptions) (result *VolumeCollection, response *core.DetailedResponse, err error)

ListVolumesWithContext is an alternate form of the ListVolumes method which supports a Context parameter

func (*VpcV1) ListVpcs

func (vpc *VpcV1) ListVpcs(listVpcsOptions *ListVpcsOptions) (result *VPCCollection, response *core.DetailedResponse, err error)

ListVpcs : List all VPCs This request lists all VPCs in the region. A VPC is a virtual network that belongs to an account and provides logical isolation from other networks. A VPC is made up of resources in one or more zones. VPCs are regional, and each VPC can contain resources in multiple zones in a region.

func (*VpcV1) ListVpcsWithContext added in v0.4.2

func (vpc *VpcV1) ListVpcsWithContext(ctx context.Context, listVpcsOptions *ListVpcsOptions) (result *VPCCollection, response *core.DetailedResponse, err error)

ListVpcsWithContext is an alternate form of the ListVpcs method which supports a Context parameter

func (*VpcV1) NewActivateReservationOptions added in v0.48.0

func (*VpcV1) NewActivateReservationOptions(id string) *ActivateReservationOptions

NewActivateReservationOptions : Instantiate ActivateReservationOptions

func (*VpcV1) NewAddBareMetalServerNetworkInterfaceFloatingIPOptions added in v0.16.0

func (*VpcV1) NewAddBareMetalServerNetworkInterfaceFloatingIPOptions(bareMetalServerID string, networkInterfaceID string, id string) *AddBareMetalServerNetworkInterfaceFloatingIPOptions

NewAddBareMetalServerNetworkInterfaceFloatingIPOptions : Instantiate AddBareMetalServerNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewAddEndpointGatewayIPOptions added in v0.3.0

func (*VpcV1) NewAddEndpointGatewayIPOptions(endpointGatewayID string, id string) *AddEndpointGatewayIPOptions

NewAddEndpointGatewayIPOptions : Instantiate AddEndpointGatewayIPOptions

func (*VpcV1) NewAddInstanceNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewAddInstanceNetworkInterfaceFloatingIPOptions(instanceID string, networkInterfaceID string, id string) *AddInstanceNetworkInterfaceFloatingIPOptions

NewAddInstanceNetworkInterfaceFloatingIPOptions : Instantiate AddInstanceNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewAddNetworkInterfaceFloatingIPOptions added in v0.47.0

func (*VpcV1) NewAddNetworkInterfaceFloatingIPOptions(virtualNetworkInterfaceID string, id string) *AddNetworkInterfaceFloatingIPOptions

NewAddNetworkInterfaceFloatingIPOptions : Instantiate AddNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewAddVPNGatewayConnectionsLocalCIDROptions added in v0.51.0

func (*VpcV1) NewAddVPNGatewayConnectionsLocalCIDROptions(vpnGatewayID string, id string, cidr string) *AddVPNGatewayConnectionsLocalCIDROptions

NewAddVPNGatewayConnectionsLocalCIDROptions : Instantiate AddVPNGatewayConnectionsLocalCIDROptions

func (*VpcV1) NewAddVPNGatewayConnectionsPeerCIDROptions added in v0.51.0

func (*VpcV1) NewAddVPNGatewayConnectionsPeerCIDROptions(vpnGatewayID string, id string, cidr string) *AddVPNGatewayConnectionsPeerCIDROptions

NewAddVPNGatewayConnectionsPeerCIDROptions : Instantiate AddVPNGatewayConnectionsPeerCIDROptions

func (*VpcV1) NewAddVirtualNetworkInterfaceIPOptions added in v0.47.0

func (*VpcV1) NewAddVirtualNetworkInterfaceIPOptions(virtualNetworkInterfaceID string, id string) *AddVirtualNetworkInterfaceIPOptions

NewAddVirtualNetworkInterfaceIPOptions : Instantiate AddVirtualNetworkInterfaceIPOptions

func (*VpcV1) NewBackupPoliciesPager added in v0.25.0

func (vpc *VpcV1) NewBackupPoliciesPager(options *ListBackupPoliciesOptions) (pager *BackupPoliciesPager, err error)

NewBackupPoliciesPager returns a new BackupPoliciesPager instance.

func (*VpcV1) NewBackupPolicyJobsPager added in v0.29.0

func (vpc *VpcV1) NewBackupPolicyJobsPager(options *ListBackupPolicyJobsOptions) (pager *BackupPolicyJobsPager, err error)

NewBackupPolicyJobsPager returns a new BackupPolicyJobsPager instance.

func (*VpcV1) NewBackupPolicyPlanClonePolicyPrototype added in v0.31.0

func (*VpcV1) NewBackupPolicyPlanClonePolicyPrototype(zones []ZoneIdentityIntf) (_model *BackupPolicyPlanClonePolicyPrototype, err error)

NewBackupPolicyPlanClonePolicyPrototype : Instantiate BackupPolicyPlanClonePolicyPrototype (Generic Model Constructor)

func (*VpcV1) NewBackupPolicyPlanPrototype added in v0.21.0

func (*VpcV1) NewBackupPolicyPlanPrototype(cronSpec string) (_model *BackupPolicyPlanPrototype, err error)

NewBackupPolicyPlanPrototype : Instantiate BackupPolicyPlanPrototype (Generic Model Constructor)

func (*VpcV1) NewBackupPolicyPlanRemoteRegionPolicyPrototype added in v0.39.0

func (*VpcV1) NewBackupPolicyPlanRemoteRegionPolicyPrototype(region RegionIdentityIntf) (_model *BackupPolicyPlanRemoteRegionPolicyPrototype, err error)

NewBackupPolicyPlanRemoteRegionPolicyPrototype : Instantiate BackupPolicyPlanRemoteRegionPolicyPrototype (Generic Model Constructor)

func (*VpcV1) NewBackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype added in v0.45.0

func (*VpcV1) NewBackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype(matchUserTags []string, matchResourceType string) (_model *BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype, err error)

NewBackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype : Instantiate BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype (Generic Model Constructor)

func (*VpcV1) NewBackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype added in v0.45.0

func (*VpcV1) NewBackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype(matchUserTags []string, matchResourceType string) (_model *BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype, err error)

NewBackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype : Instantiate BackupPolicyPrototypeBackupPolicyMatchResourceTypeVolumePrototype (Generic Model Constructor)

func (*VpcV1) NewBackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN added in v0.43.0

func (*VpcV1) NewBackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN(crn string) (_model *BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN, err error)

NewBackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN : Instantiate BackupPolicyScopePrototypeEnterpriseIdentityEnterpriseIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerInitializationPrototype added in v0.16.0

func (*VpcV1) NewBareMetalServerInitializationPrototype(image ImageIdentityIntf, keys []KeyIdentityIntf) (_model *BareMetalServerInitializationPrototype, err error)

NewBareMetalServerInitializationPrototype : Instantiate BareMetalServerInitializationPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype added in v0.47.0

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype(virtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf, interfaceType string) (_model *BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype, err error)

NewBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype : Instantiate BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByPciPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype added in v0.47.0

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype(virtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf, interfaceType string, vlan int64) (_model *BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype, err error)

NewBareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype : Instantiate BareMetalServerNetworkAttachmentPrototypeBareMetalServerNetworkAttachmentByVlanPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewBareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkAttachmentsPager added in v0.47.0

func (vpc *VpcV1) NewBareMetalServerNetworkAttachmentsPager(options *ListBareMetalServerNetworkAttachmentsOptions) (pager *BareMetalServerNetworkAttachmentsPager, err error)

NewBareMetalServerNetworkAttachmentsPager returns a new BareMetalServerNetworkAttachmentsPager instance.

func (*VpcV1) NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype added in v0.26.0

func (*VpcV1) NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype(subnet SubnetIdentityIntf, interfaceType string) (_model *BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype, err error)

NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype : Instantiate BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByHiperSocketPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype added in v0.16.0

func (*VpcV1) NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype(subnet SubnetIdentityIntf, interfaceType string) (_model *BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype, err error)

NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype : Instantiate BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByPciPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype added in v0.16.0

func (*VpcV1) NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype(subnet SubnetIdentityIntf, interfaceType string, vlan int64) (_model *BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype, err error)

NewBareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype : Instantiate BareMetalServerNetworkInterfacePrototypeBareMetalServerNetworkInterfaceByVlanPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerNetworkInterfacesPager added in v0.25.0

func (vpc *VpcV1) NewBareMetalServerNetworkInterfacesPager(options *ListBareMetalServerNetworkInterfacesOptions) (pager *BareMetalServerNetworkInterfacesPager, err error)

NewBareMetalServerNetworkInterfacesPager returns a new BareMetalServerNetworkInterfacesPager instance.

func (*VpcV1) NewBareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype added in v0.47.0

func (*VpcV1) NewBareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype(virtualNetworkInterface BareMetalServerNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf) (_model *BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype, err error)

NewBareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype : Instantiate BareMetalServerPrimaryNetworkAttachmentPrototypeBareMetalServerPrimaryNetworkAttachmentByPciPrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerPrimaryNetworkInterfacePrototype added in v0.16.0

func (*VpcV1) NewBareMetalServerPrimaryNetworkInterfacePrototype(subnet SubnetIdentityIntf) (_model *BareMetalServerPrimaryNetworkInterfacePrototype, err error)

NewBareMetalServerPrimaryNetworkInterfacePrototype : Instantiate BareMetalServerPrimaryNetworkInterfacePrototype (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerProfileIdentityByHref added in v0.16.0

func (*VpcV1) NewBareMetalServerProfileIdentityByHref(href string) (_model *BareMetalServerProfileIdentityByHref, err error)

NewBareMetalServerProfileIdentityByHref : Instantiate BareMetalServerProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerProfileIdentityByName added in v0.16.0

func (*VpcV1) NewBareMetalServerProfileIdentityByName(name string) (_model *BareMetalServerProfileIdentityByName, err error)

NewBareMetalServerProfileIdentityByName : Instantiate BareMetalServerProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerProfilesPager added in v0.25.0

func (vpc *VpcV1) NewBareMetalServerProfilesPager(options *ListBareMetalServerProfilesOptions) (pager *BareMetalServerProfilesPager, err error)

NewBareMetalServerProfilesPager returns a new BareMetalServerProfilesPager instance.

func (*VpcV1) NewBareMetalServerPrototypeBareMetalServerByNetworkAttachment added in v0.47.0

func (*VpcV1) NewBareMetalServerPrototypeBareMetalServerByNetworkAttachment(initialization *BareMetalServerInitializationPrototype, profile BareMetalServerProfileIdentityIntf, zone ZoneIdentityIntf, primaryNetworkAttachment BareMetalServerPrimaryNetworkAttachmentPrototypeIntf) (_model *BareMetalServerPrototypeBareMetalServerByNetworkAttachment, err error)

NewBareMetalServerPrototypeBareMetalServerByNetworkAttachment : Instantiate BareMetalServerPrototypeBareMetalServerByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewBareMetalServerPrototypeBareMetalServerByNetworkInterface added in v0.47.0

func (*VpcV1) NewBareMetalServerPrototypeBareMetalServerByNetworkInterface(initialization *BareMetalServerInitializationPrototype, profile BareMetalServerProfileIdentityIntf, zone ZoneIdentityIntf, primaryNetworkInterface *BareMetalServerPrimaryNetworkInterfacePrototype) (_model *BareMetalServerPrototypeBareMetalServerByNetworkInterface, err error)

NewBareMetalServerPrototypeBareMetalServerByNetworkInterface : Instantiate BareMetalServerPrototypeBareMetalServerByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewBareMetalServersPager added in v0.25.0

func (vpc *VpcV1) NewBareMetalServersPager(options *ListBareMetalServersOptions) (pager *BareMetalServersPager, err error)

NewBareMetalServersPager returns a new BareMetalServersPager instance.

func (*VpcV1) NewCatalogOfferingIdentityCatalogOfferingByCRN added in v0.26.0

func (*VpcV1) NewCatalogOfferingIdentityCatalogOfferingByCRN(crn string) (_model *CatalogOfferingIdentityCatalogOfferingByCRN, err error)

NewCatalogOfferingIdentityCatalogOfferingByCRN : Instantiate CatalogOfferingIdentityCatalogOfferingByCRN (Generic Model Constructor)

func (*VpcV1) NewCatalogOfferingVersionIdentityCatalogOfferingVersionByCRN added in v0.26.0

func (*VpcV1) NewCatalogOfferingVersionIdentityCatalogOfferingVersionByCRN(crn string) (_model *CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN, err error)

NewCatalogOfferingVersionIdentityCatalogOfferingVersionByCRN : Instantiate CatalogOfferingVersionIdentityCatalogOfferingVersionByCRN (Generic Model Constructor)

func (*VpcV1) NewCertificateInstanceIdentityByCRN

func (*VpcV1) NewCertificateInstanceIdentityByCRN(crn string) (_model *CertificateInstanceIdentityByCRN, err error)

NewCertificateInstanceIdentityByCRN : Instantiate CertificateInstanceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewCheckVPNGatewayConnectionsLocalCIDROptions added in v0.51.0

func (*VpcV1) NewCheckVPNGatewayConnectionsLocalCIDROptions(vpnGatewayID string, id string, cidr string) *CheckVPNGatewayConnectionsLocalCIDROptions

NewCheckVPNGatewayConnectionsLocalCIDROptions : Instantiate CheckVPNGatewayConnectionsLocalCIDROptions

func (*VpcV1) NewCheckVPNGatewayConnectionsPeerCIDROptions added in v0.51.0

func (*VpcV1) NewCheckVPNGatewayConnectionsPeerCIDROptions(vpnGatewayID string, id string, cidr string) *CheckVPNGatewayConnectionsPeerCIDROptions

NewCheckVPNGatewayConnectionsPeerCIDROptions : Instantiate CheckVPNGatewayConnectionsPeerCIDROptions

func (*VpcV1) NewCloudObjectStorageBucketIdentityByCRN added in v0.37.0

func (*VpcV1) NewCloudObjectStorageBucketIdentityByCRN(crn string) (_model *CloudObjectStorageBucketIdentityByCRN, err error)

NewCloudObjectStorageBucketIdentityByCRN : Instantiate CloudObjectStorageBucketIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName added in v0.37.0

func (*VpcV1) NewCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName(name string) (_model *CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName, err error)

NewCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName : Instantiate CloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName (Generic Model Constructor)

func (*VpcV1) NewCreateBackupPolicyOptions added in v0.21.0

func (*VpcV1) NewCreateBackupPolicyOptions(backupPolicyPrototype BackupPolicyPrototypeIntf) *CreateBackupPolicyOptions

NewCreateBackupPolicyOptions : Instantiate CreateBackupPolicyOptions

func (*VpcV1) NewCreateBackupPolicyPlanOptions added in v0.21.0

func (*VpcV1) NewCreateBackupPolicyPlanOptions(backupPolicyID string, cronSpec string) *CreateBackupPolicyPlanOptions

NewCreateBackupPolicyPlanOptions : Instantiate CreateBackupPolicyPlanOptions

func (*VpcV1) NewCreateBareMetalServerConsoleAccessTokenOptions added in v0.16.0

func (*VpcV1) NewCreateBareMetalServerConsoleAccessTokenOptions(bareMetalServerID string, consoleType string) *CreateBareMetalServerConsoleAccessTokenOptions

NewCreateBareMetalServerConsoleAccessTokenOptions : Instantiate CreateBareMetalServerConsoleAccessTokenOptions

func (*VpcV1) NewCreateBareMetalServerNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewCreateBareMetalServerNetworkAttachmentOptions(bareMetalServerID string, bareMetalServerNetworkAttachmentPrototype BareMetalServerNetworkAttachmentPrototypeIntf) *CreateBareMetalServerNetworkAttachmentOptions

NewCreateBareMetalServerNetworkAttachmentOptions : Instantiate CreateBareMetalServerNetworkAttachmentOptions

func (*VpcV1) NewCreateBareMetalServerNetworkInterfaceOptions added in v0.16.0

func (*VpcV1) NewCreateBareMetalServerNetworkInterfaceOptions(bareMetalServerID string, bareMetalServerNetworkInterfacePrototype BareMetalServerNetworkInterfacePrototypeIntf) *CreateBareMetalServerNetworkInterfaceOptions

NewCreateBareMetalServerNetworkInterfaceOptions : Instantiate CreateBareMetalServerNetworkInterfaceOptions

func (*VpcV1) NewCreateBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewCreateBareMetalServerOptions(bareMetalServerPrototype BareMetalServerPrototypeIntf) *CreateBareMetalServerOptions

NewCreateBareMetalServerOptions : Instantiate CreateBareMetalServerOptions

func (*VpcV1) NewCreateDedicatedHostGroupOptions added in v0.4.0

func (*VpcV1) NewCreateDedicatedHostGroupOptions(class string, family string, zone ZoneIdentityIntf) *CreateDedicatedHostGroupOptions

NewCreateDedicatedHostGroupOptions : Instantiate CreateDedicatedHostGroupOptions

func (*VpcV1) NewCreateDedicatedHostOptions added in v0.4.0

func (*VpcV1) NewCreateDedicatedHostOptions(dedicatedHostPrototype DedicatedHostPrototypeIntf) *CreateDedicatedHostOptions

NewCreateDedicatedHostOptions : Instantiate CreateDedicatedHostOptions

func (*VpcV1) NewCreateEndpointGatewayOptions added in v0.3.0

func (*VpcV1) NewCreateEndpointGatewayOptions(target EndpointGatewayTargetPrototypeIntf, vpc VPCIdentityIntf) *CreateEndpointGatewayOptions

NewCreateEndpointGatewayOptions : Instantiate CreateEndpointGatewayOptions

func (*VpcV1) NewCreateFloatingIPOptions

func (*VpcV1) NewCreateFloatingIPOptions(floatingIPPrototype FloatingIPPrototypeIntf) *CreateFloatingIPOptions

NewCreateFloatingIPOptions : Instantiate CreateFloatingIPOptions

func (*VpcV1) NewCreateFlowLogCollectorOptions

NewCreateFlowLogCollectorOptions : Instantiate CreateFlowLogCollectorOptions

func (*VpcV1) NewCreateIkePolicyOptions

func (*VpcV1) NewCreateIkePolicyOptions(authenticationAlgorithm string, dhGroup int64, encryptionAlgorithm string, ikeVersion int64) *CreateIkePolicyOptions

NewCreateIkePolicyOptions : Instantiate CreateIkePolicyOptions

func (*VpcV1) NewCreateImageExportJobOptions added in v0.37.0

func (*VpcV1) NewCreateImageExportJobOptions(imageID string, storageBucket CloudObjectStorageBucketIdentityIntf) *CreateImageExportJobOptions

NewCreateImageExportJobOptions : Instantiate CreateImageExportJobOptions

func (*VpcV1) NewCreateImageOptions

func (*VpcV1) NewCreateImageOptions(imagePrototype ImagePrototypeIntf) *CreateImageOptions

NewCreateImageOptions : Instantiate CreateImageOptions

func (*VpcV1) NewCreateInstanceActionOptions

func (*VpcV1) NewCreateInstanceActionOptions(instanceID string, typeVar string) *CreateInstanceActionOptions

NewCreateInstanceActionOptions : Instantiate CreateInstanceActionOptions

func (*VpcV1) NewCreateInstanceConsoleAccessTokenOptions added in v0.5.0

func (*VpcV1) NewCreateInstanceConsoleAccessTokenOptions(instanceID string, consoleType string) *CreateInstanceConsoleAccessTokenOptions

NewCreateInstanceConsoleAccessTokenOptions : Instantiate CreateInstanceConsoleAccessTokenOptions

func (*VpcV1) NewCreateInstanceGroupManagerActionOptions added in v0.6.0

func (*VpcV1) NewCreateInstanceGroupManagerActionOptions(instanceGroupID string, instanceGroupManagerID string, instanceGroupManagerActionPrototype InstanceGroupManagerActionPrototypeIntf) *CreateInstanceGroupManagerActionOptions

NewCreateInstanceGroupManagerActionOptions : Instantiate CreateInstanceGroupManagerActionOptions

func (*VpcV1) NewCreateInstanceGroupManagerOptions added in v0.1.0

func (*VpcV1) NewCreateInstanceGroupManagerOptions(instanceGroupID string, instanceGroupManagerPrototype InstanceGroupManagerPrototypeIntf) *CreateInstanceGroupManagerOptions

NewCreateInstanceGroupManagerOptions : Instantiate CreateInstanceGroupManagerOptions

func (*VpcV1) NewCreateInstanceGroupManagerPolicyOptions added in v0.1.0

func (*VpcV1) NewCreateInstanceGroupManagerPolicyOptions(instanceGroupID string, instanceGroupManagerID string, instanceGroupManagerPolicyPrototype InstanceGroupManagerPolicyPrototypeIntf) *CreateInstanceGroupManagerPolicyOptions

NewCreateInstanceGroupManagerPolicyOptions : Instantiate CreateInstanceGroupManagerPolicyOptions

func (*VpcV1) NewCreateInstanceGroupOptions added in v0.1.0

func (*VpcV1) NewCreateInstanceGroupOptions(instanceTemplate InstanceTemplateIdentityIntf, subnets []SubnetIdentityIntf) *CreateInstanceGroupOptions

NewCreateInstanceGroupOptions : Instantiate CreateInstanceGroupOptions

func (*VpcV1) NewCreateInstanceNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewCreateInstanceNetworkAttachmentOptions(instanceID string, virtualNetworkInterface InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf) *CreateInstanceNetworkAttachmentOptions

NewCreateInstanceNetworkAttachmentOptions : Instantiate CreateInstanceNetworkAttachmentOptions

func (*VpcV1) NewCreateInstanceNetworkInterfaceOptions

func (*VpcV1) NewCreateInstanceNetworkInterfaceOptions(instanceID string, subnet SubnetIdentityIntf) *CreateInstanceNetworkInterfaceOptions

NewCreateInstanceNetworkInterfaceOptions : Instantiate CreateInstanceNetworkInterfaceOptions

func (*VpcV1) NewCreateInstanceOptions

func (*VpcV1) NewCreateInstanceOptions(instancePrototype InstancePrototypeIntf) *CreateInstanceOptions

NewCreateInstanceOptions : Instantiate CreateInstanceOptions

func (*VpcV1) NewCreateInstanceTemplateOptions added in v0.1.0

func (*VpcV1) NewCreateInstanceTemplateOptions(instanceTemplatePrototype InstanceTemplatePrototypeIntf) *CreateInstanceTemplateOptions

NewCreateInstanceTemplateOptions : Instantiate CreateInstanceTemplateOptions

func (*VpcV1) NewCreateInstanceVolumeAttachmentOptions

func (*VpcV1) NewCreateInstanceVolumeAttachmentOptions(instanceID string, volume VolumeAttachmentPrototypeVolumeIntf) *CreateInstanceVolumeAttachmentOptions

NewCreateInstanceVolumeAttachmentOptions : Instantiate CreateInstanceVolumeAttachmentOptions

func (*VpcV1) NewCreateIpsecPolicyOptions

func (*VpcV1) NewCreateIpsecPolicyOptions(authenticationAlgorithm string, encryptionAlgorithm string, pfs string) *CreateIpsecPolicyOptions

NewCreateIpsecPolicyOptions : Instantiate CreateIpsecPolicyOptions

func (*VpcV1) NewCreateKeyOptions

func (*VpcV1) NewCreateKeyOptions(publicKey string) *CreateKeyOptions

NewCreateKeyOptions : Instantiate CreateKeyOptions

func (*VpcV1) NewCreateLoadBalancerListenerOptions

func (*VpcV1) NewCreateLoadBalancerListenerOptions(loadBalancerID string, protocol string) *CreateLoadBalancerListenerOptions

NewCreateLoadBalancerListenerOptions : Instantiate CreateLoadBalancerListenerOptions

func (*VpcV1) NewCreateLoadBalancerListenerPolicyOptions

func (*VpcV1) NewCreateLoadBalancerListenerPolicyOptions(loadBalancerID string, listenerID string, action string, priority int64) *CreateLoadBalancerListenerPolicyOptions

NewCreateLoadBalancerListenerPolicyOptions : Instantiate CreateLoadBalancerListenerPolicyOptions

func (*VpcV1) NewCreateLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewCreateLoadBalancerListenerPolicyRuleOptions(loadBalancerID string, listenerID string, policyID string, condition string, typeVar string, value string) *CreateLoadBalancerListenerPolicyRuleOptions

NewCreateLoadBalancerListenerPolicyRuleOptions : Instantiate CreateLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewCreateLoadBalancerOptions

func (*VpcV1) NewCreateLoadBalancerOptions(isPublic bool, subnets []SubnetIdentityIntf) *CreateLoadBalancerOptions

NewCreateLoadBalancerOptions : Instantiate CreateLoadBalancerOptions

func (*VpcV1) NewCreateLoadBalancerPoolMemberOptions

func (*VpcV1) NewCreateLoadBalancerPoolMemberOptions(loadBalancerID string, poolID string, port int64, target LoadBalancerPoolMemberTargetPrototypeIntf) *CreateLoadBalancerPoolMemberOptions

NewCreateLoadBalancerPoolMemberOptions : Instantiate CreateLoadBalancerPoolMemberOptions

func (*VpcV1) NewCreateLoadBalancerPoolOptions

func (*VpcV1) NewCreateLoadBalancerPoolOptions(loadBalancerID string, algorithm string, healthMonitor *LoadBalancerPoolHealthMonitorPrototype, protocol string) *CreateLoadBalancerPoolOptions

NewCreateLoadBalancerPoolOptions : Instantiate CreateLoadBalancerPoolOptions

func (*VpcV1) NewCreateNetworkACLOptions

func (*VpcV1) NewCreateNetworkACLOptions(networkACLPrototype NetworkACLPrototypeIntf) *CreateNetworkACLOptions

NewCreateNetworkACLOptions : Instantiate CreateNetworkACLOptions

func (*VpcV1) NewCreateNetworkACLRuleOptions

func (*VpcV1) NewCreateNetworkACLRuleOptions(networkACLID string, networkACLRulePrototype NetworkACLRulePrototypeIntf) *CreateNetworkACLRuleOptions

NewCreateNetworkACLRuleOptions : Instantiate CreateNetworkACLRuleOptions

func (*VpcV1) NewCreatePlacementGroupOptions added in v0.9.0

func (*VpcV1) NewCreatePlacementGroupOptions(strategy string) *CreatePlacementGroupOptions

NewCreatePlacementGroupOptions : Instantiate CreatePlacementGroupOptions

func (*VpcV1) NewCreatePublicGatewayOptions

func (*VpcV1) NewCreatePublicGatewayOptions(vpc VPCIdentityIntf, zone ZoneIdentityIntf) *CreatePublicGatewayOptions

NewCreatePublicGatewayOptions : Instantiate CreatePublicGatewayOptions

func (*VpcV1) NewCreateReservationOptions added in v0.48.0

NewCreateReservationOptions : Instantiate CreateReservationOptions

func (*VpcV1) NewCreateSecurityGroupOptions

func (*VpcV1) NewCreateSecurityGroupOptions(vpc VPCIdentityIntf) *CreateSecurityGroupOptions

NewCreateSecurityGroupOptions : Instantiate CreateSecurityGroupOptions

func (*VpcV1) NewCreateSecurityGroupRuleOptions

func (*VpcV1) NewCreateSecurityGroupRuleOptions(securityGroupID string, securityGroupRulePrototype SecurityGroupRulePrototypeIntf) *CreateSecurityGroupRuleOptions

NewCreateSecurityGroupRuleOptions : Instantiate CreateSecurityGroupRuleOptions

func (*VpcV1) NewCreateSecurityGroupTargetBindingOptions added in v0.5.0

func (*VpcV1) NewCreateSecurityGroupTargetBindingOptions(securityGroupID string, id string) *CreateSecurityGroupTargetBindingOptions

NewCreateSecurityGroupTargetBindingOptions : Instantiate CreateSecurityGroupTargetBindingOptions

func (*VpcV1) NewCreateShareMountTargetOptions added in v0.41.0

func (*VpcV1) NewCreateShareMountTargetOptions(shareID string, shareMountTargetPrototype ShareMountTargetPrototypeIntf) *CreateShareMountTargetOptions

NewCreateShareMountTargetOptions : Instantiate CreateShareMountTargetOptions

func (*VpcV1) NewCreateShareOptions added in v0.41.0

func (*VpcV1) NewCreateShareOptions(sharePrototype SharePrototypeIntf) *CreateShareOptions

NewCreateShareOptions : Instantiate CreateShareOptions

func (*VpcV1) NewCreateSnapshotCloneOptions added in v0.31.0

func (*VpcV1) NewCreateSnapshotCloneOptions(id string, zoneName string) *CreateSnapshotCloneOptions

NewCreateSnapshotCloneOptions : Instantiate CreateSnapshotCloneOptions

func (*VpcV1) NewCreateSnapshotConsistencyGroupOptions added in v0.45.0

func (*VpcV1) NewCreateSnapshotConsistencyGroupOptions(snapshotConsistencyGroupPrototype SnapshotConsistencyGroupPrototypeIntf) *CreateSnapshotConsistencyGroupOptions

NewCreateSnapshotConsistencyGroupOptions : Instantiate CreateSnapshotConsistencyGroupOptions

func (*VpcV1) NewCreateSnapshotOptions added in v0.7.0

func (*VpcV1) NewCreateSnapshotOptions(snapshotPrototype SnapshotPrototypeIntf) *CreateSnapshotOptions

NewCreateSnapshotOptions : Instantiate CreateSnapshotOptions

func (*VpcV1) NewCreateSubnetOptions

func (*VpcV1) NewCreateSubnetOptions(subnetPrototype SubnetPrototypeIntf) *CreateSubnetOptions

NewCreateSubnetOptions : Instantiate CreateSubnetOptions

func (*VpcV1) NewCreateSubnetReservedIPOptions added in v0.3.0

func (*VpcV1) NewCreateSubnetReservedIPOptions(subnetID string) *CreateSubnetReservedIPOptions

NewCreateSubnetReservedIPOptions : Instantiate CreateSubnetReservedIPOptions

func (*VpcV1) NewCreateVPCAddressPrefixOptions

func (*VpcV1) NewCreateVPCAddressPrefixOptions(vpcID string, cidr string, zone ZoneIdentityIntf) *CreateVPCAddressPrefixOptions

NewCreateVPCAddressPrefixOptions : Instantiate CreateVPCAddressPrefixOptions

func (*VpcV1) NewCreateVPCDnsResolutionBindingOptions added in v0.43.0

func (*VpcV1) NewCreateVPCDnsResolutionBindingOptions(vpcID string, vpc VPCIdentityIntf) *CreateVPCDnsResolutionBindingOptions

NewCreateVPCDnsResolutionBindingOptions : Instantiate CreateVPCDnsResolutionBindingOptions

func (*VpcV1) NewCreateVPCOptions

func (*VpcV1) NewCreateVPCOptions() *CreateVPCOptions

NewCreateVPCOptions : Instantiate CreateVPCOptions

func (*VpcV1) NewCreateVPCRouteOptions

func (*VpcV1) NewCreateVPCRouteOptions(vpcID string, destination string, zone ZoneIdentityIntf) *CreateVPCRouteOptions

NewCreateVPCRouteOptions : Instantiate CreateVPCRouteOptions

func (*VpcV1) NewCreateVPCRoutingTableOptions added in v0.3.0

func (*VpcV1) NewCreateVPCRoutingTableOptions(vpcID string) *CreateVPCRoutingTableOptions

NewCreateVPCRoutingTableOptions : Instantiate CreateVPCRoutingTableOptions

func (*VpcV1) NewCreateVPCRoutingTableRouteOptions added in v0.3.0

func (*VpcV1) NewCreateVPCRoutingTableRouteOptions(vpcID string, routingTableID string, destination string, zone ZoneIdentityIntf) *CreateVPCRoutingTableRouteOptions

NewCreateVPCRoutingTableRouteOptions : Instantiate CreateVPCRoutingTableRouteOptions

func (*VpcV1) NewCreateVPNGatewayConnectionOptions

func (*VpcV1) NewCreateVPNGatewayConnectionOptions(vpnGatewayID string, vpnGatewayConnectionPrototype VPNGatewayConnectionPrototypeIntf) *CreateVPNGatewayConnectionOptions

NewCreateVPNGatewayConnectionOptions : Instantiate CreateVPNGatewayConnectionOptions

func (*VpcV1) NewCreateVPNGatewayOptions

func (*VpcV1) NewCreateVPNGatewayOptions(vpnGatewayPrototype VPNGatewayPrototypeIntf) *CreateVPNGatewayOptions

NewCreateVPNGatewayOptions : Instantiate CreateVPNGatewayOptions

func (*VpcV1) NewCreateVPNServerOptions added in v0.22.0

func (*VpcV1) NewCreateVPNServerOptions(certificate CertificateInstanceIdentityIntf, clientAuthentication []VPNServerAuthenticationPrototypeIntf, clientIPPool string, subnets []SubnetIdentityIntf) *CreateVPNServerOptions

NewCreateVPNServerOptions : Instantiate CreateVPNServerOptions

func (*VpcV1) NewCreateVPNServerRouteOptions added in v0.22.0

func (*VpcV1) NewCreateVPNServerRouteOptions(vpnServerID string, destination string) *CreateVPNServerRouteOptions

NewCreateVPNServerRouteOptions : Instantiate CreateVPNServerRouteOptions

func (*VpcV1) NewCreateVirtualNetworkInterfaceOptions added in v0.47.0

func (*VpcV1) NewCreateVirtualNetworkInterfaceOptions() *CreateVirtualNetworkInterfaceOptions

NewCreateVirtualNetworkInterfaceOptions : Instantiate CreateVirtualNetworkInterfaceOptions

func (*VpcV1) NewCreateVolumeOptions

func (*VpcV1) NewCreateVolumeOptions(volumePrototype VolumePrototypeIntf) *CreateVolumeOptions

NewCreateVolumeOptions : Instantiate CreateVolumeOptions

func (*VpcV1) NewDedicatedHostGroupIdentityByCRN added in v0.4.0

func (*VpcV1) NewDedicatedHostGroupIdentityByCRN(crn string) (_model *DedicatedHostGroupIdentityByCRN, err error)

NewDedicatedHostGroupIdentityByCRN : Instantiate DedicatedHostGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostGroupIdentityByHref added in v0.4.0

func (*VpcV1) NewDedicatedHostGroupIdentityByHref(href string) (_model *DedicatedHostGroupIdentityByHref, err error)

NewDedicatedHostGroupIdentityByHref : Instantiate DedicatedHostGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostGroupIdentityByID added in v0.4.0

func (*VpcV1) NewDedicatedHostGroupIdentityByID(id string) (_model *DedicatedHostGroupIdentityByID, err error)

NewDedicatedHostGroupIdentityByID : Instantiate DedicatedHostGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostGroupsPager added in v0.25.0

func (vpc *VpcV1) NewDedicatedHostGroupsPager(options *ListDedicatedHostGroupsOptions) (pager *DedicatedHostGroupsPager, err error)

NewDedicatedHostGroupsPager returns a new DedicatedHostGroupsPager instance.

func (*VpcV1) NewDedicatedHostProfileIdentityByHref added in v0.4.0

func (*VpcV1) NewDedicatedHostProfileIdentityByHref(href string) (_model *DedicatedHostProfileIdentityByHref, err error)

NewDedicatedHostProfileIdentityByHref : Instantiate DedicatedHostProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostProfileIdentityByName added in v0.4.0

func (*VpcV1) NewDedicatedHostProfileIdentityByName(name string) (_model *DedicatedHostProfileIdentityByName, err error)

NewDedicatedHostProfileIdentityByName : Instantiate DedicatedHostProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostProfilesPager added in v0.25.0

func (vpc *VpcV1) NewDedicatedHostProfilesPager(options *ListDedicatedHostProfilesOptions) (pager *DedicatedHostProfilesPager, err error)

NewDedicatedHostProfilesPager returns a new DedicatedHostProfilesPager instance.

func (*VpcV1) NewDedicatedHostPrototypeDedicatedHostByGroup added in v0.4.0

func (*VpcV1) NewDedicatedHostPrototypeDedicatedHostByGroup(profile DedicatedHostProfileIdentityIntf, group DedicatedHostGroupIdentityIntf) (_model *DedicatedHostPrototypeDedicatedHostByGroup, err error)

NewDedicatedHostPrototypeDedicatedHostByGroup : Instantiate DedicatedHostPrototypeDedicatedHostByGroup (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostPrototypeDedicatedHostByZone added in v0.4.0

func (*VpcV1) NewDedicatedHostPrototypeDedicatedHostByZone(profile DedicatedHostProfileIdentityIntf, zone ZoneIdentityIntf) (_model *DedicatedHostPrototypeDedicatedHostByZone, err error)

NewDedicatedHostPrototypeDedicatedHostByZone : Instantiate DedicatedHostPrototypeDedicatedHostByZone (Generic Model Constructor)

func (*VpcV1) NewDedicatedHostsPager added in v0.25.0

func (vpc *VpcV1) NewDedicatedHostsPager(options *ListDedicatedHostsOptions) (pager *DedicatedHostsPager, err error)

NewDedicatedHostsPager returns a new DedicatedHostsPager instance.

func (*VpcV1) NewDeleteBackupPolicyOptions added in v0.21.0

func (*VpcV1) NewDeleteBackupPolicyOptions(id string) *DeleteBackupPolicyOptions

NewDeleteBackupPolicyOptions : Instantiate DeleteBackupPolicyOptions

func (*VpcV1) NewDeleteBackupPolicyPlanOptions added in v0.21.0

func (*VpcV1) NewDeleteBackupPolicyPlanOptions(backupPolicyID string, id string) *DeleteBackupPolicyPlanOptions

NewDeleteBackupPolicyPlanOptions : Instantiate DeleteBackupPolicyPlanOptions

func (*VpcV1) NewDeleteBareMetalServerNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewDeleteBareMetalServerNetworkAttachmentOptions(bareMetalServerID string, id string) *DeleteBareMetalServerNetworkAttachmentOptions

NewDeleteBareMetalServerNetworkAttachmentOptions : Instantiate DeleteBareMetalServerNetworkAttachmentOptions

func (*VpcV1) NewDeleteBareMetalServerNetworkInterfaceOptions added in v0.16.0

func (*VpcV1) NewDeleteBareMetalServerNetworkInterfaceOptions(bareMetalServerID string, id string) *DeleteBareMetalServerNetworkInterfaceOptions

NewDeleteBareMetalServerNetworkInterfaceOptions : Instantiate DeleteBareMetalServerNetworkInterfaceOptions

func (*VpcV1) NewDeleteBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewDeleteBareMetalServerOptions(id string) *DeleteBareMetalServerOptions

NewDeleteBareMetalServerOptions : Instantiate DeleteBareMetalServerOptions

func (*VpcV1) NewDeleteDedicatedHostGroupOptions added in v0.4.0

func (*VpcV1) NewDeleteDedicatedHostGroupOptions(id string) *DeleteDedicatedHostGroupOptions

NewDeleteDedicatedHostGroupOptions : Instantiate DeleteDedicatedHostGroupOptions

func (*VpcV1) NewDeleteDedicatedHostOptions added in v0.4.0

func (*VpcV1) NewDeleteDedicatedHostOptions(id string) *DeleteDedicatedHostOptions

NewDeleteDedicatedHostOptions : Instantiate DeleteDedicatedHostOptions

func (*VpcV1) NewDeleteEndpointGatewayOptions added in v0.3.0

func (*VpcV1) NewDeleteEndpointGatewayOptions(id string) *DeleteEndpointGatewayOptions

NewDeleteEndpointGatewayOptions : Instantiate DeleteEndpointGatewayOptions

func (*VpcV1) NewDeleteFloatingIPOptions

func (*VpcV1) NewDeleteFloatingIPOptions(id string) *DeleteFloatingIPOptions

NewDeleteFloatingIPOptions : Instantiate DeleteFloatingIPOptions

func (*VpcV1) NewDeleteFlowLogCollectorOptions

func (*VpcV1) NewDeleteFlowLogCollectorOptions(id string) *DeleteFlowLogCollectorOptions

NewDeleteFlowLogCollectorOptions : Instantiate DeleteFlowLogCollectorOptions

func (*VpcV1) NewDeleteIkePolicyOptions

func (*VpcV1) NewDeleteIkePolicyOptions(id string) *DeleteIkePolicyOptions

NewDeleteIkePolicyOptions : Instantiate DeleteIkePolicyOptions

func (*VpcV1) NewDeleteImageExportJobOptions added in v0.37.0

func (*VpcV1) NewDeleteImageExportJobOptions(imageID string, id string) *DeleteImageExportJobOptions

NewDeleteImageExportJobOptions : Instantiate DeleteImageExportJobOptions

func (*VpcV1) NewDeleteImageOptions

func (*VpcV1) NewDeleteImageOptions(id string) *DeleteImageOptions

NewDeleteImageOptions : Instantiate DeleteImageOptions

func (*VpcV1) NewDeleteInstanceGroupLoadBalancerOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceGroupLoadBalancerOptions(instanceGroupID string) *DeleteInstanceGroupLoadBalancerOptions

NewDeleteInstanceGroupLoadBalancerOptions : Instantiate DeleteInstanceGroupLoadBalancerOptions

func (*VpcV1) NewDeleteInstanceGroupManagerActionOptions added in v0.6.0

func (*VpcV1) NewDeleteInstanceGroupManagerActionOptions(instanceGroupID string, instanceGroupManagerID string, id string) *DeleteInstanceGroupManagerActionOptions

NewDeleteInstanceGroupManagerActionOptions : Instantiate DeleteInstanceGroupManagerActionOptions

func (*VpcV1) NewDeleteInstanceGroupManagerOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceGroupManagerOptions(instanceGroupID string, id string) *DeleteInstanceGroupManagerOptions

NewDeleteInstanceGroupManagerOptions : Instantiate DeleteInstanceGroupManagerOptions

func (*VpcV1) NewDeleteInstanceGroupManagerPolicyOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceGroupManagerPolicyOptions(instanceGroupID string, instanceGroupManagerID string, id string) *DeleteInstanceGroupManagerPolicyOptions

NewDeleteInstanceGroupManagerPolicyOptions : Instantiate DeleteInstanceGroupManagerPolicyOptions

func (*VpcV1) NewDeleteInstanceGroupMembershipOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceGroupMembershipOptions(instanceGroupID string, id string) *DeleteInstanceGroupMembershipOptions

NewDeleteInstanceGroupMembershipOptions : Instantiate DeleteInstanceGroupMembershipOptions

func (*VpcV1) NewDeleteInstanceGroupMembershipsOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceGroupMembershipsOptions(instanceGroupID string) *DeleteInstanceGroupMembershipsOptions

NewDeleteInstanceGroupMembershipsOptions : Instantiate DeleteInstanceGroupMembershipsOptions

func (*VpcV1) NewDeleteInstanceGroupOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceGroupOptions(id string) *DeleteInstanceGroupOptions

NewDeleteInstanceGroupOptions : Instantiate DeleteInstanceGroupOptions

func (*VpcV1) NewDeleteInstanceNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewDeleteInstanceNetworkAttachmentOptions(instanceID string, id string) *DeleteInstanceNetworkAttachmentOptions

NewDeleteInstanceNetworkAttachmentOptions : Instantiate DeleteInstanceNetworkAttachmentOptions

func (*VpcV1) NewDeleteInstanceNetworkInterfaceOptions

func (*VpcV1) NewDeleteInstanceNetworkInterfaceOptions(instanceID string, id string) *DeleteInstanceNetworkInterfaceOptions

NewDeleteInstanceNetworkInterfaceOptions : Instantiate DeleteInstanceNetworkInterfaceOptions

func (*VpcV1) NewDeleteInstanceOptions

func (*VpcV1) NewDeleteInstanceOptions(id string) *DeleteInstanceOptions

NewDeleteInstanceOptions : Instantiate DeleteInstanceOptions

func (*VpcV1) NewDeleteInstanceTemplateOptions added in v0.1.0

func (*VpcV1) NewDeleteInstanceTemplateOptions(id string) *DeleteInstanceTemplateOptions

NewDeleteInstanceTemplateOptions : Instantiate DeleteInstanceTemplateOptions

func (*VpcV1) NewDeleteInstanceVolumeAttachmentOptions

func (*VpcV1) NewDeleteInstanceVolumeAttachmentOptions(instanceID string, id string) *DeleteInstanceVolumeAttachmentOptions

NewDeleteInstanceVolumeAttachmentOptions : Instantiate DeleteInstanceVolumeAttachmentOptions

func (*VpcV1) NewDeleteIpsecPolicyOptions

func (*VpcV1) NewDeleteIpsecPolicyOptions(id string) *DeleteIpsecPolicyOptions

NewDeleteIpsecPolicyOptions : Instantiate DeleteIpsecPolicyOptions

func (*VpcV1) NewDeleteKeyOptions

func (*VpcV1) NewDeleteKeyOptions(id string) *DeleteKeyOptions

NewDeleteKeyOptions : Instantiate DeleteKeyOptions

func (*VpcV1) NewDeleteLoadBalancerListenerOptions

func (*VpcV1) NewDeleteLoadBalancerListenerOptions(loadBalancerID string, id string) *DeleteLoadBalancerListenerOptions

NewDeleteLoadBalancerListenerOptions : Instantiate DeleteLoadBalancerListenerOptions

func (*VpcV1) NewDeleteLoadBalancerListenerPolicyOptions

func (*VpcV1) NewDeleteLoadBalancerListenerPolicyOptions(loadBalancerID string, listenerID string, id string) *DeleteLoadBalancerListenerPolicyOptions

NewDeleteLoadBalancerListenerPolicyOptions : Instantiate DeleteLoadBalancerListenerPolicyOptions

func (*VpcV1) NewDeleteLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewDeleteLoadBalancerListenerPolicyRuleOptions(loadBalancerID string, listenerID string, policyID string, id string) *DeleteLoadBalancerListenerPolicyRuleOptions

NewDeleteLoadBalancerListenerPolicyRuleOptions : Instantiate DeleteLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewDeleteLoadBalancerOptions

func (*VpcV1) NewDeleteLoadBalancerOptions(id string) *DeleteLoadBalancerOptions

NewDeleteLoadBalancerOptions : Instantiate DeleteLoadBalancerOptions

func (*VpcV1) NewDeleteLoadBalancerPoolMemberOptions

func (*VpcV1) NewDeleteLoadBalancerPoolMemberOptions(loadBalancerID string, poolID string, id string) *DeleteLoadBalancerPoolMemberOptions

NewDeleteLoadBalancerPoolMemberOptions : Instantiate DeleteLoadBalancerPoolMemberOptions

func (*VpcV1) NewDeleteLoadBalancerPoolOptions

func (*VpcV1) NewDeleteLoadBalancerPoolOptions(loadBalancerID string, id string) *DeleteLoadBalancerPoolOptions

NewDeleteLoadBalancerPoolOptions : Instantiate DeleteLoadBalancerPoolOptions

func (*VpcV1) NewDeleteNetworkACLOptions

func (*VpcV1) NewDeleteNetworkACLOptions(id string) *DeleteNetworkACLOptions

NewDeleteNetworkACLOptions : Instantiate DeleteNetworkACLOptions

func (*VpcV1) NewDeleteNetworkACLRuleOptions

func (*VpcV1) NewDeleteNetworkACLRuleOptions(networkACLID string, id string) *DeleteNetworkACLRuleOptions

NewDeleteNetworkACLRuleOptions : Instantiate DeleteNetworkACLRuleOptions

func (*VpcV1) NewDeletePlacementGroupOptions added in v0.9.0

func (*VpcV1) NewDeletePlacementGroupOptions(id string) *DeletePlacementGroupOptions

NewDeletePlacementGroupOptions : Instantiate DeletePlacementGroupOptions

func (*VpcV1) NewDeletePublicGatewayOptions

func (*VpcV1) NewDeletePublicGatewayOptions(id string) *DeletePublicGatewayOptions

NewDeletePublicGatewayOptions : Instantiate DeletePublicGatewayOptions

func (*VpcV1) NewDeleteReservationOptions added in v0.48.0

func (*VpcV1) NewDeleteReservationOptions(id string) *DeleteReservationOptions

NewDeleteReservationOptions : Instantiate DeleteReservationOptions

func (*VpcV1) NewDeleteSecurityGroupOptions

func (*VpcV1) NewDeleteSecurityGroupOptions(id string) *DeleteSecurityGroupOptions

NewDeleteSecurityGroupOptions : Instantiate DeleteSecurityGroupOptions

func (*VpcV1) NewDeleteSecurityGroupRuleOptions

func (*VpcV1) NewDeleteSecurityGroupRuleOptions(securityGroupID string, id string) *DeleteSecurityGroupRuleOptions

NewDeleteSecurityGroupRuleOptions : Instantiate DeleteSecurityGroupRuleOptions

func (*VpcV1) NewDeleteSecurityGroupTargetBindingOptions added in v0.5.0

func (*VpcV1) NewDeleteSecurityGroupTargetBindingOptions(securityGroupID string, id string) *DeleteSecurityGroupTargetBindingOptions

NewDeleteSecurityGroupTargetBindingOptions : Instantiate DeleteSecurityGroupTargetBindingOptions

func (*VpcV1) NewDeleteShareMountTargetOptions added in v0.41.0

func (*VpcV1) NewDeleteShareMountTargetOptions(shareID string, id string) *DeleteShareMountTargetOptions

NewDeleteShareMountTargetOptions : Instantiate DeleteShareMountTargetOptions

func (*VpcV1) NewDeleteShareOptions added in v0.41.0

func (*VpcV1) NewDeleteShareOptions(id string) *DeleteShareOptions

NewDeleteShareOptions : Instantiate DeleteShareOptions

func (*VpcV1) NewDeleteShareSourceOptions added in v0.41.0

func (*VpcV1) NewDeleteShareSourceOptions(shareID string) *DeleteShareSourceOptions

NewDeleteShareSourceOptions : Instantiate DeleteShareSourceOptions

func (*VpcV1) NewDeleteSnapshotCloneOptions added in v0.31.0

func (*VpcV1) NewDeleteSnapshotCloneOptions(id string, zoneName string) *DeleteSnapshotCloneOptions

NewDeleteSnapshotCloneOptions : Instantiate DeleteSnapshotCloneOptions

func (*VpcV1) NewDeleteSnapshotConsistencyGroupOptions added in v0.45.0

func (*VpcV1) NewDeleteSnapshotConsistencyGroupOptions(id string) *DeleteSnapshotConsistencyGroupOptions

NewDeleteSnapshotConsistencyGroupOptions : Instantiate DeleteSnapshotConsistencyGroupOptions

func (*VpcV1) NewDeleteSnapshotOptions added in v0.7.0

func (*VpcV1) NewDeleteSnapshotOptions(id string) *DeleteSnapshotOptions

NewDeleteSnapshotOptions : Instantiate DeleteSnapshotOptions

func (*VpcV1) NewDeleteSnapshotsOptions added in v0.7.0

func (*VpcV1) NewDeleteSnapshotsOptions(sourceVolumeID string) *DeleteSnapshotsOptions

NewDeleteSnapshotsOptions : Instantiate DeleteSnapshotsOptions

func (*VpcV1) NewDeleteSubnetOptions

func (*VpcV1) NewDeleteSubnetOptions(id string) *DeleteSubnetOptions

NewDeleteSubnetOptions : Instantiate DeleteSubnetOptions

func (*VpcV1) NewDeleteSubnetReservedIPOptions added in v0.3.0

func (*VpcV1) NewDeleteSubnetReservedIPOptions(subnetID string, id string) *DeleteSubnetReservedIPOptions

NewDeleteSubnetReservedIPOptions : Instantiate DeleteSubnetReservedIPOptions

func (*VpcV1) NewDeleteVPCAddressPrefixOptions

func (*VpcV1) NewDeleteVPCAddressPrefixOptions(vpcID string, id string) *DeleteVPCAddressPrefixOptions

NewDeleteVPCAddressPrefixOptions : Instantiate DeleteVPCAddressPrefixOptions

func (*VpcV1) NewDeleteVPCDnsResolutionBindingOptions added in v0.43.0

func (*VpcV1) NewDeleteVPCDnsResolutionBindingOptions(vpcID string, id string) *DeleteVPCDnsResolutionBindingOptions

NewDeleteVPCDnsResolutionBindingOptions : Instantiate DeleteVPCDnsResolutionBindingOptions

func (*VpcV1) NewDeleteVPCOptions

func (*VpcV1) NewDeleteVPCOptions(id string) *DeleteVPCOptions

NewDeleteVPCOptions : Instantiate DeleteVPCOptions

func (*VpcV1) NewDeleteVPCRouteOptions

func (*VpcV1) NewDeleteVPCRouteOptions(vpcID string, id string) *DeleteVPCRouteOptions

NewDeleteVPCRouteOptions : Instantiate DeleteVPCRouteOptions

func (*VpcV1) NewDeleteVPCRoutingTableOptions added in v0.3.0

func (*VpcV1) NewDeleteVPCRoutingTableOptions(vpcID string, id string) *DeleteVPCRoutingTableOptions

NewDeleteVPCRoutingTableOptions : Instantiate DeleteVPCRoutingTableOptions

func (*VpcV1) NewDeleteVPCRoutingTableRouteOptions added in v0.3.0

func (*VpcV1) NewDeleteVPCRoutingTableRouteOptions(vpcID string, routingTableID string, id string) *DeleteVPCRoutingTableRouteOptions

NewDeleteVPCRoutingTableRouteOptions : Instantiate DeleteVPCRoutingTableRouteOptions

func (*VpcV1) NewDeleteVPNGatewayConnectionOptions

func (*VpcV1) NewDeleteVPNGatewayConnectionOptions(vpnGatewayID string, id string) *DeleteVPNGatewayConnectionOptions

NewDeleteVPNGatewayConnectionOptions : Instantiate DeleteVPNGatewayConnectionOptions

func (*VpcV1) NewDeleteVPNGatewayOptions

func (*VpcV1) NewDeleteVPNGatewayOptions(id string) *DeleteVPNGatewayOptions

NewDeleteVPNGatewayOptions : Instantiate DeleteVPNGatewayOptions

func (*VpcV1) NewDeleteVPNServerClientOptions added in v0.22.0

func (*VpcV1) NewDeleteVPNServerClientOptions(vpnServerID string, id string) *DeleteVPNServerClientOptions

NewDeleteVPNServerClientOptions : Instantiate DeleteVPNServerClientOptions

func (*VpcV1) NewDeleteVPNServerOptions added in v0.22.0

func (*VpcV1) NewDeleteVPNServerOptions(id string) *DeleteVPNServerOptions

NewDeleteVPNServerOptions : Instantiate DeleteVPNServerOptions

func (*VpcV1) NewDeleteVPNServerRouteOptions added in v0.22.0

func (*VpcV1) NewDeleteVPNServerRouteOptions(vpnServerID string, id string) *DeleteVPNServerRouteOptions

NewDeleteVPNServerRouteOptions : Instantiate DeleteVPNServerRouteOptions

func (*VpcV1) NewDeleteVirtualNetworkInterfacesOptions added in v0.47.0

func (*VpcV1) NewDeleteVirtualNetworkInterfacesOptions(id string) *DeleteVirtualNetworkInterfacesOptions

NewDeleteVirtualNetworkInterfacesOptions : Instantiate DeleteVirtualNetworkInterfacesOptions

func (*VpcV1) NewDeleteVolumeOptions

func (*VpcV1) NewDeleteVolumeOptions(id string) *DeleteVolumeOptions

NewDeleteVolumeOptions : Instantiate DeleteVolumeOptions

func (*VpcV1) NewDeprecateImageOptions added in v0.40.0

func (*VpcV1) NewDeprecateImageOptions(id string) *DeprecateImageOptions

NewDeprecateImageOptions : Instantiate DeprecateImageOptions

func (*VpcV1) NewDisconnectVPNClientOptions added in v0.22.0

func (*VpcV1) NewDisconnectVPNClientOptions(vpnServerID string, id string) *DisconnectVPNClientOptions

NewDisconnectVPNClientOptions : Instantiate DisconnectVPNClientOptions

func (*VpcV1) NewDnsInstanceIdentityByCRN added in v0.35.0

func (*VpcV1) NewDnsInstanceIdentityByCRN(crn string) (_model *DnsInstanceIdentityByCRN, err error)

NewDnsInstanceIdentityByCRN : Instantiate DnsInstanceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewDnsServerPrototype added in v0.43.0

func (*VpcV1) NewDnsServerPrototype(address string) (_model *DnsServerPrototype, err error)

NewDnsServerPrototype : Instantiate DnsServerPrototype (Generic Model Constructor)

func (*VpcV1) NewDnsZoneIdentityByID added in v0.35.0

func (*VpcV1) NewDnsZoneIdentityByID(id string) (_model *DnsZoneIdentityByID, err error)

NewDnsZoneIdentityByID : Instantiate DnsZoneIdentityByID (Generic Model Constructor)

func (*VpcV1) NewEncryptionKeyIdentityByCRN added in v0.0.3

func (*VpcV1) NewEncryptionKeyIdentityByCRN(crn string) (_model *EncryptionKeyIdentityByCRN, err error)

NewEncryptionKeyIdentityByCRN : Instantiate EncryptionKeyIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewEndpointGatewayIpsPager added in v0.25.0

func (vpc *VpcV1) NewEndpointGatewayIpsPager(options *ListEndpointGatewayIpsOptions) (pager *EndpointGatewayIpsPager, err error)

NewEndpointGatewayIpsPager returns a new EndpointGatewayIpsPager instance.

func (*VpcV1) NewEndpointGatewayReservedIPReservedIPIdentityByHref added in v0.41.0

func (*VpcV1) NewEndpointGatewayReservedIPReservedIPIdentityByHref(href string) (_model *EndpointGatewayReservedIPReservedIPIdentityByHref, err error)

NewEndpointGatewayReservedIPReservedIPIdentityByHref : Instantiate EndpointGatewayReservedIPReservedIPIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewEndpointGatewayReservedIPReservedIPIdentityByID added in v0.41.0

func (*VpcV1) NewEndpointGatewayReservedIPReservedIPIdentityByID(id string) (_model *EndpointGatewayReservedIPReservedIPIdentityByID, err error)

NewEndpointGatewayReservedIPReservedIPIdentityByID : Instantiate EndpointGatewayReservedIPReservedIPIdentityByID (Generic Model Constructor)

func (*VpcV1) NewEndpointGatewayReservedIPReservedIPPrototypeTargetContext added in v0.3.0

func (*VpcV1) NewEndpointGatewayReservedIPReservedIPPrototypeTargetContext(subnet SubnetIdentityIntf) (_model *EndpointGatewayReservedIPReservedIPPrototypeTargetContext, err error)

NewEndpointGatewayReservedIPReservedIPPrototypeTargetContext : Instantiate EndpointGatewayReservedIPReservedIPPrototypeTargetContext (Generic Model Constructor)

func (*VpcV1) NewEndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN added in v0.3.0

func (*VpcV1) NewEndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN(resourceType string, crn string) (_model *EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN, err error)

NewEndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN : Instantiate EndpointGatewayTargetPrototypeProviderCloudServiceIdentityProviderCloudServiceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName added in v0.3.0

func (*VpcV1) NewEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName(resourceType string, name string) (_model *EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName, err error)

NewEndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName : Instantiate EndpointGatewayTargetPrototypeProviderInfrastructureServiceIdentityProviderInfrastructureServiceIdentityByName (Generic Model Constructor)

func (*VpcV1) NewEndpointGatewaysPager added in v0.25.0

func (vpc *VpcV1) NewEndpointGatewaysPager(options *ListEndpointGatewaysOptions) (pager *EndpointGatewaysPager, err error)

NewEndpointGatewaysPager returns a new EndpointGatewaysPager instance.

func (*VpcV1) NewFailoverShareOptions added in v0.41.0

func (*VpcV1) NewFailoverShareOptions(shareID string) *FailoverShareOptions

NewFailoverShareOptions : Instantiate FailoverShareOptions

func (*VpcV1) NewFloatingIPPrototypeFloatingIPByTarget

func (*VpcV1) NewFloatingIPPrototypeFloatingIPByTarget(target FloatingIPTargetPrototypeIntf) (_model *FloatingIPPrototypeFloatingIPByTarget, err error)

NewFloatingIPPrototypeFloatingIPByTarget : Instantiate FloatingIPPrototypeFloatingIPByTarget (Generic Model Constructor)

func (*VpcV1) NewFloatingIPPrototypeFloatingIPByZone

func (*VpcV1) NewFloatingIPPrototypeFloatingIPByZone(zone ZoneIdentityIntf) (_model *FloatingIPPrototypeFloatingIPByZone, err error)

NewFloatingIPPrototypeFloatingIPByZone : Instantiate FloatingIPPrototypeFloatingIPByZone (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref added in v0.42.0

func (*VpcV1) NewFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref(href string) (_model *FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref, err error)

NewFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref : Instantiate FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID added in v0.42.0

func (*VpcV1) NewFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID(id string) (_model *FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID, err error)

NewFloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID : Instantiate FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

func (*VpcV1) NewFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref(href string) (_model *FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref, err error)

NewFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref : Instantiate FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

func (*VpcV1) NewFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID(id string) (_model *FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID, err error)

NewFloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID : Instantiate FloatingIPTargetPatchNetworkInterfaceIdentityNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewFloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate FloatingIPTargetPatchVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref added in v0.42.0

func (*VpcV1) NewFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref(href string) (_model *FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref, err error)

NewFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref : Instantiate FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID added in v0.42.0

func (*VpcV1) NewFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID(id string) (_model *FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID, err error)

NewFloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID : Instantiate FloatingIPTargetPrototypeBareMetalServerNetworkInterfaceIdentityBareMetalServerNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

func (*VpcV1) NewFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref(href string) (_model *FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref, err error)

NewFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref : Instantiate FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

func (*VpcV1) NewFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID(id string) (_model *FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID, err error)

NewFloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID : Instantiate FloatingIPTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewFloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate FloatingIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFloatingIpsPager added in v0.25.0

func (vpc *VpcV1) NewFloatingIpsPager(options *ListFloatingIpsOptions) (pager *FloatingIpsPager, err error)

NewFloatingIpsPager returns a new FloatingIpsPager instance.

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN(crn string) (_model *FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN, err error)

NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN : Instantiate FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref(href string) (_model *FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref, err error)

NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref : Instantiate FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID(id string) (_model *FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID, err error)

NewFlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID : Instantiate FlowLogCollectorTargetPrototypeInstanceIdentityInstanceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref added in v0.47.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref(href string) (_model *FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref, err error)

NewFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref : Instantiate FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID added in v0.47.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID(id string) (_model *FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID, err error)

NewFlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID : Instantiate FlowLogCollectorTargetPrototypeInstanceNetworkAttachmentIdentityInstanceNetworkAttachmentIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref added in v0.36.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref(href string) (_model *FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref, err error)

NewFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref : Instantiate FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID added in v0.36.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID(id string) (_model *FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID, err error)

NewFlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID : Instantiate FlowLogCollectorTargetPrototypeNetworkInterfaceIdentityNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN(crn string) (_model *FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN, err error)

NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN : Instantiate FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref(href string) (_model *FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref, err error)

NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref : Instantiate FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID(id string) (_model *FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID, err error)

NewFlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID : Instantiate FlowLogCollectorTargetPrototypeSubnetIdentitySubnetIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN(crn string) (_model *FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN, err error)

NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN : Instantiate FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref(href string) (_model *FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref, err error)

NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref : Instantiate FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID added in v0.3.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID(id string) (_model *FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID, err error)

NewFlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID : Instantiate FlowLogCollectorTargetPrototypeVPCIdentityVPCIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewFlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate FlowLogCollectorTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewFlowLogCollectorsPager added in v0.25.0

func (vpc *VpcV1) NewFlowLogCollectorsPager(options *ListFlowLogCollectorsOptions) (pager *FlowLogCollectorsPager, err error)

NewFlowLogCollectorsPager returns a new FlowLogCollectorsPager instance.

func (*VpcV1) NewGetBackupPolicyJobOptions added in v0.29.0

func (*VpcV1) NewGetBackupPolicyJobOptions(backupPolicyID string, id string) *GetBackupPolicyJobOptions

NewGetBackupPolicyJobOptions : Instantiate GetBackupPolicyJobOptions

func (*VpcV1) NewGetBackupPolicyOptions added in v0.21.0

func (*VpcV1) NewGetBackupPolicyOptions(id string) *GetBackupPolicyOptions

NewGetBackupPolicyOptions : Instantiate GetBackupPolicyOptions

func (*VpcV1) NewGetBackupPolicyPlanOptions added in v0.21.0

func (*VpcV1) NewGetBackupPolicyPlanOptions(backupPolicyID string, id string) *GetBackupPolicyPlanOptions

NewGetBackupPolicyPlanOptions : Instantiate GetBackupPolicyPlanOptions

func (*VpcV1) NewGetBareMetalServerDiskOptions added in v0.16.0

func (*VpcV1) NewGetBareMetalServerDiskOptions(bareMetalServerID string, id string) *GetBareMetalServerDiskOptions

NewGetBareMetalServerDiskOptions : Instantiate GetBareMetalServerDiskOptions

func (*VpcV1) NewGetBareMetalServerInitializationOptions added in v0.16.0

func (*VpcV1) NewGetBareMetalServerInitializationOptions(id string) *GetBareMetalServerInitializationOptions

NewGetBareMetalServerInitializationOptions : Instantiate GetBareMetalServerInitializationOptions

func (*VpcV1) NewGetBareMetalServerNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewGetBareMetalServerNetworkAttachmentOptions(bareMetalServerID string, id string) *GetBareMetalServerNetworkAttachmentOptions

NewGetBareMetalServerNetworkAttachmentOptions : Instantiate GetBareMetalServerNetworkAttachmentOptions

func (*VpcV1) NewGetBareMetalServerNetworkInterfaceFloatingIPOptions added in v0.16.0

func (*VpcV1) NewGetBareMetalServerNetworkInterfaceFloatingIPOptions(bareMetalServerID string, networkInterfaceID string, id string) *GetBareMetalServerNetworkInterfaceFloatingIPOptions

NewGetBareMetalServerNetworkInterfaceFloatingIPOptions : Instantiate GetBareMetalServerNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewGetBareMetalServerNetworkInterfaceIPOptions added in v0.19.0

func (*VpcV1) NewGetBareMetalServerNetworkInterfaceIPOptions(bareMetalServerID string, networkInterfaceID string, id string) *GetBareMetalServerNetworkInterfaceIPOptions

NewGetBareMetalServerNetworkInterfaceIPOptions : Instantiate GetBareMetalServerNetworkInterfaceIPOptions

func (*VpcV1) NewGetBareMetalServerNetworkInterfaceOptions added in v0.16.0

func (*VpcV1) NewGetBareMetalServerNetworkInterfaceOptions(bareMetalServerID string, id string) *GetBareMetalServerNetworkInterfaceOptions

NewGetBareMetalServerNetworkInterfaceOptions : Instantiate GetBareMetalServerNetworkInterfaceOptions

func (*VpcV1) NewGetBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewGetBareMetalServerOptions(id string) *GetBareMetalServerOptions

NewGetBareMetalServerOptions : Instantiate GetBareMetalServerOptions

func (*VpcV1) NewGetBareMetalServerProfileOptions added in v0.16.0

func (*VpcV1) NewGetBareMetalServerProfileOptions(name string) *GetBareMetalServerProfileOptions

NewGetBareMetalServerProfileOptions : Instantiate GetBareMetalServerProfileOptions

func (*VpcV1) NewGetDedicatedHostDiskOptions added in v0.5.0

func (*VpcV1) NewGetDedicatedHostDiskOptions(dedicatedHostID string, id string) *GetDedicatedHostDiskOptions

NewGetDedicatedHostDiskOptions : Instantiate GetDedicatedHostDiskOptions

func (*VpcV1) NewGetDedicatedHostGroupOptions added in v0.4.0

func (*VpcV1) NewGetDedicatedHostGroupOptions(id string) *GetDedicatedHostGroupOptions

NewGetDedicatedHostGroupOptions : Instantiate GetDedicatedHostGroupOptions

func (*VpcV1) NewGetDedicatedHostOptions added in v0.4.0

func (*VpcV1) NewGetDedicatedHostOptions(id string) *GetDedicatedHostOptions

NewGetDedicatedHostOptions : Instantiate GetDedicatedHostOptions

func (*VpcV1) NewGetDedicatedHostProfileOptions added in v0.4.0

func (*VpcV1) NewGetDedicatedHostProfileOptions(name string) *GetDedicatedHostProfileOptions

NewGetDedicatedHostProfileOptions : Instantiate GetDedicatedHostProfileOptions

func (*VpcV1) NewGetEndpointGatewayIPOptions added in v0.3.0

func (*VpcV1) NewGetEndpointGatewayIPOptions(endpointGatewayID string, id string) *GetEndpointGatewayIPOptions

NewGetEndpointGatewayIPOptions : Instantiate GetEndpointGatewayIPOptions

func (*VpcV1) NewGetEndpointGatewayOptions added in v0.3.0

func (*VpcV1) NewGetEndpointGatewayOptions(id string) *GetEndpointGatewayOptions

NewGetEndpointGatewayOptions : Instantiate GetEndpointGatewayOptions

func (*VpcV1) NewGetFloatingIPOptions

func (*VpcV1) NewGetFloatingIPOptions(id string) *GetFloatingIPOptions

NewGetFloatingIPOptions : Instantiate GetFloatingIPOptions

func (*VpcV1) NewGetFlowLogCollectorOptions

func (*VpcV1) NewGetFlowLogCollectorOptions(id string) *GetFlowLogCollectorOptions

NewGetFlowLogCollectorOptions : Instantiate GetFlowLogCollectorOptions

func (*VpcV1) NewGetIkePolicyOptions

func (*VpcV1) NewGetIkePolicyOptions(id string) *GetIkePolicyOptions

NewGetIkePolicyOptions : Instantiate GetIkePolicyOptions

func (*VpcV1) NewGetImageExportJobOptions added in v0.37.0

func (*VpcV1) NewGetImageExportJobOptions(imageID string, id string) *GetImageExportJobOptions

NewGetImageExportJobOptions : Instantiate GetImageExportJobOptions

func (*VpcV1) NewGetImageOptions

func (*VpcV1) NewGetImageOptions(id string) *GetImageOptions

NewGetImageOptions : Instantiate GetImageOptions

func (*VpcV1) NewGetInstanceDiskOptions added in v0.5.0

func (*VpcV1) NewGetInstanceDiskOptions(instanceID string, id string) *GetInstanceDiskOptions

NewGetInstanceDiskOptions : Instantiate GetInstanceDiskOptions

func (*VpcV1) NewGetInstanceGroupManagerActionOptions added in v0.6.0

func (*VpcV1) NewGetInstanceGroupManagerActionOptions(instanceGroupID string, instanceGroupManagerID string, id string) *GetInstanceGroupManagerActionOptions

NewGetInstanceGroupManagerActionOptions : Instantiate GetInstanceGroupManagerActionOptions

func (*VpcV1) NewGetInstanceGroupManagerOptions added in v0.1.0

func (*VpcV1) NewGetInstanceGroupManagerOptions(instanceGroupID string, id string) *GetInstanceGroupManagerOptions

NewGetInstanceGroupManagerOptions : Instantiate GetInstanceGroupManagerOptions

func (*VpcV1) NewGetInstanceGroupManagerPolicyOptions added in v0.1.0

func (*VpcV1) NewGetInstanceGroupManagerPolicyOptions(instanceGroupID string, instanceGroupManagerID string, id string) *GetInstanceGroupManagerPolicyOptions

NewGetInstanceGroupManagerPolicyOptions : Instantiate GetInstanceGroupManagerPolicyOptions

func (*VpcV1) NewGetInstanceGroupMembershipOptions added in v0.1.0

func (*VpcV1) NewGetInstanceGroupMembershipOptions(instanceGroupID string, id string) *GetInstanceGroupMembershipOptions

NewGetInstanceGroupMembershipOptions : Instantiate GetInstanceGroupMembershipOptions

func (*VpcV1) NewGetInstanceGroupOptions added in v0.1.0

func (*VpcV1) NewGetInstanceGroupOptions(id string) *GetInstanceGroupOptions

NewGetInstanceGroupOptions : Instantiate GetInstanceGroupOptions

func (*VpcV1) NewGetInstanceInitializationOptions

func (*VpcV1) NewGetInstanceInitializationOptions(id string) *GetInstanceInitializationOptions

NewGetInstanceInitializationOptions : Instantiate GetInstanceInitializationOptions

func (*VpcV1) NewGetInstanceNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewGetInstanceNetworkAttachmentOptions(instanceID string, id string) *GetInstanceNetworkAttachmentOptions

NewGetInstanceNetworkAttachmentOptions : Instantiate GetInstanceNetworkAttachmentOptions

func (*VpcV1) NewGetInstanceNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewGetInstanceNetworkInterfaceFloatingIPOptions(instanceID string, networkInterfaceID string, id string) *GetInstanceNetworkInterfaceFloatingIPOptions

NewGetInstanceNetworkInterfaceFloatingIPOptions : Instantiate GetInstanceNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewGetInstanceNetworkInterfaceIPOptions added in v0.19.0

func (*VpcV1) NewGetInstanceNetworkInterfaceIPOptions(instanceID string, networkInterfaceID string, id string) *GetInstanceNetworkInterfaceIPOptions

NewGetInstanceNetworkInterfaceIPOptions : Instantiate GetInstanceNetworkInterfaceIPOptions

func (*VpcV1) NewGetInstanceNetworkInterfaceOptions

func (*VpcV1) NewGetInstanceNetworkInterfaceOptions(instanceID string, id string) *GetInstanceNetworkInterfaceOptions

NewGetInstanceNetworkInterfaceOptions : Instantiate GetInstanceNetworkInterfaceOptions

func (*VpcV1) NewGetInstanceOptions

func (*VpcV1) NewGetInstanceOptions(id string) *GetInstanceOptions

NewGetInstanceOptions : Instantiate GetInstanceOptions

func (*VpcV1) NewGetInstanceProfileOptions

func (*VpcV1) NewGetInstanceProfileOptions(name string) *GetInstanceProfileOptions

NewGetInstanceProfileOptions : Instantiate GetInstanceProfileOptions

func (*VpcV1) NewGetInstanceTemplateOptions added in v0.1.0

func (*VpcV1) NewGetInstanceTemplateOptions(id string) *GetInstanceTemplateOptions

NewGetInstanceTemplateOptions : Instantiate GetInstanceTemplateOptions

func (*VpcV1) NewGetInstanceVolumeAttachmentOptions

func (*VpcV1) NewGetInstanceVolumeAttachmentOptions(instanceID string, id string) *GetInstanceVolumeAttachmentOptions

NewGetInstanceVolumeAttachmentOptions : Instantiate GetInstanceVolumeAttachmentOptions

func (*VpcV1) NewGetIpsecPolicyOptions

func (*VpcV1) NewGetIpsecPolicyOptions(id string) *GetIpsecPolicyOptions

NewGetIpsecPolicyOptions : Instantiate GetIpsecPolicyOptions

func (*VpcV1) NewGetKeyOptions

func (*VpcV1) NewGetKeyOptions(id string) *GetKeyOptions

NewGetKeyOptions : Instantiate GetKeyOptions

func (*VpcV1) NewGetLoadBalancerListenerOptions

func (*VpcV1) NewGetLoadBalancerListenerOptions(loadBalancerID string, id string) *GetLoadBalancerListenerOptions

NewGetLoadBalancerListenerOptions : Instantiate GetLoadBalancerListenerOptions

func (*VpcV1) NewGetLoadBalancerListenerPolicyOptions

func (*VpcV1) NewGetLoadBalancerListenerPolicyOptions(loadBalancerID string, listenerID string, id string) *GetLoadBalancerListenerPolicyOptions

NewGetLoadBalancerListenerPolicyOptions : Instantiate GetLoadBalancerListenerPolicyOptions

func (*VpcV1) NewGetLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewGetLoadBalancerListenerPolicyRuleOptions(loadBalancerID string, listenerID string, policyID string, id string) *GetLoadBalancerListenerPolicyRuleOptions

NewGetLoadBalancerListenerPolicyRuleOptions : Instantiate GetLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewGetLoadBalancerOptions

func (*VpcV1) NewGetLoadBalancerOptions(id string) *GetLoadBalancerOptions

NewGetLoadBalancerOptions : Instantiate GetLoadBalancerOptions

func (*VpcV1) NewGetLoadBalancerPoolMemberOptions

func (*VpcV1) NewGetLoadBalancerPoolMemberOptions(loadBalancerID string, poolID string, id string) *GetLoadBalancerPoolMemberOptions

NewGetLoadBalancerPoolMemberOptions : Instantiate GetLoadBalancerPoolMemberOptions

func (*VpcV1) NewGetLoadBalancerPoolOptions

func (*VpcV1) NewGetLoadBalancerPoolOptions(loadBalancerID string, id string) *GetLoadBalancerPoolOptions

NewGetLoadBalancerPoolOptions : Instantiate GetLoadBalancerPoolOptions

func (*VpcV1) NewGetLoadBalancerProfileOptions added in v0.1.0

func (*VpcV1) NewGetLoadBalancerProfileOptions(name string) *GetLoadBalancerProfileOptions

NewGetLoadBalancerProfileOptions : Instantiate GetLoadBalancerProfileOptions

func (*VpcV1) NewGetLoadBalancerStatisticsOptions

func (*VpcV1) NewGetLoadBalancerStatisticsOptions(id string) *GetLoadBalancerStatisticsOptions

NewGetLoadBalancerStatisticsOptions : Instantiate GetLoadBalancerStatisticsOptions

func (*VpcV1) NewGetNetworkACLOptions

func (*VpcV1) NewGetNetworkACLOptions(id string) *GetNetworkACLOptions

NewGetNetworkACLOptions : Instantiate GetNetworkACLOptions

func (*VpcV1) NewGetNetworkACLRuleOptions

func (*VpcV1) NewGetNetworkACLRuleOptions(networkACLID string, id string) *GetNetworkACLRuleOptions

NewGetNetworkACLRuleOptions : Instantiate GetNetworkACLRuleOptions

func (*VpcV1) NewGetNetworkInterfaceFloatingIPOptions added in v0.47.0

func (*VpcV1) NewGetNetworkInterfaceFloatingIPOptions(virtualNetworkInterfaceID string, id string) *GetNetworkInterfaceFloatingIPOptions

NewGetNetworkInterfaceFloatingIPOptions : Instantiate GetNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewGetOperatingSystemOptions

func (*VpcV1) NewGetOperatingSystemOptions(name string) *GetOperatingSystemOptions

NewGetOperatingSystemOptions : Instantiate GetOperatingSystemOptions

func (*VpcV1) NewGetPlacementGroupOptions added in v0.9.0

func (*VpcV1) NewGetPlacementGroupOptions(id string) *GetPlacementGroupOptions

NewGetPlacementGroupOptions : Instantiate GetPlacementGroupOptions

func (*VpcV1) NewGetPublicGatewayOptions

func (*VpcV1) NewGetPublicGatewayOptions(id string) *GetPublicGatewayOptions

NewGetPublicGatewayOptions : Instantiate GetPublicGatewayOptions

func (*VpcV1) NewGetRegionOptions

func (*VpcV1) NewGetRegionOptions(name string) *GetRegionOptions

NewGetRegionOptions : Instantiate GetRegionOptions

func (*VpcV1) NewGetRegionZoneOptions

func (*VpcV1) NewGetRegionZoneOptions(regionName string, name string) *GetRegionZoneOptions

NewGetRegionZoneOptions : Instantiate GetRegionZoneOptions

func (*VpcV1) NewGetReservationOptions added in v0.48.0

func (*VpcV1) NewGetReservationOptions(id string) *GetReservationOptions

NewGetReservationOptions : Instantiate GetReservationOptions

func (*VpcV1) NewGetSecurityGroupOptions

func (*VpcV1) NewGetSecurityGroupOptions(id string) *GetSecurityGroupOptions

NewGetSecurityGroupOptions : Instantiate GetSecurityGroupOptions

func (*VpcV1) NewGetSecurityGroupRuleOptions

func (*VpcV1) NewGetSecurityGroupRuleOptions(securityGroupID string, id string) *GetSecurityGroupRuleOptions

NewGetSecurityGroupRuleOptions : Instantiate GetSecurityGroupRuleOptions

func (*VpcV1) NewGetSecurityGroupTargetOptions added in v0.5.0

func (*VpcV1) NewGetSecurityGroupTargetOptions(securityGroupID string, id string) *GetSecurityGroupTargetOptions

NewGetSecurityGroupTargetOptions : Instantiate GetSecurityGroupTargetOptions

func (*VpcV1) NewGetShareMountTargetOptions added in v0.41.0

func (*VpcV1) NewGetShareMountTargetOptions(shareID string, id string) *GetShareMountTargetOptions

NewGetShareMountTargetOptions : Instantiate GetShareMountTargetOptions

func (*VpcV1) NewGetShareOptions added in v0.41.0

func (*VpcV1) NewGetShareOptions(id string) *GetShareOptions

NewGetShareOptions : Instantiate GetShareOptions

func (*VpcV1) NewGetShareProfileOptions added in v0.41.0

func (*VpcV1) NewGetShareProfileOptions(name string) *GetShareProfileOptions

NewGetShareProfileOptions : Instantiate GetShareProfileOptions

func (*VpcV1) NewGetShareSourceOptions added in v0.41.0

func (*VpcV1) NewGetShareSourceOptions(shareID string) *GetShareSourceOptions

NewGetShareSourceOptions : Instantiate GetShareSourceOptions

func (*VpcV1) NewGetSnapshotCloneOptions added in v0.31.0

func (*VpcV1) NewGetSnapshotCloneOptions(id string, zoneName string) *GetSnapshotCloneOptions

NewGetSnapshotCloneOptions : Instantiate GetSnapshotCloneOptions

func (*VpcV1) NewGetSnapshotConsistencyGroupOptions added in v0.45.0

func (*VpcV1) NewGetSnapshotConsistencyGroupOptions(id string) *GetSnapshotConsistencyGroupOptions

NewGetSnapshotConsistencyGroupOptions : Instantiate GetSnapshotConsistencyGroupOptions

func (*VpcV1) NewGetSnapshotOptions added in v0.7.0

func (*VpcV1) NewGetSnapshotOptions(id string) *GetSnapshotOptions

NewGetSnapshotOptions : Instantiate GetSnapshotOptions

func (*VpcV1) NewGetSubnetNetworkACLOptions

func (*VpcV1) NewGetSubnetNetworkACLOptions(id string) *GetSubnetNetworkACLOptions

NewGetSubnetNetworkACLOptions : Instantiate GetSubnetNetworkACLOptions

func (*VpcV1) NewGetSubnetOptions

func (*VpcV1) NewGetSubnetOptions(id string) *GetSubnetOptions

NewGetSubnetOptions : Instantiate GetSubnetOptions

func (*VpcV1) NewGetSubnetPublicGatewayOptions

func (*VpcV1) NewGetSubnetPublicGatewayOptions(id string) *GetSubnetPublicGatewayOptions

NewGetSubnetPublicGatewayOptions : Instantiate GetSubnetPublicGatewayOptions

func (*VpcV1) NewGetSubnetReservedIPOptions added in v0.3.0

func (*VpcV1) NewGetSubnetReservedIPOptions(subnetID string, id string) *GetSubnetReservedIPOptions

NewGetSubnetReservedIPOptions : Instantiate GetSubnetReservedIPOptions

func (*VpcV1) NewGetSubnetRoutingTableOptions added in v0.3.0

func (*VpcV1) NewGetSubnetRoutingTableOptions(id string) *GetSubnetRoutingTableOptions

NewGetSubnetRoutingTableOptions : Instantiate GetSubnetRoutingTableOptions

func (*VpcV1) NewGetVPCAddressPrefixOptions

func (*VpcV1) NewGetVPCAddressPrefixOptions(vpcID string, id string) *GetVPCAddressPrefixOptions

NewGetVPCAddressPrefixOptions : Instantiate GetVPCAddressPrefixOptions

func (*VpcV1) NewGetVPCDefaultNetworkACLOptions

func (*VpcV1) NewGetVPCDefaultNetworkACLOptions(id string) *GetVPCDefaultNetworkACLOptions

NewGetVPCDefaultNetworkACLOptions : Instantiate GetVPCDefaultNetworkACLOptions

func (*VpcV1) NewGetVPCDefaultRoutingTableOptions added in v0.3.0

func (*VpcV1) NewGetVPCDefaultRoutingTableOptions(id string) *GetVPCDefaultRoutingTableOptions

NewGetVPCDefaultRoutingTableOptions : Instantiate GetVPCDefaultRoutingTableOptions

func (*VpcV1) NewGetVPCDefaultSecurityGroupOptions

func (*VpcV1) NewGetVPCDefaultSecurityGroupOptions(id string) *GetVPCDefaultSecurityGroupOptions

NewGetVPCDefaultSecurityGroupOptions : Instantiate GetVPCDefaultSecurityGroupOptions

func (*VpcV1) NewGetVPCDnsResolutionBindingOptions added in v0.43.0

func (*VpcV1) NewGetVPCDnsResolutionBindingOptions(vpcID string, id string) *GetVPCDnsResolutionBindingOptions

NewGetVPCDnsResolutionBindingOptions : Instantiate GetVPCDnsResolutionBindingOptions

func (*VpcV1) NewGetVPCOptions

func (*VpcV1) NewGetVPCOptions(id string) *GetVPCOptions

NewGetVPCOptions : Instantiate GetVPCOptions

func (*VpcV1) NewGetVPCRouteOptions

func (*VpcV1) NewGetVPCRouteOptions(vpcID string, id string) *GetVPCRouteOptions

NewGetVPCRouteOptions : Instantiate GetVPCRouteOptions

func (*VpcV1) NewGetVPCRoutingTableOptions added in v0.3.0

func (*VpcV1) NewGetVPCRoutingTableOptions(vpcID string, id string) *GetVPCRoutingTableOptions

NewGetVPCRoutingTableOptions : Instantiate GetVPCRoutingTableOptions

func (*VpcV1) NewGetVPCRoutingTableRouteOptions added in v0.3.0

func (*VpcV1) NewGetVPCRoutingTableRouteOptions(vpcID string, routingTableID string, id string) *GetVPCRoutingTableRouteOptions

NewGetVPCRoutingTableRouteOptions : Instantiate GetVPCRoutingTableRouteOptions

func (*VpcV1) NewGetVPNGatewayConnectionOptions

func (*VpcV1) NewGetVPNGatewayConnectionOptions(vpnGatewayID string, id string) *GetVPNGatewayConnectionOptions

NewGetVPNGatewayConnectionOptions : Instantiate GetVPNGatewayConnectionOptions

func (*VpcV1) NewGetVPNGatewayOptions

func (*VpcV1) NewGetVPNGatewayOptions(id string) *GetVPNGatewayOptions

NewGetVPNGatewayOptions : Instantiate GetVPNGatewayOptions

func (*VpcV1) NewGetVPNServerClientConfigurationOptions added in v0.22.0

func (*VpcV1) NewGetVPNServerClientConfigurationOptions(id string) *GetVPNServerClientConfigurationOptions

NewGetVPNServerClientConfigurationOptions : Instantiate GetVPNServerClientConfigurationOptions

func (*VpcV1) NewGetVPNServerClientOptions added in v0.22.0

func (*VpcV1) NewGetVPNServerClientOptions(vpnServerID string, id string) *GetVPNServerClientOptions

NewGetVPNServerClientOptions : Instantiate GetVPNServerClientOptions

func (*VpcV1) NewGetVPNServerOptions added in v0.22.0

func (*VpcV1) NewGetVPNServerOptions(id string) *GetVPNServerOptions

NewGetVPNServerOptions : Instantiate GetVPNServerOptions

func (*VpcV1) NewGetVPNServerRouteOptions added in v0.22.0

func (*VpcV1) NewGetVPNServerRouteOptions(vpnServerID string, id string) *GetVPNServerRouteOptions

NewGetVPNServerRouteOptions : Instantiate GetVPNServerRouteOptions

func (*VpcV1) NewGetVirtualNetworkInterfaceIPOptions added in v0.47.0

func (*VpcV1) NewGetVirtualNetworkInterfaceIPOptions(virtualNetworkInterfaceID string, id string) *GetVirtualNetworkInterfaceIPOptions

NewGetVirtualNetworkInterfaceIPOptions : Instantiate GetVirtualNetworkInterfaceIPOptions

func (*VpcV1) NewGetVirtualNetworkInterfaceOptions added in v0.41.0

func (*VpcV1) NewGetVirtualNetworkInterfaceOptions(id string) *GetVirtualNetworkInterfaceOptions

NewGetVirtualNetworkInterfaceOptions : Instantiate GetVirtualNetworkInterfaceOptions

func (*VpcV1) NewGetVolumeOptions

func (*VpcV1) NewGetVolumeOptions(id string) *GetVolumeOptions

NewGetVolumeOptions : Instantiate GetVolumeOptions

func (*VpcV1) NewGetVolumeProfileOptions

func (*VpcV1) NewGetVolumeProfileOptions(name string) *GetVolumeProfileOptions

NewGetVolumeProfileOptions : Instantiate GetVolumeProfileOptions

func (*VpcV1) NewIP added in v0.22.0

func (*VpcV1) NewIP(address string) (_model *IP, err error)

NewIP : Instantiate IP (Generic Model Constructor)

func (*VpcV1) NewIkePoliciesPager added in v0.25.0

func (vpc *VpcV1) NewIkePoliciesPager(options *ListIkePoliciesOptions) (pager *IkePoliciesPager, err error)

NewIkePoliciesPager returns a new IkePoliciesPager instance.

func (*VpcV1) NewImageFilePrototype

func (*VpcV1) NewImageFilePrototype(href string) (_model *ImageFilePrototype, err error)

NewImageFilePrototype : Instantiate ImageFilePrototype (Generic Model Constructor)

func (*VpcV1) NewImageIdentityByCRN

func (*VpcV1) NewImageIdentityByCRN(crn string) (_model *ImageIdentityByCRN, err error)

NewImageIdentityByCRN : Instantiate ImageIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewImageIdentityByHref

func (*VpcV1) NewImageIdentityByHref(href string) (_model *ImageIdentityByHref, err error)

NewImageIdentityByHref : Instantiate ImageIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewImageIdentityByID

func (*VpcV1) NewImageIdentityByID(id string) (_model *ImageIdentityByID, err error)

NewImageIdentityByID : Instantiate ImageIdentityByID (Generic Model Constructor)

func (*VpcV1) NewImagePrototypeImageByFile

func (*VpcV1) NewImagePrototypeImageByFile(file *ImageFilePrototype, operatingSystem OperatingSystemIdentityIntf) (_model *ImagePrototypeImageByFile, err error)

NewImagePrototypeImageByFile : Instantiate ImagePrototypeImageByFile (Generic Model Constructor)

func (*VpcV1) NewImagePrototypeImageBySourceVolume added in v0.7.0

func (*VpcV1) NewImagePrototypeImageBySourceVolume(sourceVolume VolumeIdentityIntf) (_model *ImagePrototypeImageBySourceVolume, err error)

NewImagePrototypeImageBySourceVolume : Instantiate ImagePrototypeImageBySourceVolume (Generic Model Constructor)

func (*VpcV1) NewImagesPager added in v0.25.0

func (vpc *VpcV1) NewImagesPager(options *ListImagesOptions) (pager *ImagesPager, err error)

NewImagesPager returns a new ImagesPager instance.

func (*VpcV1) NewInstanceCatalogOfferingPrototypeCatalogOfferingByOffering added in v0.26.0

func (*VpcV1) NewInstanceCatalogOfferingPrototypeCatalogOfferingByOffering(offering CatalogOfferingIdentityIntf) (_model *InstanceCatalogOfferingPrototypeCatalogOfferingByOffering, err error)

NewInstanceCatalogOfferingPrototypeCatalogOfferingByOffering : Instantiate InstanceCatalogOfferingPrototypeCatalogOfferingByOffering (Generic Model Constructor)

func (*VpcV1) NewInstanceCatalogOfferingPrototypeCatalogOfferingByVersion added in v0.26.0

func (*VpcV1) NewInstanceCatalogOfferingPrototypeCatalogOfferingByVersion(version CatalogOfferingVersionIdentityIntf) (_model *InstanceCatalogOfferingPrototypeCatalogOfferingByVersion, err error)

NewInstanceCatalogOfferingPrototypeCatalogOfferingByVersion : Instantiate InstanceCatalogOfferingPrototypeCatalogOfferingByVersion (Generic Model Constructor)

func (*VpcV1) NewInstanceDefaultTrustedProfilePrototype added in v0.17.0

func (*VpcV1) NewInstanceDefaultTrustedProfilePrototype(target TrustedProfileIdentityIntf) (_model *InstanceDefaultTrustedProfilePrototype, err error)

NewInstanceDefaultTrustedProfilePrototype : Instantiate InstanceDefaultTrustedProfilePrototype (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup added in v0.6.0

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup(group *InstanceGroupManagerScheduledActionGroupPrototype) (_model *InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup, err error)

NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup : Instantiate InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByGroup (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager added in v0.6.0

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager(manager InstanceGroupManagerScheduledActionManagerPrototypeIntf) (_model *InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager, err error)

NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager : Instantiate InstanceGroupManagerActionPrototypeScheduledActionPrototypeByCronSpecByManager (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup added in v0.6.0

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup(group *InstanceGroupManagerScheduledActionGroupPrototype) (_model *InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup, err error)

NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup : Instantiate InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByGroup (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager added in v0.6.0

func (*VpcV1) NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager(manager InstanceGroupManagerScheduledActionManagerPrototypeIntf) (_model *InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager, err error)

NewInstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager : Instantiate InstanceGroupManagerActionPrototypeScheduledActionPrototypeByRunAtByManager (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerActionsPager added in v0.25.0

func (vpc *VpcV1) NewInstanceGroupManagerActionsPager(options *ListInstanceGroupManagerActionsOptions) (pager *InstanceGroupManagerActionsPager, err error)

NewInstanceGroupManagerActionsPager returns a new InstanceGroupManagerActionsPager instance.

func (*VpcV1) NewInstanceGroupManagerPoliciesPager added in v0.25.0

func (vpc *VpcV1) NewInstanceGroupManagerPoliciesPager(options *ListInstanceGroupManagerPoliciesOptions) (pager *InstanceGroupManagerPoliciesPager, err error)

NewInstanceGroupManagerPoliciesPager returns a new InstanceGroupManagerPoliciesPager instance.

func (*VpcV1) NewInstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype added in v0.1.0

func (*VpcV1) NewInstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype(metricType string, metricValue int64, policyType string) (_model *InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype, err error)

NewInstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype : Instantiate InstanceGroupManagerPolicyPrototypeInstanceGroupManagerTargetPolicyPrototype (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype added in v0.1.0

func (*VpcV1) NewInstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype(managerType string, maxMembershipCount int64) (_model *InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype, err error)

NewInstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype : Instantiate InstanceGroupManagerPrototypeInstanceGroupManagerAutoScalePrototype (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype added in v0.6.0

func (*VpcV1) NewInstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype(managerType string) (_model *InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype, err error)

NewInstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype : Instantiate InstanceGroupManagerPrototypeInstanceGroupManagerScheduledPrototype (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerScheduledActionGroupPrototype added in v0.6.0

func (*VpcV1) NewInstanceGroupManagerScheduledActionGroupPrototype(membershipCount int64) (_model *InstanceGroupManagerScheduledActionGroupPrototype, err error)

NewInstanceGroupManagerScheduledActionGroupPrototype : Instantiate InstanceGroupManagerScheduledActionGroupPrototype (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref added in v0.7.0

func (*VpcV1) NewInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref(href string) (_model *InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref, err error)

NewInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref : Instantiate InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByHref (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID added in v0.7.0

func (*VpcV1) NewInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID(id string) (_model *InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID, err error)

NewInstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID : Instantiate InstanceGroupManagerScheduledActionManagerPrototypeAutoScalePrototypeByID (Generic Model Constructor)

func (*VpcV1) NewInstanceGroupManagersPager added in v0.25.0

func (vpc *VpcV1) NewInstanceGroupManagersPager(options *ListInstanceGroupManagersOptions) (pager *InstanceGroupManagersPager, err error)

NewInstanceGroupManagersPager returns a new InstanceGroupManagersPager instance.

func (*VpcV1) NewInstanceGroupMembershipsPager added in v0.25.0

func (vpc *VpcV1) NewInstanceGroupMembershipsPager(options *ListInstanceGroupMembershipsOptions) (pager *InstanceGroupMembershipsPager, err error)

NewInstanceGroupMembershipsPager returns a new InstanceGroupMembershipsPager instance.

func (*VpcV1) NewInstanceGroupsPager added in v0.25.0

func (vpc *VpcV1) NewInstanceGroupsPager(options *ListInstanceGroupsOptions) (pager *InstanceGroupsPager, err error)

NewInstanceGroupsPager returns a new InstanceGroupsPager instance.

func (*VpcV1) NewInstanceNetworkAttachmentPrototype added in v0.47.0

func (*VpcV1) NewInstanceNetworkAttachmentPrototype(virtualNetworkInterface InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceIntf) (_model *InstanceNetworkAttachmentPrototype, err error)

NewInstanceNetworkAttachmentPrototype : Instantiate InstanceNetworkAttachmentPrototype (Generic Model Constructor)

func (*VpcV1) NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewInstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate InstanceNetworkAttachmentPrototypeVirtualNetworkInterfaceVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstanceNetworkInterfaceIpsPager added in v0.25.0

func (vpc *VpcV1) NewInstanceNetworkInterfaceIpsPager(options *ListInstanceNetworkInterfaceIpsOptions) (pager *InstanceNetworkInterfaceIpsPager, err error)

NewInstanceNetworkInterfaceIpsPager returns a new InstanceNetworkInterfaceIpsPager instance.

func (*VpcV1) NewInstancePatchProfileInstanceProfileIdentityByHref added in v0.5.0

func (*VpcV1) NewInstancePatchProfileInstanceProfileIdentityByHref(href string) (_model *InstancePatchProfileInstanceProfileIdentityByHref, err error)

NewInstancePatchProfileInstanceProfileIdentityByHref : Instantiate InstancePatchProfileInstanceProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstancePatchProfileInstanceProfileIdentityByName added in v0.5.0

func (*VpcV1) NewInstancePatchProfileInstanceProfileIdentityByName(name string) (_model *InstancePatchProfileInstanceProfileIdentityByName, err error)

NewInstancePatchProfileInstanceProfileIdentityByName : Instantiate InstancePatchProfileInstanceProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN added in v0.16.0

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN(crn string) (_model *InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN, err error)

NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN : Instantiate InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref added in v0.16.0

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref(href string) (_model *InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref, err error)

NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref : Instantiate InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID added in v0.16.0

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID(id string) (_model *InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID, err error)

NewInstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID : Instantiate InstancePlacementTargetPatchDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN added in v0.16.0

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN(crn string) (_model *InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN, err error)

NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN : Instantiate InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref added in v0.16.0

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref(href string) (_model *InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref, err error)

NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref : Instantiate InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID added in v0.16.0

func (*VpcV1) NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID(id string) (_model *InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID, err error)

NewInstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID : Instantiate InstancePlacementTargetPatchDedicatedHostIdentityDedicatedHostIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN added in v0.6.0

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN(crn string) (_model *InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN, err error)

NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN : Instantiate InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref added in v0.6.0

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref(href string) (_model *InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref, err error)

NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref : Instantiate InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID added in v0.6.0

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID(id string) (_model *InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID, err error)

NewInstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID : Instantiate InstancePlacementTargetPrototypeDedicatedHostGroupIdentityDedicatedHostGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN added in v0.6.0

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN(crn string) (_model *InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN, err error)

NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN : Instantiate InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref added in v0.6.0

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref(href string) (_model *InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref, err error)

NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref : Instantiate InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID added in v0.6.0

func (*VpcV1) NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID(id string) (_model *InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID, err error)

NewInstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID : Instantiate InstancePlacementTargetPrototypeDedicatedHostIdentityDedicatedHostIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN added in v0.9.0

func (*VpcV1) NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN(crn string) (_model *InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN, err error)

NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN : Instantiate InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref added in v0.9.0

func (*VpcV1) NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref(href string) (_model *InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref, err error)

NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref : Instantiate InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID added in v0.9.0

func (*VpcV1) NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID(id string) (_model *InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID, err error)

NewInstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID : Instantiate InstancePlacementTargetPrototypePlacementGroupIdentityPlacementGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstanceProfileIdentityByHref

func (*VpcV1) NewInstanceProfileIdentityByHref(href string) (_model *InstanceProfileIdentityByHref, err error)

NewInstanceProfileIdentityByHref : Instantiate InstanceProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstanceProfileIdentityByName

func (*VpcV1) NewInstanceProfileIdentityByName(name string) (_model *InstanceProfileIdentityByName, err error)

NewInstanceProfileIdentityByName : Instantiate InstanceProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment(catalogOffering InstanceCatalogOfferingPrototypeIntf, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment, err error)

NewInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment : Instantiate InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface(catalogOffering InstanceCatalogOfferingPrototypeIntf, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface, err error)

NewInstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface : Instantiate InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment(image ImageIdentityIntf, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment, err error)

NewInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment : Instantiate InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface(image ImageIdentityIntf, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface, err error)

NewInstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface : Instantiate InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment(bootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment, err error)

NewInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment : Instantiate InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface(bootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface, err error)

NewInstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface : Instantiate InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceBySourceTemplate added in v0.1.0

func (*VpcV1) NewInstancePrototypeInstanceBySourceTemplate(sourceTemplate InstanceTemplateIdentityIntf) (_model *InstancePrototypeInstanceBySourceTemplate, err error)

NewInstancePrototypeInstanceBySourceTemplate : Instantiate InstancePrototypeInstanceBySourceTemplate (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment(bootVolumeAttachment *VolumeAttachmentPrototypeInstanceByVolumeContext, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment, err error)

NewInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment : Instantiate InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface(bootVolumeAttachment *VolumeAttachmentPrototypeInstanceByVolumeContext, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface, err error)

NewInstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface : Instantiate InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplateIdentityByCRN added in v0.1.0

func (*VpcV1) NewInstanceTemplateIdentityByCRN(crn string) (_model *InstanceTemplateIdentityByCRN, err error)

NewInstanceTemplateIdentityByCRN : Instantiate InstanceTemplateIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplateIdentityByHref added in v0.1.0

func (*VpcV1) NewInstanceTemplateIdentityByHref(href string) (_model *InstanceTemplateIdentityByHref, err error)

NewInstanceTemplateIdentityByHref : Instantiate InstanceTemplateIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplateIdentityByID added in v0.1.0

func (*VpcV1) NewInstanceTemplateIdentityByID(id string) (_model *InstanceTemplateIdentityByID, err error)

NewInstanceTemplateIdentityByID : Instantiate InstanceTemplateIdentityByID (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment(catalogOffering InstanceCatalogOfferingPrototypeIntf, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment, err error)

NewInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment : Instantiate InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface(catalogOffering InstanceCatalogOfferingPrototypeIntf, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface, err error)

NewInstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface : Instantiate InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment(image ImageIdentityIntf, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment, err error)

NewInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment : Instantiate InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface(image ImageIdentityIntf, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface, err error)

NewInstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface : Instantiate InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment added in v0.47.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment(bootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext, zone ZoneIdentityIntf, primaryNetworkAttachment *InstanceNetworkAttachmentPrototype) (_model *InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment, err error)

NewInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment : Instantiate InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachment (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface added in v0.47.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface(bootVolumeAttachment *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext, zone ZoneIdentityIntf, primaryNetworkInterface *NetworkInterfacePrototype) (_model *InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface, err error)

NewInstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface : Instantiate InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterface (Generic Model Constructor)

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateBySourceTemplate added in v0.39.0

func (*VpcV1) NewInstanceTemplatePrototypeInstanceTemplateBySourceTemplate(sourceTemplate InstanceTemplateIdentityIntf) (_model *InstanceTemplatePrototypeInstanceTemplateBySourceTemplate, err error)

NewInstanceTemplatePrototypeInstanceTemplateBySourceTemplate : Instantiate InstanceTemplatePrototypeInstanceTemplateBySourceTemplate (Generic Model Constructor)

func (*VpcV1) NewInstancesPager added in v0.25.0

func (vpc *VpcV1) NewInstancesPager(options *ListInstancesOptions) (pager *InstancesPager, err error)

NewInstancesPager returns a new InstancesPager instance.

func (*VpcV1) NewIpsecPoliciesPager added in v0.25.0

func (vpc *VpcV1) NewIpsecPoliciesPager(options *ListIpsecPoliciesOptions) (pager *IpsecPoliciesPager, err error)

NewIpsecPoliciesPager returns a new IpsecPoliciesPager instance.

func (*VpcV1) NewKeyIdentityByCRN

func (*VpcV1) NewKeyIdentityByCRN(crn string) (_model *KeyIdentityByCRN, err error)

NewKeyIdentityByCRN : Instantiate KeyIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewKeyIdentityByFingerprint

func (*VpcV1) NewKeyIdentityByFingerprint(fingerprint string) (_model *KeyIdentityByFingerprint, err error)

NewKeyIdentityByFingerprint : Instantiate KeyIdentityByFingerprint (Generic Model Constructor)

func (*VpcV1) NewKeyIdentityByHref

func (*VpcV1) NewKeyIdentityByHref(href string) (_model *KeyIdentityByHref, err error)

NewKeyIdentityByHref : Instantiate KeyIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewKeyIdentityByID

func (*VpcV1) NewKeyIdentityByID(id string) (_model *KeyIdentityByID, err error)

NewKeyIdentityByID : Instantiate KeyIdentityByID (Generic Model Constructor)

func (*VpcV1) NewKeysPager added in v0.25.0

func (vpc *VpcV1) NewKeysPager(options *ListKeysOptions) (pager *KeysPager, err error)

NewKeysPager returns a new KeysPager instance.

func (*VpcV1) NewLegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName added in v0.18.0

func (*VpcV1) NewLegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName(name string) (_model *LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName, err error)

NewLegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName : Instantiate LegacyCloudObjectStorageBucketIdentityCloudObjectStorageBucketIdentityByName (Generic Model Constructor)

func (*VpcV1) NewListBackupPoliciesOptions added in v0.21.0

func (*VpcV1) NewListBackupPoliciesOptions() *ListBackupPoliciesOptions

NewListBackupPoliciesOptions : Instantiate ListBackupPoliciesOptions

func (*VpcV1) NewListBackupPolicyJobsOptions added in v0.29.0

func (*VpcV1) NewListBackupPolicyJobsOptions(backupPolicyID string) *ListBackupPolicyJobsOptions

NewListBackupPolicyJobsOptions : Instantiate ListBackupPolicyJobsOptions

func (*VpcV1) NewListBackupPolicyPlansOptions added in v0.21.0

func (*VpcV1) NewListBackupPolicyPlansOptions(backupPolicyID string) *ListBackupPolicyPlansOptions

NewListBackupPolicyPlansOptions : Instantiate ListBackupPolicyPlansOptions

func (*VpcV1) NewListBareMetalServerDisksOptions added in v0.16.0

func (*VpcV1) NewListBareMetalServerDisksOptions(bareMetalServerID string) *ListBareMetalServerDisksOptions

NewListBareMetalServerDisksOptions : Instantiate ListBareMetalServerDisksOptions

func (*VpcV1) NewListBareMetalServerNetworkAttachmentsOptions added in v0.47.0

func (*VpcV1) NewListBareMetalServerNetworkAttachmentsOptions(bareMetalServerID string) *ListBareMetalServerNetworkAttachmentsOptions

NewListBareMetalServerNetworkAttachmentsOptions : Instantiate ListBareMetalServerNetworkAttachmentsOptions

func (*VpcV1) NewListBareMetalServerNetworkInterfaceFloatingIpsOptions added in v0.16.0

func (*VpcV1) NewListBareMetalServerNetworkInterfaceFloatingIpsOptions(bareMetalServerID string, networkInterfaceID string) *ListBareMetalServerNetworkInterfaceFloatingIpsOptions

NewListBareMetalServerNetworkInterfaceFloatingIpsOptions : Instantiate ListBareMetalServerNetworkInterfaceFloatingIpsOptions

func (*VpcV1) NewListBareMetalServerNetworkInterfaceIpsOptions added in v0.19.0

func (*VpcV1) NewListBareMetalServerNetworkInterfaceIpsOptions(bareMetalServerID string, networkInterfaceID string) *ListBareMetalServerNetworkInterfaceIpsOptions

NewListBareMetalServerNetworkInterfaceIpsOptions : Instantiate ListBareMetalServerNetworkInterfaceIpsOptions

func (*VpcV1) NewListBareMetalServerNetworkInterfacesOptions added in v0.16.0

func (*VpcV1) NewListBareMetalServerNetworkInterfacesOptions(bareMetalServerID string) *ListBareMetalServerNetworkInterfacesOptions

NewListBareMetalServerNetworkInterfacesOptions : Instantiate ListBareMetalServerNetworkInterfacesOptions

func (*VpcV1) NewListBareMetalServerProfilesOptions added in v0.16.0

func (*VpcV1) NewListBareMetalServerProfilesOptions() *ListBareMetalServerProfilesOptions

NewListBareMetalServerProfilesOptions : Instantiate ListBareMetalServerProfilesOptions

func (*VpcV1) NewListBareMetalServersOptions added in v0.16.0

func (*VpcV1) NewListBareMetalServersOptions() *ListBareMetalServersOptions

NewListBareMetalServersOptions : Instantiate ListBareMetalServersOptions

func (*VpcV1) NewListDedicatedHostDisksOptions added in v0.5.0

func (*VpcV1) NewListDedicatedHostDisksOptions(dedicatedHostID string) *ListDedicatedHostDisksOptions

NewListDedicatedHostDisksOptions : Instantiate ListDedicatedHostDisksOptions

func (*VpcV1) NewListDedicatedHostGroupsOptions added in v0.4.0

func (*VpcV1) NewListDedicatedHostGroupsOptions() *ListDedicatedHostGroupsOptions

NewListDedicatedHostGroupsOptions : Instantiate ListDedicatedHostGroupsOptions

func (*VpcV1) NewListDedicatedHostProfilesOptions added in v0.4.0

func (*VpcV1) NewListDedicatedHostProfilesOptions() *ListDedicatedHostProfilesOptions

NewListDedicatedHostProfilesOptions : Instantiate ListDedicatedHostProfilesOptions

func (*VpcV1) NewListDedicatedHostsOptions added in v0.4.0

func (*VpcV1) NewListDedicatedHostsOptions() *ListDedicatedHostsOptions

NewListDedicatedHostsOptions : Instantiate ListDedicatedHostsOptions

func (*VpcV1) NewListEndpointGatewayIpsOptions added in v0.3.0

func (*VpcV1) NewListEndpointGatewayIpsOptions(endpointGatewayID string) *ListEndpointGatewayIpsOptions

NewListEndpointGatewayIpsOptions : Instantiate ListEndpointGatewayIpsOptions

func (*VpcV1) NewListEndpointGatewaysOptions added in v0.3.0

func (*VpcV1) NewListEndpointGatewaysOptions() *ListEndpointGatewaysOptions

NewListEndpointGatewaysOptions : Instantiate ListEndpointGatewaysOptions

func (*VpcV1) NewListFloatingIpsOptions

func (*VpcV1) NewListFloatingIpsOptions() *ListFloatingIpsOptions

NewListFloatingIpsOptions : Instantiate ListFloatingIpsOptions

func (*VpcV1) NewListFlowLogCollectorsOptions

func (*VpcV1) NewListFlowLogCollectorsOptions() *ListFlowLogCollectorsOptions

NewListFlowLogCollectorsOptions : Instantiate ListFlowLogCollectorsOptions

func (*VpcV1) NewListIkePoliciesOptions

func (*VpcV1) NewListIkePoliciesOptions() *ListIkePoliciesOptions

NewListIkePoliciesOptions : Instantiate ListIkePoliciesOptions

func (*VpcV1) NewListIkePolicyConnectionsOptions

func (*VpcV1) NewListIkePolicyConnectionsOptions(id string) *ListIkePolicyConnectionsOptions

NewListIkePolicyConnectionsOptions : Instantiate ListIkePolicyConnectionsOptions

func (*VpcV1) NewListImageExportJobsOptions added in v0.37.0

func (*VpcV1) NewListImageExportJobsOptions(imageID string) *ListImageExportJobsOptions

NewListImageExportJobsOptions : Instantiate ListImageExportJobsOptions

func (*VpcV1) NewListImagesOptions

func (*VpcV1) NewListImagesOptions() *ListImagesOptions

NewListImagesOptions : Instantiate ListImagesOptions

func (*VpcV1) NewListInstanceDisksOptions added in v0.5.0

func (*VpcV1) NewListInstanceDisksOptions(instanceID string) *ListInstanceDisksOptions

NewListInstanceDisksOptions : Instantiate ListInstanceDisksOptions

func (*VpcV1) NewListInstanceGroupManagerActionsOptions added in v0.6.0

func (*VpcV1) NewListInstanceGroupManagerActionsOptions(instanceGroupID string, instanceGroupManagerID string) *ListInstanceGroupManagerActionsOptions

NewListInstanceGroupManagerActionsOptions : Instantiate ListInstanceGroupManagerActionsOptions

func (*VpcV1) NewListInstanceGroupManagerPoliciesOptions added in v0.1.0

func (*VpcV1) NewListInstanceGroupManagerPoliciesOptions(instanceGroupID string, instanceGroupManagerID string) *ListInstanceGroupManagerPoliciesOptions

NewListInstanceGroupManagerPoliciesOptions : Instantiate ListInstanceGroupManagerPoliciesOptions

func (*VpcV1) NewListInstanceGroupManagersOptions added in v0.1.0

func (*VpcV1) NewListInstanceGroupManagersOptions(instanceGroupID string) *ListInstanceGroupManagersOptions

NewListInstanceGroupManagersOptions : Instantiate ListInstanceGroupManagersOptions

func (*VpcV1) NewListInstanceGroupMembershipsOptions added in v0.1.0

func (*VpcV1) NewListInstanceGroupMembershipsOptions(instanceGroupID string) *ListInstanceGroupMembershipsOptions

NewListInstanceGroupMembershipsOptions : Instantiate ListInstanceGroupMembershipsOptions

func (*VpcV1) NewListInstanceGroupsOptions added in v0.1.0

func (*VpcV1) NewListInstanceGroupsOptions() *ListInstanceGroupsOptions

NewListInstanceGroupsOptions : Instantiate ListInstanceGroupsOptions

func (*VpcV1) NewListInstanceNetworkAttachmentsOptions added in v0.47.0

func (*VpcV1) NewListInstanceNetworkAttachmentsOptions(instanceID string) *ListInstanceNetworkAttachmentsOptions

NewListInstanceNetworkAttachmentsOptions : Instantiate ListInstanceNetworkAttachmentsOptions

func (*VpcV1) NewListInstanceNetworkInterfaceFloatingIpsOptions

func (*VpcV1) NewListInstanceNetworkInterfaceFloatingIpsOptions(instanceID string, networkInterfaceID string) *ListInstanceNetworkInterfaceFloatingIpsOptions

NewListInstanceNetworkInterfaceFloatingIpsOptions : Instantiate ListInstanceNetworkInterfaceFloatingIpsOptions

func (*VpcV1) NewListInstanceNetworkInterfaceIpsOptions added in v0.19.0

func (*VpcV1) NewListInstanceNetworkInterfaceIpsOptions(instanceID string, networkInterfaceID string) *ListInstanceNetworkInterfaceIpsOptions

NewListInstanceNetworkInterfaceIpsOptions : Instantiate ListInstanceNetworkInterfaceIpsOptions

func (*VpcV1) NewListInstanceNetworkInterfacesOptions

func (*VpcV1) NewListInstanceNetworkInterfacesOptions(instanceID string) *ListInstanceNetworkInterfacesOptions

NewListInstanceNetworkInterfacesOptions : Instantiate ListInstanceNetworkInterfacesOptions

func (*VpcV1) NewListInstanceProfilesOptions

func (*VpcV1) NewListInstanceProfilesOptions() *ListInstanceProfilesOptions

NewListInstanceProfilesOptions : Instantiate ListInstanceProfilesOptions

func (*VpcV1) NewListInstanceTemplatesOptions added in v0.1.0

func (*VpcV1) NewListInstanceTemplatesOptions() *ListInstanceTemplatesOptions

NewListInstanceTemplatesOptions : Instantiate ListInstanceTemplatesOptions

func (*VpcV1) NewListInstanceVolumeAttachmentsOptions

func (*VpcV1) NewListInstanceVolumeAttachmentsOptions(instanceID string) *ListInstanceVolumeAttachmentsOptions

NewListInstanceVolumeAttachmentsOptions : Instantiate ListInstanceVolumeAttachmentsOptions

func (*VpcV1) NewListInstancesOptions

func (*VpcV1) NewListInstancesOptions() *ListInstancesOptions

NewListInstancesOptions : Instantiate ListInstancesOptions

func (*VpcV1) NewListIpsecPoliciesOptions

func (*VpcV1) NewListIpsecPoliciesOptions() *ListIpsecPoliciesOptions

NewListIpsecPoliciesOptions : Instantiate ListIpsecPoliciesOptions

func (*VpcV1) NewListIpsecPolicyConnectionsOptions

func (*VpcV1) NewListIpsecPolicyConnectionsOptions(id string) *ListIpsecPolicyConnectionsOptions

NewListIpsecPolicyConnectionsOptions : Instantiate ListIpsecPolicyConnectionsOptions

func (*VpcV1) NewListKeysOptions

func (*VpcV1) NewListKeysOptions() *ListKeysOptions

NewListKeysOptions : Instantiate ListKeysOptions

func (*VpcV1) NewListLoadBalancerListenerPoliciesOptions

func (*VpcV1) NewListLoadBalancerListenerPoliciesOptions(loadBalancerID string, listenerID string) *ListLoadBalancerListenerPoliciesOptions

NewListLoadBalancerListenerPoliciesOptions : Instantiate ListLoadBalancerListenerPoliciesOptions

func (*VpcV1) NewListLoadBalancerListenerPolicyRulesOptions

func (*VpcV1) NewListLoadBalancerListenerPolicyRulesOptions(loadBalancerID string, listenerID string, policyID string) *ListLoadBalancerListenerPolicyRulesOptions

NewListLoadBalancerListenerPolicyRulesOptions : Instantiate ListLoadBalancerListenerPolicyRulesOptions

func (*VpcV1) NewListLoadBalancerListenersOptions

func (*VpcV1) NewListLoadBalancerListenersOptions(loadBalancerID string) *ListLoadBalancerListenersOptions

NewListLoadBalancerListenersOptions : Instantiate ListLoadBalancerListenersOptions

func (*VpcV1) NewListLoadBalancerPoolMembersOptions

func (*VpcV1) NewListLoadBalancerPoolMembersOptions(loadBalancerID string, poolID string) *ListLoadBalancerPoolMembersOptions

NewListLoadBalancerPoolMembersOptions : Instantiate ListLoadBalancerPoolMembersOptions

func (*VpcV1) NewListLoadBalancerPoolsOptions

func (*VpcV1) NewListLoadBalancerPoolsOptions(loadBalancerID string) *ListLoadBalancerPoolsOptions

NewListLoadBalancerPoolsOptions : Instantiate ListLoadBalancerPoolsOptions

func (*VpcV1) NewListLoadBalancerProfilesOptions added in v0.1.0

func (*VpcV1) NewListLoadBalancerProfilesOptions() *ListLoadBalancerProfilesOptions

NewListLoadBalancerProfilesOptions : Instantiate ListLoadBalancerProfilesOptions

func (*VpcV1) NewListLoadBalancersOptions

func (*VpcV1) NewListLoadBalancersOptions() *ListLoadBalancersOptions

NewListLoadBalancersOptions : Instantiate ListLoadBalancersOptions

func (*VpcV1) NewListNetworkACLRulesOptions

func (*VpcV1) NewListNetworkACLRulesOptions(networkACLID string) *ListNetworkACLRulesOptions

NewListNetworkACLRulesOptions : Instantiate ListNetworkACLRulesOptions

func (*VpcV1) NewListNetworkAclsOptions

func (*VpcV1) NewListNetworkAclsOptions() *ListNetworkAclsOptions

NewListNetworkAclsOptions : Instantiate ListNetworkAclsOptions

func (*VpcV1) NewListNetworkInterfaceFloatingIpsOptions added in v0.47.0

func (*VpcV1) NewListNetworkInterfaceFloatingIpsOptions(virtualNetworkInterfaceID string) *ListNetworkInterfaceFloatingIpsOptions

NewListNetworkInterfaceFloatingIpsOptions : Instantiate ListNetworkInterfaceFloatingIpsOptions

func (*VpcV1) NewListOperatingSystemsOptions

func (*VpcV1) NewListOperatingSystemsOptions() *ListOperatingSystemsOptions

NewListOperatingSystemsOptions : Instantiate ListOperatingSystemsOptions

func (*VpcV1) NewListPlacementGroupsOptions added in v0.9.0

func (*VpcV1) NewListPlacementGroupsOptions() *ListPlacementGroupsOptions

NewListPlacementGroupsOptions : Instantiate ListPlacementGroupsOptions

func (*VpcV1) NewListPublicGatewaysOptions

func (*VpcV1) NewListPublicGatewaysOptions() *ListPublicGatewaysOptions

NewListPublicGatewaysOptions : Instantiate ListPublicGatewaysOptions

func (*VpcV1) NewListRegionZonesOptions

func (*VpcV1) NewListRegionZonesOptions(regionName string) *ListRegionZonesOptions

NewListRegionZonesOptions : Instantiate ListRegionZonesOptions

func (*VpcV1) NewListRegionsOptions

func (*VpcV1) NewListRegionsOptions() *ListRegionsOptions

NewListRegionsOptions : Instantiate ListRegionsOptions

func (*VpcV1) NewListReservationsOptions added in v0.48.0

func (*VpcV1) NewListReservationsOptions() *ListReservationsOptions

NewListReservationsOptions : Instantiate ListReservationsOptions

func (*VpcV1) NewListSecurityGroupRulesOptions

func (*VpcV1) NewListSecurityGroupRulesOptions(securityGroupID string) *ListSecurityGroupRulesOptions

NewListSecurityGroupRulesOptions : Instantiate ListSecurityGroupRulesOptions

func (*VpcV1) NewListSecurityGroupTargetsOptions added in v0.5.0

func (*VpcV1) NewListSecurityGroupTargetsOptions(securityGroupID string) *ListSecurityGroupTargetsOptions

NewListSecurityGroupTargetsOptions : Instantiate ListSecurityGroupTargetsOptions

func (*VpcV1) NewListSecurityGroupsOptions

func (*VpcV1) NewListSecurityGroupsOptions() *ListSecurityGroupsOptions

NewListSecurityGroupsOptions : Instantiate ListSecurityGroupsOptions

func (*VpcV1) NewListShareMountTargetsOptions added in v0.41.0

func (*VpcV1) NewListShareMountTargetsOptions(shareID string) *ListShareMountTargetsOptions

NewListShareMountTargetsOptions : Instantiate ListShareMountTargetsOptions

func (*VpcV1) NewListShareProfilesOptions added in v0.41.0

func (*VpcV1) NewListShareProfilesOptions() *ListShareProfilesOptions

NewListShareProfilesOptions : Instantiate ListShareProfilesOptions

func (*VpcV1) NewListSharesOptions added in v0.41.0

func (*VpcV1) NewListSharesOptions() *ListSharesOptions

NewListSharesOptions : Instantiate ListSharesOptions

func (*VpcV1) NewListSnapshotClonesOptions added in v0.31.0

func (*VpcV1) NewListSnapshotClonesOptions(id string) *ListSnapshotClonesOptions

NewListSnapshotClonesOptions : Instantiate ListSnapshotClonesOptions

func (*VpcV1) NewListSnapshotConsistencyGroupsOptions added in v0.45.0

func (*VpcV1) NewListSnapshotConsistencyGroupsOptions() *ListSnapshotConsistencyGroupsOptions

NewListSnapshotConsistencyGroupsOptions : Instantiate ListSnapshotConsistencyGroupsOptions

func (*VpcV1) NewListSnapshotsOptions added in v0.7.0

func (*VpcV1) NewListSnapshotsOptions() *ListSnapshotsOptions

NewListSnapshotsOptions : Instantiate ListSnapshotsOptions

func (*VpcV1) NewListSubnetReservedIpsOptions added in v0.3.0

func (*VpcV1) NewListSubnetReservedIpsOptions(subnetID string) *ListSubnetReservedIpsOptions

NewListSubnetReservedIpsOptions : Instantiate ListSubnetReservedIpsOptions

func (*VpcV1) NewListSubnetsOptions

func (*VpcV1) NewListSubnetsOptions() *ListSubnetsOptions

NewListSubnetsOptions : Instantiate ListSubnetsOptions

func (*VpcV1) NewListVPCAddressPrefixesOptions

func (*VpcV1) NewListVPCAddressPrefixesOptions(vpcID string) *ListVPCAddressPrefixesOptions

NewListVPCAddressPrefixesOptions : Instantiate ListVPCAddressPrefixesOptions

func (*VpcV1) NewListVPCDnsResolutionBindingsOptions added in v0.43.0

func (*VpcV1) NewListVPCDnsResolutionBindingsOptions(vpcID string) *ListVPCDnsResolutionBindingsOptions

NewListVPCDnsResolutionBindingsOptions : Instantiate ListVPCDnsResolutionBindingsOptions

func (*VpcV1) NewListVPCRoutesOptions

func (*VpcV1) NewListVPCRoutesOptions(vpcID string) *ListVPCRoutesOptions

NewListVPCRoutesOptions : Instantiate ListVPCRoutesOptions

func (*VpcV1) NewListVPCRoutingTableRoutesOptions added in v0.3.0

func (*VpcV1) NewListVPCRoutingTableRoutesOptions(vpcID string, routingTableID string) *ListVPCRoutingTableRoutesOptions

NewListVPCRoutingTableRoutesOptions : Instantiate ListVPCRoutingTableRoutesOptions

func (*VpcV1) NewListVPCRoutingTablesOptions added in v0.3.0

func (*VpcV1) NewListVPCRoutingTablesOptions(vpcID string) *ListVPCRoutingTablesOptions

NewListVPCRoutingTablesOptions : Instantiate ListVPCRoutingTablesOptions

func (*VpcV1) NewListVPNGatewayConnectionsLocalCIDRsOptions added in v0.51.0

func (*VpcV1) NewListVPNGatewayConnectionsLocalCIDRsOptions(vpnGatewayID string, id string) *ListVPNGatewayConnectionsLocalCIDRsOptions

NewListVPNGatewayConnectionsLocalCIDRsOptions : Instantiate ListVPNGatewayConnectionsLocalCIDRsOptions

func (*VpcV1) NewListVPNGatewayConnectionsOptions

func (*VpcV1) NewListVPNGatewayConnectionsOptions(vpnGatewayID string) *ListVPNGatewayConnectionsOptions

NewListVPNGatewayConnectionsOptions : Instantiate ListVPNGatewayConnectionsOptions

func (*VpcV1) NewListVPNGatewayConnectionsPeerCIDRsOptions added in v0.51.0

func (*VpcV1) NewListVPNGatewayConnectionsPeerCIDRsOptions(vpnGatewayID string, id string) *ListVPNGatewayConnectionsPeerCIDRsOptions

NewListVPNGatewayConnectionsPeerCIDRsOptions : Instantiate ListVPNGatewayConnectionsPeerCIDRsOptions

func (*VpcV1) NewListVPNGatewaysOptions

func (*VpcV1) NewListVPNGatewaysOptions() *ListVPNGatewaysOptions

NewListVPNGatewaysOptions : Instantiate ListVPNGatewaysOptions

func (*VpcV1) NewListVPNServerClientsOptions added in v0.22.0

func (*VpcV1) NewListVPNServerClientsOptions(vpnServerID string) *ListVPNServerClientsOptions

NewListVPNServerClientsOptions : Instantiate ListVPNServerClientsOptions

func (*VpcV1) NewListVPNServerRoutesOptions added in v0.22.0

func (*VpcV1) NewListVPNServerRoutesOptions(vpnServerID string) *ListVPNServerRoutesOptions

NewListVPNServerRoutesOptions : Instantiate ListVPNServerRoutesOptions

func (*VpcV1) NewListVPNServersOptions added in v0.22.0

func (*VpcV1) NewListVPNServersOptions() *ListVPNServersOptions

NewListVPNServersOptions : Instantiate ListVPNServersOptions

func (*VpcV1) NewListVirtualNetworkInterfaceIpsOptions added in v0.47.0

func (*VpcV1) NewListVirtualNetworkInterfaceIpsOptions(virtualNetworkInterfaceID string) *ListVirtualNetworkInterfaceIpsOptions

NewListVirtualNetworkInterfaceIpsOptions : Instantiate ListVirtualNetworkInterfaceIpsOptions

func (*VpcV1) NewListVirtualNetworkInterfacesOptions added in v0.41.0

func (*VpcV1) NewListVirtualNetworkInterfacesOptions() *ListVirtualNetworkInterfacesOptions

NewListVirtualNetworkInterfacesOptions : Instantiate ListVirtualNetworkInterfacesOptions

func (*VpcV1) NewListVolumeProfilesOptions

func (*VpcV1) NewListVolumeProfilesOptions() *ListVolumeProfilesOptions

NewListVolumeProfilesOptions : Instantiate ListVolumeProfilesOptions

func (*VpcV1) NewListVolumesOptions

func (*VpcV1) NewListVolumesOptions() *ListVolumesOptions

NewListVolumesOptions : Instantiate ListVolumesOptions

func (*VpcV1) NewListVpcsOptions

func (*VpcV1) NewListVpcsOptions() *ListVpcsOptions

NewListVpcsOptions : Instantiate ListVpcsOptions

func (*VpcV1) NewLoadBalancerDnsPrototype added in v0.35.0

func (*VpcV1) NewLoadBalancerDnsPrototype(instance DnsInstanceIdentityIntf, zone DnsZoneIdentityIntf) (_model *LoadBalancerDnsPrototype, err error)

NewLoadBalancerDnsPrototype : Instantiate LoadBalancerDnsPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerIdentityByCRN added in v0.1.0

func (*VpcV1) NewLoadBalancerIdentityByCRN(crn string) (_model *LoadBalancerIdentityByCRN, err error)

NewLoadBalancerIdentityByCRN : Instantiate LoadBalancerIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerIdentityByHref added in v0.1.0

func (*VpcV1) NewLoadBalancerIdentityByHref(href string) (_model *LoadBalancerIdentityByHref, err error)

NewLoadBalancerIdentityByHref : Instantiate LoadBalancerIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerIdentityByID added in v0.1.0

func (*VpcV1) NewLoadBalancerIdentityByID(id string) (_model *LoadBalancerIdentityByID, err error)

NewLoadBalancerIdentityByID : Instantiate LoadBalancerIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref(href string) (_model *LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref, err error)

NewLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref : Instantiate LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID(id string) (_model *LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID, err error)

NewLoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID : Instantiate LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerHTTPSRedirectPrototype added in v0.10.0

func (*VpcV1) NewLoadBalancerListenerHTTPSRedirectPrototype(httpStatusCode int64, listener LoadBalancerListenerIdentityIntf) (_model *LoadBalancerListenerHTTPSRedirectPrototype, err error)

NewLoadBalancerListenerHTTPSRedirectPrototype : Instantiate LoadBalancerListenerHTTPSRedirectPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerIdentityByHref added in v0.10.0

func (*VpcV1) NewLoadBalancerListenerIdentityByHref(href string) (_model *LoadBalancerListenerIdentityByHref, err error)

NewLoadBalancerListenerIdentityByHref : Instantiate LoadBalancerListenerIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerIdentityByID added in v0.10.0

func (*VpcV1) NewLoadBalancerListenerIdentityByID(id string) (_model *LoadBalancerListenerIdentityByID, err error)

NewLoadBalancerListenerIdentityByID : Instantiate LoadBalancerListenerIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyPrototype

func (*VpcV1) NewLoadBalancerListenerPolicyPrototype(action string, priority int64) (_model *LoadBalancerListenerPolicyPrototype, err error)

NewLoadBalancerListenerPolicyPrototype : Instantiate LoadBalancerListenerPolicyPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyRulePrototype

func (*VpcV1) NewLoadBalancerListenerPolicyRulePrototype(condition string, typeVar string, value string) (_model *LoadBalancerListenerPolicyRulePrototype, err error)

NewLoadBalancerListenerPolicyRulePrototype : Instantiate LoadBalancerListenerPolicyRulePrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref(href string) (_model *LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref, err error)

NewLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref : Instantiate LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID(id string) (_model *LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID, err error)

NewLoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID : Instantiate LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype(httpStatusCode int64, listener LoadBalancerListenerIdentityIntf) (_model *LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype, err error)

NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype : Instantiate LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyHTTPSRedirectPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype added in v0.3.0

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype(httpStatusCode int64, url string) (_model *LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype, err error)

NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype : Instantiate LoadBalancerListenerPolicyTargetPrototypeLoadBalancerListenerPolicyRedirectURLPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref(href string) (_model *LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref, err error)

NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref : Instantiate LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

func (*VpcV1) NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID(id string) (_model *LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID, err error)

NewLoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID : Instantiate LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentityLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerListenerPrototypeLoadBalancerContext

func (*VpcV1) NewLoadBalancerListenerPrototypeLoadBalancerContext(protocol string) (_model *LoadBalancerListenerPrototypeLoadBalancerContext, err error)

NewLoadBalancerListenerPrototypeLoadBalancerContext : Instantiate LoadBalancerListenerPrototypeLoadBalancerContext (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolHealthMonitorPatch

func (*VpcV1) NewLoadBalancerPoolHealthMonitorPatch(delay int64, maxRetries int64, timeout int64, typeVar string) (_model *LoadBalancerPoolHealthMonitorPatch, err error)

NewLoadBalancerPoolHealthMonitorPatch : Instantiate LoadBalancerPoolHealthMonitorPatch (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolHealthMonitorPrototype

func (*VpcV1) NewLoadBalancerPoolHealthMonitorPrototype(delay int64, maxRetries int64, timeout int64, typeVar string) (_model *LoadBalancerPoolHealthMonitorPrototype, err error)

NewLoadBalancerPoolHealthMonitorPrototype : Instantiate LoadBalancerPoolHealthMonitorPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolIdentityByName

func (*VpcV1) NewLoadBalancerPoolIdentityByName(name string) (_model *LoadBalancerPoolIdentityByName, err error)

NewLoadBalancerPoolIdentityByName : Instantiate LoadBalancerPoolIdentityByName (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref added in v0.50.0

func (*VpcV1) NewLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref(href string) (_model *LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref, err error)

NewLoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref : Instantiate LoadBalancerPoolIdentityLoadBalancerPoolIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID added in v0.50.0

func (*VpcV1) NewLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID(id string) (_model *LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID, err error)

NewLoadBalancerPoolIdentityLoadBalancerPoolIdentityByID : Instantiate LoadBalancerPoolIdentityLoadBalancerPoolIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolMemberPrototype

func (*VpcV1) NewLoadBalancerPoolMemberPrototype(port int64, target LoadBalancerPoolMemberTargetPrototypeIntf) (_model *LoadBalancerPoolMemberPrototype, err error)

NewLoadBalancerPoolMemberPrototype : Instantiate LoadBalancerPoolMemberPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeIP

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeIP(address string) (_model *LoadBalancerPoolMemberTargetPrototypeIP, err error)

NewLoadBalancerPoolMemberTargetPrototypeIP : Instantiate LoadBalancerPoolMemberTargetPrototypeIP (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN added in v0.1.1

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN(crn string) (_model *LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN, err error)

NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN : Instantiate LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref added in v0.1.1

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref(href string) (_model *LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref, err error)

NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref : Instantiate LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID added in v0.1.1

func (*VpcV1) NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID(id string) (_model *LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID, err error)

NewLoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID : Instantiate LoadBalancerPoolMemberTargetPrototypeInstanceIdentityInstanceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolPrototype

func (*VpcV1) NewLoadBalancerPoolPrototype(algorithm string, healthMonitor *LoadBalancerPoolHealthMonitorPrototype, protocol string) (_model *LoadBalancerPoolPrototype, err error)

NewLoadBalancerPoolPrototype : Instantiate LoadBalancerPoolPrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerPoolSessionPersistencePrototype

func (*VpcV1) NewLoadBalancerPoolSessionPersistencePrototype(typeVar string) (_model *LoadBalancerPoolSessionPersistencePrototype, err error)

NewLoadBalancerPoolSessionPersistencePrototype : Instantiate LoadBalancerPoolSessionPersistencePrototype (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerProfileIdentityByHref added in v0.1.0

func (*VpcV1) NewLoadBalancerProfileIdentityByHref(href string) (_model *LoadBalancerProfileIdentityByHref, err error)

NewLoadBalancerProfileIdentityByHref : Instantiate LoadBalancerProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerProfileIdentityByName added in v0.1.0

func (*VpcV1) NewLoadBalancerProfileIdentityByName(name string) (_model *LoadBalancerProfileIdentityByName, err error)

NewLoadBalancerProfileIdentityByName : Instantiate LoadBalancerProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewLoadBalancerProfilesPager added in v0.25.0

func (vpc *VpcV1) NewLoadBalancerProfilesPager(options *ListLoadBalancerProfilesOptions) (pager *LoadBalancerProfilesPager, err error)

NewLoadBalancerProfilesPager returns a new LoadBalancerProfilesPager instance.

func (*VpcV1) NewLoadBalancersPager added in v0.25.0

func (vpc *VpcV1) NewLoadBalancersPager(options *ListLoadBalancersOptions) (pager *LoadBalancersPager, err error)

NewLoadBalancersPager returns a new LoadBalancersPager instance.

func (*VpcV1) NewNetworkACLIdentityByCRN

func (*VpcV1) NewNetworkACLIdentityByCRN(crn string) (_model *NetworkACLIdentityByCRN, err error)

NewNetworkACLIdentityByCRN : Instantiate NetworkACLIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewNetworkACLIdentityByHref

func (*VpcV1) NewNetworkACLIdentityByHref(href string) (_model *NetworkACLIdentityByHref, err error)

NewNetworkACLIdentityByHref : Instantiate NetworkACLIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewNetworkACLIdentityByID

func (*VpcV1) NewNetworkACLIdentityByID(id string) (_model *NetworkACLIdentityByID, err error)

NewNetworkACLIdentityByID : Instantiate NetworkACLIdentityByID (Generic Model Constructor)

func (*VpcV1) NewNetworkACLPrototypeNetworkACLByRules

func (*VpcV1) NewNetworkACLPrototypeNetworkACLByRules(vpc VPCIdentityIntf) (_model *NetworkACLPrototypeNetworkACLByRules, err error)

NewNetworkACLPrototypeNetworkACLByRules : Instantiate NetworkACLPrototypeNetworkACLByRules (Generic Model Constructor)

func (*VpcV1) NewNetworkACLPrototypeNetworkACLBySourceNetworkACL

func (*VpcV1) NewNetworkACLPrototypeNetworkACLBySourceNetworkACL(vpc VPCIdentityIntf, sourceNetworkACL NetworkACLIdentityIntf) (_model *NetworkACLPrototypeNetworkACLBySourceNetworkACL, err error)

NewNetworkACLPrototypeNetworkACLBySourceNetworkACL : Instantiate NetworkACLPrototypeNetworkACLBySourceNetworkACL (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref added in v0.3.0

func (*VpcV1) NewNetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref(href string) (_model *NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref, err error)

NewNetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref : Instantiate NetworkACLRuleBeforePatchNetworkACLRuleIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRuleBeforePatchNetworkACLRuleIdentityByID added in v0.3.0

func (*VpcV1) NewNetworkACLRuleBeforePatchNetworkACLRuleIdentityByID(id string) (_model *NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID, err error)

NewNetworkACLRuleBeforePatchNetworkACLRuleIdentityByID : Instantiate NetworkACLRuleBeforePatchNetworkACLRuleIdentityByID (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref added in v0.3.0

func (*VpcV1) NewNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref(href string) (_model *NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref, err error)

NewNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref : Instantiate NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID added in v0.3.0

func (*VpcV1) NewNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID(id string) (_model *NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID, err error)

NewNetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID : Instantiate NetworkACLRuleBeforePrototypeNetworkACLRuleIdentityByID (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype added in v0.23.0

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype(action string, destination string, direction string, source string, protocol string) (_model *NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype, err error)

NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype : Instantiate NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolAllPrototype (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype added in v0.23.0

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype(action string, destination string, direction string, source string, protocol string) (_model *NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype, err error)

NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype : Instantiate NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIcmpPrototype (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype added in v0.23.0

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype(action string, destination string, direction string, source string, protocol string) (_model *NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype, err error)

NewNetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype : Instantiate NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolTcpudpPrototype (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype added in v0.23.0

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype(action string, destination string, direction string, source string, protocol string) (_model *NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype, err error)

NewNetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype : Instantiate NetworkACLRulePrototypeNetworkACLRuleProtocolAllPrototype (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype added in v0.23.0

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype(action string, destination string, direction string, source string, protocol string) (_model *NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype, err error)

NewNetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype : Instantiate NetworkACLRulePrototypeNetworkACLRuleProtocolIcmpPrototype (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype added in v0.23.0

func (*VpcV1) NewNetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype(action string, destination string, direction string, source string, protocol string) (_model *NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype, err error)

NewNetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype : Instantiate NetworkACLRulePrototypeNetworkACLRuleProtocolTcpudpPrototype (Generic Model Constructor)

func (*VpcV1) NewNetworkACLRulesPager added in v0.25.0

func (vpc *VpcV1) NewNetworkACLRulesPager(options *ListNetworkACLRulesOptions) (pager *NetworkACLRulesPager, err error)

NewNetworkACLRulesPager returns a new NetworkACLRulesPager instance.

func (*VpcV1) NewNetworkAclsPager added in v0.25.0

func (vpc *VpcV1) NewNetworkAclsPager(options *ListNetworkAclsOptions) (pager *NetworkAclsPager, err error)

NewNetworkAclsPager returns a new NetworkAclsPager instance.

func (*VpcV1) NewNetworkInterfaceFloatingIpsPager added in v0.47.0

func (vpc *VpcV1) NewNetworkInterfaceFloatingIpsPager(options *ListNetworkInterfaceFloatingIpsOptions) (pager *NetworkInterfaceFloatingIpsPager, err error)

NewNetworkInterfaceFloatingIpsPager returns a new NetworkInterfaceFloatingIpsPager instance.

func (*VpcV1) NewNetworkInterfaceIPPrototypeReservedIPIdentityByHref added in v0.41.0

func (*VpcV1) NewNetworkInterfaceIPPrototypeReservedIPIdentityByHref(href string) (_model *NetworkInterfaceIPPrototypeReservedIPIdentityByHref, err error)

NewNetworkInterfaceIPPrototypeReservedIPIdentityByHref : Instantiate NetworkInterfaceIPPrototypeReservedIPIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewNetworkInterfaceIPPrototypeReservedIPIdentityByID added in v0.41.0

func (*VpcV1) NewNetworkInterfaceIPPrototypeReservedIPIdentityByID(id string) (_model *NetworkInterfaceIPPrototypeReservedIPIdentityByID, err error)

NewNetworkInterfaceIPPrototypeReservedIPIdentityByID : Instantiate NetworkInterfaceIPPrototypeReservedIPIdentityByID (Generic Model Constructor)

func (*VpcV1) NewNetworkInterfacePrototype

func (*VpcV1) NewNetworkInterfacePrototype(subnet SubnetIdentityIntf) (_model *NetworkInterfacePrototype, err error)

NewNetworkInterfacePrototype : Instantiate NetworkInterfacePrototype (Generic Model Constructor)

func (*VpcV1) NewObsoleteImageOptions added in v0.40.0

func (*VpcV1) NewObsoleteImageOptions(id string) *ObsoleteImageOptions

NewObsoleteImageOptions : Instantiate ObsoleteImageOptions

func (*VpcV1) NewOperatingSystemIdentityByHref

func (*VpcV1) NewOperatingSystemIdentityByHref(href string) (_model *OperatingSystemIdentityByHref, err error)

NewOperatingSystemIdentityByHref : Instantiate OperatingSystemIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewOperatingSystemIdentityByName

func (*VpcV1) NewOperatingSystemIdentityByName(name string) (_model *OperatingSystemIdentityByName, err error)

NewOperatingSystemIdentityByName : Instantiate OperatingSystemIdentityByName (Generic Model Constructor)

func (*VpcV1) NewOperatingSystemsPager added in v0.25.0

func (vpc *VpcV1) NewOperatingSystemsPager(options *ListOperatingSystemsOptions) (pager *OperatingSystemsPager, err error)

NewOperatingSystemsPager returns a new OperatingSystemsPager instance.

func (*VpcV1) NewPlacementGroupsPager added in v0.25.0

func (vpc *VpcV1) NewPlacementGroupsPager(options *ListPlacementGroupsOptions) (pager *PlacementGroupsPager, err error)

NewPlacementGroupsPager returns a new PlacementGroupsPager instance.

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress added in v0.3.0

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress(address string) (_model *PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress, err error)

NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress : Instantiate PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByAddress (Generic Model Constructor)

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN added in v0.3.0

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN(crn string) (_model *PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN, err error)

NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN : Instantiate PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref added in v0.3.0

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref(href string) (_model *PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref, err error)

NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref : Instantiate PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID added in v0.3.0

func (*VpcV1) NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID(id string) (_model *PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID, err error)

NewPublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID : Instantiate PublicGatewayFloatingIPPrototypeFloatingIPIdentityFloatingIPIdentityByID (Generic Model Constructor)

func (*VpcV1) NewPublicGatewayIdentityPublicGatewayIdentityByCRN added in v0.15.0

func (*VpcV1) NewPublicGatewayIdentityPublicGatewayIdentityByCRN(crn string) (_model *PublicGatewayIdentityPublicGatewayIdentityByCRN, err error)

NewPublicGatewayIdentityPublicGatewayIdentityByCRN : Instantiate PublicGatewayIdentityPublicGatewayIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewPublicGatewayIdentityPublicGatewayIdentityByHref added in v0.15.0

func (*VpcV1) NewPublicGatewayIdentityPublicGatewayIdentityByHref(href string) (_model *PublicGatewayIdentityPublicGatewayIdentityByHref, err error)

NewPublicGatewayIdentityPublicGatewayIdentityByHref : Instantiate PublicGatewayIdentityPublicGatewayIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewPublicGatewayIdentityPublicGatewayIdentityByID added in v0.15.0

func (*VpcV1) NewPublicGatewayIdentityPublicGatewayIdentityByID(id string) (_model *PublicGatewayIdentityPublicGatewayIdentityByID, err error)

NewPublicGatewayIdentityPublicGatewayIdentityByID : Instantiate PublicGatewayIdentityPublicGatewayIdentityByID (Generic Model Constructor)

func (*VpcV1) NewPublicGatewaysPager added in v0.25.0

func (vpc *VpcV1) NewPublicGatewaysPager(options *ListPublicGatewaysOptions) (pager *PublicGatewaysPager, err error)

NewPublicGatewaysPager returns a new PublicGatewaysPager instance.

func (*VpcV1) NewRegionIdentityByHref added in v0.39.0

func (*VpcV1) NewRegionIdentityByHref(href string) (_model *RegionIdentityByHref, err error)

NewRegionIdentityByHref : Instantiate RegionIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewRegionIdentityByName added in v0.39.0

func (*VpcV1) NewRegionIdentityByName(name string) (_model *RegionIdentityByName, err error)

NewRegionIdentityByName : Instantiate RegionIdentityByName (Generic Model Constructor)

func (*VpcV1) NewRemoveBareMetalServerNetworkInterfaceFloatingIPOptions added in v0.16.0

func (*VpcV1) NewRemoveBareMetalServerNetworkInterfaceFloatingIPOptions(bareMetalServerID string, networkInterfaceID string, id string) *RemoveBareMetalServerNetworkInterfaceFloatingIPOptions

NewRemoveBareMetalServerNetworkInterfaceFloatingIPOptions : Instantiate RemoveBareMetalServerNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewRemoveEndpointGatewayIPOptions added in v0.3.0

func (*VpcV1) NewRemoveEndpointGatewayIPOptions(endpointGatewayID string, id string) *RemoveEndpointGatewayIPOptions

NewRemoveEndpointGatewayIPOptions : Instantiate RemoveEndpointGatewayIPOptions

func (*VpcV1) NewRemoveInstanceNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewRemoveInstanceNetworkInterfaceFloatingIPOptions(instanceID string, networkInterfaceID string, id string) *RemoveInstanceNetworkInterfaceFloatingIPOptions

NewRemoveInstanceNetworkInterfaceFloatingIPOptions : Instantiate RemoveInstanceNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewRemoveNetworkInterfaceFloatingIPOptions added in v0.47.0

func (*VpcV1) NewRemoveNetworkInterfaceFloatingIPOptions(virtualNetworkInterfaceID string, id string) *RemoveNetworkInterfaceFloatingIPOptions

NewRemoveNetworkInterfaceFloatingIPOptions : Instantiate RemoveNetworkInterfaceFloatingIPOptions

func (*VpcV1) NewRemoveVPNGatewayConnectionsLocalCIDROptions added in v0.51.0

func (*VpcV1) NewRemoveVPNGatewayConnectionsLocalCIDROptions(vpnGatewayID string, id string, cidr string) *RemoveVPNGatewayConnectionsLocalCIDROptions

NewRemoveVPNGatewayConnectionsLocalCIDROptions : Instantiate RemoveVPNGatewayConnectionsLocalCIDROptions

func (*VpcV1) NewRemoveVPNGatewayConnectionsPeerCIDROptions added in v0.51.0

func (*VpcV1) NewRemoveVPNGatewayConnectionsPeerCIDROptions(vpnGatewayID string, id string, cidr string) *RemoveVPNGatewayConnectionsPeerCIDROptions

NewRemoveVPNGatewayConnectionsPeerCIDROptions : Instantiate RemoveVPNGatewayConnectionsPeerCIDROptions

func (*VpcV1) NewRemoveVirtualNetworkInterfaceIPOptions added in v0.47.0

func (*VpcV1) NewRemoveVirtualNetworkInterfaceIPOptions(virtualNetworkInterfaceID string, id string) *RemoveVirtualNetworkInterfaceIPOptions

NewRemoveVirtualNetworkInterfaceIPOptions : Instantiate RemoveVirtualNetworkInterfaceIPOptions

func (*VpcV1) NewReplaceLoadBalancerPoolMembersOptions

func (*VpcV1) NewReplaceLoadBalancerPoolMembersOptions(loadBalancerID string, poolID string, members []LoadBalancerPoolMemberPrototype) *ReplaceLoadBalancerPoolMembersOptions

NewReplaceLoadBalancerPoolMembersOptions : Instantiate ReplaceLoadBalancerPoolMembersOptions

func (*VpcV1) NewReplaceSubnetNetworkACLOptions

func (*VpcV1) NewReplaceSubnetNetworkACLOptions(id string, networkACLIdentity NetworkACLIdentityIntf) *ReplaceSubnetNetworkACLOptions

NewReplaceSubnetNetworkACLOptions : Instantiate ReplaceSubnetNetworkACLOptions

func (*VpcV1) NewReplaceSubnetRoutingTableOptions added in v0.3.0

func (*VpcV1) NewReplaceSubnetRoutingTableOptions(id string, routingTableIdentity RoutingTableIdentityIntf) *ReplaceSubnetRoutingTableOptions

NewReplaceSubnetRoutingTableOptions : Instantiate ReplaceSubnetRoutingTableOptions

func (*VpcV1) NewReservationCapacityPrototype added in v0.48.0

func (*VpcV1) NewReservationCapacityPrototype(total int64) (_model *ReservationCapacityPrototype, err error)

NewReservationCapacityPrototype : Instantiate ReservationCapacityPrototype (Generic Model Constructor)

func (*VpcV1) NewReservationCommittedUsePrototype added in v0.48.0

func (*VpcV1) NewReservationCommittedUsePrototype(term string) (_model *ReservationCommittedUsePrototype, err error)

NewReservationCommittedUsePrototype : Instantiate ReservationCommittedUsePrototype (Generic Model Constructor)

func (*VpcV1) NewReservationIdentityByCRN added in v0.48.0

func (*VpcV1) NewReservationIdentityByCRN(crn string) (_model *ReservationIdentityByCRN, err error)

NewReservationIdentityByCRN : Instantiate ReservationIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewReservationIdentityByHref added in v0.48.0

func (*VpcV1) NewReservationIdentityByHref(href string) (_model *ReservationIdentityByHref, err error)

NewReservationIdentityByHref : Instantiate ReservationIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewReservationIdentityByID added in v0.48.0

func (*VpcV1) NewReservationIdentityByID(id string) (_model *ReservationIdentityByID, err error)

NewReservationIdentityByID : Instantiate ReservationIdentityByID (Generic Model Constructor)

func (*VpcV1) NewReservationProfilePrototype added in v0.48.0

func (*VpcV1) NewReservationProfilePrototype(name string, resourceType string) (_model *ReservationProfilePrototype, err error)

NewReservationProfilePrototype : Instantiate ReservationProfilePrototype (Generic Model Constructor)

func (*VpcV1) NewReservationsPager added in v0.48.0

func (vpc *VpcV1) NewReservationsPager(options *ListReservationsOptions) (pager *ReservationsPager, err error)

NewReservationsPager returns a new ReservationsPager instance.

func (*VpcV1) NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN added in v0.3.0

func (*VpcV1) NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN(crn string) (_model *ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN, err error)

NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN : Instantiate ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref added in v0.3.0

func (*VpcV1) NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref(href string) (_model *ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref, err error)

NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref : Instantiate ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID added in v0.3.0

func (*VpcV1) NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID(id string) (_model *ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID, err error)

NewReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID : Instantiate ReservedIPTargetPrototypeEndpointGatewayIdentityEndpointGatewayIdentityByID (Generic Model Constructor)

func (*VpcV1) NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate ReservedIPTargetPrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewResourceGroupIdentityByID

func (*VpcV1) NewResourceGroupIdentityByID(id string) (_model *ResourceGroupIdentityByID, err error)

NewResourceGroupIdentityByID : Instantiate ResourceGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewRestartBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewRestartBareMetalServerOptions(id string) *RestartBareMetalServerOptions

NewRestartBareMetalServerOptions : Instantiate RestartBareMetalServerOptions

func (*VpcV1) NewRouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP added in v0.37.0

func (*VpcV1) NewRouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP(address string) (_model *RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP, err error)

NewRouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP : Instantiate RouteNextHopPatchRouteNextHopIPRouteNextHopIPSentinelIP (Generic Model Constructor)

func (*VpcV1) NewRouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP added in v0.37.0

func (*VpcV1) NewRouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP(address string) (_model *RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP, err error)

NewRouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP : Instantiate RouteNextHopPatchRouteNextHopIPRouteNextHopIPUnicastIP (Generic Model Constructor)

func (*VpcV1) NewRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref added in v0.34.0

func (*VpcV1) NewRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref(href string) (_model *RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref, err error)

NewRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref : Instantiate RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID added in v0.34.0

func (*VpcV1) NewRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID(id string) (_model *RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID, err error)

NewRouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID : Instantiate RouteNextHopPatchVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID (Generic Model Constructor)

func (*VpcV1) NewRoutePrototype added in v0.3.0

func (*VpcV1) NewRoutePrototype(destination string, zone ZoneIdentityIntf) (_model *RoutePrototype, err error)

NewRoutePrototype : Instantiate RoutePrototype (Generic Model Constructor)

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP added in v0.37.0

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP(address string) (_model *RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP, err error)

NewRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP : Instantiate RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPSentinelIP (Generic Model Constructor)

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP added in v0.37.0

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP(address string) (_model *RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP, err error)

NewRoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP : Instantiate RoutePrototypeNextHopRouteNextHopPrototypeRouteNextHopIPRouteNextHopPrototypeRouteNextHopIPRouteNextHopIPUnicastIP (Generic Model Constructor)

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref added in v0.22.0

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref(href string) (_model *RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref, err error)

NewRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref : Instantiate RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID added in v0.22.0

func (*VpcV1) NewRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID(id string) (_model *RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID, err error)

NewRoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID : Instantiate RoutePrototypeNextHopRouteNextHopPrototypeVPNGatewayConnectionIdentityRouteNextHopPrototypeVPNGatewayConnectionIdentityVPNGatewayConnectionIdentityByID (Generic Model Constructor)

func (*VpcV1) NewRoutingTableIdentityByHref added in v0.3.0

func (*VpcV1) NewRoutingTableIdentityByHref(href string) (_model *RoutingTableIdentityByHref, err error)

NewRoutingTableIdentityByHref : Instantiate RoutingTableIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewRoutingTableIdentityByID added in v0.3.0

func (*VpcV1) NewRoutingTableIdentityByID(id string) (_model *RoutingTableIdentityByID, err error)

NewRoutingTableIdentityByID : Instantiate RoutingTableIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupIdentityByCRN

func (*VpcV1) NewSecurityGroupIdentityByCRN(crn string) (_model *SecurityGroupIdentityByCRN, err error)

NewSecurityGroupIdentityByCRN : Instantiate SecurityGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupIdentityByHref

func (*VpcV1) NewSecurityGroupIdentityByHref(href string) (_model *SecurityGroupIdentityByHref, err error)

NewSecurityGroupIdentityByHref : Instantiate SecurityGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupIdentityByID

func (*VpcV1) NewSecurityGroupIdentityByID(id string) (_model *SecurityGroupIdentityByID, err error)

NewSecurityGroupIdentityByID : Instantiate SecurityGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleLocalPatchCIDR added in v0.50.0

func (*VpcV1) NewSecurityGroupRuleLocalPatchCIDR(cidrBlock string) (_model *SecurityGroupRuleLocalPatchCIDR, err error)

NewSecurityGroupRuleLocalPatchCIDR : Instantiate SecurityGroupRuleLocalPatchCIDR (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleLocalPatchIP added in v0.50.0

func (*VpcV1) NewSecurityGroupRuleLocalPatchIP(address string) (_model *SecurityGroupRuleLocalPatchIP, err error)

NewSecurityGroupRuleLocalPatchIP : Instantiate SecurityGroupRuleLocalPatchIP (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleLocalPrototypeCIDR added in v0.50.0

func (*VpcV1) NewSecurityGroupRuleLocalPrototypeCIDR(cidrBlock string) (_model *SecurityGroupRuleLocalPrototypeCIDR, err error)

NewSecurityGroupRuleLocalPrototypeCIDR : Instantiate SecurityGroupRuleLocalPrototypeCIDR (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleLocalPrototypeIP added in v0.50.0

func (*VpcV1) NewSecurityGroupRuleLocalPrototypeIP(address string) (_model *SecurityGroupRuleLocalPrototypeIP, err error)

NewSecurityGroupRuleLocalPrototypeIP : Instantiate SecurityGroupRuleLocalPrototypeIP (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolAll

func (*VpcV1) NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolAll(direction string, protocol string) (_model *SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll, err error)

NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolAll : Instantiate SecurityGroupRulePrototypeSecurityGroupRuleProtocolAll (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp

func (*VpcV1) NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp(direction string, protocol string) (_model *SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp, err error)

NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp : Instantiate SecurityGroupRulePrototypeSecurityGroupRuleProtocolIcmp (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp

func (*VpcV1) NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp(direction string, protocol string) (_model *SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp, err error)

NewSecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp : Instantiate SecurityGroupRulePrototypeSecurityGroupRuleProtocolTcpudp (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePatchCIDR added in v0.3.0

func (*VpcV1) NewSecurityGroupRuleRemotePatchCIDR(cidrBlock string) (_model *SecurityGroupRuleRemotePatchCIDR, err error)

NewSecurityGroupRuleRemotePatchCIDR : Instantiate SecurityGroupRuleRemotePatchCIDR (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePatchIP added in v0.3.0

func (*VpcV1) NewSecurityGroupRuleRemotePatchIP(address string) (_model *SecurityGroupRuleRemotePatchIP, err error)

NewSecurityGroupRuleRemotePatchIP : Instantiate SecurityGroupRuleRemotePatchIP (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN added in v0.3.0

func (*VpcV1) NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN(crn string) (_model *SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN, err error)

NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN : Instantiate SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref added in v0.3.0

func (*VpcV1) NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref(href string) (_model *SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref, err error)

NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref : Instantiate SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID added in v0.3.0

func (*VpcV1) NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID(id string) (_model *SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID, err error)

NewSecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID : Instantiate SecurityGroupRuleRemotePatchSecurityGroupIdentitySecurityGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeCIDR added in v0.3.1

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeCIDR(cidrBlock string) (_model *SecurityGroupRuleRemotePrototypeCIDR, err error)

NewSecurityGroupRuleRemotePrototypeCIDR : Instantiate SecurityGroupRuleRemotePrototypeCIDR (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeIP added in v0.3.1

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeIP(address string) (_model *SecurityGroupRuleRemotePrototypeIP, err error)

NewSecurityGroupRuleRemotePrototypeIP : Instantiate SecurityGroupRuleRemotePrototypeIP (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN added in v0.3.1

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN(crn string) (_model *SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN, err error)

NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN : Instantiate SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref added in v0.3.1

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref(href string) (_model *SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref, err error)

NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref : Instantiate SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID added in v0.3.1

func (*VpcV1) NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID(id string) (_model *SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID, err error)

NewSecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID : Instantiate SecurityGroupRuleRemotePrototypeSecurityGroupIdentitySecurityGroupIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSecurityGroupTargetsPager added in v0.25.0

func (vpc *VpcV1) NewSecurityGroupTargetsPager(options *ListSecurityGroupTargetsOptions) (pager *SecurityGroupTargetsPager, err error)

NewSecurityGroupTargetsPager returns a new SecurityGroupTargetsPager instance.

func (*VpcV1) NewSecurityGroupsPager added in v0.25.0

func (vpc *VpcV1) NewSecurityGroupsPager(options *ListSecurityGroupsOptions) (pager *SecurityGroupsPager, err error)

NewSecurityGroupsPager returns a new SecurityGroupsPager instance.

func (*VpcV1) NewSetSubnetPublicGatewayOptions

func (*VpcV1) NewSetSubnetPublicGatewayOptions(id string, publicGatewayIdentity PublicGatewayIdentityIntf) *SetSubnetPublicGatewayOptions

NewSetSubnetPublicGatewayOptions : Instantiate SetSubnetPublicGatewayOptions

func (*VpcV1) NewShareIdentityByCRN added in v0.41.0

func (*VpcV1) NewShareIdentityByCRN(crn string) (_model *ShareIdentityByCRN, err error)

NewShareIdentityByCRN : Instantiate ShareIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewShareIdentityByHref added in v0.41.0

func (*VpcV1) NewShareIdentityByHref(href string) (_model *ShareIdentityByHref, err error)

NewShareIdentityByHref : Instantiate ShareIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewShareIdentityByID added in v0.41.0

func (*VpcV1) NewShareIdentityByID(id string) (_model *ShareIdentityByID, err error)

NewShareIdentityByID : Instantiate ShareIdentityByID (Generic Model Constructor)

func (*VpcV1) NewShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup added in v0.41.0

func (*VpcV1) NewShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup(virtualNetworkInterface ShareMountTargetVirtualNetworkInterfacePrototypeIntf) (_model *ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup, err error)

NewShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup : Instantiate ShareMountTargetPrototypeShareMountTargetByAccessControlModeSecurityGroup (Generic Model Constructor)

func (*VpcV1) NewShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC added in v0.41.0

func (*VpcV1) NewShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC(vpc VPCIdentityIntf) (_model *ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC, err error)

NewShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC : Instantiate ShareMountTargetPrototypeShareMountTargetByAccessControlModeVPC (Generic Model Constructor)

func (*VpcV1) NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN added in v0.47.0

func (*VpcV1) NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN(crn string) (_model *ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN, err error)

NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN : Instantiate ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref added in v0.47.0

func (*VpcV1) NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref(href string) (_model *ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref, err error)

NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref : Instantiate ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID added in v0.47.0

func (*VpcV1) NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID(id string) (_model *ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID, err error)

NewShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID : Instantiate ShareMountTargetVirtualNetworkInterfacePrototypeVirtualNetworkInterfaceIdentityVirtualNetworkInterfaceIdentityByID (Generic Model Constructor)

func (*VpcV1) NewShareMountTargetsPager added in v0.41.0

func (vpc *VpcV1) NewShareMountTargetsPager(options *ListShareMountTargetsOptions) (pager *ShareMountTargetsPager, err error)

NewShareMountTargetsPager returns a new ShareMountTargetsPager instance.

func (*VpcV1) NewShareProfileIdentityByHref added in v0.41.0

func (*VpcV1) NewShareProfileIdentityByHref(href string) (_model *ShareProfileIdentityByHref, err error)

NewShareProfileIdentityByHref : Instantiate ShareProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewShareProfileIdentityByName added in v0.41.0

func (*VpcV1) NewShareProfileIdentityByName(name string) (_model *ShareProfileIdentityByName, err error)

NewShareProfileIdentityByName : Instantiate ShareProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewShareProfilesPager added in v0.41.0

func (vpc *VpcV1) NewShareProfilesPager(options *ListShareProfilesOptions) (pager *ShareProfilesPager, err error)

NewShareProfilesPager returns a new ShareProfilesPager instance.

func (*VpcV1) NewSharePrototypeShareBySize added in v0.41.0

func (*VpcV1) NewSharePrototypeShareBySize(profile ShareProfileIdentityIntf, zone ZoneIdentityIntf, size int64) (_model *SharePrototypeShareBySize, err error)

NewSharePrototypeShareBySize : Instantiate SharePrototypeShareBySize (Generic Model Constructor)

func (*VpcV1) NewSharePrototypeShareBySourceShare added in v0.41.0

func (*VpcV1) NewSharePrototypeShareBySourceShare(profile ShareProfileIdentityIntf, zone ZoneIdentityIntf, replicationCronSpec string, sourceShare ShareIdentityIntf) (_model *SharePrototypeShareBySourceShare, err error)

NewSharePrototypeShareBySourceShare : Instantiate SharePrototypeShareBySourceShare (Generic Model Constructor)

func (*VpcV1) NewSharePrototypeShareContext added in v0.41.0

func (*VpcV1) NewSharePrototypeShareContext(profile ShareProfileIdentityIntf, replicationCronSpec string, zone ZoneIdentityIntf) (_model *SharePrototypeShareContext, err error)

NewSharePrototypeShareContext : Instantiate SharePrototypeShareContext (Generic Model Constructor)

func (*VpcV1) NewSharesPager added in v0.41.0

func (vpc *VpcV1) NewSharesPager(options *ListSharesOptions) (pager *SharesPager, err error)

NewSharesPager returns a new SharesPager instance.

func (*VpcV1) NewSnapshotClonePrototype added in v0.31.0

func (*VpcV1) NewSnapshotClonePrototype(zone ZoneIdentityIntf) (_model *SnapshotClonePrototype, err error)

NewSnapshotClonePrototype : Instantiate SnapshotClonePrototype (Generic Model Constructor)

func (*VpcV1) NewSnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots added in v0.45.0

func (*VpcV1) NewSnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots(snapshots []SnapshotPrototypeSnapshotConsistencyGroupContext) (_model *SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots, err error)

NewSnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots : Instantiate SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots (Generic Model Constructor)

func (*VpcV1) NewSnapshotConsistencyGroupsPager added in v0.45.0

func (vpc *VpcV1) NewSnapshotConsistencyGroupsPager(options *ListSnapshotConsistencyGroupsOptions) (pager *SnapshotConsistencyGroupsPager, err error)

NewSnapshotConsistencyGroupsPager returns a new SnapshotConsistencyGroupsPager instance.

func (*VpcV1) NewSnapshotIdentityByCRN added in v0.7.0

func (*VpcV1) NewSnapshotIdentityByCRN(crn string) (_model *SnapshotIdentityByCRN, err error)

NewSnapshotIdentityByCRN : Instantiate SnapshotIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewSnapshotIdentityByHref added in v0.7.0

func (*VpcV1) NewSnapshotIdentityByHref(href string) (_model *SnapshotIdentityByHref, err error)

NewSnapshotIdentityByHref : Instantiate SnapshotIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewSnapshotIdentityByID added in v0.7.0

func (*VpcV1) NewSnapshotIdentityByID(id string) (_model *SnapshotIdentityByID, err error)

NewSnapshotIdentityByID : Instantiate SnapshotIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSnapshotPrototypeSnapshotBySourceSnapshot added in v0.39.0

func (*VpcV1) NewSnapshotPrototypeSnapshotBySourceSnapshot(sourceSnapshot *SnapshotIdentityByCRN) (_model *SnapshotPrototypeSnapshotBySourceSnapshot, err error)

NewSnapshotPrototypeSnapshotBySourceSnapshot : Instantiate SnapshotPrototypeSnapshotBySourceSnapshot (Generic Model Constructor)

func (*VpcV1) NewSnapshotPrototypeSnapshotBySourceVolume added in v0.20.0

func (*VpcV1) NewSnapshotPrototypeSnapshotBySourceVolume(sourceVolume VolumeIdentityIntf) (_model *SnapshotPrototypeSnapshotBySourceVolume, err error)

NewSnapshotPrototypeSnapshotBySourceVolume : Instantiate SnapshotPrototypeSnapshotBySourceVolume (Generic Model Constructor)

func (*VpcV1) NewSnapshotPrototypeSnapshotConsistencyGroupContext added in v0.49.0

func (*VpcV1) NewSnapshotPrototypeSnapshotConsistencyGroupContext(sourceVolume VolumeIdentityIntf) (_model *SnapshotPrototypeSnapshotConsistencyGroupContext, err error)

NewSnapshotPrototypeSnapshotConsistencyGroupContext : Instantiate SnapshotPrototypeSnapshotConsistencyGroupContext (Generic Model Constructor)

func (*VpcV1) NewSnapshotsPager added in v0.25.0

func (vpc *VpcV1) NewSnapshotsPager(options *ListSnapshotsOptions) (pager *SnapshotsPager, err error)

NewSnapshotsPager returns a new SnapshotsPager instance.

func (*VpcV1) NewStartBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewStartBareMetalServerOptions(id string) *StartBareMetalServerOptions

NewStartBareMetalServerOptions : Instantiate StartBareMetalServerOptions

func (*VpcV1) NewStopBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewStopBareMetalServerOptions(id string, typeVar string) *StopBareMetalServerOptions

NewStopBareMetalServerOptions : Instantiate StopBareMetalServerOptions

func (*VpcV1) NewSubnetIdentityByCRN

func (*VpcV1) NewSubnetIdentityByCRN(crn string) (_model *SubnetIdentityByCRN, err error)

NewSubnetIdentityByCRN : Instantiate SubnetIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewSubnetIdentityByHref

func (*VpcV1) NewSubnetIdentityByHref(href string) (_model *SubnetIdentityByHref, err error)

NewSubnetIdentityByHref : Instantiate SubnetIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewSubnetIdentityByID

func (*VpcV1) NewSubnetIdentityByID(id string) (_model *SubnetIdentityByID, err error)

NewSubnetIdentityByID : Instantiate SubnetIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSubnetPrototypeSubnetByCIDR

func (*VpcV1) NewSubnetPrototypeSubnetByCIDR(vpc VPCIdentityIntf, ipv4CIDRBlock string) (_model *SubnetPrototypeSubnetByCIDR, err error)

NewSubnetPrototypeSubnetByCIDR : Instantiate SubnetPrototypeSubnetByCIDR (Generic Model Constructor)

func (*VpcV1) NewSubnetPrototypeSubnetByTotalCount

func (*VpcV1) NewSubnetPrototypeSubnetByTotalCount(vpc VPCIdentityIntf, totalIpv4AddressCount int64, zone ZoneIdentityIntf) (_model *SubnetPrototypeSubnetByTotalCount, err error)

NewSubnetPrototypeSubnetByTotalCount : Instantiate SubnetPrototypeSubnetByTotalCount (Generic Model Constructor)

func (*VpcV1) NewSubnetPublicGatewayPatchPublicGatewayIdentityByCRN added in v0.15.0

func (*VpcV1) NewSubnetPublicGatewayPatchPublicGatewayIdentityByCRN(crn string) (_model *SubnetPublicGatewayPatchPublicGatewayIdentityByCRN, err error)

NewSubnetPublicGatewayPatchPublicGatewayIdentityByCRN : Instantiate SubnetPublicGatewayPatchPublicGatewayIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewSubnetPublicGatewayPatchPublicGatewayIdentityByHref added in v0.15.0

func (*VpcV1) NewSubnetPublicGatewayPatchPublicGatewayIdentityByHref(href string) (_model *SubnetPublicGatewayPatchPublicGatewayIdentityByHref, err error)

NewSubnetPublicGatewayPatchPublicGatewayIdentityByHref : Instantiate SubnetPublicGatewayPatchPublicGatewayIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewSubnetPublicGatewayPatchPublicGatewayIdentityByID added in v0.15.0

func (*VpcV1) NewSubnetPublicGatewayPatchPublicGatewayIdentityByID(id string) (_model *SubnetPublicGatewayPatchPublicGatewayIdentityByID, err error)

NewSubnetPublicGatewayPatchPublicGatewayIdentityByID : Instantiate SubnetPublicGatewayPatchPublicGatewayIdentityByID (Generic Model Constructor)

func (*VpcV1) NewSubnetReservedIpsPager added in v0.25.0

func (vpc *VpcV1) NewSubnetReservedIpsPager(options *ListSubnetReservedIpsOptions) (pager *SubnetReservedIpsPager, err error)

NewSubnetReservedIpsPager returns a new SubnetReservedIpsPager instance.

func (*VpcV1) NewSubnetsPager added in v0.25.0

func (vpc *VpcV1) NewSubnetsPager(options *ListSubnetsOptions) (pager *SubnetsPager, err error)

NewSubnetsPager returns a new SubnetsPager instance.

func (*VpcV1) NewTrustedProfileIdentityTrustedProfileByCRN added in v0.17.0

func (*VpcV1) NewTrustedProfileIdentityTrustedProfileByCRN(crn string) (_model *TrustedProfileIdentityTrustedProfileByCRN, err error)

NewTrustedProfileIdentityTrustedProfileByCRN : Instantiate TrustedProfileIdentityTrustedProfileByCRN (Generic Model Constructor)

func (*VpcV1) NewTrustedProfileIdentityTrustedProfileByID added in v0.17.0

func (*VpcV1) NewTrustedProfileIdentityTrustedProfileByID(id string) (_model *TrustedProfileIdentityTrustedProfileByID, err error)

NewTrustedProfileIdentityTrustedProfileByID : Instantiate TrustedProfileIdentityTrustedProfileByID (Generic Model Constructor)

func (*VpcV1) NewUnsetSubnetPublicGatewayOptions

func (*VpcV1) NewUnsetSubnetPublicGatewayOptions(id string) *UnsetSubnetPublicGatewayOptions

NewUnsetSubnetPublicGatewayOptions : Instantiate UnsetSubnetPublicGatewayOptions

func (*VpcV1) NewUpdateBackupPolicyOptions added in v0.21.0

func (*VpcV1) NewUpdateBackupPolicyOptions(id string, backupPolicyPatch map[string]interface{}) *UpdateBackupPolicyOptions

NewUpdateBackupPolicyOptions : Instantiate UpdateBackupPolicyOptions

func (*VpcV1) NewUpdateBackupPolicyPlanOptions added in v0.21.0

func (*VpcV1) NewUpdateBackupPolicyPlanOptions(backupPolicyID string, id string, backupPolicyPlanPatch map[string]interface{}) *UpdateBackupPolicyPlanOptions

NewUpdateBackupPolicyPlanOptions : Instantiate UpdateBackupPolicyPlanOptions

func (*VpcV1) NewUpdateBareMetalServerDiskOptions added in v0.16.0

func (*VpcV1) NewUpdateBareMetalServerDiskOptions(bareMetalServerID string, id string, bareMetalServerDiskPatch map[string]interface{}) *UpdateBareMetalServerDiskOptions

NewUpdateBareMetalServerDiskOptions : Instantiate UpdateBareMetalServerDiskOptions

func (*VpcV1) NewUpdateBareMetalServerNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewUpdateBareMetalServerNetworkAttachmentOptions(bareMetalServerID string, id string, bareMetalServerNetworkAttachmentPatch map[string]interface{}) *UpdateBareMetalServerNetworkAttachmentOptions

NewUpdateBareMetalServerNetworkAttachmentOptions : Instantiate UpdateBareMetalServerNetworkAttachmentOptions

func (*VpcV1) NewUpdateBareMetalServerNetworkInterfaceOptions added in v0.16.0

func (*VpcV1) NewUpdateBareMetalServerNetworkInterfaceOptions(bareMetalServerID string, id string, bareMetalServerNetworkInterfacePatch map[string]interface{}) *UpdateBareMetalServerNetworkInterfaceOptions

NewUpdateBareMetalServerNetworkInterfaceOptions : Instantiate UpdateBareMetalServerNetworkInterfaceOptions

func (*VpcV1) NewUpdateBareMetalServerOptions added in v0.16.0

func (*VpcV1) NewUpdateBareMetalServerOptions(id string, bareMetalServerPatch map[string]interface{}) *UpdateBareMetalServerOptions

NewUpdateBareMetalServerOptions : Instantiate UpdateBareMetalServerOptions

func (*VpcV1) NewUpdateDedicatedHostDiskOptions added in v0.5.0

func (*VpcV1) NewUpdateDedicatedHostDiskOptions(dedicatedHostID string, id string, dedicatedHostDiskPatch map[string]interface{}) *UpdateDedicatedHostDiskOptions

NewUpdateDedicatedHostDiskOptions : Instantiate UpdateDedicatedHostDiskOptions

func (*VpcV1) NewUpdateDedicatedHostGroupOptions added in v0.4.0

func (*VpcV1) NewUpdateDedicatedHostGroupOptions(id string, dedicatedHostGroupPatch map[string]interface{}) *UpdateDedicatedHostGroupOptions

NewUpdateDedicatedHostGroupOptions : Instantiate UpdateDedicatedHostGroupOptions

func (*VpcV1) NewUpdateDedicatedHostOptions added in v0.4.0

func (*VpcV1) NewUpdateDedicatedHostOptions(id string, dedicatedHostPatch map[string]interface{}) *UpdateDedicatedHostOptions

NewUpdateDedicatedHostOptions : Instantiate UpdateDedicatedHostOptions

func (*VpcV1) NewUpdateEndpointGatewayOptions added in v0.3.0

func (*VpcV1) NewUpdateEndpointGatewayOptions(id string, endpointGatewayPatch map[string]interface{}) *UpdateEndpointGatewayOptions

NewUpdateEndpointGatewayOptions : Instantiate UpdateEndpointGatewayOptions

func (*VpcV1) NewUpdateFloatingIPOptions

func (*VpcV1) NewUpdateFloatingIPOptions(id string, floatingIPPatch map[string]interface{}) *UpdateFloatingIPOptions

NewUpdateFloatingIPOptions : Instantiate UpdateFloatingIPOptions

func (*VpcV1) NewUpdateFlowLogCollectorOptions

func (*VpcV1) NewUpdateFlowLogCollectorOptions(id string, flowLogCollectorPatch map[string]interface{}) *UpdateFlowLogCollectorOptions

NewUpdateFlowLogCollectorOptions : Instantiate UpdateFlowLogCollectorOptions

func (*VpcV1) NewUpdateIkePolicyOptions

func (*VpcV1) NewUpdateIkePolicyOptions(id string, ikePolicyPatch map[string]interface{}) *UpdateIkePolicyOptions

NewUpdateIkePolicyOptions : Instantiate UpdateIkePolicyOptions

func (*VpcV1) NewUpdateImageExportJobOptions added in v0.37.0

func (*VpcV1) NewUpdateImageExportJobOptions(imageID string, id string, imageExportJobPatch map[string]interface{}) *UpdateImageExportJobOptions

NewUpdateImageExportJobOptions : Instantiate UpdateImageExportJobOptions

func (*VpcV1) NewUpdateImageOptions

func (*VpcV1) NewUpdateImageOptions(id string, imagePatch map[string]interface{}) *UpdateImageOptions

NewUpdateImageOptions : Instantiate UpdateImageOptions

func (*VpcV1) NewUpdateInstanceDiskOptions added in v0.5.0

func (*VpcV1) NewUpdateInstanceDiskOptions(instanceID string, id string, instanceDiskPatch map[string]interface{}) *UpdateInstanceDiskOptions

NewUpdateInstanceDiskOptions : Instantiate UpdateInstanceDiskOptions

func (*VpcV1) NewUpdateInstanceGroupManagerActionOptions added in v0.6.0

func (*VpcV1) NewUpdateInstanceGroupManagerActionOptions(instanceGroupID string, instanceGroupManagerID string, id string, instanceGroupManagerActionPatch map[string]interface{}) *UpdateInstanceGroupManagerActionOptions

NewUpdateInstanceGroupManagerActionOptions : Instantiate UpdateInstanceGroupManagerActionOptions

func (*VpcV1) NewUpdateInstanceGroupManagerOptions added in v0.1.0

func (*VpcV1) NewUpdateInstanceGroupManagerOptions(instanceGroupID string, id string, instanceGroupManagerPatch map[string]interface{}) *UpdateInstanceGroupManagerOptions

NewUpdateInstanceGroupManagerOptions : Instantiate UpdateInstanceGroupManagerOptions

func (*VpcV1) NewUpdateInstanceGroupManagerPolicyOptions added in v0.1.0

func (*VpcV1) NewUpdateInstanceGroupManagerPolicyOptions(instanceGroupID string, instanceGroupManagerID string, id string, instanceGroupManagerPolicyPatch map[string]interface{}) *UpdateInstanceGroupManagerPolicyOptions

NewUpdateInstanceGroupManagerPolicyOptions : Instantiate UpdateInstanceGroupManagerPolicyOptions

func (*VpcV1) NewUpdateInstanceGroupMembershipOptions added in v0.1.0

func (*VpcV1) NewUpdateInstanceGroupMembershipOptions(instanceGroupID string, id string, instanceGroupMembershipPatch map[string]interface{}) *UpdateInstanceGroupMembershipOptions

NewUpdateInstanceGroupMembershipOptions : Instantiate UpdateInstanceGroupMembershipOptions

func (*VpcV1) NewUpdateInstanceGroupOptions added in v0.1.0

func (*VpcV1) NewUpdateInstanceGroupOptions(id string, instanceGroupPatch map[string]interface{}) *UpdateInstanceGroupOptions

NewUpdateInstanceGroupOptions : Instantiate UpdateInstanceGroupOptions

func (*VpcV1) NewUpdateInstanceNetworkAttachmentOptions added in v0.47.0

func (*VpcV1) NewUpdateInstanceNetworkAttachmentOptions(instanceID string, id string, instanceNetworkAttachmentPatch map[string]interface{}) *UpdateInstanceNetworkAttachmentOptions

NewUpdateInstanceNetworkAttachmentOptions : Instantiate UpdateInstanceNetworkAttachmentOptions

func (*VpcV1) NewUpdateInstanceNetworkInterfaceOptions

func (*VpcV1) NewUpdateInstanceNetworkInterfaceOptions(instanceID string, id string, networkInterfacePatch map[string]interface{}) *UpdateInstanceNetworkInterfaceOptions

NewUpdateInstanceNetworkInterfaceOptions : Instantiate UpdateInstanceNetworkInterfaceOptions

func (*VpcV1) NewUpdateInstanceOptions

func (*VpcV1) NewUpdateInstanceOptions(id string, instancePatch map[string]interface{}) *UpdateInstanceOptions

NewUpdateInstanceOptions : Instantiate UpdateInstanceOptions

func (*VpcV1) NewUpdateInstanceTemplateOptions added in v0.1.0

func (*VpcV1) NewUpdateInstanceTemplateOptions(id string, instanceTemplatePatch map[string]interface{}) *UpdateInstanceTemplateOptions

NewUpdateInstanceTemplateOptions : Instantiate UpdateInstanceTemplateOptions

func (*VpcV1) NewUpdateInstanceVolumeAttachmentOptions

func (*VpcV1) NewUpdateInstanceVolumeAttachmentOptions(instanceID string, id string, volumeAttachmentPatch map[string]interface{}) *UpdateInstanceVolumeAttachmentOptions

NewUpdateInstanceVolumeAttachmentOptions : Instantiate UpdateInstanceVolumeAttachmentOptions

func (*VpcV1) NewUpdateIpsecPolicyOptions

func (*VpcV1) NewUpdateIpsecPolicyOptions(id string, iPsecPolicyPatch map[string]interface{}) *UpdateIpsecPolicyOptions

NewUpdateIpsecPolicyOptions : Instantiate UpdateIpsecPolicyOptions

func (*VpcV1) NewUpdateKeyOptions

func (*VpcV1) NewUpdateKeyOptions(id string, keyPatch map[string]interface{}) *UpdateKeyOptions

NewUpdateKeyOptions : Instantiate UpdateKeyOptions

func (*VpcV1) NewUpdateLoadBalancerListenerOptions

func (*VpcV1) NewUpdateLoadBalancerListenerOptions(loadBalancerID string, id string, loadBalancerListenerPatch map[string]interface{}) *UpdateLoadBalancerListenerOptions

NewUpdateLoadBalancerListenerOptions : Instantiate UpdateLoadBalancerListenerOptions

func (*VpcV1) NewUpdateLoadBalancerListenerPolicyOptions

func (*VpcV1) NewUpdateLoadBalancerListenerPolicyOptions(loadBalancerID string, listenerID string, id string, loadBalancerListenerPolicyPatch map[string]interface{}) *UpdateLoadBalancerListenerPolicyOptions

NewUpdateLoadBalancerListenerPolicyOptions : Instantiate UpdateLoadBalancerListenerPolicyOptions

func (*VpcV1) NewUpdateLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewUpdateLoadBalancerListenerPolicyRuleOptions(loadBalancerID string, listenerID string, policyID string, id string, loadBalancerListenerPolicyRulePatch map[string]interface{}) *UpdateLoadBalancerListenerPolicyRuleOptions

NewUpdateLoadBalancerListenerPolicyRuleOptions : Instantiate UpdateLoadBalancerListenerPolicyRuleOptions

func (*VpcV1) NewUpdateLoadBalancerOptions

func (*VpcV1) NewUpdateLoadBalancerOptions(id string, loadBalancerPatch map[string]interface{}) *UpdateLoadBalancerOptions

NewUpdateLoadBalancerOptions : Instantiate UpdateLoadBalancerOptions

func (*VpcV1) NewUpdateLoadBalancerPoolMemberOptions

func (*VpcV1) NewUpdateLoadBalancerPoolMemberOptions(loadBalancerID string, poolID string, id string, loadBalancerPoolMemberPatch map[string]interface{}) *UpdateLoadBalancerPoolMemberOptions

NewUpdateLoadBalancerPoolMemberOptions : Instantiate UpdateLoadBalancerPoolMemberOptions

func (*VpcV1) NewUpdateLoadBalancerPoolOptions

func (*VpcV1) NewUpdateLoadBalancerPoolOptions(loadBalancerID string, id string, loadBalancerPoolPatch map[string]interface{}) *UpdateLoadBalancerPoolOptions

NewUpdateLoadBalancerPoolOptions : Instantiate UpdateLoadBalancerPoolOptions

func (*VpcV1) NewUpdateNetworkACLOptions

func (*VpcV1) NewUpdateNetworkACLOptions(id string, networkACLPatch map[string]interface{}) *UpdateNetworkACLOptions

NewUpdateNetworkACLOptions : Instantiate UpdateNetworkACLOptions

func (*VpcV1) NewUpdateNetworkACLRuleOptions

func (*VpcV1) NewUpdateNetworkACLRuleOptions(networkACLID string, id string, networkACLRulePatch map[string]interface{}) *UpdateNetworkACLRuleOptions

NewUpdateNetworkACLRuleOptions : Instantiate UpdateNetworkACLRuleOptions

func (*VpcV1) NewUpdatePlacementGroupOptions added in v0.9.0

func (*VpcV1) NewUpdatePlacementGroupOptions(id string, placementGroupPatch map[string]interface{}) *UpdatePlacementGroupOptions

NewUpdatePlacementGroupOptions : Instantiate UpdatePlacementGroupOptions

func (*VpcV1) NewUpdatePublicGatewayOptions

func (*VpcV1) NewUpdatePublicGatewayOptions(id string, publicGatewayPatch map[string]interface{}) *UpdatePublicGatewayOptions

NewUpdatePublicGatewayOptions : Instantiate UpdatePublicGatewayOptions

func (*VpcV1) NewUpdateReservationOptions added in v0.48.0

func (*VpcV1) NewUpdateReservationOptions(id string, reservationPatch map[string]interface{}) *UpdateReservationOptions

NewUpdateReservationOptions : Instantiate UpdateReservationOptions

func (*VpcV1) NewUpdateSecurityGroupOptions

func (*VpcV1) NewUpdateSecurityGroupOptions(id string, securityGroupPatch map[string]interface{}) *UpdateSecurityGroupOptions

NewUpdateSecurityGroupOptions : Instantiate UpdateSecurityGroupOptions

func (*VpcV1) NewUpdateSecurityGroupRuleOptions

func (*VpcV1) NewUpdateSecurityGroupRuleOptions(securityGroupID string, id string, securityGroupRulePatch map[string]interface{}) *UpdateSecurityGroupRuleOptions

NewUpdateSecurityGroupRuleOptions : Instantiate UpdateSecurityGroupRuleOptions

func (*VpcV1) NewUpdateShareMountTargetOptions added in v0.41.0

func (*VpcV1) NewUpdateShareMountTargetOptions(shareID string, id string, shareMountTargetPatch map[string]interface{}) *UpdateShareMountTargetOptions

NewUpdateShareMountTargetOptions : Instantiate UpdateShareMountTargetOptions

func (*VpcV1) NewUpdateShareOptions added in v0.41.0

func (*VpcV1) NewUpdateShareOptions(id string, sharePatch map[string]interface{}) *UpdateShareOptions

NewUpdateShareOptions : Instantiate UpdateShareOptions

func (*VpcV1) NewUpdateSnapshotConsistencyGroupOptions added in v0.45.0

func (*VpcV1) NewUpdateSnapshotConsistencyGroupOptions(id string, snapshotConsistencyGroupPatch map[string]interface{}) *UpdateSnapshotConsistencyGroupOptions

NewUpdateSnapshotConsistencyGroupOptions : Instantiate UpdateSnapshotConsistencyGroupOptions

func (*VpcV1) NewUpdateSnapshotOptions added in v0.7.0

func (*VpcV1) NewUpdateSnapshotOptions(id string, snapshotPatch map[string]interface{}) *UpdateSnapshotOptions

NewUpdateSnapshotOptions : Instantiate UpdateSnapshotOptions

func (*VpcV1) NewUpdateSubnetOptions

func (*VpcV1) NewUpdateSubnetOptions(id string, subnetPatch map[string]interface{}) *UpdateSubnetOptions

NewUpdateSubnetOptions : Instantiate UpdateSubnetOptions

func (*VpcV1) NewUpdateSubnetReservedIPOptions added in v0.3.0

func (*VpcV1) NewUpdateSubnetReservedIPOptions(subnetID string, id string, reservedIPPatch map[string]interface{}) *UpdateSubnetReservedIPOptions

NewUpdateSubnetReservedIPOptions : Instantiate UpdateSubnetReservedIPOptions

func (*VpcV1) NewUpdateVPCAddressPrefixOptions

func (*VpcV1) NewUpdateVPCAddressPrefixOptions(vpcID string, id string, addressPrefixPatch map[string]interface{}) *UpdateVPCAddressPrefixOptions

NewUpdateVPCAddressPrefixOptions : Instantiate UpdateVPCAddressPrefixOptions

func (*VpcV1) NewUpdateVPCDnsResolutionBindingOptions added in v0.43.0

func (*VpcV1) NewUpdateVPCDnsResolutionBindingOptions(vpcID string, id string, vpcdnsResolutionBindingPatch map[string]interface{}) *UpdateVPCDnsResolutionBindingOptions

NewUpdateVPCDnsResolutionBindingOptions : Instantiate UpdateVPCDnsResolutionBindingOptions

func (*VpcV1) NewUpdateVPCOptions

func (*VpcV1) NewUpdateVPCOptions(id string, vpcPatch map[string]interface{}) *UpdateVPCOptions

NewUpdateVPCOptions : Instantiate UpdateVPCOptions

func (*VpcV1) NewUpdateVPCRouteOptions

func (*VpcV1) NewUpdateVPCRouteOptions(vpcID string, id string, routePatch map[string]interface{}) *UpdateVPCRouteOptions

NewUpdateVPCRouteOptions : Instantiate UpdateVPCRouteOptions

func (*VpcV1) NewUpdateVPCRoutingTableOptions added in v0.3.0

func (*VpcV1) NewUpdateVPCRoutingTableOptions(vpcID string, id string, routingTablePatch map[string]interface{}) *UpdateVPCRoutingTableOptions

NewUpdateVPCRoutingTableOptions : Instantiate UpdateVPCRoutingTableOptions

func (*VpcV1) NewUpdateVPCRoutingTableRouteOptions added in v0.3.0

func (*VpcV1) NewUpdateVPCRoutingTableRouteOptions(vpcID string, routingTableID string, id string, routePatch map[string]interface{}) *UpdateVPCRoutingTableRouteOptions

NewUpdateVPCRoutingTableRouteOptions : Instantiate UpdateVPCRoutingTableRouteOptions

func (*VpcV1) NewUpdateVPNGatewayConnectionOptions

func (*VpcV1) NewUpdateVPNGatewayConnectionOptions(vpnGatewayID string, id string, vpnGatewayConnectionPatch map[string]interface{}) *UpdateVPNGatewayConnectionOptions

NewUpdateVPNGatewayConnectionOptions : Instantiate UpdateVPNGatewayConnectionOptions

func (*VpcV1) NewUpdateVPNGatewayOptions

func (*VpcV1) NewUpdateVPNGatewayOptions(id string, vpnGatewayPatch map[string]interface{}) *UpdateVPNGatewayOptions

NewUpdateVPNGatewayOptions : Instantiate UpdateVPNGatewayOptions

func (*VpcV1) NewUpdateVPNServerOptions added in v0.22.0

func (*VpcV1) NewUpdateVPNServerOptions(id string, vpnServerPatch map[string]interface{}) *UpdateVPNServerOptions

NewUpdateVPNServerOptions : Instantiate UpdateVPNServerOptions

func (*VpcV1) NewUpdateVPNServerRouteOptions added in v0.22.0

func (*VpcV1) NewUpdateVPNServerRouteOptions(vpnServerID string, id string, vpnServerRoutePatch map[string]interface{}) *UpdateVPNServerRouteOptions

NewUpdateVPNServerRouteOptions : Instantiate UpdateVPNServerRouteOptions

func (*VpcV1) NewUpdateVirtualNetworkInterfaceOptions added in v0.41.0

func (*VpcV1) NewUpdateVirtualNetworkInterfaceOptions(id string, virtualNetworkInterfacePatch map[string]interface{}) *UpdateVirtualNetworkInterfaceOptions

NewUpdateVirtualNetworkInterfaceOptions : Instantiate UpdateVirtualNetworkInterfaceOptions

func (*VpcV1) NewUpdateVolumeOptions

func (*VpcV1) NewUpdateVolumeOptions(id string, volumePatch map[string]interface{}) *UpdateVolumeOptions

NewUpdateVolumeOptions : Instantiate UpdateVolumeOptions

func (*VpcV1) NewVPCAddressPrefixesPager added in v0.25.0

func (vpc *VpcV1) NewVPCAddressPrefixesPager(options *ListVPCAddressPrefixesOptions) (pager *VPCAddressPrefixesPager, err error)

NewVPCAddressPrefixesPager returns a new VPCAddressPrefixesPager instance.

func (*VpcV1) NewVPCDnsResolutionBindingsPager added in v0.43.0

func (vpc *VpcV1) NewVPCDnsResolutionBindingsPager(options *ListVPCDnsResolutionBindingsOptions) (pager *VPCDnsResolutionBindingsPager, err error)

NewVPCDnsResolutionBindingsPager returns a new VPCDnsResolutionBindingsPager instance.

func (*VpcV1) NewVPCIdentityByCRN

func (*VpcV1) NewVPCIdentityByCRN(crn string) (_model *VPCIdentityByCRN, err error)

NewVPCIdentityByCRN : Instantiate VPCIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewVPCIdentityByHref

func (*VpcV1) NewVPCIdentityByHref(href string) (_model *VPCIdentityByHref, err error)

NewVPCIdentityByHref : Instantiate VPCIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVPCIdentityByID

func (*VpcV1) NewVPCIdentityByID(id string) (_model *VPCIdentityByID, err error)

NewVPCIdentityByID : Instantiate VPCIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVPCRoutesPager added in v0.25.0

func (vpc *VpcV1) NewVPCRoutesPager(options *ListVPCRoutesOptions) (pager *VPCRoutesPager, err error)

NewVPCRoutesPager returns a new VPCRoutesPager instance.

func (*VpcV1) NewVPCRoutingTableRoutesPager added in v0.25.0

func (vpc *VpcV1) NewVPCRoutingTableRoutesPager(options *ListVPCRoutingTableRoutesOptions) (pager *VPCRoutingTableRoutesPager, err error)

NewVPCRoutingTableRoutesPager returns a new VPCRoutingTableRoutesPager instance.

func (*VpcV1) NewVPCRoutingTablesPager added in v0.25.0

func (vpc *VpcV1) NewVPCRoutingTablesPager(options *ListVPCRoutingTablesOptions) (pager *VPCRoutingTablesPager, err error)

NewVPCRoutingTablesPager returns a new VPCRoutingTablesPager instance.

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref(href string) (_model *VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref, err error)

NewVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref : Instantiate VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID(id string) (_model *VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID, err error)

NewVPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID : Instantiate VPNGatewayConnectionIPsecPolicyPatchIPsecPolicyIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref(href string) (_model *VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref, err error)

NewVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref : Instantiate VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID(id string) (_model *VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID, err error)

NewVPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID : Instantiate VPNGatewayConnectionIPsecPolicyPrototypeIPsecPolicyIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn(typeVar string, value string) (_model *VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn, err error)

NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn : Instantiate VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityFqdn (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname(typeVar string, value string) (_model *VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname, err error)

NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname : Instantiate VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityHostname (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4(typeVar string, value string) (_model *VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4, err error)

NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 : Instantiate VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityIPv4 (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID(typeVar string, value string) (_model *VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID, err error)

NewVPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID : Instantiate VPNGatewayConnectionIkeIdentityPrototypeVPNGatewayConnectionIkeIdentityKeyID (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref(href string) (_model *VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref, err error)

NewVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref : Instantiate VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID(id string) (_model *VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID, err error)

NewVPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID : Instantiate VPNGatewayConnectionIkePolicyPatchIkePolicyIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref(href string) (_model *VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref, err error)

NewVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref : Instantiate VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID added in v0.14.0

func (*VpcV1) NewVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID(id string) (_model *VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID, err error)

NewVPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID : Instantiate VPNGatewayConnectionIkePolicyPrototypeIkePolicyIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionPolicyModeLocalPrototype added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionPolicyModeLocalPrototype(cidrs []string) (_model *VPNGatewayConnectionPolicyModeLocalPrototype, err error)

NewVPNGatewayConnectionPolicyModeLocalPrototype : Instantiate VPNGatewayConnectionPolicyModeLocalPrototype (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress(cidrs []string, address string) (_model *VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress, err error)

NewVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress : Instantiate VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByAddress (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn(cidrs []string, fqdn string) (_model *VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn, err error)

NewVPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn : Instantiate VPNGatewayConnectionPolicyModePeerPrototypeVPNGatewayConnectionPeerByFqdn (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype added in v0.3.0

func (*VpcV1) NewVPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype(psk string, local *VPNGatewayConnectionPolicyModeLocalPrototype, peer VPNGatewayConnectionPolicyModePeerPrototypeIntf) (_model *VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype, err error)

NewVPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype : Instantiate VPNGatewayConnectionPrototypeVPNGatewayConnectionPolicyModePrototype (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype added in v0.15.0

func (*VpcV1) NewVPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype(psk string, peer VPNGatewayConnectionStaticRouteModePeerPrototypeIntf) (_model *VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype, err error)

NewVPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype : Instantiate VPNGatewayConnectionPrototypeVPNGatewayConnectionStaticRouteModePrototype (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress(address string) (_model *VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress, err error)

NewVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress : Instantiate VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByAddress (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn added in v0.51.0

func (*VpcV1) NewVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn(fqdn string) (_model *VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn, err error)

NewVPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn : Instantiate VPNGatewayConnectionStaticRouteModePeerPrototypeVPNGatewayConnectionPeerByFqdn (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayPrototypeVPNGatewayPolicyModePrototype added in v0.15.0

func (*VpcV1) NewVPNGatewayPrototypeVPNGatewayPolicyModePrototype(subnet SubnetIdentityIntf) (_model *VPNGatewayPrototypeVPNGatewayPolicyModePrototype, err error)

NewVPNGatewayPrototypeVPNGatewayPolicyModePrototype : Instantiate VPNGatewayPrototypeVPNGatewayPolicyModePrototype (Generic Model Constructor)

func (*VpcV1) NewVPNGatewayPrototypeVPNGatewayRouteModePrototype added in v0.15.0

func (*VpcV1) NewVPNGatewayPrototypeVPNGatewayRouteModePrototype(subnet SubnetIdentityIntf) (_model *VPNGatewayPrototypeVPNGatewayRouteModePrototype, err error)

NewVPNGatewayPrototypeVPNGatewayRouteModePrototype : Instantiate VPNGatewayPrototypeVPNGatewayRouteModePrototype (Generic Model Constructor)

func (*VpcV1) NewVPNGatewaysPager added in v0.25.0

func (vpc *VpcV1) NewVPNGatewaysPager(options *ListVPNGatewaysOptions) (pager *VPNGatewaysPager, err error)

NewVPNGatewaysPager returns a new VPNGatewaysPager instance.

func (*VpcV1) NewVPNServerAuthenticationByUsernameIDProviderByIam added in v0.22.0

func (*VpcV1) NewVPNServerAuthenticationByUsernameIDProviderByIam(providerType string) (_model *VPNServerAuthenticationByUsernameIDProviderByIam, err error)

NewVPNServerAuthenticationByUsernameIDProviderByIam : Instantiate VPNServerAuthenticationByUsernameIDProviderByIam (Generic Model Constructor)

func (*VpcV1) NewVPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype added in v0.22.0

func (*VpcV1) NewVPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype(method string, clientCa CertificateInstanceIdentityIntf) (_model *VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype, err error)

NewVPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype : Instantiate VPNServerAuthenticationPrototypeVPNServerAuthenticationByCertificatePrototype (Generic Model Constructor)

func (*VpcV1) NewVPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype added in v0.22.0

func (*VpcV1) NewVPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype(method string, identityProvider VPNServerAuthenticationByUsernameIDProviderIntf) (_model *VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype, err error)

NewVPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype : Instantiate VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype (Generic Model Constructor)

func (*VpcV1) NewVPNServerClientsPager added in v0.25.0

func (vpc *VpcV1) NewVPNServerClientsPager(options *ListVPNServerClientsOptions) (pager *VPNServerClientsPager, err error)

NewVPNServerClientsPager returns a new VPNServerClientsPager instance.

func (*VpcV1) NewVPNServerRoutesPager added in v0.25.0

func (vpc *VpcV1) NewVPNServerRoutesPager(options *ListVPNServerRoutesOptions) (pager *VPNServerRoutesPager, err error)

NewVPNServerRoutesPager returns a new VPNServerRoutesPager instance.

func (*VpcV1) NewVPNServersPager added in v0.25.0

func (vpc *VpcV1) NewVPNServersPager(options *ListVPNServersOptions) (pager *VPNServersPager, err error)

NewVPNServersPager returns a new VPNServersPager instance.

func (*VpcV1) NewVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref added in v0.47.0

func (*VpcV1) NewVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref(href string) (_model *VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref, err error)

NewVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref : Instantiate VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByHref (Generic Model Constructor)

func (*VpcV1) NewVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID added in v0.47.0

func (*VpcV1) NewVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID(id string) (_model *VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID, err error)

NewVirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID : Instantiate VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextByID (Generic Model Constructor)

func (*VpcV1) NewVirtualNetworkInterfaceIpsPager added in v0.47.0

func (vpc *VpcV1) NewVirtualNetworkInterfaceIpsPager(options *ListVirtualNetworkInterfaceIpsOptions) (pager *VirtualNetworkInterfaceIpsPager, err error)

NewVirtualNetworkInterfaceIpsPager returns a new VirtualNetworkInterfaceIpsPager instance.

func (*VpcV1) NewVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref added in v0.41.0

func (*VpcV1) NewVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref(href string) (_model *VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref, err error)

NewVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref : Instantiate VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByHref (Generic Model Constructor)

func (*VpcV1) NewVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID added in v0.41.0

func (*VpcV1) NewVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID(id string) (_model *VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID, err error)

NewVirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID : Instantiate VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextByID (Generic Model Constructor)

func (*VpcV1) NewVirtualNetworkInterfacesPager added in v0.41.0

func (vpc *VpcV1) NewVirtualNetworkInterfacesPager(options *ListVirtualNetworkInterfacesOptions) (pager *VirtualNetworkInterfacesPager, err error)

NewVirtualNetworkInterfacesPager returns a new VirtualNetworkInterfacesPager instance.

func (*VpcV1) NewVolumeAttachmentPrototype added in v0.28.0

func (*VpcV1) NewVolumeAttachmentPrototype(volume VolumeAttachmentPrototypeVolumeIntf) (_model *VolumeAttachmentPrototype, err error)

NewVolumeAttachmentPrototype : Instantiate VolumeAttachmentPrototype (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeInstanceByImageContext

func (*VpcV1) NewVolumeAttachmentPrototypeInstanceByImageContext(volume *VolumePrototypeInstanceByImageContext) (_model *VolumeAttachmentPrototypeInstanceByImageContext, err error)

NewVolumeAttachmentPrototypeInstanceByImageContext : Instantiate VolumeAttachmentPrototypeInstanceByImageContext (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeInstanceBySourceSnapshotContext added in v0.18.0

func (*VpcV1) NewVolumeAttachmentPrototypeInstanceBySourceSnapshotContext(volume *VolumePrototypeInstanceBySourceSnapshotContext) (_model *VolumeAttachmentPrototypeInstanceBySourceSnapshotContext, err error)

NewVolumeAttachmentPrototypeInstanceBySourceSnapshotContext : Instantiate VolumeAttachmentPrototypeInstanceBySourceSnapshotContext (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeInstanceByVolumeContext added in v0.7.0

func (*VpcV1) NewVolumeAttachmentPrototypeInstanceByVolumeContext(volume VolumeIdentityIntf) (_model *VolumeAttachmentPrototypeInstanceByVolumeContext, err error)

NewVolumeAttachmentPrototypeInstanceByVolumeContext : Instantiate VolumeAttachmentPrototypeInstanceByVolumeContext (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN added in v0.7.0

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN(crn string) (_model *VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN, err error)

NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN : Instantiate VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref added in v0.7.0

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref(href string) (_model *VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref, err error)

NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref : Instantiate VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID added in v0.7.0

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID(id string) (_model *VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID, err error)

NewVolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID : Instantiate VolumeAttachmentPrototypeVolumeVolumeIdentityVolumeIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity added in v0.7.0

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity(profile VolumeProfileIdentityIntf, capacity int64) (_model *VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity, err error)

NewVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity : Instantiate VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeByCapacity (Generic Model Constructor)

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot added in v0.7.0

func (*VpcV1) NewVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot(profile VolumeProfileIdentityIntf, sourceSnapshot SnapshotIdentityIntf) (_model *VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot, err error)

NewVolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot : Instantiate VolumeAttachmentPrototypeVolumeVolumePrototypeInstanceContextVolumePrototypeInstanceContextVolumeBySourceSnapshot (Generic Model Constructor)

func (*VpcV1) NewVolumeIdentityByCRN

func (*VpcV1) NewVolumeIdentityByCRN(crn string) (_model *VolumeIdentityByCRN, err error)

NewVolumeIdentityByCRN : Instantiate VolumeIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewVolumeIdentityByHref

func (*VpcV1) NewVolumeIdentityByHref(href string) (_model *VolumeIdentityByHref, err error)

NewVolumeIdentityByHref : Instantiate VolumeIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVolumeIdentityByID

func (*VpcV1) NewVolumeIdentityByID(id string) (_model *VolumeIdentityByID, err error)

NewVolumeIdentityByID : Instantiate VolumeIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVolumeProfileIdentityByHref

func (*VpcV1) NewVolumeProfileIdentityByHref(href string) (_model *VolumeProfileIdentityByHref, err error)

NewVolumeProfileIdentityByHref : Instantiate VolumeProfileIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVolumeProfileIdentityByName

func (*VpcV1) NewVolumeProfileIdentityByName(name string) (_model *VolumeProfileIdentityByName, err error)

NewVolumeProfileIdentityByName : Instantiate VolumeProfileIdentityByName (Generic Model Constructor)

func (*VpcV1) NewVolumeProfilesPager added in v0.25.0

func (vpc *VpcV1) NewVolumeProfilesPager(options *ListVolumeProfilesOptions) (pager *VolumeProfilesPager, err error)

NewVolumeProfilesPager returns a new VolumeProfilesPager instance.

func (*VpcV1) NewVolumePrototypeInstanceByImageContext

func (*VpcV1) NewVolumePrototypeInstanceByImageContext(profile VolumeProfileIdentityIntf) (_model *VolumePrototypeInstanceByImageContext, err error)

NewVolumePrototypeInstanceByImageContext : Instantiate VolumePrototypeInstanceByImageContext (Generic Model Constructor)

func (*VpcV1) NewVolumePrototypeInstanceBySourceSnapshotContext added in v0.18.0

func (*VpcV1) NewVolumePrototypeInstanceBySourceSnapshotContext(profile VolumeProfileIdentityIntf, sourceSnapshot SnapshotIdentityIntf) (_model *VolumePrototypeInstanceBySourceSnapshotContext, err error)

NewVolumePrototypeInstanceBySourceSnapshotContext : Instantiate VolumePrototypeInstanceBySourceSnapshotContext (Generic Model Constructor)

func (*VpcV1) NewVolumePrototypeVolumeByCapacity

func (*VpcV1) NewVolumePrototypeVolumeByCapacity(profile VolumeProfileIdentityIntf, zone ZoneIdentityIntf, capacity int64) (_model *VolumePrototypeVolumeByCapacity, err error)

NewVolumePrototypeVolumeByCapacity : Instantiate VolumePrototypeVolumeByCapacity (Generic Model Constructor)

func (*VpcV1) NewVolumePrototypeVolumeBySourceSnapshot added in v0.22.0

func (*VpcV1) NewVolumePrototypeVolumeBySourceSnapshot(profile VolumeProfileIdentityIntf, zone ZoneIdentityIntf, sourceSnapshot SnapshotIdentityIntf) (_model *VolumePrototypeVolumeBySourceSnapshot, err error)

NewVolumePrototypeVolumeBySourceSnapshot : Instantiate VolumePrototypeVolumeBySourceSnapshot (Generic Model Constructor)

func (*VpcV1) NewVolumesPager added in v0.25.0

func (vpc *VpcV1) NewVolumesPager(options *ListVolumesOptions) (pager *VolumesPager, err error)

NewVolumesPager returns a new VolumesPager instance.

func (*VpcV1) NewVpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype added in v0.43.0

func (*VpcV1) NewVpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype(manualServers []DnsServerPrototype, typeVar string) (_model *VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype, err error)

NewVpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype : Instantiate VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype (Generic Model Constructor)

func (*VpcV1) NewVpcdnsResolverVPCPatchVPCIdentityByCRN added in v0.43.0

func (*VpcV1) NewVpcdnsResolverVPCPatchVPCIdentityByCRN(crn string) (_model *VpcdnsResolverVPCPatchVPCIdentityByCRN, err error)

NewVpcdnsResolverVPCPatchVPCIdentityByCRN : Instantiate VpcdnsResolverVPCPatchVPCIdentityByCRN (Generic Model Constructor)

func (*VpcV1) NewVpcdnsResolverVPCPatchVPCIdentityByHref added in v0.43.0

func (*VpcV1) NewVpcdnsResolverVPCPatchVPCIdentityByHref(href string) (_model *VpcdnsResolverVPCPatchVPCIdentityByHref, err error)

NewVpcdnsResolverVPCPatchVPCIdentityByHref : Instantiate VpcdnsResolverVPCPatchVPCIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewVpcdnsResolverVPCPatchVPCIdentityByID added in v0.43.0

func (*VpcV1) NewVpcdnsResolverVPCPatchVPCIdentityByID(id string) (_model *VpcdnsResolverVPCPatchVPCIdentityByID, err error)

NewVpcdnsResolverVPCPatchVPCIdentityByID : Instantiate VpcdnsResolverVPCPatchVPCIdentityByID (Generic Model Constructor)

func (*VpcV1) NewVpcsPager added in v0.25.0

func (vpc *VpcV1) NewVpcsPager(options *ListVpcsOptions) (pager *VpcsPager, err error)

NewVpcsPager returns a new VpcsPager instance.

func (*VpcV1) NewZoneIdentityByHref

func (*VpcV1) NewZoneIdentityByHref(href string) (_model *ZoneIdentityByHref, err error)

NewZoneIdentityByHref : Instantiate ZoneIdentityByHref (Generic Model Constructor)

func (*VpcV1) NewZoneIdentityByName

func (*VpcV1) NewZoneIdentityByName(name string) (_model *ZoneIdentityByName, err error)

NewZoneIdentityByName : Instantiate ZoneIdentityByName (Generic Model Constructor)

func (*VpcV1) ObsoleteImage added in v0.40.0

func (vpc *VpcV1) ObsoleteImage(obsoleteImageOptions *ObsoleteImageOptions) (response *core.DetailedResponse, err error)

ObsoleteImage : Obsolete an image This request obsoletes an image, resulting in its `status` becoming `obsolete` and `obsolescence_at` being set to the current date and time.

The image must: - have a `status` of `available` or `deprecated` - have `catalog_offering.managed` set to `false` - not have `deprecation_at` set in the future - not have `obsolescence_at` set

A system-provided image is not allowed to be obsoleted.

func (*VpcV1) ObsoleteImageWithContext added in v0.40.0

func (vpc *VpcV1) ObsoleteImageWithContext(ctx context.Context, obsoleteImageOptions *ObsoleteImageOptions) (response *core.DetailedResponse, err error)

ObsoleteImageWithContext is an alternate form of the ObsoleteImage method which supports a Context parameter

func (*VpcV1) RemoveBareMetalServerNetworkInterfaceFloatingIP added in v0.16.0

func (vpc *VpcV1) RemoveBareMetalServerNetworkInterfaceFloatingIP(removeBareMetalServerNetworkInterfaceFloatingIPOptions *RemoveBareMetalServerNetworkInterfaceFloatingIPOptions) (response *core.DetailedResponse, err error)

RemoveBareMetalServerNetworkInterfaceFloatingIP : Disassociate a floating IP from a bare metal server network interface This request disassociates the specified floating IP from the specified bare metal server network interface.

func (*VpcV1) RemoveBareMetalServerNetworkInterfaceFloatingIPWithContext added in v0.16.0

func (vpc *VpcV1) RemoveBareMetalServerNetworkInterfaceFloatingIPWithContext(ctx context.Context, removeBareMetalServerNetworkInterfaceFloatingIPOptions *RemoveBareMetalServerNetworkInterfaceFloatingIPOptions) (response *core.DetailedResponse, err error)

RemoveBareMetalServerNetworkInterfaceFloatingIPWithContext is an alternate form of the RemoveBareMetalServerNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) RemoveEndpointGatewayIP added in v0.3.0

func (vpc *VpcV1) RemoveEndpointGatewayIP(removeEndpointGatewayIPOptions *RemoveEndpointGatewayIPOptions) (response *core.DetailedResponse, err error)

RemoveEndpointGatewayIP : Unbind a reserved IP from an endpoint gateway This request unbinds the specified reserved IP from the specified endpoint gateway. If the reserved IP has `auto_delete` set to `true`, the reserved IP will be deleted.

func (*VpcV1) RemoveEndpointGatewayIPWithContext added in v0.4.2

func (vpc *VpcV1) RemoveEndpointGatewayIPWithContext(ctx context.Context, removeEndpointGatewayIPOptions *RemoveEndpointGatewayIPOptions) (response *core.DetailedResponse, err error)

RemoveEndpointGatewayIPWithContext is an alternate form of the RemoveEndpointGatewayIP method which supports a Context parameter

func (*VpcV1) RemoveInstanceNetworkInterfaceFloatingIP

func (vpc *VpcV1) RemoveInstanceNetworkInterfaceFloatingIP(removeInstanceNetworkInterfaceFloatingIPOptions *RemoveInstanceNetworkInterfaceFloatingIPOptions) (response *core.DetailedResponse, err error)

RemoveInstanceNetworkInterfaceFloatingIP : Disassociate a floating IP from an instance network interface This request disassociates the specified floating IP from the specified instance network interface.

func (*VpcV1) RemoveInstanceNetworkInterfaceFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) RemoveInstanceNetworkInterfaceFloatingIPWithContext(ctx context.Context, removeInstanceNetworkInterfaceFloatingIPOptions *RemoveInstanceNetworkInterfaceFloatingIPOptions) (response *core.DetailedResponse, err error)

RemoveInstanceNetworkInterfaceFloatingIPWithContext is an alternate form of the RemoveInstanceNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) RemoveNetworkInterfaceFloatingIP added in v0.47.0

func (vpc *VpcV1) RemoveNetworkInterfaceFloatingIP(removeNetworkInterfaceFloatingIPOptions *RemoveNetworkInterfaceFloatingIPOptions) (response *core.DetailedResponse, err error)

RemoveNetworkInterfaceFloatingIP : Disassociate a floating IP from a virtual network interface This request disassociates the specified floating IP from the specified virtual network interface.

func (*VpcV1) RemoveNetworkInterfaceFloatingIPWithContext added in v0.47.0

func (vpc *VpcV1) RemoveNetworkInterfaceFloatingIPWithContext(ctx context.Context, removeNetworkInterfaceFloatingIPOptions *RemoveNetworkInterfaceFloatingIPOptions) (response *core.DetailedResponse, err error)

RemoveNetworkInterfaceFloatingIPWithContext is an alternate form of the RemoveNetworkInterfaceFloatingIP method which supports a Context parameter

func (*VpcV1) RemoveVPNGatewayConnectionsLocalCIDR added in v0.51.0

func (vpc *VpcV1) RemoveVPNGatewayConnectionsLocalCIDR(removeVPNGatewayConnectionsLocalCIDROptions *RemoveVPNGatewayConnectionsLocalCIDROptions) (response *core.DetailedResponse, err error)

RemoveVPNGatewayConnectionsLocalCIDR : Remove a local CIDR from a VPN gateway connection This request removes a CIDR from a VPN gateway connection.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) RemoveVPNGatewayConnectionsLocalCIDRWithContext added in v0.51.0

func (vpc *VpcV1) RemoveVPNGatewayConnectionsLocalCIDRWithContext(ctx context.Context, removeVPNGatewayConnectionsLocalCIDROptions *RemoveVPNGatewayConnectionsLocalCIDROptions) (response *core.DetailedResponse, err error)

RemoveVPNGatewayConnectionsLocalCIDRWithContext is an alternate form of the RemoveVPNGatewayConnectionsLocalCIDR method which supports a Context parameter

func (*VpcV1) RemoveVPNGatewayConnectionsPeerCIDR added in v0.51.0

func (vpc *VpcV1) RemoveVPNGatewayConnectionsPeerCIDR(removeVPNGatewayConnectionsPeerCIDROptions *RemoveVPNGatewayConnectionsPeerCIDROptions) (response *core.DetailedResponse, err error)

RemoveVPNGatewayConnectionsPeerCIDR : Remove a peer CIDR from a VPN gateway connection This request removes a CIDR from a VPN gateway connection.

This request is only supported for policy mode VPN gateways.

func (*VpcV1) RemoveVPNGatewayConnectionsPeerCIDRWithContext added in v0.51.0

func (vpc *VpcV1) RemoveVPNGatewayConnectionsPeerCIDRWithContext(ctx context.Context, removeVPNGatewayConnectionsPeerCIDROptions *RemoveVPNGatewayConnectionsPeerCIDROptions) (response *core.DetailedResponse, err error)

RemoveVPNGatewayConnectionsPeerCIDRWithContext is an alternate form of the RemoveVPNGatewayConnectionsPeerCIDR method which supports a Context parameter

func (*VpcV1) RemoveVirtualNetworkInterfaceIP added in v0.47.0

func (vpc *VpcV1) RemoveVirtualNetworkInterfaceIP(removeVirtualNetworkInterfaceIPOptions *RemoveVirtualNetworkInterfaceIPOptions) (response *core.DetailedResponse, err error)

RemoveVirtualNetworkInterfaceIP : Unbind a reserved IP from a virtual network interface This request unbinds the specified reserved IP from the specified virtual network interface. If the reserved IP has `auto_delete` set to `true`, the reserved IP will be deleted.

The reserved IP for the `primary_ip` cannot be unbound.

func (*VpcV1) RemoveVirtualNetworkInterfaceIPWithContext added in v0.47.0

func (vpc *VpcV1) RemoveVirtualNetworkInterfaceIPWithContext(ctx context.Context, removeVirtualNetworkInterfaceIPOptions *RemoveVirtualNetworkInterfaceIPOptions) (response *core.DetailedResponse, err error)

RemoveVirtualNetworkInterfaceIPWithContext is an alternate form of the RemoveVirtualNetworkInterfaceIP method which supports a Context parameter

func (*VpcV1) ReplaceLoadBalancerPoolMembers

func (vpc *VpcV1) ReplaceLoadBalancerPoolMembers(replaceLoadBalancerPoolMembersOptions *ReplaceLoadBalancerPoolMembersOptions) (result *LoadBalancerPoolMemberCollection, response *core.DetailedResponse, err error)

ReplaceLoadBalancerPoolMembers : Replace load balancer pool members This request replaces the existing members of the load balancer pool with new members created from the collection of member prototype objects.

func (*VpcV1) ReplaceLoadBalancerPoolMembersWithContext added in v0.4.2

func (vpc *VpcV1) ReplaceLoadBalancerPoolMembersWithContext(ctx context.Context, replaceLoadBalancerPoolMembersOptions *ReplaceLoadBalancerPoolMembersOptions) (result *LoadBalancerPoolMemberCollection, response *core.DetailedResponse, err error)

ReplaceLoadBalancerPoolMembersWithContext is an alternate form of the ReplaceLoadBalancerPoolMembers method which supports a Context parameter

func (*VpcV1) ReplaceSubnetNetworkACL

func (vpc *VpcV1) ReplaceSubnetNetworkACL(replaceSubnetNetworkACLOptions *ReplaceSubnetNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

ReplaceSubnetNetworkACL : Replace the network ACL for a subnet This request replaces the existing network ACL for a subnet with the network ACL specified in the request body.

func (*VpcV1) ReplaceSubnetNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) ReplaceSubnetNetworkACLWithContext(ctx context.Context, replaceSubnetNetworkACLOptions *ReplaceSubnetNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

ReplaceSubnetNetworkACLWithContext is an alternate form of the ReplaceSubnetNetworkACL method which supports a Context parameter

func (*VpcV1) ReplaceSubnetRoutingTable added in v0.3.0

func (vpc *VpcV1) ReplaceSubnetRoutingTable(replaceSubnetRoutingTableOptions *ReplaceSubnetRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

ReplaceSubnetRoutingTable : Replace the routing table for a subnet This request replaces the existing routing table for a subnet with the routing table specified in the request body.

For this request to succeed, the routing table `route_direct_link_ingress`, `route_internet_ingress`, `route_transit_gateway_ingress`, and `route_vpc_zone_ingress` properties must be `false`.

func (*VpcV1) ReplaceSubnetRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) ReplaceSubnetRoutingTableWithContext(ctx context.Context, replaceSubnetRoutingTableOptions *ReplaceSubnetRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

ReplaceSubnetRoutingTableWithContext is an alternate form of the ReplaceSubnetRoutingTable method which supports a Context parameter

func (*VpcV1) RestartBareMetalServer added in v0.16.0

func (vpc *VpcV1) RestartBareMetalServer(restartBareMetalServerOptions *RestartBareMetalServerOptions) (response *core.DetailedResponse, err error)

RestartBareMetalServer : Restart a bare metal server This request restarts a bare metal server. It will run immediately regardless of the state of the server.

func (*VpcV1) RestartBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) RestartBareMetalServerWithContext(ctx context.Context, restartBareMetalServerOptions *RestartBareMetalServerOptions) (response *core.DetailedResponse, err error)

RestartBareMetalServerWithContext is an alternate form of the RestartBareMetalServer method which supports a Context parameter

func (*VpcV1) SetDefaultHeaders added in v0.4.2

func (vpc *VpcV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*VpcV1) SetEnableGzipCompression added in v0.4.2

func (vpc *VpcV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*VpcV1) SetServiceURL

func (vpc *VpcV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*VpcV1) SetSubnetPublicGateway

func (vpc *VpcV1) SetSubnetPublicGateway(setSubnetPublicGatewayOptions *SetSubnetPublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

SetSubnetPublicGateway : Attach a public gateway to a subnet This request attaches the public gateway, specified in the request body, to the subnet specified by the subnet identifier in the URL. The public gateway must have the same VPC and zone as the subnet.

func (*VpcV1) SetSubnetPublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) SetSubnetPublicGatewayWithContext(ctx context.Context, setSubnetPublicGatewayOptions *SetSubnetPublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

SetSubnetPublicGatewayWithContext is an alternate form of the SetSubnetPublicGateway method which supports a Context parameter

func (*VpcV1) StartBareMetalServer added in v0.16.0

func (vpc *VpcV1) StartBareMetalServer(startBareMetalServerOptions *StartBareMetalServerOptions) (response *core.DetailedResponse, err error)

StartBareMetalServer : Start a bare metal server This request starts a bare metal server. It will run immediately provided the server is stopped.

func (*VpcV1) StartBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) StartBareMetalServerWithContext(ctx context.Context, startBareMetalServerOptions *StartBareMetalServerOptions) (response *core.DetailedResponse, err error)

StartBareMetalServerWithContext is an alternate form of the StartBareMetalServer method which supports a Context parameter

func (*VpcV1) StopBareMetalServer added in v0.16.0

func (vpc *VpcV1) StopBareMetalServer(stopBareMetalServerOptions *StopBareMetalServerOptions) (response *core.DetailedResponse, err error)

StopBareMetalServer : Stop a bare metal server This request stops a bare metal server. It will run immediately provided the server is running. Note: A soft stop may not complete as it relies on the operating system to perform the operation.

func (*VpcV1) StopBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) StopBareMetalServerWithContext(ctx context.Context, stopBareMetalServerOptions *StopBareMetalServerOptions) (response *core.DetailedResponse, err error)

StopBareMetalServerWithContext is an alternate form of the StopBareMetalServer method which supports a Context parameter

func (*VpcV1) UnsetSubnetPublicGateway

func (vpc *VpcV1) UnsetSubnetPublicGateway(unsetSubnetPublicGatewayOptions *UnsetSubnetPublicGatewayOptions) (response *core.DetailedResponse, err error)

UnsetSubnetPublicGateway : Detach a public gateway from a subnet This request detaches the public gateway from the subnet specified by the subnet identifier in the URL.

func (*VpcV1) UnsetSubnetPublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) UnsetSubnetPublicGatewayWithContext(ctx context.Context, unsetSubnetPublicGatewayOptions *UnsetSubnetPublicGatewayOptions) (response *core.DetailedResponse, err error)

UnsetSubnetPublicGatewayWithContext is an alternate form of the UnsetSubnetPublicGateway method which supports a Context parameter

func (*VpcV1) UpdateBackupPolicy added in v0.21.0

func (vpc *VpcV1) UpdateBackupPolicy(updateBackupPolicyOptions *UpdateBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

UpdateBackupPolicy : Update a backup policy This request updates a backup policy with the information in a provided backup policy patch. The backup policy patch object is structured in the same way as a retrieved backup policy and contains only the information to be updated.

func (*VpcV1) UpdateBackupPolicyPlan added in v0.21.0

func (vpc *VpcV1) UpdateBackupPolicyPlan(updateBackupPolicyPlanOptions *UpdateBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

UpdateBackupPolicyPlan : Update a backup policy plan This request updates a backup policy plan with the information in a provided plan patch. The plan patch object is structured in the same way as a retrieved backup policy plan and can contains only the information to be updated.

func (*VpcV1) UpdateBackupPolicyPlanWithContext added in v0.21.0

func (vpc *VpcV1) UpdateBackupPolicyPlanWithContext(ctx context.Context, updateBackupPolicyPlanOptions *UpdateBackupPolicyPlanOptions) (result *BackupPolicyPlan, response *core.DetailedResponse, err error)

UpdateBackupPolicyPlanWithContext is an alternate form of the UpdateBackupPolicyPlan method which supports a Context parameter

func (*VpcV1) UpdateBackupPolicyWithContext added in v0.21.0

func (vpc *VpcV1) UpdateBackupPolicyWithContext(ctx context.Context, updateBackupPolicyOptions *UpdateBackupPolicyOptions) (result BackupPolicyIntf, response *core.DetailedResponse, err error)

UpdateBackupPolicyWithContext is an alternate form of the UpdateBackupPolicy method which supports a Context parameter

func (*VpcV1) UpdateBareMetalServer added in v0.16.0

func (vpc *VpcV1) UpdateBareMetalServer(updateBareMetalServerOptions *UpdateBareMetalServerOptions) (result *BareMetalServer, response *core.DetailedResponse, err error)

UpdateBareMetalServer : Update a bare metal server This request updates a bare metal server with the information in a provided patch. The bare metal server patch object is structured in the same way as a retrieved bare metal server and contains only the information to be updated.

func (*VpcV1) UpdateBareMetalServerDisk added in v0.16.0

func (vpc *VpcV1) UpdateBareMetalServerDisk(updateBareMetalServerDiskOptions *UpdateBareMetalServerDiskOptions) (result *BareMetalServerDisk, response *core.DetailedResponse, err error)

UpdateBareMetalServerDisk : Update a bare metal server disk This request updates the bare metal server disk with the information in a provided patch.

func (*VpcV1) UpdateBareMetalServerDiskWithContext added in v0.16.0

func (vpc *VpcV1) UpdateBareMetalServerDiskWithContext(ctx context.Context, updateBareMetalServerDiskOptions *UpdateBareMetalServerDiskOptions) (result *BareMetalServerDisk, response *core.DetailedResponse, err error)

UpdateBareMetalServerDiskWithContext is an alternate form of the UpdateBareMetalServerDisk method which supports a Context parameter

func (*VpcV1) UpdateBareMetalServerNetworkAttachment added in v0.47.0

func (vpc *VpcV1) UpdateBareMetalServerNetworkAttachment(updateBareMetalServerNetworkAttachmentOptions *UpdateBareMetalServerNetworkAttachmentOptions) (result BareMetalServerNetworkAttachmentIntf, response *core.DetailedResponse, err error)

UpdateBareMetalServerNetworkAttachment : Update a bare metal server network attachment This request updates a bare metal server network attachment with the information provided in a bare metal server network attachment patch object. The bare metal server network attachment patch object is structured in the same way as a retrieved bare metal server network attachment and contains only the information to be updated.

func (*VpcV1) UpdateBareMetalServerNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) UpdateBareMetalServerNetworkAttachmentWithContext(ctx context.Context, updateBareMetalServerNetworkAttachmentOptions *UpdateBareMetalServerNetworkAttachmentOptions) (result BareMetalServerNetworkAttachmentIntf, response *core.DetailedResponse, err error)

UpdateBareMetalServerNetworkAttachmentWithContext is an alternate form of the UpdateBareMetalServerNetworkAttachment method which supports a Context parameter

func (*VpcV1) UpdateBareMetalServerNetworkInterface added in v0.16.0

func (vpc *VpcV1) UpdateBareMetalServerNetworkInterface(updateBareMetalServerNetworkInterfaceOptions *UpdateBareMetalServerNetworkInterfaceOptions) (result BareMetalServerNetworkInterfaceIntf, response *core.DetailedResponse, err error)

UpdateBareMetalServerNetworkInterface : Update a bare metal server network interface This request updates a bare metal server network interface with the information provided in a bare metal server network interface patch object. The bare metal server network interface patch object is structured in the same way as a retrieved bare metal server network interface and needs to contain only the information to be updated.

If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and is not allowed to be updated.

func (*VpcV1) UpdateBareMetalServerNetworkInterfaceWithContext added in v0.16.0

func (vpc *VpcV1) UpdateBareMetalServerNetworkInterfaceWithContext(ctx context.Context, updateBareMetalServerNetworkInterfaceOptions *UpdateBareMetalServerNetworkInterfaceOptions) (result BareMetalServerNetworkInterfaceIntf, response *core.DetailedResponse, err error)

UpdateBareMetalServerNetworkInterfaceWithContext is an alternate form of the UpdateBareMetalServerNetworkInterface method which supports a Context parameter

func (*VpcV1) UpdateBareMetalServerWithContext added in v0.16.0

func (vpc *VpcV1) UpdateBareMetalServerWithContext(ctx context.Context, updateBareMetalServerOptions *UpdateBareMetalServerOptions) (result *BareMetalServer, response *core.DetailedResponse, err error)

UpdateBareMetalServerWithContext is an alternate form of the UpdateBareMetalServer method which supports a Context parameter

func (*VpcV1) UpdateDedicatedHost added in v0.4.0

func (vpc *VpcV1) UpdateDedicatedHost(updateDedicatedHostOptions *UpdateDedicatedHostOptions) (result *DedicatedHost, response *core.DetailedResponse, err error)

UpdateDedicatedHost : Update a dedicated host This request updates a dedicated host with the information in a provided dedicated host patch. The dedicated host patch object is structured in the same way as a retrieved dedicated host and contains only the information to be updated.

func (*VpcV1) UpdateDedicatedHostDisk added in v0.5.0

func (vpc *VpcV1) UpdateDedicatedHostDisk(updateDedicatedHostDiskOptions *UpdateDedicatedHostDiskOptions) (result *DedicatedHostDisk, response *core.DetailedResponse, err error)

UpdateDedicatedHostDisk : Update a dedicated host disk This request updates the dedicated host disk with the information in a provided patch.

func (*VpcV1) UpdateDedicatedHostDiskWithContext added in v0.5.0

func (vpc *VpcV1) UpdateDedicatedHostDiskWithContext(ctx context.Context, updateDedicatedHostDiskOptions *UpdateDedicatedHostDiskOptions) (result *DedicatedHostDisk, response *core.DetailedResponse, err error)

UpdateDedicatedHostDiskWithContext is an alternate form of the UpdateDedicatedHostDisk method which supports a Context parameter

func (*VpcV1) UpdateDedicatedHostGroup added in v0.4.0

func (vpc *VpcV1) UpdateDedicatedHostGroup(updateDedicatedHostGroupOptions *UpdateDedicatedHostGroupOptions) (result *DedicatedHostGroup, response *core.DetailedResponse, err error)

UpdateDedicatedHostGroup : Update a dedicated host group This request updates a dedicated host group with the information in a provided dedicated host group patch. The dedicated host group patch object is structured in the same way as a retrieved dedicated host group and contains only the information to be updated.

func (*VpcV1) UpdateDedicatedHostGroupWithContext added in v0.4.2

func (vpc *VpcV1) UpdateDedicatedHostGroupWithContext(ctx context.Context, updateDedicatedHostGroupOptions *UpdateDedicatedHostGroupOptions) (result *DedicatedHostGroup, response *core.DetailedResponse, err error)

UpdateDedicatedHostGroupWithContext is an alternate form of the UpdateDedicatedHostGroup method which supports a Context parameter

func (*VpcV1) UpdateDedicatedHostWithContext added in v0.4.2

func (vpc *VpcV1) UpdateDedicatedHostWithContext(ctx context.Context, updateDedicatedHostOptions *UpdateDedicatedHostOptions) (result *DedicatedHost, response *core.DetailedResponse, err error)

UpdateDedicatedHostWithContext is an alternate form of the UpdateDedicatedHost method which supports a Context parameter

func (*VpcV1) UpdateEndpointGateway added in v0.3.0

func (vpc *VpcV1) UpdateEndpointGateway(updateEndpointGatewayOptions *UpdateEndpointGatewayOptions) (result *EndpointGateway, response *core.DetailedResponse, err error)

UpdateEndpointGateway : Update an endpoint gateway This request updates an endpoint gateway's name.

func (*VpcV1) UpdateEndpointGatewayWithContext added in v0.4.2

func (vpc *VpcV1) UpdateEndpointGatewayWithContext(ctx context.Context, updateEndpointGatewayOptions *UpdateEndpointGatewayOptions) (result *EndpointGateway, response *core.DetailedResponse, err error)

UpdateEndpointGatewayWithContext is an alternate form of the UpdateEndpointGateway method which supports a Context parameter

func (*VpcV1) UpdateFloatingIP

func (vpc *VpcV1) UpdateFloatingIP(updateFloatingIPOptions *UpdateFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

UpdateFloatingIP : Update a floating IP This request updates a floating IP's name and/or target.

func (*VpcV1) UpdateFloatingIPWithContext added in v0.4.2

func (vpc *VpcV1) UpdateFloatingIPWithContext(ctx context.Context, updateFloatingIPOptions *UpdateFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error)

UpdateFloatingIPWithContext is an alternate form of the UpdateFloatingIP method which supports a Context parameter

func (*VpcV1) UpdateFlowLogCollector

func (vpc *VpcV1) UpdateFlowLogCollector(updateFlowLogCollectorOptions *UpdateFlowLogCollectorOptions) (result *FlowLogCollector, response *core.DetailedResponse, err error)

UpdateFlowLogCollector : Update a flow log collector This request updates a flow log collector with the information in a provided flow log collector patch. The flow log collector patch object is structured in the same way as a retrieved flow log collector and contains only the information to be updated.

func (*VpcV1) UpdateFlowLogCollectorWithContext added in v0.4.2

func (vpc *VpcV1) UpdateFlowLogCollectorWithContext(ctx context.Context, updateFlowLogCollectorOptions *UpdateFlowLogCollectorOptions) (result *FlowLogCollector, response *core.DetailedResponse, err error)

UpdateFlowLogCollectorWithContext is an alternate form of the UpdateFlowLogCollector method which supports a Context parameter

func (*VpcV1) UpdateIkePolicy

func (vpc *VpcV1) UpdateIkePolicy(updateIkePolicyOptions *UpdateIkePolicyOptions) (result *IkePolicy, response *core.DetailedResponse, err error)

UpdateIkePolicy : Update an IKE policy This request updates the properties of an existing IKE policy.

func (*VpcV1) UpdateIkePolicyWithContext added in v0.4.2

func (vpc *VpcV1) UpdateIkePolicyWithContext(ctx context.Context, updateIkePolicyOptions *UpdateIkePolicyOptions) (result *IkePolicy, response *core.DetailedResponse, err error)

UpdateIkePolicyWithContext is an alternate form of the UpdateIkePolicy method which supports a Context parameter

func (*VpcV1) UpdateImage

func (vpc *VpcV1) UpdateImage(updateImageOptions *UpdateImageOptions) (result *Image, response *core.DetailedResponse, err error)

UpdateImage : Update an image This request updates an image with the information in a provided image patch. The image patch object is structured in the same way as a retrieved image and contains only the information to be updated. A system-provided image is not allowed to be updated. An image with a `status` of `deleting` cannot be updated.

func (*VpcV1) UpdateImageExportJob added in v0.37.0

func (vpc *VpcV1) UpdateImageExportJob(updateImageExportJobOptions *UpdateImageExportJobOptions) (result *ImageExportJob, response *core.DetailedResponse, err error)

UpdateImageExportJob : Update an image export job This request updates an image export job with the information in a provided image export job patch. The image export job patch object is structured in the same way as a retrieved image export job and contains only the information to be updated.

func (*VpcV1) UpdateImageExportJobWithContext added in v0.37.0

func (vpc *VpcV1) UpdateImageExportJobWithContext(ctx context.Context, updateImageExportJobOptions *UpdateImageExportJobOptions) (result *ImageExportJob, response *core.DetailedResponse, err error)

UpdateImageExportJobWithContext is an alternate form of the UpdateImageExportJob method which supports a Context parameter

func (*VpcV1) UpdateImageWithContext added in v0.4.2

func (vpc *VpcV1) UpdateImageWithContext(ctx context.Context, updateImageOptions *UpdateImageOptions) (result *Image, response *core.DetailedResponse, err error)

UpdateImageWithContext is an alternate form of the UpdateImage method which supports a Context parameter

func (*VpcV1) UpdateInstance

func (vpc *VpcV1) UpdateInstance(updateInstanceOptions *UpdateInstanceOptions) (result *Instance, response *core.DetailedResponse, err error)

UpdateInstance : Update an instance This request updates an instance with the information in a provided instance patch. The instance patch object is structured in the same way as a retrieved instance and contains only the information to be updated.

func (*VpcV1) UpdateInstanceDisk added in v0.5.0

func (vpc *VpcV1) UpdateInstanceDisk(updateInstanceDiskOptions *UpdateInstanceDiskOptions) (result *InstanceDisk, response *core.DetailedResponse, err error)

UpdateInstanceDisk : Update an instance disk This request updates the instance disk with the information in a provided patch.

func (*VpcV1) UpdateInstanceDiskWithContext added in v0.5.0

func (vpc *VpcV1) UpdateInstanceDiskWithContext(ctx context.Context, updateInstanceDiskOptions *UpdateInstanceDiskOptions) (result *InstanceDisk, response *core.DetailedResponse, err error)

UpdateInstanceDiskWithContext is an alternate form of the UpdateInstanceDisk method which supports a Context parameter

func (*VpcV1) UpdateInstanceGroup added in v0.1.0

func (vpc *VpcV1) UpdateInstanceGroup(updateInstanceGroupOptions *UpdateInstanceGroupOptions) (result *InstanceGroup, response *core.DetailedResponse, err error)

UpdateInstanceGroup : Update an instance group This request updates an instance group with the information provided instance group patch. The instance group patch object is structured in the same way as a retrieved instance group and contains only the information to be updated.

func (*VpcV1) UpdateInstanceGroupManager added in v0.1.0

func (vpc *VpcV1) UpdateInstanceGroupManager(updateInstanceGroupManagerOptions *UpdateInstanceGroupManagerOptions) (result InstanceGroupManagerIntf, response *core.DetailedResponse, err error)

UpdateInstanceGroupManager : Update an instance group manager This request updates an instance group manager with the information provided instance group manager patch.

func (*VpcV1) UpdateInstanceGroupManagerAction added in v0.6.0

func (vpc *VpcV1) UpdateInstanceGroupManagerAction(updateInstanceGroupManagerActionOptions *UpdateInstanceGroupManagerActionOptions) (result InstanceGroupManagerActionIntf, response *core.DetailedResponse, err error)

UpdateInstanceGroupManagerAction : Update specified instance group manager action This request updates an instance group manager action.

func (*VpcV1) UpdateInstanceGroupManagerActionWithContext added in v0.6.0

func (vpc *VpcV1) UpdateInstanceGroupManagerActionWithContext(ctx context.Context, updateInstanceGroupManagerActionOptions *UpdateInstanceGroupManagerActionOptions) (result InstanceGroupManagerActionIntf, response *core.DetailedResponse, err error)

UpdateInstanceGroupManagerActionWithContext is an alternate form of the UpdateInstanceGroupManagerAction method which supports a Context parameter

func (*VpcV1) UpdateInstanceGroupManagerPolicy added in v0.1.0

func (vpc *VpcV1) UpdateInstanceGroupManagerPolicy(updateInstanceGroupManagerPolicyOptions *UpdateInstanceGroupManagerPolicyOptions) (result InstanceGroupManagerPolicyIntf, response *core.DetailedResponse, err error)

UpdateInstanceGroupManagerPolicy : Update an instance group manager policy This request updates an instance group manager policy.

func (*VpcV1) UpdateInstanceGroupManagerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceGroupManagerPolicyWithContext(ctx context.Context, updateInstanceGroupManagerPolicyOptions *UpdateInstanceGroupManagerPolicyOptions) (result InstanceGroupManagerPolicyIntf, response *core.DetailedResponse, err error)

UpdateInstanceGroupManagerPolicyWithContext is an alternate form of the UpdateInstanceGroupManagerPolicy method which supports a Context parameter

func (*VpcV1) UpdateInstanceGroupManagerWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceGroupManagerWithContext(ctx context.Context, updateInstanceGroupManagerOptions *UpdateInstanceGroupManagerOptions) (result InstanceGroupManagerIntf, response *core.DetailedResponse, err error)

UpdateInstanceGroupManagerWithContext is an alternate form of the UpdateInstanceGroupManager method which supports a Context parameter

func (*VpcV1) UpdateInstanceGroupMembership added in v0.1.0

func (vpc *VpcV1) UpdateInstanceGroupMembership(updateInstanceGroupMembershipOptions *UpdateInstanceGroupMembershipOptions) (result *InstanceGroupMembership, response *core.DetailedResponse, err error)

UpdateInstanceGroupMembership : Update an instance group membership This request updates an instance group membership with the information provided instance group membership patch.

func (*VpcV1) UpdateInstanceGroupMembershipWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceGroupMembershipWithContext(ctx context.Context, updateInstanceGroupMembershipOptions *UpdateInstanceGroupMembershipOptions) (result *InstanceGroupMembership, response *core.DetailedResponse, err error)

UpdateInstanceGroupMembershipWithContext is an alternate form of the UpdateInstanceGroupMembership method which supports a Context parameter

func (*VpcV1) UpdateInstanceGroupWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceGroupWithContext(ctx context.Context, updateInstanceGroupOptions *UpdateInstanceGroupOptions) (result *InstanceGroup, response *core.DetailedResponse, err error)

UpdateInstanceGroupWithContext is an alternate form of the UpdateInstanceGroup method which supports a Context parameter

func (*VpcV1) UpdateInstanceNetworkAttachment added in v0.47.0

func (vpc *VpcV1) UpdateInstanceNetworkAttachment(updateInstanceNetworkAttachmentOptions *UpdateInstanceNetworkAttachmentOptions) (result *InstanceNetworkAttachment, response *core.DetailedResponse, err error)

UpdateInstanceNetworkAttachment : Update an instance network attachment This request updates an instance network attachment with the information provided in an instance network interface patch object. The instance network attachment patch object is structured in the same way as a retrieved instance network attachment and needs to contain only the information to be updated.

func (*VpcV1) UpdateInstanceNetworkAttachmentWithContext added in v0.47.0

func (vpc *VpcV1) UpdateInstanceNetworkAttachmentWithContext(ctx context.Context, updateInstanceNetworkAttachmentOptions *UpdateInstanceNetworkAttachmentOptions) (result *InstanceNetworkAttachment, response *core.DetailedResponse, err error)

UpdateInstanceNetworkAttachmentWithContext is an alternate form of the UpdateInstanceNetworkAttachment method which supports a Context parameter

func (*VpcV1) UpdateInstanceNetworkInterface

func (vpc *VpcV1) UpdateInstanceNetworkInterface(updateInstanceNetworkInterfaceOptions *UpdateInstanceNetworkInterfaceOptions) (result *NetworkInterface, response *core.DetailedResponse, err error)

UpdateInstanceNetworkInterface : Update an instance network interface This request updates an instance network interface with the information provided in an instance network interface patch object. The instance network interface patch object is structured in the same way as a retrieved instance network interface and needs to contain only the information to be updated.

If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and is not allowed to be updated.

func (*VpcV1) UpdateInstanceNetworkInterfaceWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceNetworkInterfaceWithContext(ctx context.Context, updateInstanceNetworkInterfaceOptions *UpdateInstanceNetworkInterfaceOptions) (result *NetworkInterface, response *core.DetailedResponse, err error)

UpdateInstanceNetworkInterfaceWithContext is an alternate form of the UpdateInstanceNetworkInterface method which supports a Context parameter

func (*VpcV1) UpdateInstanceTemplate added in v0.1.0

func (vpc *VpcV1) UpdateInstanceTemplate(updateInstanceTemplateOptions *UpdateInstanceTemplateOptions) (result InstanceTemplateIntf, response *core.DetailedResponse, err error)

UpdateInstanceTemplate : Update an instance template This request updates an instance template with the information provided in the instance template patch. The instance template patch object is structured in the same way as a retrieved instance template and contains only the information to be updated.

func (*VpcV1) UpdateInstanceTemplateWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceTemplateWithContext(ctx context.Context, updateInstanceTemplateOptions *UpdateInstanceTemplateOptions) (result InstanceTemplateIntf, response *core.DetailedResponse, err error)

UpdateInstanceTemplateWithContext is an alternate form of the UpdateInstanceTemplate method which supports a Context parameter

func (*VpcV1) UpdateInstanceVolumeAttachment

func (vpc *VpcV1) UpdateInstanceVolumeAttachment(updateInstanceVolumeAttachmentOptions *UpdateInstanceVolumeAttachmentOptions) (result *VolumeAttachment, response *core.DetailedResponse, err error)

UpdateInstanceVolumeAttachment : Update a volume attachment This request updates a volume attachment with the information provided in a volume attachment patch object. The volume attachment patch object is structured in the same way as a retrieved volume attachment and needs to contain only the information to be updated.

func (*VpcV1) UpdateInstanceVolumeAttachmentWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceVolumeAttachmentWithContext(ctx context.Context, updateInstanceVolumeAttachmentOptions *UpdateInstanceVolumeAttachmentOptions) (result *VolumeAttachment, response *core.DetailedResponse, err error)

UpdateInstanceVolumeAttachmentWithContext is an alternate form of the UpdateInstanceVolumeAttachment method which supports a Context parameter

func (*VpcV1) UpdateInstanceWithContext added in v0.4.2

func (vpc *VpcV1) UpdateInstanceWithContext(ctx context.Context, updateInstanceOptions *UpdateInstanceOptions) (result *Instance, response *core.DetailedResponse, err error)

UpdateInstanceWithContext is an alternate form of the UpdateInstance method which supports a Context parameter

func (*VpcV1) UpdateIpsecPolicy

func (vpc *VpcV1) UpdateIpsecPolicy(updateIpsecPolicyOptions *UpdateIpsecPolicyOptions) (result *IPsecPolicy, response *core.DetailedResponse, err error)

UpdateIpsecPolicy : Update an IPsec policy This request updates the properties of an existing IPsec policy.

func (*VpcV1) UpdateIpsecPolicyWithContext added in v0.4.2

func (vpc *VpcV1) UpdateIpsecPolicyWithContext(ctx context.Context, updateIpsecPolicyOptions *UpdateIpsecPolicyOptions) (result *IPsecPolicy, response *core.DetailedResponse, err error)

UpdateIpsecPolicyWithContext is an alternate form of the UpdateIpsecPolicy method which supports a Context parameter

func (*VpcV1) UpdateKey

func (vpc *VpcV1) UpdateKey(updateKeyOptions *UpdateKeyOptions) (result *Key, response *core.DetailedResponse, err error)

UpdateKey : Update a key This request updates a key's name.

func (*VpcV1) UpdateKeyWithContext added in v0.4.2

func (vpc *VpcV1) UpdateKeyWithContext(ctx context.Context, updateKeyOptions *UpdateKeyOptions) (result *Key, response *core.DetailedResponse, err error)

UpdateKeyWithContext is an alternate form of the UpdateKey method which supports a Context parameter

func (*VpcV1) UpdateLoadBalancer

func (vpc *VpcV1) UpdateLoadBalancer(updateLoadBalancerOptions *UpdateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

UpdateLoadBalancer : Update a load balancer This request updates a load balancer with the information in a provided load balancer patch. The load balancer patch object is structured in the same way as a retrieved load balancer and contains only the information to be updated. A load balancer can only be updated if its `provisioning_status` is `active`.

func (*VpcV1) UpdateLoadBalancerListener

func (vpc *VpcV1) UpdateLoadBalancerListener(updateLoadBalancerListenerOptions *UpdateLoadBalancerListenerOptions) (result *LoadBalancerListener, response *core.DetailedResponse, err error)

UpdateLoadBalancerListener : Update a load balancer listener This request updates a load balancer listener from a listener patch.

func (*VpcV1) UpdateLoadBalancerListenerPolicy

func (vpc *VpcV1) UpdateLoadBalancerListenerPolicy(updateLoadBalancerListenerPolicyOptions *UpdateLoadBalancerListenerPolicyOptions) (result *LoadBalancerListenerPolicy, response *core.DetailedResponse, err error)

UpdateLoadBalancerListenerPolicy : Update a load balancer listener policy This request updates a load balancer listener policy with the information in a provided policy patch. The policy patch object is structured in the same way as a retrieved policy and contains only the information to be updated.

func (*VpcV1) UpdateLoadBalancerListenerPolicyRule

func (vpc *VpcV1) UpdateLoadBalancerListenerPolicyRule(updateLoadBalancerListenerPolicyRuleOptions *UpdateLoadBalancerListenerPolicyRuleOptions) (result *LoadBalancerListenerPolicyRule, response *core.DetailedResponse, err error)

UpdateLoadBalancerListenerPolicyRule : Update a load balancer listener policy rule Updates a rule of the load balancer listener policy.

func (*VpcV1) UpdateLoadBalancerListenerPolicyRuleWithContext added in v0.4.2

func (vpc *VpcV1) UpdateLoadBalancerListenerPolicyRuleWithContext(ctx context.Context, updateLoadBalancerListenerPolicyRuleOptions *UpdateLoadBalancerListenerPolicyRuleOptions) (result *LoadBalancerListenerPolicyRule, response *core.DetailedResponse, err error)

UpdateLoadBalancerListenerPolicyRuleWithContext is an alternate form of the UpdateLoadBalancerListenerPolicyRule method which supports a Context parameter

func (*VpcV1) UpdateLoadBalancerListenerPolicyWithContext added in v0.4.2

func (vpc *VpcV1) UpdateLoadBalancerListenerPolicyWithContext(ctx context.Context, updateLoadBalancerListenerPolicyOptions *UpdateLoadBalancerListenerPolicyOptions) (result *LoadBalancerListenerPolicy, response *core.DetailedResponse, err error)

UpdateLoadBalancerListenerPolicyWithContext is an alternate form of the UpdateLoadBalancerListenerPolicy method which supports a Context parameter

func (*VpcV1) UpdateLoadBalancerListenerWithContext added in v0.4.2

func (vpc *VpcV1) UpdateLoadBalancerListenerWithContext(ctx context.Context, updateLoadBalancerListenerOptions *UpdateLoadBalancerListenerOptions) (result *LoadBalancerListener, response *core.DetailedResponse, err error)

UpdateLoadBalancerListenerWithContext is an alternate form of the UpdateLoadBalancerListener method which supports a Context parameter

func (*VpcV1) UpdateLoadBalancerPool

func (vpc *VpcV1) UpdateLoadBalancerPool(updateLoadBalancerPoolOptions *UpdateLoadBalancerPoolOptions) (result *LoadBalancerPool, response *core.DetailedResponse, err error)

UpdateLoadBalancerPool : Update a load balancer pool This request updates a load balancer pool from a pool patch.

func (*VpcV1) UpdateLoadBalancerPoolMember

func (vpc *VpcV1) UpdateLoadBalancerPoolMember(updateLoadBalancerPoolMemberOptions *UpdateLoadBalancerPoolMemberOptions) (result *LoadBalancerPoolMember, response *core.DetailedResponse, err error)

UpdateLoadBalancerPoolMember : Update a load balancer pool member This request updates an existing member from a member patch.

func (*VpcV1) UpdateLoadBalancerPoolMemberWithContext added in v0.4.2

func (vpc *VpcV1) UpdateLoadBalancerPoolMemberWithContext(ctx context.Context, updateLoadBalancerPoolMemberOptions *UpdateLoadBalancerPoolMemberOptions) (result *LoadBalancerPoolMember, response *core.DetailedResponse, err error)

UpdateLoadBalancerPoolMemberWithContext is an alternate form of the UpdateLoadBalancerPoolMember method which supports a Context parameter

func (*VpcV1) UpdateLoadBalancerPoolWithContext added in v0.4.2

func (vpc *VpcV1) UpdateLoadBalancerPoolWithContext(ctx context.Context, updateLoadBalancerPoolOptions *UpdateLoadBalancerPoolOptions) (result *LoadBalancerPool, response *core.DetailedResponse, err error)

UpdateLoadBalancerPoolWithContext is an alternate form of the UpdateLoadBalancerPool method which supports a Context parameter

func (*VpcV1) UpdateLoadBalancerWithContext added in v0.4.2

func (vpc *VpcV1) UpdateLoadBalancerWithContext(ctx context.Context, updateLoadBalancerOptions *UpdateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

UpdateLoadBalancerWithContext is an alternate form of the UpdateLoadBalancer method which supports a Context parameter

func (*VpcV1) UpdateNetworkACL

func (vpc *VpcV1) UpdateNetworkACL(updateNetworkACLOptions *UpdateNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

UpdateNetworkACL : Update a network ACL This request updates a network ACL's name.

func (*VpcV1) UpdateNetworkACLRule

func (vpc *VpcV1) UpdateNetworkACLRule(updateNetworkACLRuleOptions *UpdateNetworkACLRuleOptions) (result NetworkACLRuleIntf, response *core.DetailedResponse, err error)

UpdateNetworkACLRule : Update a network ACL rule This request updates a rule with the information in a provided rule patch. The rule patch object contains only the information to be updated. The request will fail if the information is not applicable to the rule's protocol.

func (*VpcV1) UpdateNetworkACLRuleWithContext added in v0.4.2

func (vpc *VpcV1) UpdateNetworkACLRuleWithContext(ctx context.Context, updateNetworkACLRuleOptions *UpdateNetworkACLRuleOptions) (result NetworkACLRuleIntf, response *core.DetailedResponse, err error)

UpdateNetworkACLRuleWithContext is an alternate form of the UpdateNetworkACLRule method which supports a Context parameter

func (*VpcV1) UpdateNetworkACLWithContext added in v0.4.2

func (vpc *VpcV1) UpdateNetworkACLWithContext(ctx context.Context, updateNetworkACLOptions *UpdateNetworkACLOptions) (result *NetworkACL, response *core.DetailedResponse, err error)

UpdateNetworkACLWithContext is an alternate form of the UpdateNetworkACL method which supports a Context parameter

func (*VpcV1) UpdatePlacementGroup added in v0.9.0

func (vpc *VpcV1) UpdatePlacementGroup(updatePlacementGroupOptions *UpdatePlacementGroupOptions) (result *PlacementGroup, response *core.DetailedResponse, err error)

UpdatePlacementGroup : Update a placement group This request updates a placement group with the information provided placement group patch. The placement group patch object is structured in the same way as a retrieved placement group and contains only the information to be updated.

func (*VpcV1) UpdatePlacementGroupWithContext added in v0.9.0

func (vpc *VpcV1) UpdatePlacementGroupWithContext(ctx context.Context, updatePlacementGroupOptions *UpdatePlacementGroupOptions) (result *PlacementGroup, response *core.DetailedResponse, err error)

UpdatePlacementGroupWithContext is an alternate form of the UpdatePlacementGroup method which supports a Context parameter

func (*VpcV1) UpdatePublicGateway

func (vpc *VpcV1) UpdatePublicGateway(updatePublicGatewayOptions *UpdatePublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

UpdatePublicGateway : Update a public gateway This request updates a public gateway's name.

func (*VpcV1) UpdatePublicGatewayWithContext added in v0.4.2

func (vpc *VpcV1) UpdatePublicGatewayWithContext(ctx context.Context, updatePublicGatewayOptions *UpdatePublicGatewayOptions) (result *PublicGateway, response *core.DetailedResponse, err error)

UpdatePublicGatewayWithContext is an alternate form of the UpdatePublicGateway method which supports a Context parameter

func (*VpcV1) UpdateReservation added in v0.48.0

func (vpc *VpcV1) UpdateReservation(updateReservationOptions *UpdateReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

UpdateReservation : Update a reservation This request updates a reservation with the information provided in a reservation patch object. The patch object is structured in the same way as a retrieved reservation and needs to contain only the information to be updated.

func (*VpcV1) UpdateReservationWithContext added in v0.48.0

func (vpc *VpcV1) UpdateReservationWithContext(ctx context.Context, updateReservationOptions *UpdateReservationOptions) (result *Reservation, response *core.DetailedResponse, err error)

UpdateReservationWithContext is an alternate form of the UpdateReservation method which supports a Context parameter

func (*VpcV1) UpdateSecurityGroup

func (vpc *VpcV1) UpdateSecurityGroup(updateSecurityGroupOptions *UpdateSecurityGroupOptions) (result *SecurityGroup, response *core.DetailedResponse, err error)

UpdateSecurityGroup : Update a security group This request updates a security group with the information provided in a security group patch object. The security group patch object is structured in the same way as a retrieved security group and contains only the information to be updated.

func (*VpcV1) UpdateSecurityGroupRule

func (vpc *VpcV1) UpdateSecurityGroupRule(updateSecurityGroupRuleOptions *UpdateSecurityGroupRuleOptions) (result SecurityGroupRuleIntf, response *core.DetailedResponse, err error)

UpdateSecurityGroupRule : Update a security group rule This request updates a security group rule with the information in a provided rule patch object. The rule patch object contains only the information to be updated. The request will fail if the information is not applicable to the rule's protocol.

func (*VpcV1) UpdateSecurityGroupRuleWithContext added in v0.4.2

func (vpc *VpcV1) UpdateSecurityGroupRuleWithContext(ctx context.Context, updateSecurityGroupRuleOptions *UpdateSecurityGroupRuleOptions) (result SecurityGroupRuleIntf, response *core.DetailedResponse, err error)

UpdateSecurityGroupRuleWithContext is an alternate form of the UpdateSecurityGroupRule method which supports a Context parameter

func (*VpcV1) UpdateSecurityGroupWithContext added in v0.4.2

func (vpc *VpcV1) UpdateSecurityGroupWithContext(ctx context.Context, updateSecurityGroupOptions *UpdateSecurityGroupOptions) (result *SecurityGroup, response *core.DetailedResponse, err error)

UpdateSecurityGroupWithContext is an alternate form of the UpdateSecurityGroup method which supports a Context parameter

func (*VpcV1) UpdateShare added in v0.41.0

func (vpc *VpcV1) UpdateShare(updateShareOptions *UpdateShareOptions) (result *Share, response *core.DetailedResponse, err error)

UpdateShare : Update a file share This request updates a share with the information in a provided share patch. The share patch object is structured in the same way as a retrieved share and contains only the information to be updated.

func (*VpcV1) UpdateShareMountTarget added in v0.41.0

func (vpc *VpcV1) UpdateShareMountTarget(updateShareMountTargetOptions *UpdateShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

UpdateShareMountTarget : Update a share mount target This request updates a share mount target with the information provided in a share mount target patch object. The share mount target patch object is structured in the same way as a retrieved share mount target and needs to contain only the information to be updated.

func (*VpcV1) UpdateShareMountTargetWithContext added in v0.41.0

func (vpc *VpcV1) UpdateShareMountTargetWithContext(ctx context.Context, updateShareMountTargetOptions *UpdateShareMountTargetOptions) (result *ShareMountTarget, response *core.DetailedResponse, err error)

UpdateShareMountTargetWithContext is an alternate form of the UpdateShareMountTarget method which supports a Context parameter

func (*VpcV1) UpdateShareWithContext added in v0.41.0

func (vpc *VpcV1) UpdateShareWithContext(ctx context.Context, updateShareOptions *UpdateShareOptions) (result *Share, response *core.DetailedResponse, err error)

UpdateShareWithContext is an alternate form of the UpdateShare method which supports a Context parameter

func (*VpcV1) UpdateSnapshot added in v0.7.0

func (vpc *VpcV1) UpdateSnapshot(updateSnapshotOptions *UpdateSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error)

UpdateSnapshot : Update a snapshot This request updates a snapshot with the information in a provided snapshot patch. The snapshot consistency group patch object is structured in the same way as a retrieved snapshot and contains only the information to be updated.

func (*VpcV1) UpdateSnapshotConsistencyGroup added in v0.45.0

func (vpc *VpcV1) UpdateSnapshotConsistencyGroup(updateSnapshotConsistencyGroupOptions *UpdateSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

UpdateSnapshotConsistencyGroup : Update a snapshot consistency group This request updates a snapshot consistency group with the information in a provided snapshot consistency group patch. The snapshot consistency group patch object is structured in the same way as a retrieved snapshot consistency group and contains only the information to be updated.

func (*VpcV1) UpdateSnapshotConsistencyGroupWithContext added in v0.45.0

func (vpc *VpcV1) UpdateSnapshotConsistencyGroupWithContext(ctx context.Context, updateSnapshotConsistencyGroupOptions *UpdateSnapshotConsistencyGroupOptions) (result *SnapshotConsistencyGroup, response *core.DetailedResponse, err error)

UpdateSnapshotConsistencyGroupWithContext is an alternate form of the UpdateSnapshotConsistencyGroup method which supports a Context parameter

func (*VpcV1) UpdateSnapshotWithContext added in v0.7.0

func (vpc *VpcV1) UpdateSnapshotWithContext(ctx context.Context, updateSnapshotOptions *UpdateSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error)

UpdateSnapshotWithContext is an alternate form of the UpdateSnapshot method which supports a Context parameter

func (*VpcV1) UpdateSubnet

func (vpc *VpcV1) UpdateSubnet(updateSubnetOptions *UpdateSubnetOptions) (result *Subnet, response *core.DetailedResponse, err error)

UpdateSubnet : Update a subnet This request updates a subnet with the information in a provided subnet patch. The subnet patch object is structured in the same way as a retrieved subnet and contains only the information to be updated.

func (*VpcV1) UpdateSubnetReservedIP added in v0.3.0

func (vpc *VpcV1) UpdateSubnetReservedIP(updateSubnetReservedIPOptions *UpdateSubnetReservedIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

UpdateSubnetReservedIP : Update a reserved IP This request updates a reserved IP with the information in a provided reserved IP patch. The reserved IP patch object is structured in the same way as a retrieved reserved IP and contains only the information to be updated.

A provider-owned reserved IP is not allowed to be updated.

func (*VpcV1) UpdateSubnetReservedIPWithContext added in v0.4.2

func (vpc *VpcV1) UpdateSubnetReservedIPWithContext(ctx context.Context, updateSubnetReservedIPOptions *UpdateSubnetReservedIPOptions) (result *ReservedIP, response *core.DetailedResponse, err error)

UpdateSubnetReservedIPWithContext is an alternate form of the UpdateSubnetReservedIP method which supports a Context parameter

func (*VpcV1) UpdateSubnetWithContext added in v0.4.2

func (vpc *VpcV1) UpdateSubnetWithContext(ctx context.Context, updateSubnetOptions *UpdateSubnetOptions) (result *Subnet, response *core.DetailedResponse, err error)

UpdateSubnetWithContext is an alternate form of the UpdateSubnet method which supports a Context parameter

func (*VpcV1) UpdateVPC

func (vpc *VpcV1) UpdateVPC(updateVPCOptions *UpdateVPCOptions) (result *VPC, response *core.DetailedResponse, err error)

UpdateVPC : Update a VPC This request updates a VPC with the information provided in a VPC patch object. The patch object is structured in the same way as a retrieved VPC and needs to contain only the information to be updated.

func (*VpcV1) UpdateVPCAddressPrefix

func (vpc *VpcV1) UpdateVPCAddressPrefix(updateVPCAddressPrefixOptions *UpdateVPCAddressPrefixOptions) (result *AddressPrefix, response *core.DetailedResponse, err error)

UpdateVPCAddressPrefix : Update an address prefix This request updates a prefix with the information in a provided prefix patch. The prefix patch object is structured in the same way as a retrieved prefix and contains only the information to be updated.

func (*VpcV1) UpdateVPCAddressPrefixWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPCAddressPrefixWithContext(ctx context.Context, updateVPCAddressPrefixOptions *UpdateVPCAddressPrefixOptions) (result *AddressPrefix, response *core.DetailedResponse, err error)

UpdateVPCAddressPrefixWithContext is an alternate form of the UpdateVPCAddressPrefix method which supports a Context parameter

func (*VpcV1) UpdateVPCDnsResolutionBinding added in v0.43.0

func (vpc *VpcV1) UpdateVPCDnsResolutionBinding(updateVPCDnsResolutionBindingOptions *UpdateVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

UpdateVPCDnsResolutionBinding : Update a DNS resolution binding This request updates a DNS resolution binding with the information in a provided DNS resolution binding patch. The DNS resolution binding patch object is structured in the same way as a retrieved DNS resolution binding and contains only the information to be updated.

func (*VpcV1) UpdateVPCDnsResolutionBindingWithContext added in v0.43.0

func (vpc *VpcV1) UpdateVPCDnsResolutionBindingWithContext(ctx context.Context, updateVPCDnsResolutionBindingOptions *UpdateVPCDnsResolutionBindingOptions) (result *VpcdnsResolutionBinding, response *core.DetailedResponse, err error)

UpdateVPCDnsResolutionBindingWithContext is an alternate form of the UpdateVPCDnsResolutionBinding method which supports a Context parameter

func (*VpcV1) UpdateVPCRoute

func (vpc *VpcV1) UpdateVPCRoute(updateVPCRouteOptions *UpdateVPCRouteOptions) (result *Route, response *core.DetailedResponse, err error)

UpdateVPCRoute : Update a VPC route This request updates a route with the information in a provided route patch. The route patch object is structured in the same way as a retrieved route and contains only the information to be updated. Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) UpdateVPCRouteWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPCRouteWithContext(ctx context.Context, updateVPCRouteOptions *UpdateVPCRouteOptions) (result *Route, response *core.DetailedResponse, err error)

UpdateVPCRouteWithContext is an alternate form of the UpdateVPCRoute method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.

func (*VpcV1) UpdateVPCRoutingTable added in v0.3.0

func (vpc *VpcV1) UpdateVPCRoutingTable(updateVPCRoutingTableOptions *UpdateVPCRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

UpdateVPCRoutingTable : Update a VPC routing table This request updates a routing table with the information in a provided routing table patch. The patch object is structured in the same way as a retrieved table and contains only the information to be updated.

func (*VpcV1) UpdateVPCRoutingTableRoute added in v0.3.0

func (vpc *VpcV1) UpdateVPCRoutingTableRoute(updateVPCRoutingTableRouteOptions *UpdateVPCRoutingTableRouteOptions) (result *Route, response *core.DetailedResponse, err error)

UpdateVPCRoutingTableRoute : Update a VPC routing table route This request updates a VPC route with the information provided in a route patch object. The patch object is structured in the same way as a retrieved VPC route and needs to contain only the information to be updated. Only VPC routes with an `origin` of `user` are allowed to be updated.

func (*VpcV1) UpdateVPCRoutingTableRouteWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPCRoutingTableRouteWithContext(ctx context.Context, updateVPCRoutingTableRouteOptions *UpdateVPCRoutingTableRouteOptions) (result *Route, response *core.DetailedResponse, err error)

UpdateVPCRoutingTableRouteWithContext is an alternate form of the UpdateVPCRoutingTableRoute method which supports a Context parameter

func (*VpcV1) UpdateVPCRoutingTableWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPCRoutingTableWithContext(ctx context.Context, updateVPCRoutingTableOptions *UpdateVPCRoutingTableOptions) (result *RoutingTable, response *core.DetailedResponse, err error)

UpdateVPCRoutingTableWithContext is an alternate form of the UpdateVPCRoutingTable method which supports a Context parameter

func (*VpcV1) UpdateVPCWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPCWithContext(ctx context.Context, updateVPCOptions *UpdateVPCOptions) (result *VPC, response *core.DetailedResponse, err error)

UpdateVPCWithContext is an alternate form of the UpdateVPC method which supports a Context parameter

func (*VpcV1) UpdateVPNGateway

func (vpc *VpcV1) UpdateVPNGateway(updateVPNGatewayOptions *UpdateVPNGatewayOptions) (result VPNGatewayIntf, response *core.DetailedResponse, err error)

UpdateVPNGateway : Update a VPN gateway This request updates the properties of an existing VPN gateway.

func (*VpcV1) UpdateVPNGatewayConnection

func (vpc *VpcV1) UpdateVPNGatewayConnection(updateVPNGatewayConnectionOptions *UpdateVPNGatewayConnectionOptions) (result VPNGatewayConnectionIntf, response *core.DetailedResponse, err error)

UpdateVPNGatewayConnection : Update a VPN gateway connection This request updates the properties of an existing VPN gateway connection.

func (*VpcV1) UpdateVPNGatewayConnectionWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPNGatewayConnectionWithContext(ctx context.Context, updateVPNGatewayConnectionOptions *UpdateVPNGatewayConnectionOptions) (result VPNGatewayConnectionIntf, response *core.DetailedResponse, err error)

UpdateVPNGatewayConnectionWithContext is an alternate form of the UpdateVPNGatewayConnection method which supports a Context parameter

func (*VpcV1) UpdateVPNGatewayWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVPNGatewayWithContext(ctx context.Context, updateVPNGatewayOptions *UpdateVPNGatewayOptions) (result VPNGatewayIntf, response *core.DetailedResponse, err error)

UpdateVPNGatewayWithContext is an alternate form of the UpdateVPNGateway method which supports a Context parameter

func (*VpcV1) UpdateVPNServer added in v0.22.0

func (vpc *VpcV1) UpdateVPNServer(updateVPNServerOptions *UpdateVPNServerOptions) (result *VPNServer, response *core.DetailedResponse, err error)

UpdateVPNServer : Update a VPN server This request updates the properties of an existing VPN server. Any property changes will cause all connected VPN clients are disconnected from this VPN server except for the name change.

func (*VpcV1) UpdateVPNServerRoute added in v0.22.0

func (vpc *VpcV1) UpdateVPNServerRoute(updateVPNServerRouteOptions *UpdateVPNServerRouteOptions) (result *VPNServerRoute, response *core.DetailedResponse, err error)

UpdateVPNServerRoute : Update a VPN route This request updates a VPN route with the information in a provided VPN route patch. The VPN route patch object is structured in the same way as a retrieved VPN route and contains only the information to be updated.

func (*VpcV1) UpdateVPNServerRouteWithContext added in v0.22.0

func (vpc *VpcV1) UpdateVPNServerRouteWithContext(ctx context.Context, updateVPNServerRouteOptions *UpdateVPNServerRouteOptions) (result *VPNServerRoute, response *core.DetailedResponse, err error)

UpdateVPNServerRouteWithContext is an alternate form of the UpdateVPNServerRoute method which supports a Context parameter

func (*VpcV1) UpdateVPNServerWithContext added in v0.22.0

func (vpc *VpcV1) UpdateVPNServerWithContext(ctx context.Context, updateVPNServerOptions *UpdateVPNServerOptions) (result *VPNServer, response *core.DetailedResponse, err error)

UpdateVPNServerWithContext is an alternate form of the UpdateVPNServer method which supports a Context parameter

func (*VpcV1) UpdateVirtualNetworkInterface added in v0.41.0

func (vpc *VpcV1) UpdateVirtualNetworkInterface(updateVirtualNetworkInterfaceOptions *UpdateVirtualNetworkInterfaceOptions) (result *VirtualNetworkInterface, response *core.DetailedResponse, err error)

UpdateVirtualNetworkInterface : Update a virtual network interface This request updates a virtual network interface with the information in a provided virtual network interface patch. The virtual network interface patch object is structured in the same way as a retrieved virtual network interface and contains only the information to be updated.

func (*VpcV1) UpdateVirtualNetworkInterfaceWithContext added in v0.41.0

func (vpc *VpcV1) UpdateVirtualNetworkInterfaceWithContext(ctx context.Context, updateVirtualNetworkInterfaceOptions *UpdateVirtualNetworkInterfaceOptions) (result *VirtualNetworkInterface, response *core.DetailedResponse, err error)

UpdateVirtualNetworkInterfaceWithContext is an alternate form of the UpdateVirtualNetworkInterface method which supports a Context parameter

func (*VpcV1) UpdateVolume

func (vpc *VpcV1) UpdateVolume(updateVolumeOptions *UpdateVolumeOptions) (result *Volume, response *core.DetailedResponse, err error)

UpdateVolume : Update a volume This request updates a volume with the information in a provided volume patch. The volume patch object is structured in the same way as a retrieved volume and contains only the information to be updated.

func (*VpcV1) UpdateVolumeWithContext added in v0.4.2

func (vpc *VpcV1) UpdateVolumeWithContext(ctx context.Context, updateVolumeOptions *UpdateVolumeOptions) (result *Volume, response *core.DetailedResponse, err error)

UpdateVolumeWithContext is an alternate form of the UpdateVolume method which supports a Context parameter

type VpcV1Options

type VpcV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator

	// The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2024-04-30`
	// and `2024-05-10`.
	Version *string
}

VpcV1Options : Service options

type VpccseSourceIP

type VpccseSourceIP struct {
	// The cloud service endpoint source IP address for this zone.
	IP *IP `json:"ip" validate:"required"`

	// The zone this cloud service endpoint source IP resides in.
	Zone *ZoneReference `json:"zone" validate:"required"`
}

VpccseSourceIP : VpccseSourceIP struct

type Vpcdns added in v0.43.0

type Vpcdns struct {
	// Indicates whether this VPC is enabled as a DNS name resolution hub.
	EnableHub *bool `json:"enable_hub" validate:"required"`

	// The number of DNS resolution bindings for this VPC.
	ResolutionBindingCount *int64 `json:"resolution_binding_count" validate:"required"`

	// The DNS resolver configuration for the VPC.
	Resolver VpcdnsResolverIntf `json:"resolver" validate:"required"`
}

Vpcdns : The DNS configuration for this VPC.

type VpcdnsPatch added in v0.43.0

type VpcdnsPatch struct {
	// Indicates whether this VPC is enabled as a DNS name resolution hub.
	//
	// Updating the value to `true` requires `allow_dns_resolution_binding` to be `true` for all endpoint gateways residing
	// in this VPC.
	//
	// Changing the value requires `dns.resolution_binding_count` to be zero.
	EnableHub *bool `json:"enable_hub,omitempty"`

	Resolver *VpcdnsResolverPatch `json:"resolver,omitempty"`
}

VpcdnsPatch : The DNS configuration for this VPC.

type VpcdnsPrototype added in v0.43.0

type VpcdnsPrototype struct {
	// Indicates whether this VPC is enabled as a DNS name resolution hub.
	EnableHub *bool `json:"enable_hub,omitempty"`

	Resolver VpcdnsResolverPrototypeIntf `json:"resolver,omitempty"`
}

VpcdnsPrototype : The DNS configuration for this VPC.

If unspecified, the system will assign DNS servers capable of resolving hosts and endpoint gateways within this VPC, and hosts on the internet.

type VpcdnsResolutionBinding added in v0.43.0

type VpcdnsResolutionBinding struct {
	// The date and time that the DNS resolution binding was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The endpoint gateways that have `allow_dns_resolution_binding` set to `true` and reside in the VPC that has
	// `dns.enable_hub` set to `false`.
	//
	// The endpoint gateways may be remote and therefore may not be directly retrievable.
	EndpointGateways []EndpointGatewayReferenceRemote `json:"endpoint_gateways" validate:"required"`

	// The reasons for the current `health_state` (if any).
	HealthReasons []VpcdnsResolutionBindingHealthReason `json:"health_reasons" validate:"required"`

	// The health of this resource:
	// - `ok`: No abnormal behavior detected
	// - `degraded`: Experiencing compromised performance, capacity, or connectivity
	// - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated
	// - `inapplicable`: The health state does not apply because of the current lifecycle
	//    state. A resource with a lifecycle state of `failed` or `deleting` will have a
	//    health state of `inapplicable`. A `pending` resource may also have this state.
	HealthState *string `json:"health_state" validate:"required"`

	// The URL for this DNS resolution binding.
	Href *string `json:"href" validate:"required"`

	// The unique identifier for this DNS resolution binding.
	ID *string `json:"id" validate:"required"`

	// The lifecycle state of the DNS resolution binding.
	LifecycleState *string `json:"lifecycle_state" validate:"required"`

	// The name for this DNS resolution binding. The name is unique across all DNS resolution bindings for the VPC.
	Name *string `json:"name" validate:"required"`

	// The resource type.
	ResourceType *string `json:"resource_type" validate:"required"`

	// The VPC bound to for DNS resolution.
	//
	// The VPC may be remote and therefore may not be directly retrievable.
	VPC *VPCReferenceRemote `json:"vpc" validate:"required"`
}

VpcdnsResolutionBinding : VpcdnsResolutionBinding struct

type VpcdnsResolutionBindingCollection added in v0.43.0

type VpcdnsResolutionBindingCollection struct {
	// Collection of DNS resolution bindings for this VPC.
	DnsResolutionBindings []VpcdnsResolutionBinding `json:"dns_resolution_bindings" validate:"required"`

	// A link to the first page of resources.
	First *VpcdnsResolutionBindingCollectionFirst `json:"first" validate:"required"`

	// The maximum number of resources that can be returned by the request.
	Limit *int64 `json:"limit" validate:"required"`

	// A link to the next page of resources. This property is present for all pages
	// except the last page.
	Next *VpcdnsResolutionBindingCollectionNext `json:"next,omitempty"`

	// The total number of resources across all pages.
	TotalCount *int64 `json:"total_count" validate:"required"`
}

VpcdnsResolutionBindingCollection : VpcdnsResolutionBindingCollection struct

func (*VpcdnsResolutionBindingCollection) GetNextStart added in v0.43.0

func (resp *VpcdnsResolutionBindingCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type VpcdnsResolutionBindingCollectionFirst added in v0.43.0

type VpcdnsResolutionBindingCollectionFirst struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VpcdnsResolutionBindingCollectionFirst : A link to the first page of resources.

type VpcdnsResolutionBindingCollectionNext added in v0.43.0

type VpcdnsResolutionBindingCollectionNext struct {
	// The URL for a page of resources.
	Href *string `json:"href" validate:"required"`
}

VpcdnsResolutionBindingCollectionNext : A link to the next page of resources. This property is present for all pages except the last page.

type VpcdnsResolutionBindingHealthReason added in v0.49.0

type VpcdnsResolutionBindingHealthReason struct {
	// A reason code for this health state.
	Code *string `json:"code" validate:"required"`

	// An explanation of the reason for this health state.
	Message *string `json:"message" validate:"required"`

	// Link to documentation about the reason for this health state.
	MoreInfo *string `json:"more_info,omitempty"`
}

VpcdnsResolutionBindingHealthReason : VpcdnsResolutionBindingHealthReason struct

type VpcdnsResolutionBindingPatch added in v0.43.0

type VpcdnsResolutionBindingPatch struct {
	// The name for this DNS resolution binding. The name must not be used by another DNS resolution binding for the VPC.
	Name *string `json:"name,omitempty"`
}

VpcdnsResolutionBindingPatch : VpcdnsResolutionBindingPatch struct

func (*VpcdnsResolutionBindingPatch) AsPatch added in v0.43.0

func (vpcdnsResolutionBindingPatch *VpcdnsResolutionBindingPatch) AsPatch() (_patch map[string]interface{}, err error)

AsPatch returns a generic map representation of the VpcdnsResolutionBindingPatch

type VpcdnsResolver added in v0.43.0

type VpcdnsResolver struct {
	// The DNS servers for this VPC. The servers are populated:
	//
	// - by the system when `dns.resolver.type` is `system`
	// - using the DNS servers in `dns.resolver.vpc` when `dns.resolver.type` is `delegated`
	// - using `dns.resolver.manual_servers` when the `dns.resolver.type` is `manual`.
	Servers []DnsServer `json:"servers" validate:"required"`

	// The type of the DNS resolver used for the VPC.
	//
	// - `delegated`: DNS server addresses are provided by the DNS resolver of the VPC
	//                specified in `dns.resolver.vpc`.
	// - `manual`: DNS server addresses are specified in `dns.resolver.manual_servers`.
	// - `system`: DNS server addresses are provided by the system.
	Type *string `json:"type" validate:"required"`

	// The VPC whose DNS resolver provides the DNS server addresses for this VPC.
	//
	// The VPC may be remote and therefore may not be directly retrievable.
	VPC *VPCReferenceDnsResolverContext `json:"vpc,omitempty"`

	// The manually specified DNS servers for this VPC.
	//
	// If the DNS servers have `zone_affinity`, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for a zone will list the DNS server with the
	// affinity for that zone first, followed by the unique DNS servers from other zones.
	//
	// If the DNS servers do not have `zone_affinity`, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for each zone will list all the manual DNS
	// servers in the order specified.
	ManualServers []DnsServer `json:"manual_servers,omitempty"`

	// The configuration of the system DNS resolver for this VPC.
	//
	// - `custom_resolver`: A custom DNS resolver is configured for this VPC.
	//
	// - `private_resolver`: A private DNS resolver is configured for this VPC. Applicable when
	//   the VPC has either or both of the following:
	//
	//     - at least one endpoint gateway residing in it
	//     - a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it
	//
	// - `default`: The provider default DNS resolvers are configured for this VPC.
	//
	//   This system DNS resolver configuration is used when the VPC has:
	//
	//   - no custom DNS resolver configured for it, and
	//   - no endpoint gateways residing in it, and
	//   - no [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it.
	Configuration *string `json:"configuration,omitempty"`
}

VpcdnsResolver : VpcdnsResolver struct Models which "extend" this model: - VpcdnsResolverTypeDelegated - VpcdnsResolverTypeManual - VpcdnsResolverTypeSystem

type VpcdnsResolverIntf added in v0.43.0

type VpcdnsResolverIntf interface {
	// contains filtered or unexported methods
}

type VpcdnsResolverPatch added in v0.43.0

type VpcdnsResolverPatch struct {
	// The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either:
	//
	// - have a unique `zone_affinity`, or
	// - not have a `zone_affinity`.
	//
	// If `zone_affinity` is specified, exactly one DNS server must be specified for each zone in the region. The DHCP
	// [Domain Name Server Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for a zone will list this DNS
	// server first, followed by unique DNS servers from other zones if available.
	//
	// If `zone_affinity` is not specified, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for each zone will list all the manual DNS
	// servers in the order specified.
	//
	// `dns.resolver.manual_servers` must be set if and only if `dns.resolver.type` is `manual`.
	ManualServers []DnsServerPrototype `json:"manual_servers,omitempty"`

	// The type of the DNS resolver to use.
	//
	// - `delegated`: DNS server addresses will be provided by the resolver for the VPC
	//                specified in `dns.resolver.vpc`. Requires `dns.enable_hub` to be
	//                `false`.
	// - `manual`: DNS server addresses are specified in `dns.resolver.manual_servers`.
	// - `system`: DNS server addresses will be provided by the system and depend on the
	//             configuration.
	//
	// Updating from `manual` requires `dns.resolver.manual_servers` to be specified as
	// `null`.
	//
	// Updating to `manual` requires `dns.resolver.manual_servers` to be specified and not empty.
	//
	// Updating from `delegated` requires `dns.resolver.vpc` to be specified as `null`.
	Type *string `json:"type,omitempty"`

	// The VPC to provide DNS server addresses for this VPC.  The specified VPC must be configured
	// with a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) custom resolver and must be in
	// one of this VPC's DNS resolution bindings.
	//
	// Specify `null` to remove an existing VPC.
	//
	// This property must be set if and only if `dns.resolver.type` is `delegated`.
	VPC VpcdnsResolverVPCPatchIntf `json:"vpc,omitempty"`
}

VpcdnsResolverPatch : VpcdnsResolverPatch struct

type VpcdnsResolverPrototype added in v0.43.0

type VpcdnsResolverPrototype struct {
	// The type of the DNS resolver to use.
	//
	// - `manual`: DNS server addresses are specified in `dns.resolver.manual_servers`.
	// - `system`: DNS server addresses will be provided by the system and depend on the
	//             configuration.
	Type *string `json:"type,omitempty"`

	// The DNS servers to use for this VPC. All the DNS servers must either:
	//
	// - have a unique `zone_affinity`, or
	// - not have a `zone_affinity`.
	//
	// If `zone_affinity` is specified, exactly one DNS server must be specified for each zone in the region. The DHCP
	// [Domain Name Server Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for a zone will list this DNS
	// server first, followed by unique DNS servers from other zones if available.
	//
	// If `zone_affinity` is not specified, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for each zone will list all the manual DNS
	// servers in the order specified.
	ManualServers []DnsServerPrototype `json:"manual_servers,omitempty"`
}

VpcdnsResolverPrototype : VpcdnsResolverPrototype struct Models which "extend" this model: - VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype - VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype

type VpcdnsResolverPrototypeIntf added in v0.43.0

type VpcdnsResolverPrototypeIntf interface {
	// contains filtered or unexported methods
}

type VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype added in v0.43.0

type VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype struct {
	// The DNS servers to use for this VPC. All the DNS servers must either:
	//
	// - have a unique `zone_affinity`, or
	// - not have a `zone_affinity`.
	//
	// If `zone_affinity` is specified, exactly one DNS server must be specified for each zone in the region. The DHCP
	// [Domain Name Server Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for a zone will list this DNS
	// server first, followed by unique DNS servers from other zones if available.
	//
	// If `zone_affinity` is not specified, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for each zone will list all the manual DNS
	// servers in the order specified.
	ManualServers []DnsServerPrototype `json:"manual_servers" validate:"required"`

	// The type of the DNS resolver to use.
	Type *string `json:"type" validate:"required"`
}

VpcdnsResolverPrototypeVpcdnsResolverTypeManualPrototype : Manually specify the DNS server addresses for this VPC. This model "extends" VpcdnsResolverPrototype

type VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype added in v0.43.0

type VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype struct {
	// The type of the DNS resolver to use.
	Type *string `json:"type,omitempty"`
}

VpcdnsResolverPrototypeVpcdnsResolverTypeSystemPrototype : The system will provide DNS server addresses for this VPC. The system-provided DNS server addresses depend on whether any endpoint gateways reside in the VPC, and whether a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) instance is configured for the VPC. This model "extends" VpcdnsResolverPrototype

type VpcdnsResolverTypeDelegated added in v0.43.0

type VpcdnsResolverTypeDelegated struct {
	// The DNS servers for this VPC. The servers are populated:
	//
	// - by the system when `dns.resolver.type` is `system`
	// - using the DNS servers in `dns.resolver.vpc` when `dns.resolver.type` is `delegated`
	// - using `dns.resolver.manual_servers` when the `dns.resolver.type` is `manual`.
	Servers []DnsServer `json:"servers" validate:"required"`

	// The type of the DNS resolver used for the VPC.
	Type *string `json:"type" validate:"required"`

	// The VPC whose DNS resolver provides the DNS server addresses for this VPC.
	//
	// The VPC may be remote and therefore may not be directly retrievable.
	VPC *VPCReferenceDnsResolverContext `json:"vpc" validate:"required"`
}

VpcdnsResolverTypeDelegated : The DNS server addresses are delegated to the DNS resolver of another VPC. This model "extends" VpcdnsResolver

type VpcdnsResolverTypeManual added in v0.43.0

type VpcdnsResolverTypeManual struct {
	// The DNS servers for this VPC. The servers are populated:
	//
	// - by the system when `dns.resolver.type` is `system`
	// - using the DNS servers in `dns.resolver.vpc` when `dns.resolver.type` is `delegated`
	// - using `dns.resolver.manual_servers` when the `dns.resolver.type` is `manual`.
	Servers []DnsServer `json:"servers" validate:"required"`

	// The manually specified DNS servers for this VPC.
	//
	// If the DNS servers have `zone_affinity`, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for a zone will list the DNS server with the
	// affinity for that zone first, followed by the unique DNS servers from other zones.
	//
	// If the DNS servers do not have `zone_affinity`, the DHCP [Domain Name Server
	// Option](https://datatracker.ietf.org/doc/html/rfc2132#section-3.8) for each zone will list all the manual DNS
	// servers in the order specified.
	ManualServers []DnsServer `json:"manual_servers" validate:"required"`

	// The type of the DNS resolver used for the VPC.
	Type *string `json:"type" validate:"required"`
}

VpcdnsResolverTypeManual : The DNS server addresses are manually specified. This model "extends" VpcdnsResolver

type VpcdnsResolverTypeSystem added in v0.43.0

type VpcdnsResolverTypeSystem struct {
	// The DNS servers for this VPC. The servers are populated:
	//
	// - by the system when `dns.resolver.type` is `system`
	// - using the DNS servers in `dns.resolver.vpc` when `dns.resolver.type` is `delegated`
	// - using `dns.resolver.manual_servers` when the `dns.resolver.type` is `manual`.
	Servers []DnsServer `json:"servers" validate:"required"`

	// The configuration of the system DNS resolver for this VPC.
	//
	// - `custom_resolver`: A custom DNS resolver is configured for this VPC.
	//
	// - `private_resolver`: A private DNS resolver is configured for this VPC. Applicable when
	//   the VPC has either or both of the following:
	//
	//     - at least one endpoint gateway residing in it
	//     - a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it
	//
	// - `default`: The provider default DNS resolvers are configured for this VPC.
	//
	//   This system DNS resolver configuration is used when the VPC has:
	//
	//   - no custom DNS resolver configured for it, and
	//   - no endpoint gateways residing in it, and
	//   - no [DNS Services](https://cloud.ibm.com/docs/dns-svcs) private zone configured for it.
	Configuration *string `json:"configuration" validate:"required"`

	// The type of the DNS resolver used for the VPC.
	Type *string `json:"type" validate:"required"`
}

VpcdnsResolverTypeSystem : The DNS server addresses are provided by the system and depend on the configuration. This model "extends" VpcdnsResolver

type VpcdnsResolverVPCPatch added in v0.43.0

type VpcdnsResolverVPCPatch struct {
	// The unique identifier for this VPC.
	ID *string `json:"id,omitempty"`

	// The CRN for this VPC.
	CRN *string `json:"crn,omitempty"`

	// The URL for this VPC.
	Href *string `json:"href,omitempty"`
}

VpcdnsResolverVPCPatch : The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a [DNS Services](https://cloud.ibm.com/docs/dns-svcs) custom resolver and must be in one of this VPC's DNS resolution bindings.

Specify `null` to remove an existing VPC.

This property must be set if and only if `dns.resolver.type` is `delegated`. Models which "extend" this model: - VpcdnsResolverVPCPatchVPCIdentityByID - VpcdnsResolverVPCPatchVPCIdentityByCRN - VpcdnsResolverVPCPatchVPCIdentityByHref

type VpcdnsResolverVPCPatchIntf added in v0.43.0

type VpcdnsResolverVPCPatchIntf interface {
	// contains filtered or unexported methods
}

type VpcdnsResolverVPCPatchVPCIdentityByCRN added in v0.43.0

type VpcdnsResolverVPCPatchVPCIdentityByCRN struct {
	// The CRN for this VPC.
	CRN *string `json:"crn" validate:"required"`
}

VpcdnsResolverVPCPatchVPCIdentityByCRN : VpcdnsResolverVPCPatchVPCIdentityByCRN struct This model "extends" VpcdnsResolverVPCPatch

type VpcdnsResolverVPCPatchVPCIdentityByHref added in v0.43.0

type VpcdnsResolverVPCPatchVPCIdentityByHref struct {
	// The URL for this VPC.
	Href *string `json:"href" validate:"required"`
}

VpcdnsResolverVPCPatchVPCIdentityByHref : VpcdnsResolverVPCPatchVPCIdentityByHref struct This model "extends" VpcdnsResolverVPCPatch

type VpcdnsResolverVPCPatchVPCIdentityByID added in v0.43.0

type VpcdnsResolverVPCPatchVPCIdentityByID struct {
	// The unique identifier for this VPC.
	ID *string `json:"id" validate:"required"`
}

VpcdnsResolverVPCPatchVPCIdentityByID : VpcdnsResolverVPCPatchVPCIdentityByID struct This model "extends" VpcdnsResolverVPCPatch

type VpcsPager added in v0.25.0

type VpcsPager struct {
	// contains filtered or unexported fields
}

VpcsPager can be used to simplify the use of the "ListVpcs" method.

func (*VpcsPager) GetAll added in v0.25.0

func (pager *VpcsPager) GetAll() (allItems []VPC, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*VpcsPager) GetAllWithContext added in v0.25.0

func (pager *VpcsPager) GetAllWithContext(ctx context.Context) (allItems []VPC, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*VpcsPager) GetNext added in v0.25.0

func (pager *VpcsPager) GetNext() (page []VPC, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*VpcsPager) GetNextWithContext added in v0.25.0

func (pager *VpcsPager) GetNextWithContext(ctx context.Context) (page []VPC, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*VpcsPager) HasNext added in v0.25.0

func (pager *VpcsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Zone

type Zone struct {
	// The URL for this zone.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this zone.
	Name *string `json:"name" validate:"required"`

	// The region this zone resides in.
	Region *RegionReference `json:"region" validate:"required"`

	// The availability status of this zone.
	Status *string `json:"status" validate:"required"`
}

Zone : Zone struct

type ZoneCollection

type ZoneCollection struct {
	// Collection of zones.
	Zones []Zone `json:"zones" validate:"required"`
}

ZoneCollection : ZoneCollection struct

type ZoneIdentity

type ZoneIdentity struct {
	// The globally unique name for this zone.
	Name *string `json:"name,omitempty"`

	// The URL for this zone.
	Href *string `json:"href,omitempty"`
}

ZoneIdentity : Identifies a zone by a unique property. Models which "extend" this model: - ZoneIdentityByName - ZoneIdentityByHref

type ZoneIdentityByHref

type ZoneIdentityByHref struct {
	// The URL for this zone.
	Href *string `json:"href" validate:"required"`
}

ZoneIdentityByHref : ZoneIdentityByHref struct This model "extends" ZoneIdentity

type ZoneIdentityByName

type ZoneIdentityByName struct {
	// The globally unique name for this zone.
	Name *string `json:"name" validate:"required"`
}

ZoneIdentityByName : ZoneIdentityByName struct This model "extends" ZoneIdentity

type ZoneIdentityIntf

type ZoneIdentityIntf interface {
	// contains filtered or unexported methods
}

type ZoneReference

type ZoneReference struct {
	// The URL for this zone.
	Href *string `json:"href" validate:"required"`

	// The globally unique name for this zone.
	Name *string `json:"name" validate:"required"`
}

ZoneReference : ZoneReference struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL