Package com.ibm.cloud.is.vpc.v1
Class Vpc
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.is.vpc.v1.Vpc
-
public class Vpc extends com.ibm.cloud.sdk.core.service.BaseServiceThe 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-02-22`
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SERVICE_NAMEDefault service name used when configuring the `Vpc` client.static StringDEFAULT_SERVICE_URLDefault service endpoint URL.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<Void>activateReservation(ActivateReservationOptions activateReservationOptions)Activate a reservation.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>addBareMetalServerNetworkInterfaceFloatingIp(AddBareMetalServerNetworkInterfaceFloatingIpOptions addBareMetalServerNetworkInterfaceFloatingIpOptions)Associate a floating IP with a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>addEndpointGatewayIp(AddEndpointGatewayIpOptions addEndpointGatewayIpOptions)Bind a reserved IP to an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>addInstanceNetworkInterfaceFloatingIp(AddInstanceNetworkInterfaceFloatingIpOptions addInstanceNetworkInterfaceFloatingIpOptions)Associate a floating IP with an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPReference>addNetworkInterfaceFloatingIp(AddNetworkInterfaceFloatingIpOptions addNetworkInterfaceFloatingIpOptions)Add an association between a floating IP and a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPReference>addVirtualNetworkInterfaceIp(AddVirtualNetworkInterfaceIpOptions addVirtualNetworkInterfaceIpOptions)Bind a reserved IP to a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>addVpnGatewayConnectionLocalCidr(AddVpnGatewayConnectionLocalCidrOptions addVpnGatewayConnectionLocalCidrOptions)Set a local CIDR on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>addVpnGatewayConnectionPeerCidr(AddVpnGatewayConnectionPeerCidrOptions addVpnGatewayConnectionPeerCidrOptions)Set a peer CIDR on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>checkVpnGatewayConnectionLocalCidr(CheckVpnGatewayConnectionLocalCidrOptions checkVpnGatewayConnectionLocalCidrOptions)Check if the specified local CIDR exists on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>checkVpnGatewayConnectionPeerCidr(CheckVpnGatewayConnectionPeerCidrOptions checkVpnGatewayConnectionPeerCidrOptions)Check if the specified peer CIDR exists on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy>createBackupPolicy(CreateBackupPolicyOptions createBackupPolicyOptions)Create a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan>createBackupPolicyPlan(CreateBackupPolicyPlanOptions createBackupPolicyPlanOptions)Create a plan for a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServer>createBareMetalServer(CreateBareMetalServerOptions createBareMetalServerOptions)Create a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerConsoleAccessToken>createBareMetalServerConsoleAccessToken(CreateBareMetalServerConsoleAccessTokenOptions createBareMetalServerConsoleAccessTokenOptions)Create a console access token for a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachment>createBareMetalServerNetworkAttachment(CreateBareMetalServerNetworkAttachmentOptions createBareMetalServerNetworkAttachmentOptions)Create a network attachment on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterface>createBareMetalServerNetworkInterface(CreateBareMetalServerNetworkInterfaceOptions createBareMetalServerNetworkInterfaceOptions)Create a network interface on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHost>createDedicatedHost(CreateDedicatedHostOptions createDedicatedHostOptions)Create a dedicated host.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroup>createDedicatedHostGroup(CreateDedicatedHostGroupOptions createDedicatedHostGroupOptions)Create a dedicated host group.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGateway>createEndpointGateway(CreateEndpointGatewayOptions createEndpointGatewayOptions)Create an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>createFloatingIp(CreateFloatingIpOptions createFloatingIpOptions)Reserve a floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollector>createFlowLogCollector(CreateFlowLogCollectorOptions createFlowLogCollectorOptions)Create a flow log collector.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicy>createIkePolicy(CreateIkePolicyOptions createIkePolicyOptions)Create an IKE policy.com.ibm.cloud.sdk.core.http.ServiceCall<Image>createImage(CreateImageOptions createImageOptions)Create an image.com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob>createImageExportJob(CreateImageExportJobOptions createImageExportJobOptions)Create an image export job.com.ibm.cloud.sdk.core.http.ServiceCall<Instance>createInstance(CreateInstanceOptions createInstanceOptions)Create an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceAction>createInstanceAction(CreateInstanceActionOptions createInstanceActionOptions)Create an instance action.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceConsoleAccessToken>createInstanceConsoleAccessToken(CreateInstanceConsoleAccessTokenOptions createInstanceConsoleAccessTokenOptions)Create a console access token for an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroup>createInstanceGroup(CreateInstanceGroupOptions createInstanceGroupOptions)Create an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManager>createInstanceGroupManager(CreateInstanceGroupManagerOptions createInstanceGroupManagerOptions)Create a manager for an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerAction>createInstanceGroupManagerAction(CreateInstanceGroupManagerActionOptions createInstanceGroupManagerActionOptions)Create an instance group manager action.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicy>createInstanceGroupManagerPolicy(CreateInstanceGroupManagerPolicyOptions createInstanceGroupManagerPolicyOptions)Create a policy for an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachment>createInstanceNetworkAttachment(CreateInstanceNetworkAttachmentOptions createInstanceNetworkAttachmentOptions)Create a network attachment on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterface>createInstanceNetworkInterface(CreateInstanceNetworkInterfaceOptions createInstanceNetworkInterfaceOptions)Create a network interface on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplate>createInstanceTemplate(CreateInstanceTemplateOptions createInstanceTemplateOptions)Create an instance template.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachment>createInstanceVolumeAttachment(CreateInstanceVolumeAttachmentOptions createInstanceVolumeAttachmentOptions)Create a volume attachment on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicy>createIpsecPolicy(CreateIpsecPolicyOptions createIpsecPolicyOptions)Create an IPsec policy.com.ibm.cloud.sdk.core.http.ServiceCall<Key>createKey(CreateKeyOptions createKeyOptions)Create a key.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer>createLoadBalancer(CreateLoadBalancerOptions createLoadBalancerOptions)Create a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListener>createLoadBalancerListener(CreateLoadBalancerListenerOptions createLoadBalancerListenerOptions)Create a listener for a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy>createLoadBalancerListenerPolicy(CreateLoadBalancerListenerPolicyOptions createLoadBalancerListenerPolicyOptions)Create a policy for a load balancer listener.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRule>createLoadBalancerListenerPolicyRule(CreateLoadBalancerListenerPolicyRuleOptions createLoadBalancerListenerPolicyRuleOptions)Create a rule for a load balancer listener policy.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPool>createLoadBalancerPool(CreateLoadBalancerPoolOptions createLoadBalancerPoolOptions)Create a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMember>createLoadBalancerPoolMember(CreateLoadBalancerPoolMemberOptions createLoadBalancerPoolMemberOptions)Create a member in a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL>createNetworkAcl(CreateNetworkAclOptions createNetworkAclOptions)Create a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRule>createNetworkAclRule(CreateNetworkAclRuleOptions createNetworkAclRuleOptions)Create a rule for a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroup>createPlacementGroup(CreatePlacementGroupOptions createPlacementGroupOptions)Create a placement group.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway>createPublicGateway(CreatePublicGatewayOptions createPublicGatewayOptions)Create a public gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Reservation>createReservation(CreateReservationOptions createReservationOptions)Create a reservation.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroup>createSecurityGroup(CreateSecurityGroupOptions createSecurityGroupOptions)Create a security group.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRule>createSecurityGroupRule(CreateSecurityGroupRuleOptions createSecurityGroupRuleOptions)Create a rule for a security group.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetReference>createSecurityGroupTargetBinding(CreateSecurityGroupTargetBindingOptions createSecurityGroupTargetBindingOptions)Add a target to a security group.com.ibm.cloud.sdk.core.http.ServiceCall<Share>createShare(CreateShareOptions createShareOptions)Create a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget>createShareMountTarget(CreateShareMountTargetOptions createShareMountTargetOptions)Create a mount target for a file share.com.ibm.cloud.sdk.core.http.ServiceCall<Snapshot>createSnapshot(CreateSnapshotOptions createSnapshotOptions)Create a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotClone>createSnapshotClone(CreateSnapshotCloneOptions createSnapshotCloneOptions)Create a clone for a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup>createSnapshotConsistencyGroup(CreateSnapshotConsistencyGroupOptions createSnapshotConsistencyGroupOptions)Create a snapshot consistency group.com.ibm.cloud.sdk.core.http.ServiceCall<Subnet>createSubnet(CreateSubnetOptions createSubnetOptions)Create a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>createSubnetReservedIp(CreateSubnetReservedIpOptions createSubnetReservedIpOptions)Reserve an IP in a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface>createVirtualNetworkInterface()Create a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface>createVirtualNetworkInterface(CreateVirtualNetworkInterfaceOptions createVirtualNetworkInterfaceOptions)Create a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Volume>createVolume(CreateVolumeOptions createVolumeOptions)Create a volume.com.ibm.cloud.sdk.core.http.ServiceCall<VPC>createVpc()Create a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<VPC>createVpc(CreateVpcOptions createVpcOptions)Create a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefix>createVpcAddressPrefix(CreateVpcAddressPrefixOptions createVpcAddressPrefixOptions)Create an address prefix for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding>createVpcDnsResolutionBinding(CreateVpcDnsResolutionBindingOptions createVpcDnsResolutionBindingOptions)Create a DNS resolution binding.com.ibm.cloud.sdk.core.http.ServiceCall<Route>createVpcRoute(CreateVpcRouteOptions createVpcRouteOptions)Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable>createVpcRoutingTable(CreateVpcRoutingTableOptions createVpcRoutingTableOptions)Create a routing table for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<Route>createVpcRoutingTableRoute(CreateVpcRoutingTableRouteOptions createVpcRoutingTableRouteOptions)Create a route in a VPC routing table.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGateway>createVpnGateway(CreateVpnGatewayOptions createVpnGatewayOptions)Create a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnection>createVpnGatewayConnection(CreateVpnGatewayConnectionOptions createVpnGatewayConnectionOptions)Create a connection for a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServer>createVpnServer(CreateVpnServerOptions createVpnServerOptions)Create a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRoute>createVpnServerRoute(CreateVpnServerRouteOptions createVpnServerRouteOptions)Create a VPN route for a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy>deleteBackupPolicy(DeleteBackupPolicyOptions deleteBackupPolicyOptions)Delete a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan>deleteBackupPolicyPlan(DeleteBackupPolicyPlanOptions deleteBackupPolicyPlanOptions)Delete a backup policy plan.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteBareMetalServer(DeleteBareMetalServerOptions deleteBareMetalServerOptions)Delete a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteBareMetalServerNetworkAttachment(DeleteBareMetalServerNetworkAttachmentOptions deleteBareMetalServerNetworkAttachmentOptions)Delete a bare metal server network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteBareMetalServerNetworkInterface(DeleteBareMetalServerNetworkInterfaceOptions deleteBareMetalServerNetworkInterfaceOptions)Delete a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteDedicatedHost(DeleteDedicatedHostOptions deleteDedicatedHostOptions)Delete a dedicated host.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteDedicatedHostGroup(DeleteDedicatedHostGroupOptions deleteDedicatedHostGroupOptions)Delete a dedicated host group.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteEndpointGateway(DeleteEndpointGatewayOptions deleteEndpointGatewayOptions)Delete an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteFloatingIp(DeleteFloatingIpOptions deleteFloatingIpOptions)Delete a floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteFlowLogCollector(DeleteFlowLogCollectorOptions deleteFlowLogCollectorOptions)Delete a flow log collector.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteIkePolicy(DeleteIkePolicyOptions deleteIkePolicyOptions)Delete an IKE policy.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteImage(DeleteImageOptions deleteImageOptions)Delete an image.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteImageExportJob(DeleteImageExportJobOptions deleteImageExportJobOptions)Delete an image export job.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstance(DeleteInstanceOptions deleteInstanceOptions)Delete an instance.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroup(DeleteInstanceGroupOptions deleteInstanceGroupOptions)Delete an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroupLoadBalancer(DeleteInstanceGroupLoadBalancerOptions deleteInstanceGroupLoadBalancerOptions)Delete an instance group load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroupManager(DeleteInstanceGroupManagerOptions deleteInstanceGroupManagerOptions)Delete an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroupManagerAction(DeleteInstanceGroupManagerActionOptions deleteInstanceGroupManagerActionOptions)Delete specified instance group manager action.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroupManagerPolicy(DeleteInstanceGroupManagerPolicyOptions deleteInstanceGroupManagerPolicyOptions)Delete an instance group manager policy.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroupMembership(DeleteInstanceGroupMembershipOptions deleteInstanceGroupMembershipOptions)Delete an instance group membership.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceGroupMemberships(DeleteInstanceGroupMembershipsOptions deleteInstanceGroupMembershipsOptions)Delete all memberships from an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceNetworkAttachment(DeleteInstanceNetworkAttachmentOptions deleteInstanceNetworkAttachmentOptions)Delete an instance network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceNetworkInterface(DeleteInstanceNetworkInterfaceOptions deleteInstanceNetworkInterfaceOptions)Delete an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceTemplate(DeleteInstanceTemplateOptions deleteInstanceTemplateOptions)Delete an instance template.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteInstanceVolumeAttachment(DeleteInstanceVolumeAttachmentOptions deleteInstanceVolumeAttachmentOptions)Delete a volume attachment.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteIpsecPolicy(DeleteIpsecPolicyOptions deleteIpsecPolicyOptions)Delete an IPsec policy.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteKey(DeleteKeyOptions deleteKeyOptions)Delete a key.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteLoadBalancer(DeleteLoadBalancerOptions deleteLoadBalancerOptions)Delete a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteLoadBalancerListener(DeleteLoadBalancerListenerOptions deleteLoadBalancerListenerOptions)Delete a load balancer listener.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteLoadBalancerListenerPolicy(DeleteLoadBalancerListenerPolicyOptions deleteLoadBalancerListenerPolicyOptions)Delete a load balancer listener policy.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteLoadBalancerListenerPolicyRule(DeleteLoadBalancerListenerPolicyRuleOptions deleteLoadBalancerListenerPolicyRuleOptions)Delete a load balancer listener policy rule.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteLoadBalancerPool(DeleteLoadBalancerPoolOptions deleteLoadBalancerPoolOptions)Delete a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteLoadBalancerPoolMember(DeleteLoadBalancerPoolMemberOptions deleteLoadBalancerPoolMemberOptions)Delete a load balancer pool member.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteNetworkAcl(DeleteNetworkAclOptions deleteNetworkAclOptions)Delete a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteNetworkAclRule(DeleteNetworkAclRuleOptions deleteNetworkAclRuleOptions)Delete a network ACL rule.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deletePlacementGroup(DeletePlacementGroupOptions deletePlacementGroupOptions)Delete a placement group.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deletePublicGateway(DeletePublicGatewayOptions deletePublicGatewayOptions)Delete a public gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Reservation>deleteReservation(DeleteReservationOptions deleteReservationOptions)Delete a reservation.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSecurityGroup(DeleteSecurityGroupOptions deleteSecurityGroupOptions)Delete a security group.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSecurityGroupRule(DeleteSecurityGroupRuleOptions deleteSecurityGroupRuleOptions)Delete a security group rule.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSecurityGroupTargetBinding(DeleteSecurityGroupTargetBindingOptions deleteSecurityGroupTargetBindingOptions)Remove a target from a security group.com.ibm.cloud.sdk.core.http.ServiceCall<Share>deleteShare(DeleteShareOptions deleteShareOptions)Delete a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget>deleteShareMountTarget(DeleteShareMountTargetOptions deleteShareMountTargetOptions)Delete a share mount target.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteShareSource(DeleteShareSourceOptions deleteShareSourceOptions)Split the source file share from a replica share.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSnapshot(DeleteSnapshotOptions deleteSnapshotOptions)Delete a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSnapshotClone(DeleteSnapshotCloneOptions deleteSnapshotCloneOptions)Delete a snapshot clone.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup>deleteSnapshotConsistencyGroup(DeleteSnapshotConsistencyGroupOptions deleteSnapshotConsistencyGroupOptions)Delete a snapshot consistency group.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSnapshots(DeleteSnapshotsOptions deleteSnapshotsOptions)Delete a filtered collection of snapshots.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSubnet(DeleteSubnetOptions deleteSubnetOptions)Delete a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteSubnetReservedIp(DeleteSubnetReservedIpOptions deleteSubnetReservedIpOptions)Delete a reserved IP.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVirtualNetworkInterfaces(DeleteVirtualNetworkInterfacesOptions deleteVirtualNetworkInterfacesOptions)Delete a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVolume(DeleteVolumeOptions deleteVolumeOptions)Delete a volume.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpc(DeleteVpcOptions deleteVpcOptions)Delete a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpcAddressPrefix(DeleteVpcAddressPrefixOptions deleteVpcAddressPrefixOptions)Delete an address prefix.com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding>deleteVpcDnsResolutionBinding(DeleteVpcDnsResolutionBindingOptions deleteVpcDnsResolutionBindingOptions)Delete a DNS resolution binding.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpcRoute(DeleteVpcRouteOptions deleteVpcRouteOptions)Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpcRoutingTable(DeleteVpcRoutingTableOptions deleteVpcRoutingTableOptions)Delete a VPC routing table.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpcRoutingTableRoute(DeleteVpcRoutingTableRouteOptions deleteVpcRoutingTableRouteOptions)Delete a VPC routing table route.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpnGateway(DeleteVpnGatewayOptions deleteVpnGatewayOptions)Delete a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpnGatewayConnection(DeleteVpnGatewayConnectionOptions deleteVpnGatewayConnectionOptions)Delete a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpnServer(DeleteVpnServerOptions deleteVpnServerOptions)Delete a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpnServerClient(DeleteVpnServerClientOptions deleteVpnServerClientOptions)Delete a VPN client.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteVpnServerRoute(DeleteVpnServerRouteOptions deleteVpnServerRouteOptions)Delete a VPN route.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deprecateImage(DeprecateImageOptions deprecateImageOptions)Deprecate an image.com.ibm.cloud.sdk.core.http.ServiceCall<Void>disconnectVpnClient(DisconnectVpnClientOptions disconnectVpnClientOptions)Disconnect a VPN client.com.ibm.cloud.sdk.core.http.ServiceCall<Void>failoverShare(FailoverShareOptions failoverShareOptions)Failover to replica file share.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy>getBackupPolicy(GetBackupPolicyOptions getBackupPolicyOptions)Retrieve a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyJob>getBackupPolicyJob(GetBackupPolicyJobOptions getBackupPolicyJobOptions)Retrieve a backup policy job.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan>getBackupPolicyPlan(GetBackupPolicyPlanOptions getBackupPolicyPlanOptions)Retrieve a backup policy plan.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServer>getBareMetalServer(GetBareMetalServerOptions getBareMetalServerOptions)Retrieve a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDisk>getBareMetalServerDisk(GetBareMetalServerDiskOptions getBareMetalServerDiskOptions)Retrieve a bare metal server disk.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerInitialization>getBareMetalServerInitialization(GetBareMetalServerInitializationOptions getBareMetalServerInitializationOptions)Retrieve initialization configuration for a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachment>getBareMetalServerNetworkAttachment(GetBareMetalServerNetworkAttachmentOptions getBareMetalServerNetworkAttachmentOptions)Retrieve a bare metal server network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterface>getBareMetalServerNetworkInterface(GetBareMetalServerNetworkInterfaceOptions getBareMetalServerNetworkInterfaceOptions)Retrieve a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>getBareMetalServerNetworkInterfaceFloatingIp(GetBareMetalServerNetworkInterfaceFloatingIpOptions getBareMetalServerNetworkInterfaceFloatingIpOptions)Retrieve associated floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>getBareMetalServerNetworkInterfaceIp(GetBareMetalServerNetworkInterfaceIpOptions getBareMetalServerNetworkInterfaceIpOptions)Retrieve the primary reserved IP.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfile>getBareMetalServerProfile(GetBareMetalServerProfileOptions getBareMetalServerProfileOptions)Retrieve a bare metal server profile.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHost>getDedicatedHost(GetDedicatedHostOptions getDedicatedHostOptions)Retrieve a dedicated host.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDisk>getDedicatedHostDisk(GetDedicatedHostDiskOptions getDedicatedHostDiskOptions)Retrieve a dedicated host disk.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroup>getDedicatedHostGroup(GetDedicatedHostGroupOptions getDedicatedHostGroupOptions)Retrieve a dedicated host group.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfile>getDedicatedHostProfile(GetDedicatedHostProfileOptions getDedicatedHostProfileOptions)Retrieve a dedicated host profile.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGateway>getEndpointGateway(GetEndpointGatewayOptions getEndpointGatewayOptions)Retrieve an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>getEndpointGatewayIp(GetEndpointGatewayIpOptions getEndpointGatewayIpOptions)Retrieve a reserved IP bound to an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>getFloatingIp(GetFloatingIpOptions getFloatingIpOptions)Retrieve a floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollector>getFlowLogCollector(GetFlowLogCollectorOptions getFlowLogCollectorOptions)Retrieve a flow log collector.LonggetGeneration()Gets the generation.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicy>getIkePolicy(GetIkePolicyOptions getIkePolicyOptions)Retrieve an IKE policy.com.ibm.cloud.sdk.core.http.ServiceCall<Image>getImage(GetImageOptions getImageOptions)Retrieve an image.com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob>getImageExportJob(GetImageExportJobOptions getImageExportJobOptions)Retrieve an image export job.com.ibm.cloud.sdk.core.http.ServiceCall<Instance>getInstance(GetInstanceOptions getInstanceOptions)Retrieve an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDisk>getInstanceDisk(GetInstanceDiskOptions getInstanceDiskOptions)Retrieve an instance disk.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroup>getInstanceGroup(GetInstanceGroupOptions getInstanceGroupOptions)Retrieve an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManager>getInstanceGroupManager(GetInstanceGroupManagerOptions getInstanceGroupManagerOptions)Retrieve an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerAction>getInstanceGroupManagerAction(GetInstanceGroupManagerActionOptions getInstanceGroupManagerActionOptions)Retrieve specified instance group manager action.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicy>getInstanceGroupManagerPolicy(GetInstanceGroupManagerPolicyOptions getInstanceGroupManagerPolicyOptions)Retrieve an instance group manager policy.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembership>getInstanceGroupMembership(GetInstanceGroupMembershipOptions getInstanceGroupMembershipOptions)Retrieve an instance group membership.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceInitialization>getInstanceInitialization(GetInstanceInitializationOptions getInstanceInitializationOptions)Retrieve initialization configuration for an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachment>getInstanceNetworkAttachment(GetInstanceNetworkAttachmentOptions getInstanceNetworkAttachmentOptions)Retrieve an instance network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterface>getInstanceNetworkInterface(GetInstanceNetworkInterfaceOptions getInstanceNetworkInterfaceOptions)Retrieve an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>getInstanceNetworkInterfaceFloatingIp(GetInstanceNetworkInterfaceFloatingIpOptions getInstanceNetworkInterfaceFloatingIpOptions)Retrieve associated floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>getInstanceNetworkInterfaceIp(GetInstanceNetworkInterfaceIpOptions getInstanceNetworkInterfaceIpOptions)Retrieve the primary reserved IP.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfile>getInstanceProfile(GetInstanceProfileOptions getInstanceProfileOptions)Retrieve an instance profile.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplate>getInstanceTemplate(GetInstanceTemplateOptions getInstanceTemplateOptions)Retrieve an instance template.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachment>getInstanceVolumeAttachment(GetInstanceVolumeAttachmentOptions getInstanceVolumeAttachmentOptions)Retrieve a volume attachment.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicy>getIpsecPolicy(GetIpsecPolicyOptions getIpsecPolicyOptions)Retrieve an IPsec policy.com.ibm.cloud.sdk.core.http.ServiceCall<Key>getKey(GetKeyOptions getKeyOptions)Retrieve a key.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer>getLoadBalancer(GetLoadBalancerOptions getLoadBalancerOptions)Retrieve a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListener>getLoadBalancerListener(GetLoadBalancerListenerOptions getLoadBalancerListenerOptions)Retrieve a load balancer listener.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy>getLoadBalancerListenerPolicy(GetLoadBalancerListenerPolicyOptions getLoadBalancerListenerPolicyOptions)Retrieve a load balancer listener policy.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRule>getLoadBalancerListenerPolicyRule(GetLoadBalancerListenerPolicyRuleOptions getLoadBalancerListenerPolicyRuleOptions)Retrieve a load balancer listener policy rule.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPool>getLoadBalancerPool(GetLoadBalancerPoolOptions getLoadBalancerPoolOptions)Retrieve a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMember>getLoadBalancerPoolMember(GetLoadBalancerPoolMemberOptions getLoadBalancerPoolMemberOptions)Retrieve a load balancer pool member.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfile>getLoadBalancerProfile(GetLoadBalancerProfileOptions getLoadBalancerProfileOptions)Retrieve a load balancer profile.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerStatistics>getLoadBalancerStatistics(GetLoadBalancerStatisticsOptions getLoadBalancerStatisticsOptions)List all statistics of a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL>getNetworkAcl(GetNetworkAclOptions getNetworkAclOptions)Retrieve a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRule>getNetworkAclRule(GetNetworkAclRuleOptions getNetworkAclRuleOptions)Retrieve a network ACL rule.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPReference>getNetworkInterfaceFloatingIp(GetNetworkInterfaceFloatingIpOptions getNetworkInterfaceFloatingIpOptions)Retrieve associated floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystem>getOperatingSystem(GetOperatingSystemOptions getOperatingSystemOptions)Retrieve an operating system.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroup>getPlacementGroup(GetPlacementGroupOptions getPlacementGroupOptions)Retrieve a placement group.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway>getPublicGateway(GetPublicGatewayOptions getPublicGatewayOptions)Retrieve a public gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Region>getRegion(GetRegionOptions getRegionOptions)Retrieve a region.com.ibm.cloud.sdk.core.http.ServiceCall<Zone>getRegionZone(GetRegionZoneOptions getRegionZoneOptions)Retrieve a zone.com.ibm.cloud.sdk.core.http.ServiceCall<Reservation>getReservation(GetReservationOptions getReservationOptions)Retrieve a reservation.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroup>getSecurityGroup(GetSecurityGroupOptions getSecurityGroupOptions)Retrieve a security group.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRule>getSecurityGroupRule(GetSecurityGroupRuleOptions getSecurityGroupRuleOptions)Retrieve a security group rule.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetReference>getSecurityGroupTarget(GetSecurityGroupTargetOptions getSecurityGroupTargetOptions)Retrieve a security group target.com.ibm.cloud.sdk.core.http.ServiceCall<Share>getShare(GetShareOptions getShareOptions)Retrieve a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget>getShareMountTarget(GetShareMountTargetOptions getShareMountTargetOptions)Retrieve a share mount target.com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfile>getShareProfile(GetShareProfileOptions getShareProfileOptions)Retrieve a file share profile.com.ibm.cloud.sdk.core.http.ServiceCall<ShareReference>getShareSource(GetShareSourceOptions getShareSourceOptions)Retrieve the source file share for a replica file share.com.ibm.cloud.sdk.core.http.ServiceCall<Snapshot>getSnapshot(GetSnapshotOptions getSnapshotOptions)Retrieve a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotClone>getSnapshotClone(GetSnapshotCloneOptions getSnapshotCloneOptions)Retrieve a snapshot clone.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup>getSnapshotConsistencyGroup(GetSnapshotConsistencyGroupOptions getSnapshotConsistencyGroupOptions)Retrieve a snapshot consistency group.com.ibm.cloud.sdk.core.http.ServiceCall<Subnet>getSubnet(GetSubnetOptions getSubnetOptions)Retrieve a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL>getSubnetNetworkAcl(GetSubnetNetworkAclOptions getSubnetNetworkAclOptions)Retrieve a subnet's attached network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway>getSubnetPublicGateway(GetSubnetPublicGatewayOptions getSubnetPublicGatewayOptions)Retrieve a subnet's attached public gateway.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>getSubnetReservedIp(GetSubnetReservedIpOptions getSubnetReservedIpOptions)Retrieve a reserved IP.com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable>getSubnetRoutingTable(GetSubnetRoutingTableOptions getSubnetRoutingTableOptions)Retrieve a subnet's attached routing table.StringgetVersion()Gets the version.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface>getVirtualNetworkInterface(GetVirtualNetworkInterfaceOptions getVirtualNetworkInterfaceOptions)Retrieve a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPReference>getVirtualNetworkInterfaceIp(GetVirtualNetworkInterfaceIpOptions getVirtualNetworkInterfaceIpOptions)Retrieve bound reserved IP.com.ibm.cloud.sdk.core.http.ServiceCall<Volume>getVolume(GetVolumeOptions getVolumeOptions)Retrieve a volume.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfile>getVolumeProfile(GetVolumeProfileOptions getVolumeProfileOptions)Retrieve a volume profile.com.ibm.cloud.sdk.core.http.ServiceCall<VPC>getVpc(GetVpcOptions getVpcOptions)Retrieve a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefix>getVpcAddressPrefix(GetVpcAddressPrefixOptions getVpcAddressPrefixOptions)Retrieve an address prefix.com.ibm.cloud.sdk.core.http.ServiceCall<DefaultNetworkACL>getVpcDefaultNetworkAcl(GetVpcDefaultNetworkAclOptions getVpcDefaultNetworkAclOptions)Retrieve a VPC's default network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<DefaultRoutingTable>getVpcDefaultRoutingTable(GetVpcDefaultRoutingTableOptions getVpcDefaultRoutingTableOptions)Retrieve a VPC's default routing table.com.ibm.cloud.sdk.core.http.ServiceCall<DefaultSecurityGroup>getVpcDefaultSecurityGroup(GetVpcDefaultSecurityGroupOptions getVpcDefaultSecurityGroupOptions)Retrieve a VPC's default security group.com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding>getVpcDnsResolutionBinding(GetVpcDnsResolutionBindingOptions getVpcDnsResolutionBindingOptions)Retrieve a DNS resolution binding.com.ibm.cloud.sdk.core.http.ServiceCall<Route>getVpcRoute(GetVpcRouteOptions getVpcRouteOptions)Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable>getVpcRoutingTable(GetVpcRoutingTableOptions getVpcRoutingTableOptions)Retrieve a VPC routing table.com.ibm.cloud.sdk.core.http.ServiceCall<Route>getVpcRoutingTableRoute(GetVpcRoutingTableRouteOptions getVpcRoutingTableRouteOptions)Retrieve a VPC routing table route.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGateway>getVpnGateway(GetVpnGatewayOptions getVpnGatewayOptions)Retrieve a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnection>getVpnGatewayConnection(GetVpnGatewayConnectionOptions getVpnGatewayConnectionOptions)Retrieve a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServer>getVpnServer(GetVpnServerOptions getVpnServerOptions)Retrieve a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerClient>getVpnServerClient(GetVpnServerClientOptions getVpnServerClientOptions)Retrieve a VPN client.com.ibm.cloud.sdk.core.http.ServiceCall<String>getVpnServerClientConfiguration(GetVpnServerClientConfigurationOptions getVpnServerClientConfigurationOptions)Retrieve client configuration.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRoute>getVpnServerRoute(GetVpnServerRouteOptions getVpnServerRouteOptions)Retrieve a VPN route.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection>listBackupPolicies()List all backup policies.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection>listBackupPolicies(ListBackupPoliciesOptions listBackupPoliciesOptions)List all backup policies.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyJobCollection>listBackupPolicyJobs(ListBackupPolicyJobsOptions listBackupPolicyJobsOptions)List all jobs for a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlanCollection>listBackupPolicyPlans(ListBackupPolicyPlansOptions listBackupPolicyPlansOptions)List all plans for a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDiskCollection>listBareMetalServerDisks(ListBareMetalServerDisksOptions listBareMetalServerDisksOptions)List all disks on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachmentCollection>listBareMetalServerNetworkAttachments(ListBareMetalServerNetworkAttachmentsOptions listBareMetalServerNetworkAttachmentsOptions)List all network attachments on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection>listBareMetalServerNetworkInterfaceFloatingIps(ListBareMetalServerNetworkInterfaceFloatingIpsOptions listBareMetalServerNetworkInterfaceFloatingIpsOptions)List all floating IPs associated with a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionBareMetalServerNetworkInterfaceContext>listBareMetalServerNetworkInterfaceIps(ListBareMetalServerNetworkInterfaceIpsOptions listBareMetalServerNetworkInterfaceIpsOptions)List the primary reserved IP for a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterfaceCollection>listBareMetalServerNetworkInterfaces(ListBareMetalServerNetworkInterfacesOptions listBareMetalServerNetworkInterfacesOptions)List all network interfaces on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection>listBareMetalServerProfiles()List all bare metal server profiles.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection>listBareMetalServerProfiles(ListBareMetalServerProfilesOptions listBareMetalServerProfilesOptions)List all bare metal server profiles.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection>listBareMetalServers()List all bare metal servers.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection>listBareMetalServers(ListBareMetalServersOptions listBareMetalServersOptions)List all bare metal servers.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDiskCollection>listDedicatedHostDisks(ListDedicatedHostDisksOptions listDedicatedHostDisksOptions)List all disks on a dedicated host.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection>listDedicatedHostGroups()List all dedicated host groups.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection>listDedicatedHostGroups(ListDedicatedHostGroupsOptions listDedicatedHostGroupsOptions)List all dedicated host groups.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection>listDedicatedHostProfiles()List all dedicated host profiles.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection>listDedicatedHostProfiles(ListDedicatedHostProfilesOptions listDedicatedHostProfilesOptions)List all dedicated host profiles.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection>listDedicatedHosts()List all dedicated hosts.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection>listDedicatedHosts(ListDedicatedHostsOptions listDedicatedHostsOptions)List all dedicated hosts.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionEndpointGatewayContext>listEndpointGatewayIps(ListEndpointGatewayIpsOptions listEndpointGatewayIpsOptions)List all reserved IPs bound to an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection>listEndpointGateways()List all endpoint gateways.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection>listEndpointGateways(ListEndpointGatewaysOptions listEndpointGatewaysOptions)List all endpoint gateways.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection>listFloatingIps()List all floating IPs.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection>listFloatingIps(ListFloatingIpsOptions listFloatingIpsOptions)List all floating IPs.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection>listFlowLogCollectors()List all flow log collectors.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection>listFlowLogCollectors(ListFlowLogCollectorsOptions listFlowLogCollectorsOptions)List all flow log collectors.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection>listIkePolicies()List all IKE policies.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection>listIkePolicies(ListIkePoliciesOptions listIkePoliciesOptions)List all IKE policies.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection>listIkePolicyConnections(ListIkePolicyConnectionsOptions listIkePolicyConnectionsOptions)List all VPN gateway connections that use a specified IKE policy.com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJobUnpaginatedCollection>listImageExportJobs(ListImageExportJobsOptions listImageExportJobsOptions)List all image export jobs.com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection>listImages()List all images.com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection>listImages(ListImagesOptions listImagesOptions)List all images.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDiskCollection>listInstanceDisks(ListInstanceDisksOptions listInstanceDisksOptions)List all disks on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerActionsCollection>listInstanceGroupManagerActions(ListInstanceGroupManagerActionsOptions listInstanceGroupManagerActionsOptions)List all actions for an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicyCollection>listInstanceGroupManagerPolicies(ListInstanceGroupManagerPoliciesOptions listInstanceGroupManagerPoliciesOptions)List all policies for an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerCollection>listInstanceGroupManagers(ListInstanceGroupManagersOptions listInstanceGroupManagersOptions)List all managers for an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembershipCollection>listInstanceGroupMemberships(ListInstanceGroupMembershipsOptions listInstanceGroupMembershipsOptions)List all memberships for an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection>listInstanceGroups()List all instance groups.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection>listInstanceGroups(ListInstanceGroupsOptions listInstanceGroupsOptions)List all instance groups.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachmentCollection>listInstanceNetworkAttachments(ListInstanceNetworkAttachmentsOptions listInstanceNetworkAttachmentsOptions)List all network attachments on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection>listInstanceNetworkInterfaceFloatingIps(ListInstanceNetworkInterfaceFloatingIpsOptions listInstanceNetworkInterfaceFloatingIpsOptions)List all floating IPs associated with an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionInstanceNetworkInterfaceContext>listInstanceNetworkInterfaceIps(ListInstanceNetworkInterfaceIpsOptions listInstanceNetworkInterfaceIpsOptions)List the primary reserved IP for an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterfaceUnpaginatedCollection>listInstanceNetworkInterfaces(ListInstanceNetworkInterfacesOptions listInstanceNetworkInterfacesOptions)List all network interfaces on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection>listInstanceProfiles()List all instance profiles.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection>listInstanceProfiles(ListInstanceProfilesOptions listInstanceProfilesOptions)List all instance profiles.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection>listInstances()List all instances.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection>listInstances(ListInstancesOptions listInstancesOptions)List all instances.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection>listInstanceTemplates()List all instance templates.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection>listInstanceTemplates(ListInstanceTemplatesOptions listInstanceTemplatesOptions)List all instance templates.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachmentCollection>listInstanceVolumeAttachments(ListInstanceVolumeAttachmentsOptions listInstanceVolumeAttachmentsOptions)List all volumes attachments on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection>listIpsecPolicies()List all IPsec policies.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection>listIpsecPolicies(ListIpsecPoliciesOptions listIpsecPoliciesOptions)List all IPsec policies.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection>listIpsecPolicyConnections(ListIpsecPolicyConnectionsOptions listIpsecPolicyConnectionsOptions)List all VPN gateway connections that use a specified IPsec policy.com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection>listKeys()List all keys.com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection>listKeys(ListKeysOptions listKeysOptions)List all keys.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyCollection>listLoadBalancerListenerPolicies(ListLoadBalancerListenerPoliciesOptions listLoadBalancerListenerPoliciesOptions)List all policies for a load balancer listener.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRuleCollection>listLoadBalancerListenerPolicyRules(ListLoadBalancerListenerPolicyRulesOptions listLoadBalancerListenerPolicyRulesOptions)List all rules of a load balancer listener policy.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerCollection>listLoadBalancerListeners(ListLoadBalancerListenersOptions listLoadBalancerListenersOptions)List all listeners for a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMemberCollection>listLoadBalancerPoolMembers(ListLoadBalancerPoolMembersOptions listLoadBalancerPoolMembersOptions)List all members of a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolCollection>listLoadBalancerPools(ListLoadBalancerPoolsOptions listLoadBalancerPoolsOptions)List all pools of a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection>listLoadBalancerProfiles()List all load balancer profiles.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection>listLoadBalancerProfiles(ListLoadBalancerProfilesOptions listLoadBalancerProfilesOptions)List all load balancer profiles.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection>listLoadBalancers()List all load balancers.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection>listLoadBalancers(ListLoadBalancersOptions listLoadBalancersOptions)List all load balancers.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRuleCollection>listNetworkAclRules(ListNetworkAclRulesOptions listNetworkAclRulesOptions)List all rules for a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection>listNetworkAcls()List all network ACLs.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection>listNetworkAcls(ListNetworkAclsOptions listNetworkAclsOptions)List all network ACLs.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollectionVirtualNetworkInterfaceContext>listNetworkInterfaceFloatingIps(ListNetworkInterfaceFloatingIpsOptions listNetworkInterfaceFloatingIpsOptions)List all floating IPs associated with a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection>listOperatingSystems()List all operating systems.com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection>listOperatingSystems(ListOperatingSystemsOptions listOperatingSystemsOptions)List all operating systems.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection>listPlacementGroups()List all placement groups.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection>listPlacementGroups(ListPlacementGroupsOptions listPlacementGroupsOptions)List all placement groups.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection>listPublicGateways()List all public gateways.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection>listPublicGateways(ListPublicGatewaysOptions listPublicGatewaysOptions)List all public gateways.com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection>listRegions()List all regions.com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection>listRegions(ListRegionsOptions listRegionsOptions)List all regions.com.ibm.cloud.sdk.core.http.ServiceCall<ZoneCollection>listRegionZones(ListRegionZonesOptions listRegionZonesOptions)List all zones in a region.com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection>listReservations()List all reservations.com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection>listReservations(ListReservationsOptions listReservationsOptions)List all reservations.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRuleCollection>listSecurityGroupRules(ListSecurityGroupRulesOptions listSecurityGroupRulesOptions)List all rules in a security group.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection>listSecurityGroups()List all security groups.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection>listSecurityGroups(ListSecurityGroupsOptions listSecurityGroupsOptions)List all security groups.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetCollection>listSecurityGroupTargets(ListSecurityGroupTargetsOptions listSecurityGroupTargetsOptions)List all targets associated with a security group.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTargetCollection>listShareMountTargets(ListShareMountTargetsOptions listShareMountTargetsOptions)List all mount targets for a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection>listShareProfiles()List all file share profiles.com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection>listShareProfiles(ListShareProfilesOptions listShareProfilesOptions)List all file share profiles.com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection>listShares()List all file shares.com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection>listShares(ListSharesOptions listSharesOptions)List all file shares.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCloneCollection>listSnapshotClones(ListSnapshotClonesOptions listSnapshotClonesOptions)List all clones for a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection>listSnapshotConsistencyGroups()List all snapshot consistency groups.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection>listSnapshotConsistencyGroups(ListSnapshotConsistencyGroupsOptions listSnapshotConsistencyGroupsOptions)List all snapshot consistency groups.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection>listSnapshots()List all snapshots.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection>listSnapshots(ListSnapshotsOptions listSnapshotsOptions)List all snapshots.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollection>listSubnetReservedIps(ListSubnetReservedIpsOptions listSubnetReservedIpsOptions)List all reserved IPs in a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection>listSubnets()List all subnets.com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection>listSubnets(ListSubnetsOptions listSubnetsOptions)List all subnets.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionVirtualNetworkInterfaceContext>listVirtualNetworkInterfaceIps(ListVirtualNetworkInterfaceIpsOptions listVirtualNetworkInterfaceIpsOptions)List all reserved IPs bound to a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection>listVirtualNetworkInterfaces()List all virtual network interfaces.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection>listVirtualNetworkInterfaces(ListVirtualNetworkInterfacesOptions listVirtualNetworkInterfacesOptions)List all virtual network interfaces.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection>listVolumeProfiles()List all volume profiles.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection>listVolumeProfiles(ListVolumeProfilesOptions listVolumeProfilesOptions)List all volume profiles.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection>listVolumes()List all volumes.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection>listVolumes(ListVolumesOptions listVolumesOptions)List all volumes.com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefixCollection>listVpcAddressPrefixes(ListVpcAddressPrefixesOptions listVpcAddressPrefixesOptions)List all address prefixes for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBindingCollection>listVpcDnsResolutionBindings(ListVpcDnsResolutionBindingsOptions listVpcDnsResolutionBindingsOptions)List all DNS resolution bindings for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<RouteCollectionVPCContext>listVpcRoutes(ListVpcRoutesOptions listVpcRoutesOptions)Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<RouteCollection>listVpcRoutingTableRoutes(ListVpcRoutingTableRoutesOptions listVpcRoutingTableRoutesOptions)List all routes in a VPC routing table.com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTableCollection>listVpcRoutingTables(ListVpcRoutingTablesOptions listVpcRoutingTablesOptions)List all routing tables for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection>listVpcs()List all VPCs.com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection>listVpcs(ListVpcsOptions listVpcsOptions)List all VPCs.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionLocalCIDRs>listVpnGatewayConnectionLocalCidrs(ListVpnGatewayConnectionLocalCidrsOptions listVpnGatewayConnectionLocalCidrsOptions)List all local CIDRs for a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionPeerCIDRs>listVpnGatewayConnectionPeerCidrs(ListVpnGatewayConnectionPeerCidrsOptions listVpnGatewayConnectionPeerCidrsOptions)List all peer CIDRs for a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection>listVpnGatewayConnections(ListVpnGatewayConnectionsOptions listVpnGatewayConnectionsOptions)List all connections of a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection>listVpnGateways()List all VPN gateways.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection>listVpnGateways(ListVpnGatewaysOptions listVpnGatewaysOptions)List all VPN gateways.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerClientCollection>listVpnServerClients(ListVpnServerClientsOptions listVpnServerClientsOptions)List all VPN clients for a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRouteCollection>listVpnServerRoutes(ListVpnServerRoutesOptions listVpnServerRoutesOptions)List all VPN routes for a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection>listVpnServers()List all VPN servers.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection>listVpnServers(ListVpnServersOptions listVpnServersOptions)List all VPN servers.static VpcnewInstance()Class method which constructs an instance of the `Vpc` client.static VpcnewInstance(String serviceName)Class method which constructs an instance of the `Vpc` client.com.ibm.cloud.sdk.core.http.ServiceCall<Void>obsoleteImage(ObsoleteImageOptions obsoleteImageOptions)Obsolete an image.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeBareMetalServerNetworkInterfaceFloatingIp(RemoveBareMetalServerNetworkInterfaceFloatingIpOptions removeBareMetalServerNetworkInterfaceFloatingIpOptions)Disassociate a floating IP from a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeEndpointGatewayIp(RemoveEndpointGatewayIpOptions removeEndpointGatewayIpOptions)Unbind a reserved IP from an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeInstanceNetworkInterfaceFloatingIp(RemoveInstanceNetworkInterfaceFloatingIpOptions removeInstanceNetworkInterfaceFloatingIpOptions)Disassociate a floating IP from an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeNetworkInterfaceFloatingIp(RemoveNetworkInterfaceFloatingIpOptions removeNetworkInterfaceFloatingIpOptions)Disassociate a floating IP from a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeVirtualNetworkInterfaceIp(RemoveVirtualNetworkInterfaceIpOptions removeVirtualNetworkInterfaceIpOptions)Unbind a reserved IP from a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeVpnGatewayConnectionLocalCidr(RemoveVpnGatewayConnectionLocalCidrOptions removeVpnGatewayConnectionLocalCidrOptions)Remove a local CIDR from a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>removeVpnGatewayConnectionPeerCidr(RemoveVpnGatewayConnectionPeerCidrOptions removeVpnGatewayConnectionPeerCidrOptions)Remove a peer CIDR from a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMemberCollection>replaceLoadBalancerPoolMembers(ReplaceLoadBalancerPoolMembersOptions replaceLoadBalancerPoolMembersOptions)Replace load balancer pool members.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL>replaceSubnetNetworkAcl(ReplaceSubnetNetworkAclOptions replaceSubnetNetworkAclOptions)Replace the network ACL for a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable>replaceSubnetRoutingTable(ReplaceSubnetRoutingTableOptions replaceSubnetRoutingTableOptions)Replace the routing table for a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<Void>restartBareMetalServer(RestartBareMetalServerOptions restartBareMetalServerOptions)Restart a bare metal server.voidsetGeneration(long generation)Sets the generation.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway>setSubnetPublicGateway(SetSubnetPublicGatewayOptions setSubnetPublicGatewayOptions)Attach a public gateway to a subnet.voidsetVersion(String version)Sets the version.com.ibm.cloud.sdk.core.http.ServiceCall<Void>startBareMetalServer(StartBareMetalServerOptions startBareMetalServerOptions)Start a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<Void>stopBareMetalServer(StopBareMetalServerOptions stopBareMetalServerOptions)Stop a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<Void>unsetSubnetPublicGateway(UnsetSubnetPublicGatewayOptions unsetSubnetPublicGatewayOptions)Detach a public gateway from a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy>updateBackupPolicy(UpdateBackupPolicyOptions updateBackupPolicyOptions)Update a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan>updateBackupPolicyPlan(UpdateBackupPolicyPlanOptions updateBackupPolicyPlanOptions)Update a backup policy plan.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServer>updateBareMetalServer(UpdateBareMetalServerOptions updateBareMetalServerOptions)Update a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDisk>updateBareMetalServerDisk(UpdateBareMetalServerDiskOptions updateBareMetalServerDiskOptions)Update a bare metal server disk.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachment>updateBareMetalServerNetworkAttachment(UpdateBareMetalServerNetworkAttachmentOptions updateBareMetalServerNetworkAttachmentOptions)Update a bare metal server network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterface>updateBareMetalServerNetworkInterface(UpdateBareMetalServerNetworkInterfaceOptions updateBareMetalServerNetworkInterfaceOptions)Update a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHost>updateDedicatedHost(UpdateDedicatedHostOptions updateDedicatedHostOptions)Update a dedicated host.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDisk>updateDedicatedHostDisk(UpdateDedicatedHostDiskOptions updateDedicatedHostDiskOptions)Update a dedicated host disk.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroup>updateDedicatedHostGroup(UpdateDedicatedHostGroupOptions updateDedicatedHostGroupOptions)Update a dedicated host group.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGateway>updateEndpointGateway(UpdateEndpointGatewayOptions updateEndpointGatewayOptions)Update an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP>updateFloatingIp(UpdateFloatingIpOptions updateFloatingIpOptions)Update a floating IP.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollector>updateFlowLogCollector(UpdateFlowLogCollectorOptions updateFlowLogCollectorOptions)Update a flow log collector.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicy>updateIkePolicy(UpdateIkePolicyOptions updateIkePolicyOptions)Update an IKE policy.com.ibm.cloud.sdk.core.http.ServiceCall<Image>updateImage(UpdateImageOptions updateImageOptions)Update an image.com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob>updateImageExportJob(UpdateImageExportJobOptions updateImageExportJobOptions)Update an image export job.com.ibm.cloud.sdk.core.http.ServiceCall<Instance>updateInstance(UpdateInstanceOptions updateInstanceOptions)Update an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDisk>updateInstanceDisk(UpdateInstanceDiskOptions updateInstanceDiskOptions)Update an instance disk.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroup>updateInstanceGroup(UpdateInstanceGroupOptions updateInstanceGroupOptions)Update an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManager>updateInstanceGroupManager(UpdateInstanceGroupManagerOptions updateInstanceGroupManagerOptions)Update an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerAction>updateInstanceGroupManagerAction(UpdateInstanceGroupManagerActionOptions updateInstanceGroupManagerActionOptions)Update specified instance group manager action.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicy>updateInstanceGroupManagerPolicy(UpdateInstanceGroupManagerPolicyOptions updateInstanceGroupManagerPolicyOptions)Update an instance group manager policy.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembership>updateInstanceGroupMembership(UpdateInstanceGroupMembershipOptions updateInstanceGroupMembershipOptions)Update an instance group membership.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachment>updateInstanceNetworkAttachment(UpdateInstanceNetworkAttachmentOptions updateInstanceNetworkAttachmentOptions)Update an instance network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterface>updateInstanceNetworkInterface(UpdateInstanceNetworkInterfaceOptions updateInstanceNetworkInterfaceOptions)Update an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplate>updateInstanceTemplate(UpdateInstanceTemplateOptions updateInstanceTemplateOptions)Update an instance template.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachment>updateInstanceVolumeAttachment(UpdateInstanceVolumeAttachmentOptions updateInstanceVolumeAttachmentOptions)Update a volume attachment.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicy>updateIpsecPolicy(UpdateIpsecPolicyOptions updateIpsecPolicyOptions)Update an IPsec policy.com.ibm.cloud.sdk.core.http.ServiceCall<Key>updateKey(UpdateKeyOptions updateKeyOptions)Update a key.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer>updateLoadBalancer(UpdateLoadBalancerOptions updateLoadBalancerOptions)Update a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListener>updateLoadBalancerListener(UpdateLoadBalancerListenerOptions updateLoadBalancerListenerOptions)Update a load balancer listener.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy>updateLoadBalancerListenerPolicy(UpdateLoadBalancerListenerPolicyOptions updateLoadBalancerListenerPolicyOptions)Update a load balancer listener policy.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRule>updateLoadBalancerListenerPolicyRule(UpdateLoadBalancerListenerPolicyRuleOptions updateLoadBalancerListenerPolicyRuleOptions)Update a load balancer listener policy rule.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPool>updateLoadBalancerPool(UpdateLoadBalancerPoolOptions updateLoadBalancerPoolOptions)Update a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMember>updateLoadBalancerPoolMember(UpdateLoadBalancerPoolMemberOptions updateLoadBalancerPoolMemberOptions)Update a load balancer pool member.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL>updateNetworkAcl(UpdateNetworkAclOptions updateNetworkAclOptions)Update a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRule>updateNetworkAclRule(UpdateNetworkAclRuleOptions updateNetworkAclRuleOptions)Update a network ACL rule.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroup>updatePlacementGroup(UpdatePlacementGroupOptions updatePlacementGroupOptions)Update a placement group.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway>updatePublicGateway(UpdatePublicGatewayOptions updatePublicGatewayOptions)Update a public gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Reservation>updateReservation(UpdateReservationOptions updateReservationOptions)Update a reservation.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroup>updateSecurityGroup(UpdateSecurityGroupOptions updateSecurityGroupOptions)Update a security group.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRule>updateSecurityGroupRule(UpdateSecurityGroupRuleOptions updateSecurityGroupRuleOptions)Update a security group rule.com.ibm.cloud.sdk.core.http.ServiceCall<Share>updateShare(UpdateShareOptions updateShareOptions)Update a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget>updateShareMountTarget(UpdateShareMountTargetOptions updateShareMountTargetOptions)Update a share mount target.com.ibm.cloud.sdk.core.http.ServiceCall<Snapshot>updateSnapshot(UpdateSnapshotOptions updateSnapshotOptions)Update a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup>updateSnapshotConsistencyGroup(UpdateSnapshotConsistencyGroupOptions updateSnapshotConsistencyGroupOptions)Update a snapshot consistency group.com.ibm.cloud.sdk.core.http.ServiceCall<Subnet>updateSubnet(UpdateSubnetOptions updateSubnetOptions)Update a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP>updateSubnetReservedIp(UpdateSubnetReservedIpOptions updateSubnetReservedIpOptions)Update a reserved IP.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface>updateVirtualNetworkInterface(UpdateVirtualNetworkInterfaceOptions updateVirtualNetworkInterfaceOptions)Update a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<Volume>updateVolume(UpdateVolumeOptions updateVolumeOptions)Update a volume.com.ibm.cloud.sdk.core.http.ServiceCall<VPC>updateVpc(UpdateVpcOptions updateVpcOptions)Update a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefix>updateVpcAddressPrefix(UpdateVpcAddressPrefixOptions updateVpcAddressPrefixOptions)Update an address prefix.com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding>updateVpcDnsResolutionBinding(UpdateVpcDnsResolutionBindingOptions updateVpcDnsResolutionBindingOptions)Update a DNS resolution binding.com.ibm.cloud.sdk.core.http.ServiceCall<Route>updateVpcRoute(UpdateVpcRouteOptions updateVpcRouteOptions)Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable>updateVpcRoutingTable(UpdateVpcRoutingTableOptions updateVpcRoutingTableOptions)Update a VPC routing table.com.ibm.cloud.sdk.core.http.ServiceCall<Route>updateVpcRoutingTableRoute(UpdateVpcRoutingTableRouteOptions updateVpcRoutingTableRouteOptions)Update a VPC routing table route.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGateway>updateVpnGateway(UpdateVpnGatewayOptions updateVpnGatewayOptions)Update a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnection>updateVpnGatewayConnection(UpdateVpnGatewayConnectionOptions updateVpnGatewayConnectionOptions)Update a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServer>updateVpnServer(UpdateVpnServerOptions updateVpnServerOptions)Update a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRoute>updateVpnServerRoute(UpdateVpnServerRouteOptions updateVpnServerRouteOptions)Update a VPN route.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_NAME
Default service name used when configuring the `Vpc` client.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final String DEFAULT_SERVICE_URL
Default service endpoint URL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Vpc
public Vpc(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `Vpc` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
serviceName- the service name to be used when configuring the client instanceauthenticator- theAuthenticatorinstance to be configured for this client
-
-
Method Detail
-
newInstance
public static Vpc newInstance()
Class method which constructs an instance of the `Vpc` client. The default service name is used to configure the client instance.- Returns:
- an instance of the `Vpc` client using external configuration
-
newInstance
public static Vpc newInstance(String serviceName)
Class method which constructs an instance of the `Vpc` client. The specified service name is used to configure the client instance.- Parameters:
serviceName- the service name to be used when configuring the client instance- Returns:
- an instance of the `Vpc` client using external configuration
-
getGeneration
public Long getGeneration()
Gets the generation. The infrastructure generation. For the API behavior documented here, specify `2`.- Returns:
- the generation
-
setGeneration
public void setGeneration(long generation)
Sets the generation.- Parameters:
generation- the new generation
-
getVersion
public String getVersion()
Gets the version. The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2023-12-05` and `2024-02-22`.- Returns:
- the version
-
setVersion
public void setVersion(String version)
Sets the version.- Parameters:
version- the new version
-
listVpcs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection> listVpcs(ListVpcsOptions listVpcsOptions)
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.- Parameters:
listVpcsOptions- theListVpcsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPCCollection
-
listVpcs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection> 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.- Returns:
- a
ServiceCallwith a result of typeVPCCollection
-
createVpc
public com.ibm.cloud.sdk.core.http.ServiceCall<VPC> createVpc(CreateVpcOptions createVpcOptions)
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.- Parameters:
createVpcOptions- theCreateVpcOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPC
-
createVpc
public com.ibm.cloud.sdk.core.http.ServiceCall<VPC> 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.- Returns:
- a
ServiceCallwith a result of typeVPC
-
deleteVpc
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpc(DeleteVpcOptions deleteVpcOptions)
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.- Parameters:
deleteVpcOptions- theDeleteVpcOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpc
public com.ibm.cloud.sdk.core.http.ServiceCall<VPC> getVpc(GetVpcOptions getVpcOptions)
Retrieve a VPC. This request retrieves a single VPC specified by the identifier in the URL.- Parameters:
getVpcOptions- theGetVpcOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPC
-
updateVpc
public com.ibm.cloud.sdk.core.http.ServiceCall<VPC> updateVpc(UpdateVpcOptions updateVpcOptions)
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.- Parameters:
updateVpcOptions- theUpdateVpcOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPC
-
getVpcDefaultNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<DefaultNetworkACL> getVpcDefaultNetworkAcl(GetVpcDefaultNetworkAclOptions getVpcDefaultNetworkAclOptions)
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.- Parameters:
getVpcDefaultNetworkAclOptions- theGetVpcDefaultNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefaultNetworkACL
-
getVpcDefaultRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<DefaultRoutingTable> getVpcDefaultRoutingTable(GetVpcDefaultRoutingTableOptions getVpcDefaultRoutingTableOptions)
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.- Parameters:
getVpcDefaultRoutingTableOptions- theGetVpcDefaultRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefaultRoutingTable
-
getVpcDefaultSecurityGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<DefaultSecurityGroup> getVpcDefaultSecurityGroup(GetVpcDefaultSecurityGroupOptions getVpcDefaultSecurityGroupOptions)
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.- Parameters:
getVpcDefaultSecurityGroupOptions- theGetVpcDefaultSecurityGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefaultSecurityGroup
-
listVpcAddressPrefixes
public com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefixCollection> listVpcAddressPrefixes(ListVpcAddressPrefixesOptions listVpcAddressPrefixesOptions)
List all address prefixes for a VPC. This request lists all address pool prefixes for a VPC.- Parameters:
listVpcAddressPrefixesOptions- theListVpcAddressPrefixesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAddressPrefixCollection
-
createVpcAddressPrefix
public com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefix> createVpcAddressPrefix(CreateVpcAddressPrefixOptions createVpcAddressPrefixOptions)
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.- Parameters:
createVpcAddressPrefixOptions- theCreateVpcAddressPrefixOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAddressPrefix
-
deleteVpcAddressPrefix
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpcAddressPrefix(DeleteVpcAddressPrefixOptions deleteVpcAddressPrefixOptions)
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.- Parameters:
deleteVpcAddressPrefixOptions- theDeleteVpcAddressPrefixOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpcAddressPrefix
public com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefix> getVpcAddressPrefix(GetVpcAddressPrefixOptions getVpcAddressPrefixOptions)
Retrieve an address prefix. This request retrieves a single prefix specified by the identifier in the URL.- Parameters:
getVpcAddressPrefixOptions- theGetVpcAddressPrefixOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAddressPrefix
-
updateVpcAddressPrefix
public com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefix> updateVpcAddressPrefix(UpdateVpcAddressPrefixOptions updateVpcAddressPrefixOptions)
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.- Parameters:
updateVpcAddressPrefixOptions- theUpdateVpcAddressPrefixOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAddressPrefix
-
listVpcDnsResolutionBindings
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBindingCollection> listVpcDnsResolutionBindings(ListVpcDnsResolutionBindingsOptions listVpcDnsResolutionBindingsOptions)
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.- Parameters:
listVpcDnsResolutionBindingsOptions- theListVpcDnsResolutionBindingsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPCDNSResolutionBindingCollection
-
createVpcDnsResolutionBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding> createVpcDnsResolutionBinding(CreateVpcDnsResolutionBindingOptions createVpcDnsResolutionBindingOptions)
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.- Parameters:
createVpcDnsResolutionBindingOptions- theCreateVpcDnsResolutionBindingOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPCDNSResolutionBinding
-
deleteVpcDnsResolutionBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding> deleteVpcDnsResolutionBinding(DeleteVpcDnsResolutionBindingOptions deleteVpcDnsResolutionBindingOptions)
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`.- Parameters:
deleteVpcDnsResolutionBindingOptions- theDeleteVpcDnsResolutionBindingOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPCDNSResolutionBinding
-
getVpcDnsResolutionBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding> getVpcDnsResolutionBinding(GetVpcDnsResolutionBindingOptions getVpcDnsResolutionBindingOptions)
Retrieve a DNS resolution binding. This request retrieves a single DNS resolution binding specified by the identifier in the URL.- Parameters:
getVpcDnsResolutionBindingOptions- theGetVpcDnsResolutionBindingOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPCDNSResolutionBinding
-
updateVpcDnsResolutionBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBinding> updateVpcDnsResolutionBinding(UpdateVpcDnsResolutionBindingOptions updateVpcDnsResolutionBindingOptions)
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.- Parameters:
updateVpcDnsResolutionBindingOptions- theUpdateVpcDnsResolutionBindingOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPCDNSResolutionBinding
-
listVpcRoutes
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<RouteCollectionVPCContext> listVpcRoutes(ListVpcRoutesOptions listVpcRoutesOptions)
Deprecated.this method is deprecated and may be removed in a future releaseList 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.- Parameters:
listVpcRoutesOptions- theListVpcRoutesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteCollectionVPCContext
-
createVpcRoute
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<Route> createVpcRoute(CreateVpcRouteOptions createVpcRouteOptions)
Deprecated.this method is deprecated and may be removed in a future releaseCreate 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.- Parameters:
createVpcRouteOptions- theCreateVpcRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoute
-
deleteVpcRoute
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpcRoute(DeleteVpcRouteOptions deleteVpcRouteOptions)
Deprecated.this method is deprecated and may be removed in a future releaseDelete a VPC route. This request deletes a route. This operation cannot be reversed.- Parameters:
deleteVpcRouteOptions- theDeleteVpcRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpcRoute
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<Route> getVpcRoute(GetVpcRouteOptions getVpcRouteOptions)
Deprecated.this method is deprecated and may be removed in a future releaseRetrieve a VPC route. This request retrieves a single route specified by the identifier in the URL.- Parameters:
getVpcRouteOptions- theGetVpcRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoute
-
updateVpcRoute
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<Route> updateVpcRoute(UpdateVpcRouteOptions updateVpcRouteOptions)
Deprecated.this method is deprecated and may be removed in a future releaseUpdate 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.- Parameters:
updateVpcRouteOptions- theUpdateVpcRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoute
-
listVpcRoutingTables
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTableCollection> listVpcRoutingTables(ListVpcRoutingTablesOptions listVpcRoutingTablesOptions)
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.- Parameters:
listVpcRoutingTablesOptions- theListVpcRoutingTablesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoutingTableCollection
-
createVpcRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable> createVpcRoutingTable(CreateVpcRoutingTableOptions createVpcRoutingTableOptions)
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.- Parameters:
createVpcRoutingTableOptions- theCreateVpcRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoutingTable
-
deleteVpcRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpcRoutingTable(DeleteVpcRoutingTableOptions deleteVpcRoutingTableOptions)
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.- Parameters:
deleteVpcRoutingTableOptions- theDeleteVpcRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpcRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable> getVpcRoutingTable(GetVpcRoutingTableOptions getVpcRoutingTableOptions)
Retrieve a VPC routing table. This request retrieves a single routing table specified by the identifier in the URL.- Parameters:
getVpcRoutingTableOptions- theGetVpcRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoutingTable
-
updateVpcRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable> updateVpcRoutingTable(UpdateVpcRoutingTableOptions updateVpcRoutingTableOptions)
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.- Parameters:
updateVpcRoutingTableOptions- theUpdateVpcRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoutingTable
-
listVpcRoutingTableRoutes
public com.ibm.cloud.sdk.core.http.ServiceCall<RouteCollection> listVpcRoutingTableRoutes(ListVpcRoutingTableRoutesOptions listVpcRoutingTableRoutesOptions)
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.- Parameters:
listVpcRoutingTableRoutesOptions- theListVpcRoutingTableRoutesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteCollection
-
createVpcRoutingTableRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<Route> createVpcRoutingTableRoute(CreateVpcRoutingTableRouteOptions createVpcRoutingTableRouteOptions)
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.- Parameters:
createVpcRoutingTableRouteOptions- theCreateVpcRoutingTableRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoute
-
deleteVpcRoutingTableRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpcRoutingTableRoute(DeleteVpcRoutingTableRouteOptions deleteVpcRoutingTableRouteOptions)
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.- Parameters:
deleteVpcRoutingTableRouteOptions- theDeleteVpcRoutingTableRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpcRoutingTableRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<Route> getVpcRoutingTableRoute(GetVpcRoutingTableRouteOptions getVpcRoutingTableRouteOptions)
Retrieve a VPC routing table route. This request retrieves a single VPC route specified by the identifier in the URL path.- Parameters:
getVpcRoutingTableRouteOptions- theGetVpcRoutingTableRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoute
-
updateVpcRoutingTableRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<Route> updateVpcRoutingTableRoute(UpdateVpcRoutingTableRouteOptions updateVpcRoutingTableRouteOptions)
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.- Parameters:
updateVpcRoutingTableRouteOptions- theUpdateVpcRoutingTableRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoute
-
listSubnets
public com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection> listSubnets(ListSubnetsOptions listSubnetsOptions)
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.- Parameters:
listSubnetsOptions- theListSubnetsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSubnetCollection
-
listSubnets
public com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection> 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.- Returns:
- a
ServiceCallwith a result of typeSubnetCollection
-
createSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<Subnet> createSubnet(CreateSubnetOptions createSubnetOptions)
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.- Parameters:
createSubnetOptions- theCreateSubnetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSubnet
-
deleteSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSubnet(DeleteSubnetOptions deleteSubnetOptions)
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.- Parameters:
deleteSubnetOptions- theDeleteSubnetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<Subnet> getSubnet(GetSubnetOptions getSubnetOptions)
Retrieve a subnet. This request retrieves a single subnet specified by the identifier in the URL.- Parameters:
getSubnetOptions- theGetSubnetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSubnet
-
updateSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<Subnet> updateSubnet(UpdateSubnetOptions updateSubnetOptions)
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.- Parameters:
updateSubnetOptions- theUpdateSubnetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSubnet
-
getSubnetNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL> getSubnetNetworkAcl(GetSubnetNetworkAclOptions getSubnetNetworkAclOptions)
Retrieve a subnet's attached network ACL. This request retrieves the network ACL attached to the subnet specified by the identifier in the URL.- Parameters:
getSubnetNetworkAclOptions- theGetSubnetNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACL
-
replaceSubnetNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL> replaceSubnetNetworkAcl(ReplaceSubnetNetworkAclOptions replaceSubnetNetworkAclOptions)
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.- Parameters:
replaceSubnetNetworkAclOptions- theReplaceSubnetNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACL
-
unsetSubnetPublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> unsetSubnetPublicGateway(UnsetSubnetPublicGatewayOptions unsetSubnetPublicGatewayOptions)
Detach a public gateway from a subnet. This request detaches the public gateway from the subnet specified by the subnet identifier in the URL.- Parameters:
unsetSubnetPublicGatewayOptions- theUnsetSubnetPublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSubnetPublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway> getSubnetPublicGateway(GetSubnetPublicGatewayOptions getSubnetPublicGatewayOptions)
Retrieve a subnet's attached public gateway. This request retrieves the public gateway attached to the subnet specified by the identifier in the URL.- Parameters:
getSubnetPublicGatewayOptions- theGetSubnetPublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePublicGateway
-
setSubnetPublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway> setSubnetPublicGateway(SetSubnetPublicGatewayOptions setSubnetPublicGatewayOptions)
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.- Parameters:
setSubnetPublicGatewayOptions- theSetSubnetPublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePublicGateway
-
getSubnetRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable> getSubnetRoutingTable(GetSubnetRoutingTableOptions getSubnetRoutingTableOptions)
Retrieve a subnet's attached routing table. This request retrieves the routing table attached to the subnet specified by the identifier in the URL.- Parameters:
getSubnetRoutingTableOptions- theGetSubnetRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoutingTable
-
replaceSubnetRoutingTable
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTable> replaceSubnetRoutingTable(ReplaceSubnetRoutingTableOptions replaceSubnetRoutingTableOptions)
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`.- Parameters:
replaceSubnetRoutingTableOptions- theReplaceSubnetRoutingTableOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRoutingTable
-
listSubnetReservedIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollection> listSubnetReservedIps(ListSubnetReservedIpsOptions listSubnetReservedIpsOptions)
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.- Parameters:
listSubnetReservedIpsOptions- theListSubnetReservedIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPCollection
-
createSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> createSubnetReservedIp(CreateSubnetReservedIpOptions createSubnetReservedIpOptions)
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.- Parameters:
createSubnetReservedIpOptions- theCreateSubnetReservedIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
deleteSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSubnetReservedIp(DeleteSubnetReservedIpOptions deleteSubnetReservedIpOptions)
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.- Parameters:
deleteSubnetReservedIpOptions- theDeleteSubnetReservedIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> getSubnetReservedIp(GetSubnetReservedIpOptions getSubnetReservedIpOptions)
Retrieve a reserved IP. This request retrieves a single reserved IP specified by the identifier in the URL.- Parameters:
getSubnetReservedIpOptions- theGetSubnetReservedIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
updateSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> updateSubnetReservedIp(UpdateSubnetReservedIpOptions updateSubnetReservedIpOptions)
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.- Parameters:
updateSubnetReservedIpOptions- theUpdateSubnetReservedIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
listImages
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection> listImages(ListImagesOptions listImagesOptions)
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.- Parameters:
listImagesOptions- theListImagesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImageCollection
-
listImages
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection> 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.- Returns:
- a
ServiceCallwith a result of typeImageCollection
-
createImage
public com.ibm.cloud.sdk.core.http.ServiceCall<Image> createImage(CreateImageOptions createImageOptions)
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.- Parameters:
createImageOptions- theCreateImageOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImage
-
deleteImage
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteImage(DeleteImageOptions deleteImageOptions)
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`.- Parameters:
deleteImageOptions- theDeleteImageOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getImage
public com.ibm.cloud.sdk.core.http.ServiceCall<Image> getImage(GetImageOptions getImageOptions)
Retrieve an image. This request retrieves a single image specified by the identifier in the URL.- Parameters:
getImageOptions- theGetImageOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImage
-
updateImage
public com.ibm.cloud.sdk.core.http.ServiceCall<Image> updateImage(UpdateImageOptions updateImageOptions)
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.- Parameters:
updateImageOptions- theUpdateImageOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImage
-
deprecateImage
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deprecateImage(DeprecateImageOptions deprecateImageOptions)
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.- Parameters:
deprecateImageOptions- theDeprecateImageOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
obsoleteImage
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> obsoleteImage(ObsoleteImageOptions obsoleteImageOptions)
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.- Parameters:
obsoleteImageOptions- theObsoleteImageOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listImageExportJobs
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJobUnpaginatedCollection> listImageExportJobs(ListImageExportJobsOptions listImageExportJobsOptions)
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.- Parameters:
listImageExportJobsOptions- theListImageExportJobsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImageExportJobUnpaginatedCollection
-
createImageExportJob
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob> createImageExportJob(CreateImageExportJobOptions createImageExportJobOptions)
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.- Parameters:
createImageExportJobOptions- theCreateImageExportJobOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImageExportJob
-
deleteImageExportJob
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteImageExportJob(DeleteImageExportJobOptions deleteImageExportJobOptions)
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.- Parameters:
deleteImageExportJobOptions- theDeleteImageExportJobOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getImageExportJob
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob> getImageExportJob(GetImageExportJobOptions getImageExportJobOptions)
Retrieve an image export job. This request retrieves a single image export job specified by the identifier in the URL.- Parameters:
getImageExportJobOptions- theGetImageExportJobOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImageExportJob
-
updateImageExportJob
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob> updateImageExportJob(UpdateImageExportJobOptions updateImageExportJobOptions)
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.- Parameters:
updateImageExportJobOptions- theUpdateImageExportJobOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImageExportJob
-
listOperatingSystems
public com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection> listOperatingSystems(ListOperatingSystemsOptions listOperatingSystemsOptions)
List all operating systems. This request lists all operating systems in the region.- Parameters:
listOperatingSystemsOptions- theListOperatingSystemsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeOperatingSystemCollection
-
listOperatingSystems
public com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection> listOperatingSystems()
List all operating systems. This request lists all operating systems in the region.- Returns:
- a
ServiceCallwith a result of typeOperatingSystemCollection
-
getOperatingSystem
public com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystem> getOperatingSystem(GetOperatingSystemOptions getOperatingSystemOptions)
Retrieve an operating system. This request retrieves a single operating system specified by the name in the URL.- Parameters:
getOperatingSystemOptions- theGetOperatingSystemOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeOperatingSystem
-
listKeys
public com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection> listKeys(ListKeysOptions listKeysOptions)
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.- Parameters:
listKeysOptions- theListKeysOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeKeyCollection
-
listKeys
public com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection> 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.- Returns:
- a
ServiceCallwith a result of typeKeyCollection
-
createKey
public com.ibm.cloud.sdk.core.http.ServiceCall<Key> createKey(CreateKeyOptions createKeyOptions)
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.- Parameters:
createKeyOptions- theCreateKeyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeKey
-
deleteKey
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteKey(DeleteKeyOptions deleteKeyOptions)
Delete a key. This request deletes a key. This operation cannot be reversed.- Parameters:
deleteKeyOptions- theDeleteKeyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getKey
public com.ibm.cloud.sdk.core.http.ServiceCall<Key> getKey(GetKeyOptions getKeyOptions)
Retrieve a key. This request retrieves a single key specified by the identifier in the URL.- Parameters:
getKeyOptions- theGetKeyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeKey
-
updateKey
public com.ibm.cloud.sdk.core.http.ServiceCall<Key> updateKey(UpdateKeyOptions updateKeyOptions)
Update a key. This request updates a key's name.- Parameters:
updateKeyOptions- theUpdateKeyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeKey
-
listInstanceProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection> listInstanceProfiles(ListInstanceProfilesOptions listInstanceProfilesOptions)
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.- Parameters:
listInstanceProfilesOptions- theListInstanceProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceProfileCollection
-
listInstanceProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection> 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.- Returns:
- a
ServiceCallwith a result of typeInstanceProfileCollection
-
getInstanceProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfile> getInstanceProfile(GetInstanceProfileOptions getInstanceProfileOptions)
Retrieve an instance profile. This request retrieves a single instance profile specified by the name in the URL.- Parameters:
getInstanceProfileOptions- theGetInstanceProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceProfile
-
listInstanceTemplates
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection> listInstanceTemplates(ListInstanceTemplatesOptions listInstanceTemplatesOptions)
List all instance templates. This request lists all instance templates in the region.- Parameters:
listInstanceTemplatesOptions- theListInstanceTemplatesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceTemplateCollection
-
listInstanceTemplates
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection> listInstanceTemplates()
List all instance templates. This request lists all instance templates in the region.- Returns:
- a
ServiceCallwith a result of typeInstanceTemplateCollection
-
createInstanceTemplate
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplate> createInstanceTemplate(CreateInstanceTemplateOptions createInstanceTemplateOptions)
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.- Parameters:
createInstanceTemplateOptions- theCreateInstanceTemplateOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceTemplate
-
deleteInstanceTemplate
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceTemplate(DeleteInstanceTemplateOptions deleteInstanceTemplateOptions)
Delete an instance template. This request deletes the instance template. This operation cannot be reversed.- Parameters:
deleteInstanceTemplateOptions- theDeleteInstanceTemplateOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceTemplate
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplate> getInstanceTemplate(GetInstanceTemplateOptions getInstanceTemplateOptions)
Retrieve an instance template. This request retrieves a single instance template specified by the identifier in the URL.- Parameters:
getInstanceTemplateOptions- theGetInstanceTemplateOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceTemplate
-
updateInstanceTemplate
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplate> updateInstanceTemplate(UpdateInstanceTemplateOptions updateInstanceTemplateOptions)
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.- Parameters:
updateInstanceTemplateOptions- theUpdateInstanceTemplateOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceTemplate
-
listInstances
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection> listInstances(ListInstancesOptions listInstancesOptions)
List all instances. This request lists all instances in the region.- Parameters:
listInstancesOptions- theListInstancesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceCollection
-
listInstances
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection> listInstances()
List all instances. This request lists all instances in the region.- Returns:
- a
ServiceCallwith a result of typeInstanceCollection
-
createInstance
public com.ibm.cloud.sdk.core.http.ServiceCall<Instance> createInstance(CreateInstanceOptions createInstanceOptions)
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.- Parameters:
createInstanceOptions- theCreateInstanceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstance
-
deleteInstance
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstance(DeleteInstanceOptions deleteInstanceOptions)
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.- Parameters:
deleteInstanceOptions- theDeleteInstanceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstance
public com.ibm.cloud.sdk.core.http.ServiceCall<Instance> getInstance(GetInstanceOptions getInstanceOptions)
Retrieve an instance. This request retrieves a single instance specified by the identifier in the URL.- Parameters:
getInstanceOptions- theGetInstanceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstance
-
updateInstance
public com.ibm.cloud.sdk.core.http.ServiceCall<Instance> updateInstance(UpdateInstanceOptions updateInstanceOptions)
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.- Parameters:
updateInstanceOptions- theUpdateInstanceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstance
-
getInstanceInitialization
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceInitialization> getInstanceInitialization(GetInstanceInitializationOptions getInstanceInitializationOptions)
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.- Parameters:
getInstanceInitializationOptions- theGetInstanceInitializationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceInitialization
-
createInstanceAction
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceAction> createInstanceAction(CreateInstanceActionOptions createInstanceActionOptions)
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.- Parameters:
createInstanceActionOptions- theCreateInstanceActionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceAction
-
createInstanceConsoleAccessToken
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceConsoleAccessToken> createInstanceConsoleAccessToken(CreateInstanceConsoleAccessTokenOptions createInstanceConsoleAccessTokenOptions)
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.- Parameters:
createInstanceConsoleAccessTokenOptions- theCreateInstanceConsoleAccessTokenOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceConsoleAccessToken
-
listInstanceDisks
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDiskCollection> listInstanceDisks(ListInstanceDisksOptions listInstanceDisksOptions)
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.- Parameters:
listInstanceDisksOptions- theListInstanceDisksOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceDiskCollection
-
getInstanceDisk
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDisk> getInstanceDisk(GetInstanceDiskOptions getInstanceDiskOptions)
Retrieve an instance disk. This request retrieves a single instance disk specified by the identifier in the URL.- Parameters:
getInstanceDiskOptions- theGetInstanceDiskOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceDisk
-
updateInstanceDisk
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDisk> updateInstanceDisk(UpdateInstanceDiskOptions updateInstanceDiskOptions)
Update an instance disk. This request updates the instance disk with the information in a provided patch.- Parameters:
updateInstanceDiskOptions- theUpdateInstanceDiskOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceDisk
-
listInstanceNetworkAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachmentCollection> listInstanceNetworkAttachments(ListInstanceNetworkAttachmentsOptions listInstanceNetworkAttachmentsOptions)
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.- Parameters:
listInstanceNetworkAttachmentsOptions- theListInstanceNetworkAttachmentsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceNetworkAttachmentCollection
-
createInstanceNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachment> createInstanceNetworkAttachment(CreateInstanceNetworkAttachmentOptions createInstanceNetworkAttachmentOptions)
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.- Parameters:
createInstanceNetworkAttachmentOptions- theCreateInstanceNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceNetworkAttachment
-
deleteInstanceNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceNetworkAttachment(DeleteInstanceNetworkAttachmentOptions deleteInstanceNetworkAttachmentOptions)
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.- Parameters:
deleteInstanceNetworkAttachmentOptions- theDeleteInstanceNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachment> getInstanceNetworkAttachment(GetInstanceNetworkAttachmentOptions getInstanceNetworkAttachmentOptions)
Retrieve an instance network attachment. This request retrieves a single instance network attachment specified by the identifier in the URL.- Parameters:
getInstanceNetworkAttachmentOptions- theGetInstanceNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceNetworkAttachment
-
updateInstanceNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachment> updateInstanceNetworkAttachment(UpdateInstanceNetworkAttachmentOptions updateInstanceNetworkAttachmentOptions)
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.- Parameters:
updateInstanceNetworkAttachmentOptions- theUpdateInstanceNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceNetworkAttachment
-
listInstanceNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterfaceUnpaginatedCollection> listInstanceNetworkInterfaces(ListInstanceNetworkInterfacesOptions listInstanceNetworkInterfacesOptions)
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.- Parameters:
listInstanceNetworkInterfacesOptions- theListInstanceNetworkInterfacesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkInterfaceUnpaginatedCollection
-
createInstanceNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterface> createInstanceNetworkInterface(CreateInstanceNetworkInterfaceOptions createInstanceNetworkInterfaceOptions)
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.- Parameters:
createInstanceNetworkInterfaceOptions- theCreateInstanceNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkInterface
-
deleteInstanceNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceNetworkInterface(DeleteInstanceNetworkInterfaceOptions deleteInstanceNetworkInterfaceOptions)
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.- Parameters:
deleteInstanceNetworkInterfaceOptions- theDeleteInstanceNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterface> getInstanceNetworkInterface(GetInstanceNetworkInterfaceOptions getInstanceNetworkInterfaceOptions)
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.- Parameters:
getInstanceNetworkInterfaceOptions- theGetInstanceNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkInterface
-
updateInstanceNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterface> updateInstanceNetworkInterface(UpdateInstanceNetworkInterfaceOptions updateInstanceNetworkInterfaceOptions)
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.- Parameters:
updateInstanceNetworkInterfaceOptions- theUpdateInstanceNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkInterface
-
listInstanceNetworkInterfaceFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection> listInstanceNetworkInterfaceFloatingIps(ListInstanceNetworkInterfaceFloatingIpsOptions listInstanceNetworkInterfaceFloatingIpsOptions)
List all floating IPs associated with an instance network interface. This request lists all floating IPs associated with an instance network interface.- Parameters:
listInstanceNetworkInterfaceFloatingIpsOptions- theListInstanceNetworkInterfaceFloatingIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIPUnpaginatedCollection
-
removeInstanceNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeInstanceNetworkInterfaceFloatingIp(RemoveInstanceNetworkInterfaceFloatingIpOptions removeInstanceNetworkInterfaceFloatingIpOptions)
Disassociate a floating IP from an instance network interface. This request disassociates the specified floating IP from the specified instance network interface.- Parameters:
removeInstanceNetworkInterfaceFloatingIpOptions- theRemoveInstanceNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> getInstanceNetworkInterfaceFloatingIp(GetInstanceNetworkInterfaceFloatingIpOptions getInstanceNetworkInterfaceFloatingIpOptions)
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.- Parameters:
getInstanceNetworkInterfaceFloatingIpOptions- theGetInstanceNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
addInstanceNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> addInstanceNetworkInterfaceFloatingIp(AddInstanceNetworkInterfaceFloatingIpOptions addInstanceNetworkInterfaceFloatingIpOptions)
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.- Parameters:
addInstanceNetworkInterfaceFloatingIpOptions- theAddInstanceNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
listInstanceNetworkInterfaceIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionInstanceNetworkInterfaceContext> listInstanceNetworkInterfaceIps(ListInstanceNetworkInterfaceIpsOptions listInstanceNetworkInterfaceIpsOptions)
List the primary reserved IP for an instance network interface. This request lists the primary reserved IP for an instance network interface.- Parameters:
listInstanceNetworkInterfaceIpsOptions- theListInstanceNetworkInterfaceIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPCollectionInstanceNetworkInterfaceContext
-
getInstanceNetworkInterfaceIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> getInstanceNetworkInterfaceIp(GetInstanceNetworkInterfaceIpOptions getInstanceNetworkInterfaceIpOptions)
Retrieve the primary reserved IP. This request retrieves the primary reserved IP for an instance network interface.- Parameters:
getInstanceNetworkInterfaceIpOptions- theGetInstanceNetworkInterfaceIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
listInstanceVolumeAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachmentCollection> listInstanceVolumeAttachments(ListInstanceVolumeAttachmentsOptions listInstanceVolumeAttachmentsOptions)
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.- Parameters:
listInstanceVolumeAttachmentsOptions- theListInstanceVolumeAttachmentsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeAttachmentCollection
-
createInstanceVolumeAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachment> createInstanceVolumeAttachment(CreateInstanceVolumeAttachmentOptions createInstanceVolumeAttachmentOptions)
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.- Parameters:
createInstanceVolumeAttachmentOptions- theCreateInstanceVolumeAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeAttachment
-
deleteInstanceVolumeAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceVolumeAttachment(DeleteInstanceVolumeAttachmentOptions deleteInstanceVolumeAttachmentOptions)
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.- Parameters:
deleteInstanceVolumeAttachmentOptions- theDeleteInstanceVolumeAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceVolumeAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachment> getInstanceVolumeAttachment(GetInstanceVolumeAttachmentOptions getInstanceVolumeAttachmentOptions)
Retrieve a volume attachment. This request retrieves a single volume attachment specified by the identifier in the URL.- Parameters:
getInstanceVolumeAttachmentOptions- theGetInstanceVolumeAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeAttachment
-
updateInstanceVolumeAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachment> updateInstanceVolumeAttachment(UpdateInstanceVolumeAttachmentOptions updateInstanceVolumeAttachmentOptions)
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.- Parameters:
updateInstanceVolumeAttachmentOptions- theUpdateInstanceVolumeAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeAttachment
-
listInstanceGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection> listInstanceGroups(ListInstanceGroupsOptions listInstanceGroupsOptions)
List all instance groups. This request lists all instance groups in the region.- Parameters:
listInstanceGroupsOptions- theListInstanceGroupsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupCollection
-
listInstanceGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection> listInstanceGroups()
List all instance groups. This request lists all instance groups in the region.- Returns:
- a
ServiceCallwith a result of typeInstanceGroupCollection
-
createInstanceGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroup> createInstanceGroup(CreateInstanceGroupOptions createInstanceGroupOptions)
Create an instance group. This request creates a new instance group.- Parameters:
createInstanceGroupOptions- theCreateInstanceGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroup
-
deleteInstanceGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroup(DeleteInstanceGroupOptions deleteInstanceGroupOptions)
Delete an instance group. This request deletes an instance group. This operation cannot be reversed. Any instances associated with the group will be deleted.- Parameters:
deleteInstanceGroupOptions- theDeleteInstanceGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroup> getInstanceGroup(GetInstanceGroupOptions getInstanceGroupOptions)
Retrieve an instance group. This request retrieves a single instance group specified by identifier in the URL.- Parameters:
getInstanceGroupOptions- theGetInstanceGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroup
-
updateInstanceGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroup> updateInstanceGroup(UpdateInstanceGroupOptions updateInstanceGroupOptions)
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.- Parameters:
updateInstanceGroupOptions- theUpdateInstanceGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroup
-
deleteInstanceGroupLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupLoadBalancer(DeleteInstanceGroupLoadBalancerOptions deleteInstanceGroupLoadBalancerOptions)
Delete an instance group load balancer. This request unbinds the instance group from the load balancer pool, and deletes the load balancer pool members.- Parameters:
deleteInstanceGroupLoadBalancerOptions- theDeleteInstanceGroupLoadBalancerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listInstanceGroupManagers
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerCollection> listInstanceGroupManagers(ListInstanceGroupManagersOptions listInstanceGroupManagersOptions)
List all managers for an instance group. This request lists all managers for an instance group.- Parameters:
listInstanceGroupManagersOptions- theListInstanceGroupManagersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerCollection
-
createInstanceGroupManager
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManager> createInstanceGroupManager(CreateInstanceGroupManagerOptions createInstanceGroupManagerOptions)
Create a manager for an instance group. This request creates a new instance group manager.- Parameters:
createInstanceGroupManagerOptions- theCreateInstanceGroupManagerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManager
-
deleteInstanceGroupManager
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupManager(DeleteInstanceGroupManagerOptions deleteInstanceGroupManagerOptions)
Delete an instance group manager. This request deletes an instance group manager. This operation cannot be reversed.- Parameters:
deleteInstanceGroupManagerOptions- theDeleteInstanceGroupManagerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceGroupManager
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManager> getInstanceGroupManager(GetInstanceGroupManagerOptions getInstanceGroupManagerOptions)
Retrieve an instance group manager. This request retrieves a single instance group manager specified by identifier in the URL.- Parameters:
getInstanceGroupManagerOptions- theGetInstanceGroupManagerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManager
-
updateInstanceGroupManager
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManager> updateInstanceGroupManager(UpdateInstanceGroupManagerOptions updateInstanceGroupManagerOptions)
Update an instance group manager. This request updates an instance group manager with the information provided instance group manager patch.- Parameters:
updateInstanceGroupManagerOptions- theUpdateInstanceGroupManagerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManager
-
listInstanceGroupManagerActions
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerActionsCollection> listInstanceGroupManagerActions(ListInstanceGroupManagerActionsOptions listInstanceGroupManagerActionsOptions)
List all actions for an instance group manager. This request lists all instance group actions for an instance group manager.- Parameters:
listInstanceGroupManagerActionsOptions- theListInstanceGroupManagerActionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerActionsCollection
-
createInstanceGroupManagerAction
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerAction> createInstanceGroupManagerAction(CreateInstanceGroupManagerActionOptions createInstanceGroupManagerActionOptions)
Create an instance group manager action. This request creates a new instance group manager action.- Parameters:
createInstanceGroupManagerActionOptions- theCreateInstanceGroupManagerActionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerAction
-
deleteInstanceGroupManagerAction
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupManagerAction(DeleteInstanceGroupManagerActionOptions deleteInstanceGroupManagerActionOptions)
Delete specified instance group manager action. This request deletes an instance group manager action. This operation cannot be reversed.- Parameters:
deleteInstanceGroupManagerActionOptions- theDeleteInstanceGroupManagerActionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceGroupManagerAction
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerAction> getInstanceGroupManagerAction(GetInstanceGroupManagerActionOptions getInstanceGroupManagerActionOptions)
Retrieve specified instance group manager action. This request retrieves a single instance group manager action specified by identifier in the URL.- Parameters:
getInstanceGroupManagerActionOptions- theGetInstanceGroupManagerActionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerAction
-
updateInstanceGroupManagerAction
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerAction> updateInstanceGroupManagerAction(UpdateInstanceGroupManagerActionOptions updateInstanceGroupManagerActionOptions)
Update specified instance group manager action. This request updates an instance group manager action.- Parameters:
updateInstanceGroupManagerActionOptions- theUpdateInstanceGroupManagerActionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerAction
-
listInstanceGroupManagerPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicyCollection> listInstanceGroupManagerPolicies(ListInstanceGroupManagerPoliciesOptions listInstanceGroupManagerPoliciesOptions)
List all policies for an instance group manager. This request lists all policies for an instance group manager.- Parameters:
listInstanceGroupManagerPoliciesOptions- theListInstanceGroupManagerPoliciesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerPolicyCollection
-
createInstanceGroupManagerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicy> createInstanceGroupManagerPolicy(CreateInstanceGroupManagerPolicyOptions createInstanceGroupManagerPolicyOptions)
Create a policy for an instance group manager. This request creates a new instance group manager policy.- Parameters:
createInstanceGroupManagerPolicyOptions- theCreateInstanceGroupManagerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerPolicy
-
deleteInstanceGroupManagerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupManagerPolicy(DeleteInstanceGroupManagerPolicyOptions deleteInstanceGroupManagerPolicyOptions)
Delete an instance group manager policy. This request deletes an instance group manager policy. This operation cannot be reversed.- Parameters:
deleteInstanceGroupManagerPolicyOptions- theDeleteInstanceGroupManagerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceGroupManagerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicy> getInstanceGroupManagerPolicy(GetInstanceGroupManagerPolicyOptions getInstanceGroupManagerPolicyOptions)
Retrieve an instance group manager policy. This request retrieves a single instance group manager policy specified by identifier in the URL.- Parameters:
getInstanceGroupManagerPolicyOptions- theGetInstanceGroupManagerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerPolicy
-
updateInstanceGroupManagerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicy> updateInstanceGroupManagerPolicy(UpdateInstanceGroupManagerPolicyOptions updateInstanceGroupManagerPolicyOptions)
Update an instance group manager policy. This request updates an instance group manager policy.- Parameters:
updateInstanceGroupManagerPolicyOptions- theUpdateInstanceGroupManagerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupManagerPolicy
-
deleteInstanceGroupMemberships
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupMemberships(DeleteInstanceGroupMembershipsOptions deleteInstanceGroupMembershipsOptions)
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.- Parameters:
deleteInstanceGroupMembershipsOptions- theDeleteInstanceGroupMembershipsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listInstanceGroupMemberships
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembershipCollection> listInstanceGroupMemberships(ListInstanceGroupMembershipsOptions listInstanceGroupMembershipsOptions)
List all memberships for an instance group. This request lists all instance group memberships for an instance group.- Parameters:
listInstanceGroupMembershipsOptions- theListInstanceGroupMembershipsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupMembershipCollection
-
deleteInstanceGroupMembership
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupMembership(DeleteInstanceGroupMembershipOptions deleteInstanceGroupMembershipOptions)
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.- Parameters:
deleteInstanceGroupMembershipOptions- theDeleteInstanceGroupMembershipOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getInstanceGroupMembership
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembership> getInstanceGroupMembership(GetInstanceGroupMembershipOptions getInstanceGroupMembershipOptions)
Retrieve an instance group membership. This request retrieves a single instance group membership specified by identifier in the URL.- Parameters:
getInstanceGroupMembershipOptions- theGetInstanceGroupMembershipOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupMembership
-
updateInstanceGroupMembership
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembership> updateInstanceGroupMembership(UpdateInstanceGroupMembershipOptions updateInstanceGroupMembershipOptions)
Update an instance group membership. This request updates an instance group membership with the information provided instance group membership patch.- Parameters:
updateInstanceGroupMembershipOptions- theUpdateInstanceGroupMembershipOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInstanceGroupMembership
-
listReservations
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection> listReservations(ListReservationsOptions listReservationsOptions)
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.- Parameters:
listReservationsOptions- theListReservationsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservationCollection
-
listReservations
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection> 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.- Returns:
- a
ServiceCallwith a result of typeReservationCollection
-
createReservation
public com.ibm.cloud.sdk.core.http.ServiceCall<Reservation> createReservation(CreateReservationOptions createReservationOptions)
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.- Parameters:
createReservationOptions- theCreateReservationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservation
-
deleteReservation
public com.ibm.cloud.sdk.core.http.ServiceCall<Reservation> deleteReservation(DeleteReservationOptions deleteReservationOptions)
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.- Parameters:
deleteReservationOptions- theDeleteReservationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservation
-
getReservation
public com.ibm.cloud.sdk.core.http.ServiceCall<Reservation> getReservation(GetReservationOptions getReservationOptions)
Retrieve a reservation. This request retrieves a single reservation specified by identifier in the URL.- Parameters:
getReservationOptions- theGetReservationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservation
-
updateReservation
public com.ibm.cloud.sdk.core.http.ServiceCall<Reservation> updateReservation(UpdateReservationOptions updateReservationOptions)
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.- Parameters:
updateReservationOptions- theUpdateReservationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservation
-
activateReservation
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> activateReservation(ActivateReservationOptions activateReservationOptions)
Activate a reservation. This request activates a reservation. For this request to succeed, the reservation status must be `inactive`.- Parameters:
activateReservationOptions- theActivateReservationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listDedicatedHostGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection> listDedicatedHostGroups(ListDedicatedHostGroupsOptions listDedicatedHostGroupsOptions)
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.- Parameters:
listDedicatedHostGroupsOptions- theListDedicatedHostGroupsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostGroupCollection
-
listDedicatedHostGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection> 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.- Returns:
- a
ServiceCallwith a result of typeDedicatedHostGroupCollection
-
createDedicatedHostGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroup> createDedicatedHostGroup(CreateDedicatedHostGroupOptions createDedicatedHostGroupOptions)
Create a dedicated host group. This request creates a new dedicated host group.- Parameters:
createDedicatedHostGroupOptions- theCreateDedicatedHostGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostGroup
-
deleteDedicatedHostGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteDedicatedHostGroup(DeleteDedicatedHostGroupOptions deleteDedicatedHostGroupOptions)
Delete a dedicated host group. This request deletes a dedicated host group.- Parameters:
deleteDedicatedHostGroupOptions- theDeleteDedicatedHostGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getDedicatedHostGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroup> getDedicatedHostGroup(GetDedicatedHostGroupOptions getDedicatedHostGroupOptions)
Retrieve a dedicated host group. This request retrieves a single dedicated host group specified by the identifier in the URL.- Parameters:
getDedicatedHostGroupOptions- theGetDedicatedHostGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostGroup
-
updateDedicatedHostGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroup> updateDedicatedHostGroup(UpdateDedicatedHostGroupOptions updateDedicatedHostGroupOptions)
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.- Parameters:
updateDedicatedHostGroupOptions- theUpdateDedicatedHostGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostGroup
-
listDedicatedHostProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection> listDedicatedHostProfiles(ListDedicatedHostProfilesOptions listDedicatedHostProfilesOptions)
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.- Parameters:
listDedicatedHostProfilesOptions- theListDedicatedHostProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostProfileCollection
-
listDedicatedHostProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection> 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.- Returns:
- a
ServiceCallwith a result of typeDedicatedHostProfileCollection
-
getDedicatedHostProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfile> getDedicatedHostProfile(GetDedicatedHostProfileOptions getDedicatedHostProfileOptions)
Retrieve a dedicated host profile. This request retrieves a single dedicated host profile specified by the name in the URL.- Parameters:
getDedicatedHostProfileOptions- theGetDedicatedHostProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostProfile
-
listDedicatedHosts
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection> listDedicatedHosts(ListDedicatedHostsOptions listDedicatedHostsOptions)
List all dedicated hosts. This request lists all dedicated hosts in the region.- Parameters:
listDedicatedHostsOptions- theListDedicatedHostsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostCollection
-
listDedicatedHosts
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection> listDedicatedHosts()
List all dedicated hosts. This request lists all dedicated hosts in the region.- Returns:
- a
ServiceCallwith a result of typeDedicatedHostCollection
-
createDedicatedHost
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHost> createDedicatedHost(CreateDedicatedHostOptions createDedicatedHostOptions)
Create a dedicated host. This request creates a new dedicated host.- Parameters:
createDedicatedHostOptions- theCreateDedicatedHostOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHost
-
listDedicatedHostDisks
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDiskCollection> listDedicatedHostDisks(ListDedicatedHostDisksOptions listDedicatedHostDisksOptions)
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.- Parameters:
listDedicatedHostDisksOptions- theListDedicatedHostDisksOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostDiskCollection
-
getDedicatedHostDisk
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDisk> getDedicatedHostDisk(GetDedicatedHostDiskOptions getDedicatedHostDiskOptions)
Retrieve a dedicated host disk. This request retrieves a single dedicated host disk specified by the identifier in the URL.- Parameters:
getDedicatedHostDiskOptions- theGetDedicatedHostDiskOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostDisk
-
updateDedicatedHostDisk
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDisk> updateDedicatedHostDisk(UpdateDedicatedHostDiskOptions updateDedicatedHostDiskOptions)
Update a dedicated host disk. This request updates the dedicated host disk with the information in a provided patch.- Parameters:
updateDedicatedHostDiskOptions- theUpdateDedicatedHostDiskOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHostDisk
-
deleteDedicatedHost
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteDedicatedHost(DeleteDedicatedHostOptions deleteDedicatedHostOptions)
Delete a dedicated host. This request deletes a dedicated host.- Parameters:
deleteDedicatedHostOptions- theDeleteDedicatedHostOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getDedicatedHost
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHost> getDedicatedHost(GetDedicatedHostOptions getDedicatedHostOptions)
Retrieve a dedicated host. This request retrieves a single dedicated host specified by the identifiers in the URL.- Parameters:
getDedicatedHostOptions- theGetDedicatedHostOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHost
-
updateDedicatedHost
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHost> updateDedicatedHost(UpdateDedicatedHostOptions updateDedicatedHostOptions)
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.- Parameters:
updateDedicatedHostOptions- theUpdateDedicatedHostOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDedicatedHost
-
listBackupPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection> listBackupPolicies(ListBackupPoliciesOptions listBackupPoliciesOptions)
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.- Parameters:
listBackupPoliciesOptions- theListBackupPoliciesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyCollection
-
listBackupPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection> 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.- Returns:
- a
ServiceCallwith a result of typeBackupPolicyCollection
-
createBackupPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> createBackupPolicy(CreateBackupPolicyOptions createBackupPolicyOptions)
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.- Parameters:
createBackupPolicyOptions- theCreateBackupPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicy
-
listBackupPolicyJobs
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyJobCollection> listBackupPolicyJobs(ListBackupPolicyJobsOptions listBackupPolicyJobsOptions)
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.- Parameters:
listBackupPolicyJobsOptions- theListBackupPolicyJobsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyJobCollection
-
getBackupPolicyJob
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyJob> getBackupPolicyJob(GetBackupPolicyJobOptions getBackupPolicyJobOptions)
Retrieve a backup policy job. This request retrieves a single backup policy job specified by the identifier in the URL.- Parameters:
getBackupPolicyJobOptions- theGetBackupPolicyJobOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyJob
-
listBackupPolicyPlans
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlanCollection> listBackupPolicyPlans(ListBackupPolicyPlansOptions listBackupPolicyPlansOptions)
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.- Parameters:
listBackupPolicyPlansOptions- theListBackupPolicyPlansOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyPlanCollection
-
createBackupPolicyPlan
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan> createBackupPolicyPlan(CreateBackupPolicyPlanOptions createBackupPolicyPlanOptions)
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.- Parameters:
createBackupPolicyPlanOptions- theCreateBackupPolicyPlanOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyPlan
-
deleteBackupPolicyPlan
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan> deleteBackupPolicyPlan(DeleteBackupPolicyPlanOptions deleteBackupPolicyPlanOptions)
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.- Parameters:
deleteBackupPolicyPlanOptions- theDeleteBackupPolicyPlanOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyPlan
-
getBackupPolicyPlan
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan> getBackupPolicyPlan(GetBackupPolicyPlanOptions getBackupPolicyPlanOptions)
Retrieve a backup policy plan. This request retrieves a single backup policy plan specified by the identifier in the URL.- Parameters:
getBackupPolicyPlanOptions- theGetBackupPolicyPlanOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyPlan
-
updateBackupPolicyPlan
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlan> updateBackupPolicyPlan(UpdateBackupPolicyPlanOptions updateBackupPolicyPlanOptions)
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.- Parameters:
updateBackupPolicyPlanOptions- theUpdateBackupPolicyPlanOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicyPlan
-
deleteBackupPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> deleteBackupPolicy(DeleteBackupPolicyOptions deleteBackupPolicyOptions)
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.- Parameters:
deleteBackupPolicyOptions- theDeleteBackupPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicy
-
getBackupPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> getBackupPolicy(GetBackupPolicyOptions getBackupPolicyOptions)
Retrieve a backup policy. This request retrieves a single backup policy specified by the identifier in the URL.- Parameters:
getBackupPolicyOptions- theGetBackupPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicy
-
updateBackupPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> updateBackupPolicy(UpdateBackupPolicyOptions updateBackupPolicyOptions)
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.- Parameters:
updateBackupPolicyOptions- theUpdateBackupPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBackupPolicy
-
listPlacementGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection> listPlacementGroups(ListPlacementGroupsOptions listPlacementGroupsOptions)
List all placement groups. This request lists all placement groups in the region.- Parameters:
listPlacementGroupsOptions- theListPlacementGroupsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePlacementGroupCollection
-
listPlacementGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection> listPlacementGroups()
List all placement groups. This request lists all placement groups in the region.- Returns:
- a
ServiceCallwith a result of typePlacementGroupCollection
-
createPlacementGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroup> createPlacementGroup(CreatePlacementGroupOptions createPlacementGroupOptions)
Create a placement group. This request creates a new placement group.- Parameters:
createPlacementGroupOptions- theCreatePlacementGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePlacementGroup
-
deletePlacementGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deletePlacementGroup(DeletePlacementGroupOptions deletePlacementGroupOptions)
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.- Parameters:
deletePlacementGroupOptions- theDeletePlacementGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getPlacementGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroup> getPlacementGroup(GetPlacementGroupOptions getPlacementGroupOptions)
Retrieve a placement group. This request retrieves a single placement group specified by identifier in the URL.- Parameters:
getPlacementGroupOptions- theGetPlacementGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePlacementGroup
-
updatePlacementGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroup> updatePlacementGroup(UpdatePlacementGroupOptions updatePlacementGroupOptions)
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.- Parameters:
updatePlacementGroupOptions- theUpdatePlacementGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePlacementGroup
-
listBareMetalServerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection> listBareMetalServerProfiles(ListBareMetalServerProfilesOptions listBareMetalServerProfilesOptions)
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.- Parameters:
listBareMetalServerProfilesOptions- theListBareMetalServerProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerProfileCollection
-
listBareMetalServerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection> 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.- Returns:
- a
ServiceCallwith a result of typeBareMetalServerProfileCollection
-
getBareMetalServerProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfile> getBareMetalServerProfile(GetBareMetalServerProfileOptions getBareMetalServerProfileOptions)
Retrieve a bare metal server profile. This request retrieves a single bare metal server profile specified by the name in the URL.- Parameters:
getBareMetalServerProfileOptions- theGetBareMetalServerProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerProfile
-
listBareMetalServers
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection> listBareMetalServers(ListBareMetalServersOptions listBareMetalServersOptions)
List all bare metal servers. This request lists all bare metal servers in the region.- Parameters:
listBareMetalServersOptions- theListBareMetalServersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerCollection
-
listBareMetalServers
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection> listBareMetalServers()
List all bare metal servers. This request lists all bare metal servers in the region.- Returns:
- a
ServiceCallwith a result of typeBareMetalServerCollection
-
createBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServer> createBareMetalServer(CreateBareMetalServerOptions createBareMetalServerOptions)
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.- Parameters:
createBareMetalServerOptions- theCreateBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServer
-
createBareMetalServerConsoleAccessToken
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerConsoleAccessToken> createBareMetalServerConsoleAccessToken(CreateBareMetalServerConsoleAccessTokenOptions createBareMetalServerConsoleAccessTokenOptions)
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.- Parameters:
createBareMetalServerConsoleAccessTokenOptions- theCreateBareMetalServerConsoleAccessTokenOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerConsoleAccessToken
-
listBareMetalServerDisks
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDiskCollection> listBareMetalServerDisks(ListBareMetalServerDisksOptions listBareMetalServerDisksOptions)
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.- Parameters:
listBareMetalServerDisksOptions- theListBareMetalServerDisksOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerDiskCollection
-
getBareMetalServerDisk
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDisk> getBareMetalServerDisk(GetBareMetalServerDiskOptions getBareMetalServerDiskOptions)
Retrieve a bare metal server disk. This request retrieves a single disk specified by the identifier in the URL.- Parameters:
getBareMetalServerDiskOptions- theGetBareMetalServerDiskOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerDisk
-
updateBareMetalServerDisk
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDisk> updateBareMetalServerDisk(UpdateBareMetalServerDiskOptions updateBareMetalServerDiskOptions)
Update a bare metal server disk. This request updates the bare metal server disk with the information in a provided patch.- Parameters:
updateBareMetalServerDiskOptions- theUpdateBareMetalServerDiskOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerDisk
-
listBareMetalServerNetworkAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachmentCollection> listBareMetalServerNetworkAttachments(ListBareMetalServerNetworkAttachmentsOptions listBareMetalServerNetworkAttachmentsOptions)
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.- Parameters:
listBareMetalServerNetworkAttachmentsOptions- theListBareMetalServerNetworkAttachmentsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkAttachmentCollection
-
createBareMetalServerNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachment> createBareMetalServerNetworkAttachment(CreateBareMetalServerNetworkAttachmentOptions createBareMetalServerNetworkAttachmentOptions)
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.- Parameters:
createBareMetalServerNetworkAttachmentOptions- theCreateBareMetalServerNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkAttachment
-
deleteBareMetalServerNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteBareMetalServerNetworkAttachment(DeleteBareMetalServerNetworkAttachmentOptions deleteBareMetalServerNetworkAttachmentOptions)
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.- Parameters:
deleteBareMetalServerNetworkAttachmentOptions- theDeleteBareMetalServerNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getBareMetalServerNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachment> getBareMetalServerNetworkAttachment(GetBareMetalServerNetworkAttachmentOptions getBareMetalServerNetworkAttachmentOptions)
Retrieve a bare metal server network attachment. This request retrieves a single bare metal server network attachment specified by the identifier in the URL.- Parameters:
getBareMetalServerNetworkAttachmentOptions- theGetBareMetalServerNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkAttachment
-
updateBareMetalServerNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachment> updateBareMetalServerNetworkAttachment(UpdateBareMetalServerNetworkAttachmentOptions updateBareMetalServerNetworkAttachmentOptions)
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.- Parameters:
updateBareMetalServerNetworkAttachmentOptions- theUpdateBareMetalServerNetworkAttachmentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkAttachment
-
listBareMetalServerNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterfaceCollection> listBareMetalServerNetworkInterfaces(ListBareMetalServerNetworkInterfacesOptions listBareMetalServerNetworkInterfacesOptions)
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.- Parameters:
listBareMetalServerNetworkInterfacesOptions- theListBareMetalServerNetworkInterfacesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkInterfaceCollection
-
createBareMetalServerNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterface> createBareMetalServerNetworkInterface(CreateBareMetalServerNetworkInterfaceOptions createBareMetalServerNetworkInterfaceOptions)
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.- Parameters:
createBareMetalServerNetworkInterfaceOptions- theCreateBareMetalServerNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkInterface
-
deleteBareMetalServerNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteBareMetalServerNetworkInterface(DeleteBareMetalServerNetworkInterfaceOptions deleteBareMetalServerNetworkInterfaceOptions)
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.- Parameters:
deleteBareMetalServerNetworkInterfaceOptions- theDeleteBareMetalServerNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getBareMetalServerNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterface> getBareMetalServerNetworkInterface(GetBareMetalServerNetworkInterfaceOptions getBareMetalServerNetworkInterfaceOptions)
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.- Parameters:
getBareMetalServerNetworkInterfaceOptions- theGetBareMetalServerNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkInterface
-
updateBareMetalServerNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterface> updateBareMetalServerNetworkInterface(UpdateBareMetalServerNetworkInterfaceOptions updateBareMetalServerNetworkInterfaceOptions)
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.- Parameters:
updateBareMetalServerNetworkInterfaceOptions- theUpdateBareMetalServerNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerNetworkInterface
-
listBareMetalServerNetworkInterfaceFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection> listBareMetalServerNetworkInterfaceFloatingIps(ListBareMetalServerNetworkInterfaceFloatingIpsOptions listBareMetalServerNetworkInterfaceFloatingIpsOptions)
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.- Parameters:
listBareMetalServerNetworkInterfaceFloatingIpsOptions- theListBareMetalServerNetworkInterfaceFloatingIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIPUnpaginatedCollection
-
removeBareMetalServerNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeBareMetalServerNetworkInterfaceFloatingIp(RemoveBareMetalServerNetworkInterfaceFloatingIpOptions removeBareMetalServerNetworkInterfaceFloatingIpOptions)
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.- Parameters:
removeBareMetalServerNetworkInterfaceFloatingIpOptions- theRemoveBareMetalServerNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getBareMetalServerNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> getBareMetalServerNetworkInterfaceFloatingIp(GetBareMetalServerNetworkInterfaceFloatingIpOptions getBareMetalServerNetworkInterfaceFloatingIpOptions)
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.- Parameters:
getBareMetalServerNetworkInterfaceFloatingIpOptions- theGetBareMetalServerNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
addBareMetalServerNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> addBareMetalServerNetworkInterfaceFloatingIp(AddBareMetalServerNetworkInterfaceFloatingIpOptions addBareMetalServerNetworkInterfaceFloatingIpOptions)
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.- Parameters:
addBareMetalServerNetworkInterfaceFloatingIpOptions- theAddBareMetalServerNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
listBareMetalServerNetworkInterfaceIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionBareMetalServerNetworkInterfaceContext> listBareMetalServerNetworkInterfaceIps(ListBareMetalServerNetworkInterfaceIpsOptions listBareMetalServerNetworkInterfaceIpsOptions)
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.- Parameters:
listBareMetalServerNetworkInterfaceIpsOptions- theListBareMetalServerNetworkInterfaceIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPCollectionBareMetalServerNetworkInterfaceContext
-
getBareMetalServerNetworkInterfaceIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> getBareMetalServerNetworkInterfaceIp(GetBareMetalServerNetworkInterfaceIpOptions getBareMetalServerNetworkInterfaceIpOptions)
Retrieve the primary reserved IP. This request retrieves the primary reserved IP for a bare metal server network interface.- Parameters:
getBareMetalServerNetworkInterfaceIpOptions- theGetBareMetalServerNetworkInterfaceIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
deleteBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteBareMetalServer(DeleteBareMetalServerOptions deleteBareMetalServerOptions)
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.- Parameters:
deleteBareMetalServerOptions- theDeleteBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServer> getBareMetalServer(GetBareMetalServerOptions getBareMetalServerOptions)
Retrieve a bare metal server. This request retrieves a single bare metal server specified by the identifier in the URL.- Parameters:
getBareMetalServerOptions- theGetBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServer
-
updateBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServer> updateBareMetalServer(UpdateBareMetalServerOptions updateBareMetalServerOptions)
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.- Parameters:
updateBareMetalServerOptions- theUpdateBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServer
-
getBareMetalServerInitialization
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerInitialization> getBareMetalServerInitialization(GetBareMetalServerInitializationOptions getBareMetalServerInitializationOptions)
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.- Parameters:
getBareMetalServerInitializationOptions- theGetBareMetalServerInitializationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeBareMetalServerInitialization
-
restartBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> restartBareMetalServer(RestartBareMetalServerOptions restartBareMetalServerOptions)
Restart a bare metal server. This request restarts a bare metal server. It will run immediately regardless of the state of the server.- Parameters:
restartBareMetalServerOptions- theRestartBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
startBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> startBareMetalServer(StartBareMetalServerOptions startBareMetalServerOptions)
Start a bare metal server. This request starts a bare metal server. It will run immediately provided the server is stopped.- Parameters:
startBareMetalServerOptions- theStartBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
stopBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> stopBareMetalServer(StopBareMetalServerOptions stopBareMetalServerOptions)
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.- Parameters:
stopBareMetalServerOptions- theStopBareMetalServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listVolumeProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection> listVolumeProfiles(ListVolumeProfilesOptions listVolumeProfilesOptions)
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.- Parameters:
listVolumeProfilesOptions- theListVolumeProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeProfileCollection
-
listVolumeProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection> 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.- Returns:
- a
ServiceCallwith a result of typeVolumeProfileCollection
-
getVolumeProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfile> getVolumeProfile(GetVolumeProfileOptions getVolumeProfileOptions)
Retrieve a volume profile. This request retrieves a single volume profile specified by the name in the URL.- Parameters:
getVolumeProfileOptions- theGetVolumeProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeProfile
-
listVolumes
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection> listVolumes(ListVolumesOptions listVolumesOptions)
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.- Parameters:
listVolumesOptions- theListVolumesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolumeCollection
-
listVolumes
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection> 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.- Returns:
- a
ServiceCallwith a result of typeVolumeCollection
-
createVolume
public com.ibm.cloud.sdk.core.http.ServiceCall<Volume> createVolume(CreateVolumeOptions createVolumeOptions)
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.- Parameters:
createVolumeOptions- theCreateVolumeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolume
-
deleteVolume
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVolume(DeleteVolumeOptions deleteVolumeOptions)
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.- Parameters:
deleteVolumeOptions- theDeleteVolumeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVolume
public com.ibm.cloud.sdk.core.http.ServiceCall<Volume> getVolume(GetVolumeOptions getVolumeOptions)
Retrieve a volume. This request retrieves a single volume specified by the identifier in the URL.- Parameters:
getVolumeOptions- theGetVolumeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolume
-
updateVolume
public com.ibm.cloud.sdk.core.http.ServiceCall<Volume> updateVolume(UpdateVolumeOptions updateVolumeOptions)
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.- Parameters:
updateVolumeOptions- theUpdateVolumeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVolume
-
listSnapshotConsistencyGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection> listSnapshotConsistencyGroups(ListSnapshotConsistencyGroupsOptions listSnapshotConsistencyGroupsOptions)
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.- Parameters:
listSnapshotConsistencyGroupsOptions- theListSnapshotConsistencyGroupsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotConsistencyGroupCollection
-
listSnapshotConsistencyGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection> 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.- Returns:
- a
ServiceCallwith a result of typeSnapshotConsistencyGroupCollection
-
createSnapshotConsistencyGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup> createSnapshotConsistencyGroup(CreateSnapshotConsistencyGroupOptions createSnapshotConsistencyGroupOptions)
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.- Parameters:
createSnapshotConsistencyGroupOptions- theCreateSnapshotConsistencyGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotConsistencyGroup
-
deleteSnapshotConsistencyGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup> deleteSnapshotConsistencyGroup(DeleteSnapshotConsistencyGroupOptions deleteSnapshotConsistencyGroupOptions)
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.- Parameters:
deleteSnapshotConsistencyGroupOptions- theDeleteSnapshotConsistencyGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotConsistencyGroup
-
getSnapshotConsistencyGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup> getSnapshotConsistencyGroup(GetSnapshotConsistencyGroupOptions getSnapshotConsistencyGroupOptions)
Retrieve a snapshot consistency group. This request retrieves a single snapshot consistency group specified by the identifier in the URL.- Parameters:
getSnapshotConsistencyGroupOptions- theGetSnapshotConsistencyGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotConsistencyGroup
-
updateSnapshotConsistencyGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroup> updateSnapshotConsistencyGroup(UpdateSnapshotConsistencyGroupOptions updateSnapshotConsistencyGroupOptions)
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.- Parameters:
updateSnapshotConsistencyGroupOptions- theUpdateSnapshotConsistencyGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotConsistencyGroup
-
deleteSnapshots
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSnapshots(DeleteSnapshotsOptions deleteSnapshotsOptions)
Delete a filtered collection of snapshots. This request deletes all snapshots created from a specific source volume.- Parameters:
deleteSnapshotsOptions- theDeleteSnapshotsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listSnapshots
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection> listSnapshots(ListSnapshotsOptions listSnapshotsOptions)
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.- Parameters:
listSnapshotsOptions- theListSnapshotsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotCollection
-
listSnapshots
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection> 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.- Returns:
- a
ServiceCallwith a result of typeSnapshotCollection
-
createSnapshot
public com.ibm.cloud.sdk.core.http.ServiceCall<Snapshot> createSnapshot(CreateSnapshotOptions createSnapshotOptions)
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.- Parameters:
createSnapshotOptions- theCreateSnapshotOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshot
-
deleteSnapshot
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSnapshot(DeleteSnapshotOptions deleteSnapshotOptions)
Delete a snapshot. This request deletes a snapshot. This operation cannot be reversed.- Parameters:
deleteSnapshotOptions- theDeleteSnapshotOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSnapshot
public com.ibm.cloud.sdk.core.http.ServiceCall<Snapshot> getSnapshot(GetSnapshotOptions getSnapshotOptions)
Retrieve a snapshot. This request retrieves a single snapshot specified by the identifier in the URL.- Parameters:
getSnapshotOptions- theGetSnapshotOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshot
-
updateSnapshot
public com.ibm.cloud.sdk.core.http.ServiceCall<Snapshot> updateSnapshot(UpdateSnapshotOptions updateSnapshotOptions)
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.- Parameters:
updateSnapshotOptions- theUpdateSnapshotOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshot
-
listSnapshotClones
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCloneCollection> listSnapshotClones(ListSnapshotClonesOptions listSnapshotClonesOptions)
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.- Parameters:
listSnapshotClonesOptions- theListSnapshotClonesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotCloneCollection
-
deleteSnapshotClone
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSnapshotClone(DeleteSnapshotCloneOptions deleteSnapshotCloneOptions)
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.- Parameters:
deleteSnapshotCloneOptions- theDeleteSnapshotCloneOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSnapshotClone
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotClone> getSnapshotClone(GetSnapshotCloneOptions getSnapshotCloneOptions)
Retrieve a snapshot clone. This request retrieves a single clone specified by the snapshot identifier and zone name in the URL.- Parameters:
getSnapshotCloneOptions- theGetSnapshotCloneOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotClone
-
createSnapshotClone
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotClone> createSnapshotClone(CreateSnapshotCloneOptions createSnapshotCloneOptions)
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.- Parameters:
createSnapshotCloneOptions- theCreateSnapshotCloneOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSnapshotClone
-
listShareProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection> listShareProfiles(ListShareProfilesOptions listShareProfilesOptions)
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.- Parameters:
listShareProfilesOptions- theListShareProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareProfileCollection
-
listShareProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection> 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.- Returns:
- a
ServiceCallwith a result of typeShareProfileCollection
-
getShareProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfile> getShareProfile(GetShareProfileOptions getShareProfileOptions)
Retrieve a file share profile. This request retrieves a single file share profile specified by the name in the URL.- Parameters:
getShareProfileOptions- theGetShareProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareProfile
-
listShares
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection> listShares(ListSharesOptions listSharesOptions)
List all file shares. This request lists all file shares in the region.- Parameters:
listSharesOptions- theListSharesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareCollection
-
listShares
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection> listShares()
List all file shares. This request lists all file shares in the region.- Returns:
- a
ServiceCallwith a result of typeShareCollection
-
createShare
public com.ibm.cloud.sdk.core.http.ServiceCall<Share> createShare(CreateShareOptions createShareOptions)
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.- Parameters:
createShareOptions- theCreateShareOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShare
-
deleteShare
public com.ibm.cloud.sdk.core.http.ServiceCall<Share> deleteShare(DeleteShareOptions deleteShareOptions)
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.- Parameters:
deleteShareOptions- theDeleteShareOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShare
-
getShare
public com.ibm.cloud.sdk.core.http.ServiceCall<Share> getShare(GetShareOptions getShareOptions)
Retrieve a file share. This request retrieves a single file share specified by the identifier in the URL.- Parameters:
getShareOptions- theGetShareOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShare
-
updateShare
public com.ibm.cloud.sdk.core.http.ServiceCall<Share> updateShare(UpdateShareOptions updateShareOptions)
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.- Parameters:
updateShareOptions- theUpdateShareOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShare
-
failoverShare
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> failoverShare(FailoverShareOptions failoverShareOptions)
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.- Parameters:
failoverShareOptions- theFailoverShareOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listShareMountTargets
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTargetCollection> listShareMountTargets(ListShareMountTargetsOptions listShareMountTargetsOptions)
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.- Parameters:
listShareMountTargetsOptions- theListShareMountTargetsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareMountTargetCollection
-
createShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> createShareMountTarget(CreateShareMountTargetOptions createShareMountTargetOptions)
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.- Parameters:
createShareMountTargetOptions- theCreateShareMountTargetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareMountTarget
-
deleteShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> deleteShareMountTarget(DeleteShareMountTargetOptions deleteShareMountTargetOptions)
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.- Parameters:
deleteShareMountTargetOptions- theDeleteShareMountTargetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareMountTarget
-
getShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> getShareMountTarget(GetShareMountTargetOptions getShareMountTargetOptions)
Retrieve a share mount target. This request retrieves a single share mount target specified by the identifier in the URL.- Parameters:
getShareMountTargetOptions- theGetShareMountTargetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareMountTarget
-
updateShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> updateShareMountTarget(UpdateShareMountTargetOptions updateShareMountTargetOptions)
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.- Parameters:
updateShareMountTargetOptions- theUpdateShareMountTargetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareMountTarget
-
deleteShareSource
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteShareSource(DeleteShareSourceOptions deleteShareSourceOptions)
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.- Parameters:
deleteShareSourceOptions- theDeleteShareSourceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getShareSource
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareReference> getShareSource(GetShareSourceOptions getShareSourceOptions)
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.- Parameters:
getShareSourceOptions- theGetShareSourceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeShareReference
-
listRegions
public com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection> listRegions(ListRegionsOptions listRegionsOptions)
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.- Parameters:
listRegionsOptions- theListRegionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRegionCollection
-
listRegions
public com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection> 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.- Returns:
- a
ServiceCallwith a result of typeRegionCollection
-
getRegion
public com.ibm.cloud.sdk.core.http.ServiceCall<Region> getRegion(GetRegionOptions getRegionOptions)
Retrieve a region. This request retrieves a single region specified by the name in the URL.- Parameters:
getRegionOptions- theGetRegionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRegion
-
listRegionZones
public com.ibm.cloud.sdk.core.http.ServiceCall<ZoneCollection> listRegionZones(ListRegionZonesOptions listRegionZonesOptions)
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.- Parameters:
listRegionZonesOptions- theListRegionZonesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeZoneCollection
-
getRegionZone
public com.ibm.cloud.sdk.core.http.ServiceCall<Zone> getRegionZone(GetRegionZoneOptions getRegionZoneOptions)
Retrieve a zone. This request retrieves a single zone specified by the region and zone names in the URL.- Parameters:
getRegionZoneOptions- theGetRegionZoneOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeZone
-
listVirtualNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection> listVirtualNetworkInterfaces(ListVirtualNetworkInterfacesOptions listVirtualNetworkInterfacesOptions)
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.- Parameters:
listVirtualNetworkInterfacesOptions- theListVirtualNetworkInterfacesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVirtualNetworkInterfaceCollection
-
listVirtualNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection> 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.- Returns:
- a
ServiceCallwith a result of typeVirtualNetworkInterfaceCollection
-
createVirtualNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface> createVirtualNetworkInterface(CreateVirtualNetworkInterfaceOptions createVirtualNetworkInterfaceOptions)
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.- Parameters:
createVirtualNetworkInterfaceOptions- theCreateVirtualNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVirtualNetworkInterface
-
createVirtualNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface> 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.- Returns:
- a
ServiceCallwith a result of typeVirtualNetworkInterface
-
deleteVirtualNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVirtualNetworkInterfaces(DeleteVirtualNetworkInterfacesOptions deleteVirtualNetworkInterfacesOptions)
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.- Parameters:
deleteVirtualNetworkInterfacesOptions- theDeleteVirtualNetworkInterfacesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVirtualNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface> getVirtualNetworkInterface(GetVirtualNetworkInterfaceOptions getVirtualNetworkInterfaceOptions)
Retrieve a virtual network interface. This request retrieves a single virtual network interface specified by the identifier in the URL.- Parameters:
getVirtualNetworkInterfaceOptions- theGetVirtualNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVirtualNetworkInterface
-
updateVirtualNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface> updateVirtualNetworkInterface(UpdateVirtualNetworkInterfaceOptions updateVirtualNetworkInterfaceOptions)
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.- Parameters:
updateVirtualNetworkInterfaceOptions- theUpdateVirtualNetworkInterfaceOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVirtualNetworkInterface
-
listNetworkInterfaceFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollectionVirtualNetworkInterfaceContext> listNetworkInterfaceFloatingIps(ListNetworkInterfaceFloatingIpsOptions listNetworkInterfaceFloatingIpsOptions)
List all floating IPs associated with a virtual network interface. This request lists all floating IPs associated with a virtual network interface.- Parameters:
listNetworkInterfaceFloatingIpsOptions- theListNetworkInterfaceFloatingIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIPCollectionVirtualNetworkInterfaceContext
-
removeNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeNetworkInterfaceFloatingIp(RemoveNetworkInterfaceFloatingIpOptions removeNetworkInterfaceFloatingIpOptions)
Disassociate a floating IP from a virtual network interface. This request disassociates the specified floating IP from the specified virtual network interface.- Parameters:
removeNetworkInterfaceFloatingIpOptions- theRemoveNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPReference> getNetworkInterfaceFloatingIp(GetNetworkInterfaceFloatingIpOptions getNetworkInterfaceFloatingIpOptions)
Retrieve associated floating IP. This request retrieves a specified floating IP if it is associated with the virtual network interface specified in the URL.- Parameters:
getNetworkInterfaceFloatingIpOptions- theGetNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIPReference
-
addNetworkInterfaceFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPReference> addNetworkInterfaceFloatingIp(AddNetworkInterfaceFloatingIpOptions addNetworkInterfaceFloatingIpOptions)
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.- Parameters:
addNetworkInterfaceFloatingIpOptions- theAddNetworkInterfaceFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIPReference
-
listVirtualNetworkInterfaceIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionVirtualNetworkInterfaceContext> listVirtualNetworkInterfaceIps(ListVirtualNetworkInterfaceIpsOptions listVirtualNetworkInterfaceIpsOptions)
List all reserved IPs bound to a virtual network interface. This request lists all reserved IPs bound to a virtual network interface.- Parameters:
listVirtualNetworkInterfaceIpsOptions- theListVirtualNetworkInterfaceIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPCollectionVirtualNetworkInterfaceContext
-
removeVirtualNetworkInterfaceIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeVirtualNetworkInterfaceIp(RemoveVirtualNetworkInterfaceIpOptions removeVirtualNetworkInterfaceIpOptions)
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.- Parameters:
removeVirtualNetworkInterfaceIpOptions- theRemoveVirtualNetworkInterfaceIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVirtualNetworkInterfaceIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPReference> getVirtualNetworkInterfaceIp(GetVirtualNetworkInterfaceIpOptions getVirtualNetworkInterfaceIpOptions)
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.- Parameters:
getVirtualNetworkInterfaceIpOptions- theGetVirtualNetworkInterfaceIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPReference
-
addVirtualNetworkInterfaceIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPReference> addVirtualNetworkInterfaceIp(AddVirtualNetworkInterfaceIpOptions addVirtualNetworkInterfaceIpOptions)
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.- Parameters:
addVirtualNetworkInterfaceIpOptions- theAddVirtualNetworkInterfaceIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPReference
-
listPublicGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection> listPublicGateways(ListPublicGatewaysOptions listPublicGatewaysOptions)
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.- Parameters:
listPublicGatewaysOptions- theListPublicGatewaysOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePublicGatewayCollection
-
listPublicGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection> 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.- Returns:
- a
ServiceCallwith a result of typePublicGatewayCollection
-
createPublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway> createPublicGateway(CreatePublicGatewayOptions createPublicGatewayOptions)
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.- Parameters:
createPublicGatewayOptions- theCreatePublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePublicGateway
-
deletePublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deletePublicGateway(DeletePublicGatewayOptions deletePublicGatewayOptions)
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.- Parameters:
deletePublicGatewayOptions- theDeletePublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getPublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway> getPublicGateway(GetPublicGatewayOptions getPublicGatewayOptions)
Retrieve a public gateway. This request retrieves a single public gateway specified by the identifier in the URL.- Parameters:
getPublicGatewayOptions- theGetPublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePublicGateway
-
updatePublicGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway> updatePublicGateway(UpdatePublicGatewayOptions updatePublicGatewayOptions)
Update a public gateway. This request updates a public gateway's name.- Parameters:
updatePublicGatewayOptions- theUpdatePublicGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePublicGateway
-
listFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection> listFloatingIps(ListFloatingIpsOptions listFloatingIpsOptions)
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.- Parameters:
listFloatingIpsOptions- theListFloatingIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIPCollection
-
listFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection> 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.- Returns:
- a
ServiceCallwith a result of typeFloatingIPCollection
-
createFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> createFloatingIp(CreateFloatingIpOptions createFloatingIpOptions)
Reserve a floating IP. This request reserves a new floating IP.- Parameters:
createFloatingIpOptions- theCreateFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
deleteFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteFloatingIp(DeleteFloatingIpOptions deleteFloatingIpOptions)
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.- Parameters:
deleteFloatingIpOptions- theDeleteFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> getFloatingIp(GetFloatingIpOptions getFloatingIpOptions)
Retrieve a floating IP. This request retrieves a single floating IP specified by the identifier in the URL.- Parameters:
getFloatingIpOptions- theGetFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
updateFloatingIp
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIP> updateFloatingIp(UpdateFloatingIpOptions updateFloatingIpOptions)
Update a floating IP. This request updates a floating IP's name and/or target.- Parameters:
updateFloatingIpOptions- theUpdateFloatingIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFloatingIP
-
listNetworkAcls
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection> listNetworkAcls(ListNetworkAclsOptions listNetworkAclsOptions)
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.- Parameters:
listNetworkAclsOptions- theListNetworkAclsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACLCollection
-
listNetworkAcls
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection> 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.- Returns:
- a
ServiceCallwith a result of typeNetworkACLCollection
-
createNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL> createNetworkAcl(CreateNetworkAclOptions createNetworkAclOptions)
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.- Parameters:
createNetworkAclOptions- theCreateNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACL
-
deleteNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteNetworkAcl(DeleteNetworkAclOptions deleteNetworkAclOptions)
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.- Parameters:
deleteNetworkAclOptions- theDeleteNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL> getNetworkAcl(GetNetworkAclOptions getNetworkAclOptions)
Retrieve a network ACL. This request retrieves a single network ACL specified by the identifier in the URL.- Parameters:
getNetworkAclOptions- theGetNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACL
-
updateNetworkAcl
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACL> updateNetworkAcl(UpdateNetworkAclOptions updateNetworkAclOptions)
Update a network ACL. This request updates a network ACL's name.- Parameters:
updateNetworkAclOptions- theUpdateNetworkAclOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACL
-
listNetworkAclRules
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRuleCollection> listNetworkAclRules(ListNetworkAclRulesOptions listNetworkAclRulesOptions)
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.- Parameters:
listNetworkAclRulesOptions- theListNetworkAclRulesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACLRuleCollection
-
createNetworkAclRule
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRule> createNetworkAclRule(CreateNetworkAclRuleOptions createNetworkAclRuleOptions)
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.- Parameters:
createNetworkAclRuleOptions- theCreateNetworkAclRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACLRule
-
deleteNetworkAclRule
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteNetworkAclRule(DeleteNetworkAclRuleOptions deleteNetworkAclRuleOptions)
Delete a network ACL rule. This request deletes a rule. This operation cannot be reversed.- Parameters:
deleteNetworkAclRuleOptions- theDeleteNetworkAclRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getNetworkAclRule
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRule> getNetworkAclRule(GetNetworkAclRuleOptions getNetworkAclRuleOptions)
Retrieve a network ACL rule. This request retrieves a single rule specified by the identifier in the URL.- Parameters:
getNetworkAclRuleOptions- theGetNetworkAclRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACLRule
-
updateNetworkAclRule
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRule> updateNetworkAclRule(UpdateNetworkAclRuleOptions updateNetworkAclRuleOptions)
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.- Parameters:
updateNetworkAclRuleOptions- theUpdateNetworkAclRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeNetworkACLRule
-
listSecurityGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection> listSecurityGroups(ListSecurityGroupsOptions listSecurityGroupsOptions)
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.- Parameters:
listSecurityGroupsOptions- theListSecurityGroupsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupCollection
-
listSecurityGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection> 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.- Returns:
- a
ServiceCallwith a result of typeSecurityGroupCollection
-
createSecurityGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroup> createSecurityGroup(CreateSecurityGroupOptions createSecurityGroupOptions)
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.- Parameters:
createSecurityGroupOptions- theCreateSecurityGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroup
-
deleteSecurityGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSecurityGroup(DeleteSecurityGroupOptions deleteSecurityGroupOptions)
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.- Parameters:
deleteSecurityGroupOptions- theDeleteSecurityGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSecurityGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroup> getSecurityGroup(GetSecurityGroupOptions getSecurityGroupOptions)
Retrieve a security group. This request retrieves a single security group specified by the identifier in the URL path.- Parameters:
getSecurityGroupOptions- theGetSecurityGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroup
-
updateSecurityGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroup> updateSecurityGroup(UpdateSecurityGroupOptions updateSecurityGroupOptions)
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.- Parameters:
updateSecurityGroupOptions- theUpdateSecurityGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroup
-
listSecurityGroupRules
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRuleCollection> listSecurityGroupRules(ListSecurityGroupRulesOptions listSecurityGroupRulesOptions)
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.- Parameters:
listSecurityGroupRulesOptions- theListSecurityGroupRulesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupRuleCollection
-
createSecurityGroupRule
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRule> createSecurityGroupRule(CreateSecurityGroupRuleOptions createSecurityGroupRuleOptions)
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.- Parameters:
createSecurityGroupRuleOptions- theCreateSecurityGroupRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupRule
-
deleteSecurityGroupRule
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSecurityGroupRule(DeleteSecurityGroupRuleOptions deleteSecurityGroupRuleOptions)
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.- Parameters:
deleteSecurityGroupRuleOptions- theDeleteSecurityGroupRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSecurityGroupRule
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRule> getSecurityGroupRule(GetSecurityGroupRuleOptions getSecurityGroupRuleOptions)
Retrieve a security group rule. This request retrieves a single security group rule specified by the identifier in the URL path.- Parameters:
getSecurityGroupRuleOptions- theGetSecurityGroupRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupRule
-
updateSecurityGroupRule
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRule> updateSecurityGroupRule(UpdateSecurityGroupRuleOptions updateSecurityGroupRuleOptions)
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.- Parameters:
updateSecurityGroupRuleOptions- theUpdateSecurityGroupRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupRule
-
listSecurityGroupTargets
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetCollection> listSecurityGroupTargets(ListSecurityGroupTargetsOptions listSecurityGroupTargetsOptions)
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.- Parameters:
listSecurityGroupTargetsOptions- theListSecurityGroupTargetsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupTargetCollection
-
deleteSecurityGroupTargetBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSecurityGroupTargetBinding(DeleteSecurityGroupTargetBindingOptions deleteSecurityGroupTargetBindingOptions)
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.- Parameters:
deleteSecurityGroupTargetBindingOptions- theDeleteSecurityGroupTargetBindingOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getSecurityGroupTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetReference> getSecurityGroupTarget(GetSecurityGroupTargetOptions getSecurityGroupTargetOptions)
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.- Parameters:
getSecurityGroupTargetOptions- theGetSecurityGroupTargetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupTargetReference
-
createSecurityGroupTargetBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetReference> createSecurityGroupTargetBinding(CreateSecurityGroupTargetBindingOptions createSecurityGroupTargetBindingOptions)
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.- Parameters:
createSecurityGroupTargetBindingOptions- theCreateSecurityGroupTargetBindingOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeSecurityGroupTargetReference
-
listIkePolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection> listIkePolicies(ListIkePoliciesOptions listIkePoliciesOptions)
List all IKE policies. This request lists all IKE policies in the region.- Parameters:
listIkePoliciesOptions- theListIkePoliciesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIKEPolicyCollection
-
listIkePolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection> listIkePolicies()
List all IKE policies. This request lists all IKE policies in the region.- Returns:
- a
ServiceCallwith a result of typeIKEPolicyCollection
-
createIkePolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicy> createIkePolicy(CreateIkePolicyOptions createIkePolicyOptions)
Create an IKE policy. This request creates a new IKE policy.- Parameters:
createIkePolicyOptions- theCreateIkePolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIKEPolicy
-
deleteIkePolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteIkePolicy(DeleteIkePolicyOptions deleteIkePolicyOptions)
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.- Parameters:
deleteIkePolicyOptions- theDeleteIkePolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getIkePolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicy> getIkePolicy(GetIkePolicyOptions getIkePolicyOptions)
Retrieve an IKE policy. This request retrieves a single IKE policy specified by the identifier in the URL.- Parameters:
getIkePolicyOptions- theGetIkePolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIKEPolicy
-
updateIkePolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicy> updateIkePolicy(UpdateIkePolicyOptions updateIkePolicyOptions)
Update an IKE policy. This request updates the properties of an existing IKE policy.- Parameters:
updateIkePolicyOptions- theUpdateIkePolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIKEPolicy
-
listIkePolicyConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection> listIkePolicyConnections(ListIkePolicyConnectionsOptions listIkePolicyConnectionsOptions)
List all VPN gateway connections that use a specified IKE policy. This request lists all VPN gateway connections that use a policy.- Parameters:
listIkePolicyConnectionsOptions- theListIkePolicyConnectionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnectionCollection
-
listIpsecPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection> listIpsecPolicies(ListIpsecPoliciesOptions listIpsecPoliciesOptions)
List all IPsec policies. This request lists all IPsec policies in the region.- Parameters:
listIpsecPoliciesOptions- theListIpsecPoliciesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIPsecPolicyCollection
-
listIpsecPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection> listIpsecPolicies()
List all IPsec policies. This request lists all IPsec policies in the region.- Returns:
- a
ServiceCallwith a result of typeIPsecPolicyCollection
-
createIpsecPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicy> createIpsecPolicy(CreateIpsecPolicyOptions createIpsecPolicyOptions)
Create an IPsec policy. This request creates a new IPsec policy.- Parameters:
createIpsecPolicyOptions- theCreateIpsecPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIPsecPolicy
-
deleteIpsecPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteIpsecPolicy(DeleteIpsecPolicyOptions deleteIpsecPolicyOptions)
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.- Parameters:
deleteIpsecPolicyOptions- theDeleteIpsecPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getIpsecPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicy> getIpsecPolicy(GetIpsecPolicyOptions getIpsecPolicyOptions)
Retrieve an IPsec policy. This request retrieves a single IPsec policy specified by the identifier in the URL.- Parameters:
getIpsecPolicyOptions- theGetIpsecPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIPsecPolicy
-
updateIpsecPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicy> updateIpsecPolicy(UpdateIpsecPolicyOptions updateIpsecPolicyOptions)
Update an IPsec policy. This request updates the properties of an existing IPsec policy.- Parameters:
updateIpsecPolicyOptions- theUpdateIpsecPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeIPsecPolicy
-
listIpsecPolicyConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection> listIpsecPolicyConnections(ListIpsecPolicyConnectionsOptions listIpsecPolicyConnectionsOptions)
List all VPN gateway connections that use a specified IPsec policy. This request lists all VPN gateway connections that use a policy.- Parameters:
listIpsecPolicyConnectionsOptions- theListIpsecPolicyConnectionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnectionCollection
-
listVpnGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection> listVpnGateways(ListVpnGatewaysOptions listVpnGatewaysOptions)
List all VPN gateways. This request lists all VPN gateways in the region.- Parameters:
listVpnGatewaysOptions- theListVpnGatewaysOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayCollection
-
listVpnGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection> listVpnGateways()
List all VPN gateways. This request lists all VPN gateways in the region.- Returns:
- a
ServiceCallwith a result of typeVPNGatewayCollection
-
createVpnGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGateway> createVpnGateway(CreateVpnGatewayOptions createVpnGatewayOptions)
Create a VPN gateway. This request creates a new VPN gateway.- Parameters:
createVpnGatewayOptions- theCreateVpnGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGateway
-
deleteVpnGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpnGateway(DeleteVpnGatewayOptions deleteVpnGatewayOptions)
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.- Parameters:
deleteVpnGatewayOptions- theDeleteVpnGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpnGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGateway> getVpnGateway(GetVpnGatewayOptions getVpnGatewayOptions)
Retrieve a VPN gateway. This request retrieves a single VPN gateway specified by the identifier in the URL.- Parameters:
getVpnGatewayOptions- theGetVpnGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGateway
-
updateVpnGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGateway> updateVpnGateway(UpdateVpnGatewayOptions updateVpnGatewayOptions)
Update a VPN gateway. This request updates the properties of an existing VPN gateway.- Parameters:
updateVpnGatewayOptions- theUpdateVpnGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGateway
-
listVpnGatewayConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection> listVpnGatewayConnections(ListVpnGatewayConnectionsOptions listVpnGatewayConnectionsOptions)
List all connections of a VPN gateway. This request lists all connections of a VPN gateway.- Parameters:
listVpnGatewayConnectionsOptions- theListVpnGatewayConnectionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnectionCollection
-
createVpnGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnection> createVpnGatewayConnection(CreateVpnGatewayConnectionOptions createVpnGatewayConnectionOptions)
Create a connection for a VPN gateway. This request creates a new VPN gateway connection.- Parameters:
createVpnGatewayConnectionOptions- theCreateVpnGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnection
-
deleteVpnGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpnGatewayConnection(DeleteVpnGatewayConnectionOptions deleteVpnGatewayConnectionOptions)
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.- Parameters:
deleteVpnGatewayConnectionOptions- theDeleteVpnGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpnGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnection> getVpnGatewayConnection(GetVpnGatewayConnectionOptions getVpnGatewayConnectionOptions)
Retrieve a VPN gateway connection. This request retrieves a single VPN gateway connection specified by the identifier in the URL.- Parameters:
getVpnGatewayConnectionOptions- theGetVpnGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnection
-
updateVpnGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnection> updateVpnGatewayConnection(UpdateVpnGatewayConnectionOptions updateVpnGatewayConnectionOptions)
Update a VPN gateway connection. This request updates the properties of an existing VPN gateway connection.- Parameters:
updateVpnGatewayConnectionOptions- theUpdateVpnGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnection
-
listVpnGatewayConnectionLocalCidrs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionLocalCIDRs> listVpnGatewayConnectionLocalCidrs(ListVpnGatewayConnectionLocalCidrsOptions listVpnGatewayConnectionLocalCidrsOptions)
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.- Parameters:
listVpnGatewayConnectionLocalCidrsOptions- theListVpnGatewayConnectionLocalCidrsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnectionLocalCIDRs
-
removeVpnGatewayConnectionLocalCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeVpnGatewayConnectionLocalCidr(RemoveVpnGatewayConnectionLocalCidrOptions removeVpnGatewayConnectionLocalCidrOptions)
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.- Parameters:
removeVpnGatewayConnectionLocalCidrOptions- theRemoveVpnGatewayConnectionLocalCidrOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
checkVpnGatewayConnectionLocalCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> checkVpnGatewayConnectionLocalCidr(CheckVpnGatewayConnectionLocalCidrOptions checkVpnGatewayConnectionLocalCidrOptions)
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.- Parameters:
checkVpnGatewayConnectionLocalCidrOptions- theCheckVpnGatewayConnectionLocalCidrOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
addVpnGatewayConnectionLocalCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> addVpnGatewayConnectionLocalCidr(AddVpnGatewayConnectionLocalCidrOptions addVpnGatewayConnectionLocalCidrOptions)
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.- Parameters:
addVpnGatewayConnectionLocalCidrOptions- theAddVpnGatewayConnectionLocalCidrOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listVpnGatewayConnectionPeerCidrs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionPeerCIDRs> listVpnGatewayConnectionPeerCidrs(ListVpnGatewayConnectionPeerCidrsOptions listVpnGatewayConnectionPeerCidrsOptions)
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.- Parameters:
listVpnGatewayConnectionPeerCidrsOptions- theListVpnGatewayConnectionPeerCidrsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNGatewayConnectionPeerCIDRs
-
removeVpnGatewayConnectionPeerCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeVpnGatewayConnectionPeerCidr(RemoveVpnGatewayConnectionPeerCidrOptions removeVpnGatewayConnectionPeerCidrOptions)
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.- Parameters:
removeVpnGatewayConnectionPeerCidrOptions- theRemoveVpnGatewayConnectionPeerCidrOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
checkVpnGatewayConnectionPeerCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> checkVpnGatewayConnectionPeerCidr(CheckVpnGatewayConnectionPeerCidrOptions checkVpnGatewayConnectionPeerCidrOptions)
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.- Parameters:
checkVpnGatewayConnectionPeerCidrOptions- theCheckVpnGatewayConnectionPeerCidrOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
addVpnGatewayConnectionPeerCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> addVpnGatewayConnectionPeerCidr(AddVpnGatewayConnectionPeerCidrOptions addVpnGatewayConnectionPeerCidrOptions)
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.- Parameters:
addVpnGatewayConnectionPeerCidrOptions- theAddVpnGatewayConnectionPeerCidrOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listVpnServers
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection> listVpnServers(ListVpnServersOptions listVpnServersOptions)
List all VPN servers. This request lists all VPN servers.- Parameters:
listVpnServersOptions- theListVpnServersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerCollection
-
listVpnServers
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection> listVpnServers()
List all VPN servers. This request lists all VPN servers.- Returns:
- a
ServiceCallwith a result of typeVPNServerCollection
-
createVpnServer
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServer> createVpnServer(CreateVpnServerOptions createVpnServerOptions)
Create a VPN server. This request creates a new VPN server.- Parameters:
createVpnServerOptions- theCreateVpnServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServer
-
deleteVpnServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpnServer(DeleteVpnServerOptions deleteVpnServerOptions)
Delete a VPN server. This request deletes a VPN server. This operation cannot be reversed.- Parameters:
deleteVpnServerOptions- theDeleteVpnServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpnServer
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServer> getVpnServer(GetVpnServerOptions getVpnServerOptions)
Retrieve a VPN server. This request retrieves a single VPN server specified by the identifier in the URL.- Parameters:
getVpnServerOptions- theGetVpnServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServer
-
updateVpnServer
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServer> updateVpnServer(UpdateVpnServerOptions updateVpnServerOptions)
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.- Parameters:
updateVpnServerOptions- theUpdateVpnServerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServer
-
getVpnServerClientConfiguration
public com.ibm.cloud.sdk.core.http.ServiceCall<String> getVpnServerClientConfiguration(GetVpnServerClientConfigurationOptions getVpnServerClientConfigurationOptions)
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.- Parameters:
getVpnServerClientConfigurationOptions- theGetVpnServerClientConfigurationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeString
-
listVpnServerClients
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerClientCollection> listVpnServerClients(ListVpnServerClientsOptions listVpnServerClientsOptions)
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.- Parameters:
listVpnServerClientsOptions- theListVpnServerClientsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerClientCollection
-
deleteVpnServerClient
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpnServerClient(DeleteVpnServerClientOptions deleteVpnServerClientOptions)
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.- Parameters:
deleteVpnServerClientOptions- theDeleteVpnServerClientOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpnServerClient
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerClient> getVpnServerClient(GetVpnServerClientOptions getVpnServerClientOptions)
Retrieve a VPN client. This request retrieves a single VPN client specified by the identifier in the URL.- Parameters:
getVpnServerClientOptions- theGetVpnServerClientOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerClient
-
disconnectVpnClient
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> disconnectVpnClient(DisconnectVpnClientOptions disconnectVpnClientOptions)
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.- Parameters:
disconnectVpnClientOptions- theDisconnectVpnClientOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listVpnServerRoutes
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRouteCollection> listVpnServerRoutes(ListVpnServerRoutesOptions listVpnServerRoutesOptions)
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.- Parameters:
listVpnServerRoutesOptions- theListVpnServerRoutesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerRouteCollection
-
createVpnServerRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRoute> createVpnServerRoute(CreateVpnServerRouteOptions createVpnServerRouteOptions)
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.- Parameters:
createVpnServerRouteOptions- theCreateVpnServerRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerRoute
-
deleteVpnServerRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteVpnServerRoute(DeleteVpnServerRouteOptions deleteVpnServerRouteOptions)
Delete a VPN route. This request deletes a VPN route. This operation cannot be reversed.- Parameters:
deleteVpnServerRouteOptions- theDeleteVpnServerRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getVpnServerRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRoute> getVpnServerRoute(GetVpnServerRouteOptions getVpnServerRouteOptions)
Retrieve a VPN route. This request retrieves a single VPN route specified by the identifier in the URL.- Parameters:
getVpnServerRouteOptions- theGetVpnServerRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerRoute
-
updateVpnServerRoute
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRoute> updateVpnServerRoute(UpdateVpnServerRouteOptions updateVpnServerRouteOptions)
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.- Parameters:
updateVpnServerRouteOptions- theUpdateVpnServerRouteOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeVPNServerRoute
-
listLoadBalancerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection> listLoadBalancerProfiles(ListLoadBalancerProfilesOptions listLoadBalancerProfilesOptions)
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.- Parameters:
listLoadBalancerProfilesOptions- theListLoadBalancerProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerProfileCollection
-
listLoadBalancerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection> 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.- Returns:
- a
ServiceCallwith a result of typeLoadBalancerProfileCollection
-
getLoadBalancerProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfile> getLoadBalancerProfile(GetLoadBalancerProfileOptions getLoadBalancerProfileOptions)
Retrieve a load balancer profile. This request retrieves a load balancer profile specified by the name in the URL.- Parameters:
getLoadBalancerProfileOptions- theGetLoadBalancerProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerProfile
-
listLoadBalancers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection> listLoadBalancers(ListLoadBalancersOptions listLoadBalancersOptions)
List all load balancers. This request lists all load balancers in the region.- Parameters:
listLoadBalancersOptions- theListLoadBalancersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerCollection
-
listLoadBalancers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection> listLoadBalancers()
List all load balancers. This request lists all load balancers in the region.- Returns:
- a
ServiceCallwith a result of typeLoadBalancerCollection
-
createLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer> createLoadBalancer(CreateLoadBalancerOptions createLoadBalancerOptions)
Create a load balancer. This request creates and provisions a new load balancer.- Parameters:
createLoadBalancerOptions- theCreateLoadBalancerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancer
-
deleteLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancer(DeleteLoadBalancerOptions deleteLoadBalancerOptions)
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.- Parameters:
deleteLoadBalancerOptions- theDeleteLoadBalancerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer> getLoadBalancer(GetLoadBalancerOptions getLoadBalancerOptions)
Retrieve a load balancer. This request retrieves a single load balancer specified by the identifier in the URL path.- Parameters:
getLoadBalancerOptions- theGetLoadBalancerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancer
-
updateLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer> updateLoadBalancer(UpdateLoadBalancerOptions updateLoadBalancerOptions)
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`.- Parameters:
updateLoadBalancerOptions- theUpdateLoadBalancerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancer
-
getLoadBalancerStatistics
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerStatistics> getLoadBalancerStatistics(GetLoadBalancerStatisticsOptions getLoadBalancerStatisticsOptions)
List all statistics of a load balancer. This request lists statistics of a load balancer.- Parameters:
getLoadBalancerStatisticsOptions- theGetLoadBalancerStatisticsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerStatistics
-
listLoadBalancerListeners
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerCollection> listLoadBalancerListeners(ListLoadBalancerListenersOptions listLoadBalancerListenersOptions)
List all listeners for a load balancer. This request lists all listeners for a load balancer.- Parameters:
listLoadBalancerListenersOptions- theListLoadBalancerListenersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerCollection
-
createLoadBalancerListener
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListener> createLoadBalancerListener(CreateLoadBalancerListenerOptions createLoadBalancerListenerOptions)
Create a listener for a load balancer. This request creates a new listener for a load balancer.- Parameters:
createLoadBalancerListenerOptions- theCreateLoadBalancerListenerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListener
-
deleteLoadBalancerListener
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancerListener(DeleteLoadBalancerListenerOptions deleteLoadBalancerListenerOptions)
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.- Parameters:
deleteLoadBalancerListenerOptions- theDeleteLoadBalancerListenerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getLoadBalancerListener
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListener> getLoadBalancerListener(GetLoadBalancerListenerOptions getLoadBalancerListenerOptions)
Retrieve a load balancer listener. This request retrieves a single listener specified by the identifier in the URL path.- Parameters:
getLoadBalancerListenerOptions- theGetLoadBalancerListenerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListener
-
updateLoadBalancerListener
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListener> updateLoadBalancerListener(UpdateLoadBalancerListenerOptions updateLoadBalancerListenerOptions)
Update a load balancer listener. This request updates a load balancer listener from a listener patch.- Parameters:
updateLoadBalancerListenerOptions- theUpdateLoadBalancerListenerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListener
-
listLoadBalancerListenerPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyCollection> listLoadBalancerListenerPolicies(ListLoadBalancerListenerPoliciesOptions listLoadBalancerListenerPoliciesOptions)
List all policies for a load balancer listener. This request lists all policies for a load balancer listener.- Parameters:
listLoadBalancerListenerPoliciesOptions- theListLoadBalancerListenerPoliciesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicyCollection
-
createLoadBalancerListenerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy> createLoadBalancerListenerPolicy(CreateLoadBalancerListenerPolicyOptions createLoadBalancerListenerPolicyOptions)
Create a policy for a load balancer listener. Creates a new policy for a load balancer listener.- Parameters:
createLoadBalancerListenerPolicyOptions- theCreateLoadBalancerListenerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicy
-
deleteLoadBalancerListenerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancerListenerPolicy(DeleteLoadBalancerListenerPolicyOptions deleteLoadBalancerListenerPolicyOptions)
Delete a load balancer listener policy. Deletes a policy of the load balancer listener. This operation cannot be reversed.- Parameters:
deleteLoadBalancerListenerPolicyOptions- theDeleteLoadBalancerListenerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getLoadBalancerListenerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy> getLoadBalancerListenerPolicy(GetLoadBalancerListenerPolicyOptions getLoadBalancerListenerPolicyOptions)
Retrieve a load balancer listener policy. Retrieve a single policy specified by the identifier in the URL path.- Parameters:
getLoadBalancerListenerPolicyOptions- theGetLoadBalancerListenerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicy
-
updateLoadBalancerListenerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy> updateLoadBalancerListenerPolicy(UpdateLoadBalancerListenerPolicyOptions updateLoadBalancerListenerPolicyOptions)
Update a load balancer listener policy. Updates a policy from a policy patch.- Parameters:
updateLoadBalancerListenerPolicyOptions- theUpdateLoadBalancerListenerPolicyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicy
-
listLoadBalancerListenerPolicyRules
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRuleCollection> listLoadBalancerListenerPolicyRules(ListLoadBalancerListenerPolicyRulesOptions listLoadBalancerListenerPolicyRulesOptions)
List all rules of a load balancer listener policy. This request lists all rules of a load balancer listener policy.- Parameters:
listLoadBalancerListenerPolicyRulesOptions- theListLoadBalancerListenerPolicyRulesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicyRuleCollection
-
createLoadBalancerListenerPolicyRule
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRule> createLoadBalancerListenerPolicyRule(CreateLoadBalancerListenerPolicyRuleOptions createLoadBalancerListenerPolicyRuleOptions)
Create a rule for a load balancer listener policy. Creates a new rule for the load balancer listener policy.- Parameters:
createLoadBalancerListenerPolicyRuleOptions- theCreateLoadBalancerListenerPolicyRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicyRule
-
deleteLoadBalancerListenerPolicyRule
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancerListenerPolicyRule(DeleteLoadBalancerListenerPolicyRuleOptions deleteLoadBalancerListenerPolicyRuleOptions)
Delete a load balancer listener policy rule. Deletes a rule from the load balancer listener policy. This operation cannot be reversed.- Parameters:
deleteLoadBalancerListenerPolicyRuleOptions- theDeleteLoadBalancerListenerPolicyRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getLoadBalancerListenerPolicyRule
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRule> getLoadBalancerListenerPolicyRule(GetLoadBalancerListenerPolicyRuleOptions getLoadBalancerListenerPolicyRuleOptions)
Retrieve a load balancer listener policy rule. Retrieves a single rule specified by the identifier in the URL path.- Parameters:
getLoadBalancerListenerPolicyRuleOptions- theGetLoadBalancerListenerPolicyRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicyRule
-
updateLoadBalancerListenerPolicyRule
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRule> updateLoadBalancerListenerPolicyRule(UpdateLoadBalancerListenerPolicyRuleOptions updateLoadBalancerListenerPolicyRuleOptions)
Update a load balancer listener policy rule. Updates a rule of the load balancer listener policy.- Parameters:
updateLoadBalancerListenerPolicyRuleOptions- theUpdateLoadBalancerListenerPolicyRuleOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerListenerPolicyRule
-
listLoadBalancerPools
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolCollection> listLoadBalancerPools(ListLoadBalancerPoolsOptions listLoadBalancerPoolsOptions)
List all pools of a load balancer. This request lists all pools of a load balancer.- Parameters:
listLoadBalancerPoolsOptions- theListLoadBalancerPoolsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPoolCollection
-
createLoadBalancerPool
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPool> createLoadBalancerPool(CreateLoadBalancerPoolOptions createLoadBalancerPoolOptions)
Create a load balancer pool. This request creates a new pool from a pool prototype object.- Parameters:
createLoadBalancerPoolOptions- theCreateLoadBalancerPoolOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPool
-
deleteLoadBalancerPool
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancerPool(DeleteLoadBalancerPoolOptions deleteLoadBalancerPoolOptions)
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.- Parameters:
deleteLoadBalancerPoolOptions- theDeleteLoadBalancerPoolOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getLoadBalancerPool
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPool> getLoadBalancerPool(GetLoadBalancerPoolOptions getLoadBalancerPoolOptions)
Retrieve a load balancer pool. This request retrieves a single pool specified by the identifier in the URL path.- Parameters:
getLoadBalancerPoolOptions- theGetLoadBalancerPoolOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPool
-
updateLoadBalancerPool
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPool> updateLoadBalancerPool(UpdateLoadBalancerPoolOptions updateLoadBalancerPoolOptions)
Update a load balancer pool. This request updates a load balancer pool from a pool patch.- Parameters:
updateLoadBalancerPoolOptions- theUpdateLoadBalancerPoolOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPool
-
listLoadBalancerPoolMembers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMemberCollection> listLoadBalancerPoolMembers(ListLoadBalancerPoolMembersOptions listLoadBalancerPoolMembersOptions)
List all members of a load balancer pool. This request lists all members of a load balancer pool.- Parameters:
listLoadBalancerPoolMembersOptions- theListLoadBalancerPoolMembersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPoolMemberCollection
-
createLoadBalancerPoolMember
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMember> createLoadBalancerPoolMember(CreateLoadBalancerPoolMemberOptions createLoadBalancerPoolMemberOptions)
Create a member in a load balancer pool. This request creates a new member and adds the member to the pool.- Parameters:
createLoadBalancerPoolMemberOptions- theCreateLoadBalancerPoolMemberOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPoolMember
-
replaceLoadBalancerPoolMembers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMemberCollection> replaceLoadBalancerPoolMembers(ReplaceLoadBalancerPoolMembersOptions replaceLoadBalancerPoolMembersOptions)
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.- Parameters:
replaceLoadBalancerPoolMembersOptions- theReplaceLoadBalancerPoolMembersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPoolMemberCollection
-
deleteLoadBalancerPoolMember
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancerPoolMember(DeleteLoadBalancerPoolMemberOptions deleteLoadBalancerPoolMemberOptions)
Delete a load balancer pool member. This request deletes a member from the pool. This operation cannot be reversed.- Parameters:
deleteLoadBalancerPoolMemberOptions- theDeleteLoadBalancerPoolMemberOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getLoadBalancerPoolMember
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMember> getLoadBalancerPoolMember(GetLoadBalancerPoolMemberOptions getLoadBalancerPoolMemberOptions)
Retrieve a load balancer pool member. This request retrieves a single member specified by the identifier in the URL path.- Parameters:
getLoadBalancerPoolMemberOptions- theGetLoadBalancerPoolMemberOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPoolMember
-
updateLoadBalancerPoolMember
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMember> updateLoadBalancerPoolMember(UpdateLoadBalancerPoolMemberOptions updateLoadBalancerPoolMemberOptions)
Update a load balancer pool member. This request updates an existing member from a member patch.- Parameters:
updateLoadBalancerPoolMemberOptions- theUpdateLoadBalancerPoolMemberOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLoadBalancerPoolMember
-
listEndpointGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection> listEndpointGateways(ListEndpointGatewaysOptions listEndpointGatewaysOptions)
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.- Parameters:
listEndpointGatewaysOptions- theListEndpointGatewaysOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeEndpointGatewayCollection
-
listEndpointGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection> 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.- Returns:
- a
ServiceCallwith a result of typeEndpointGatewayCollection
-
createEndpointGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGateway> createEndpointGateway(CreateEndpointGatewayOptions createEndpointGatewayOptions)
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.- Parameters:
createEndpointGatewayOptions- theCreateEndpointGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeEndpointGateway
-
listEndpointGatewayIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionEndpointGatewayContext> listEndpointGatewayIps(ListEndpointGatewayIpsOptions listEndpointGatewayIpsOptions)
List all reserved IPs bound to an endpoint gateway. This request lists all reserved IPs bound to an endpoint gateway.- Parameters:
listEndpointGatewayIpsOptions- theListEndpointGatewayIpsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIPCollectionEndpointGatewayContext
-
removeEndpointGatewayIp
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeEndpointGatewayIp(RemoveEndpointGatewayIpOptions removeEndpointGatewayIpOptions)
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.- Parameters:
removeEndpointGatewayIpOptions- theRemoveEndpointGatewayIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getEndpointGatewayIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> getEndpointGatewayIp(GetEndpointGatewayIpOptions getEndpointGatewayIpOptions)
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.- Parameters:
getEndpointGatewayIpOptions- theGetEndpointGatewayIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
addEndpointGatewayIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> addEndpointGatewayIp(AddEndpointGatewayIpOptions addEndpointGatewayIpOptions)
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.- Parameters:
addEndpointGatewayIpOptions- theAddEndpointGatewayIpOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeReservedIP
-
deleteEndpointGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteEndpointGateway(DeleteEndpointGatewayOptions deleteEndpointGatewayOptions)
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.- Parameters:
deleteEndpointGatewayOptions- theDeleteEndpointGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getEndpointGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGateway> getEndpointGateway(GetEndpointGatewayOptions getEndpointGatewayOptions)
Retrieve an endpoint gateway. This request retrieves a single endpoint gateway specified by the identifier in the URL.- Parameters:
getEndpointGatewayOptions- theGetEndpointGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeEndpointGateway
-
updateEndpointGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGateway> updateEndpointGateway(UpdateEndpointGatewayOptions updateEndpointGatewayOptions)
Update an endpoint gateway. This request updates an endpoint gateway's name.- Parameters:
updateEndpointGatewayOptions- theUpdateEndpointGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeEndpointGateway
-
listFlowLogCollectors
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection> listFlowLogCollectors(ListFlowLogCollectorsOptions listFlowLogCollectorsOptions)
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.- Parameters:
listFlowLogCollectorsOptions- theListFlowLogCollectorsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFlowLogCollectorCollection
-
listFlowLogCollectors
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection> 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.- Returns:
- a
ServiceCallwith a result of typeFlowLogCollectorCollection
-
createFlowLogCollector
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollector> createFlowLogCollector(CreateFlowLogCollectorOptions createFlowLogCollectorOptions)
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.- Parameters:
createFlowLogCollectorOptions- theCreateFlowLogCollectorOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFlowLogCollector
-
deleteFlowLogCollector
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteFlowLogCollector(DeleteFlowLogCollectorOptions deleteFlowLogCollectorOptions)
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.- Parameters:
deleteFlowLogCollectorOptions- theDeleteFlowLogCollectorOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getFlowLogCollector
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollector> getFlowLogCollector(GetFlowLogCollectorOptions getFlowLogCollectorOptions)
Retrieve a flow log collector. This request retrieves a single flow log collector specified by the identifier in the URL.- Parameters:
getFlowLogCollectorOptions- theGetFlowLogCollectorOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFlowLogCollector
-
updateFlowLogCollector
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollector> updateFlowLogCollector(UpdateFlowLogCollectorOptions updateFlowLogCollectorOptions)
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.- Parameters:
updateFlowLogCollectorOptions- theUpdateFlowLogCollectorOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeFlowLogCollector
-
-