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.BaseService
The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual server instances, along with subnets, volumes, load balancers, and more. API Version: 2024-11-12
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SERVICE_NAME
Default service name used when configuring the `Vpc` client.static String
DEFAULT_SERVICE_URL
Default 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>
addVpnGatewayConnectionsLocalCidr(AddVpnGatewayConnectionsLocalCidrOptions addVpnGatewayConnectionsLocalCidrOptions)
Set a local CIDR on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
addVpnGatewayConnectionsPeerCidr(AddVpnGatewayConnectionsPeerCidrOptions addVpnGatewayConnectionsPeerCidrOptions)
Set a peer CIDR on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
checkVpnGatewayConnectionsLocalCidr(CheckVpnGatewayConnectionsLocalCidrOptions checkVpnGatewayConnectionsLocalCidrOptions)
Check if the specified local CIDR exists on a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
checkVpnGatewayConnectionsPeerCidr(CheckVpnGatewayConnectionsPeerCidrOptions checkVpnGatewayConnectionsPeerCidrOptions)
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<ClusterNetwork>
createClusterNetwork(CreateClusterNetworkOptions createClusterNetworkOptions)
Create a cluster network.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachment>
createClusterNetworkAttachment(CreateClusterNetworkAttachmentOptions createClusterNetworkAttachmentOptions)
Create a cluster network attachment.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface>
createClusterNetworkInterface(CreateClusterNetworkInterfaceOptions createClusterNetworkInterfaceOptions)
Create a cluster network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet>
createClusterNetworkSubnet(CreateClusterNetworkSubnetOptions createClusterNetworkSubnetOptions)
Create a cluster network subnet.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP>
createClusterNetworkSubnetReservedIp(CreateClusterNetworkSubnetReservedIpOptions createClusterNetworkSubnetReservedIpOptions)
Create a cluster network subnet reserved IP.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 export job for an image.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<PrivatePathServiceGateway>
createPrivatePathServiceGateway(CreatePrivatePathServiceGatewayOptions createPrivatePathServiceGatewayOptions)
Create a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicy>
createPrivatePathServiceGatewayAccountPolicy(CreatePrivatePathServiceGatewayAccountPolicyOptions createPrivatePathServiceGatewayAccountPolicyOptions)
Create an account policy for a private path service gateway.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<ClusterNetwork>
deleteClusterNetwork(DeleteClusterNetworkOptions deleteClusterNetworkOptions)
Delete a cluster network.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface>
deleteClusterNetworkInterface(DeleteClusterNetworkInterfaceOptions deleteClusterNetworkInterfaceOptions)
Delete a cluster network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet>
deleteClusterNetworkSubnet(DeleteClusterNetworkSubnetOptions deleteClusterNetworkSubnetOptions)
Delete a cluster network subnet.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP>
deleteClusterNetworkSubnetReservedIp(DeleteClusterNetworkSubnetReservedIpOptions deleteClusterNetworkSubnetReservedIpOptions)
Delete a cluster network subnet reserved IP.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<InstanceClusterNetworkAttachment>
deleteInstanceClusterNetworkAttachment(DeleteInstanceClusterNetworkAttachmentOptions deleteInstanceClusterNetworkAttachmentOptions)
Delete an instance cluster network attachment.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 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>
deletePrivatePathServiceGateway(DeletePrivatePathServiceGatewayOptions deletePrivatePathServiceGatewayOptions)
Delete a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deletePrivatePathServiceGatewayAccountPolicy(DeletePrivatePathServiceGatewayAccountPolicyOptions deletePrivatePathServiceGatewayAccountPolicyOptions)
Delete an account policy for a private path service gateway.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<Void>
deleteShareAccessorBinding(DeleteShareAccessorBindingOptions deleteShareAccessorBindingOptions)
Delete a file share accessor binding.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget>
deleteShareMountTarget(DeleteShareMountTargetOptions deleteShareMountTargetOptions)
Delete a file share mount target.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteShareSource(DeleteShareSourceOptions deleteShareSourceOptions)
Split the source file share from a replica file 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<VirtualNetworkInterface>
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>
denyPrivatePathServiceGatewayEndpointGatewayBinding(DenyPrivatePathServiceGatewayEndpointGatewayBindingOptions denyPrivatePathServiceGatewayEndpointGatewayBindingOptions)
Deny an endpoint gateway binding for a private path service gateway.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)
Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfile>
getBareMetalServerProfile(GetBareMetalServerProfileOptions getBareMetalServerProfileOptions)
Retrieve a bare metal server profile.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetwork>
getClusterNetwork(GetClusterNetworkOptions getClusterNetworkOptions)
Retrieve a cluster network.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface>
getClusterNetworkInterface(GetClusterNetworkInterfaceOptions getClusterNetworkInterfaceOptions)
Retrieve a cluster network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkProfile>
getClusterNetworkProfile(GetClusterNetworkProfileOptions getClusterNetworkProfileOptions)
Retrieve a cluster network profile.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet>
getClusterNetworkSubnet(GetClusterNetworkSubnetOptions getClusterNetworkSubnetOptions)
Retrieve a cluster network subnet.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP>
getClusterNetworkSubnetReservedIp(GetClusterNetworkSubnetReservedIpOptions getClusterNetworkSubnetReservedIpOptions)
Retrieve a cluster network subnet reserved IP.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.Long
getGeneration()
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<InstanceClusterNetworkAttachment>
getInstanceClusterNetworkAttachment(GetInstanceClusterNetworkAttachmentOptions getInstanceClusterNetworkAttachmentOptions)
Retrieve an instance cluster network attachment.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)
Deprecated.this method is deprecated and may be removed in a future releasecom.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 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<PrivatePathServiceGateway>
getPrivatePathServiceGateway(GetPrivatePathServiceGatewayOptions getPrivatePathServiceGatewayOptions)
Retrieve a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicy>
getPrivatePathServiceGatewayAccountPolicy(GetPrivatePathServiceGatewayAccountPolicyOptions getPrivatePathServiceGatewayAccountPolicyOptions)
Retrieve an account policy for a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayEndpointGatewayBinding>
getPrivatePathServiceGatewayEndpointGatewayBinding(GetPrivatePathServiceGatewayEndpointGatewayBindingOptions getPrivatePathServiceGatewayEndpointGatewayBindingOptions)
Retrieve an endpoint gateway binding for a private path service gateway.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<ShareAccessorBinding>
getShareAccessorBinding(GetShareAccessorBindingOptions getShareAccessorBindingOptions)
Retrieve a file share accessor binding.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget>
getShareMountTarget(GetShareMountTargetOptions getShareMountTargetOptions)
Retrieve a file 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.String
getVersion()
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 backup policies.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection>
listBackupPolicies(ListBackupPoliciesOptions listBackupPoliciesOptions)
List backup policies.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyJobCollection>
listBackupPolicyJobs(ListBackupPolicyJobsOptions listBackupPolicyJobsOptions)
List jobs for a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlanCollection>
listBackupPolicyPlans(ListBackupPolicyPlansOptions listBackupPolicyPlansOptions)
List plans for a backup policy.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDiskCollection>
listBareMetalServerDisks(ListBareMetalServerDisksOptions listBareMetalServerDisksOptions)
List disks on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachmentCollection>
listBareMetalServerNetworkAttachments(ListBareMetalServerNetworkAttachmentsOptions listBareMetalServerNetworkAttachmentsOptions)
List network attachments on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection>
listBareMetalServerNetworkInterfaceFloatingIps(ListBareMetalServerNetworkInterfaceFloatingIpsOptions listBareMetalServerNetworkInterfaceFloatingIpsOptions)
List floating IPs associated with a bare metal server network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionBareMetalServerNetworkInterfaceContext>
listBareMetalServerNetworkInterfaceIps(ListBareMetalServerNetworkInterfaceIpsOptions listBareMetalServerNetworkInterfaceIpsOptions)
Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterfaceCollection>
listBareMetalServerNetworkInterfaces(ListBareMetalServerNetworkInterfacesOptions listBareMetalServerNetworkInterfacesOptions)
List network interfaces on a bare metal server.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection>
listBareMetalServerProfiles()
List bare metal server profiles.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection>
listBareMetalServerProfiles(ListBareMetalServerProfilesOptions listBareMetalServerProfilesOptions)
List bare metal server profiles.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection>
listBareMetalServers()
List bare metal servers.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection>
listBareMetalServers(ListBareMetalServersOptions listBareMetalServersOptions)
List bare metal servers.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterfaceCollection>
listClusterNetworkInterfaces(ListClusterNetworkInterfacesOptions listClusterNetworkInterfacesOptions)
List cluster network interfaces.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkProfileCollection>
listClusterNetworkProfiles()
List cluster network profiles.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkProfileCollection>
listClusterNetworkProfiles(ListClusterNetworkProfilesOptions listClusterNetworkProfilesOptions)
List cluster network profiles.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkCollection>
listClusterNetworks()
List cluster networks.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkCollection>
listClusterNetworks(ListClusterNetworksOptions listClusterNetworksOptions)
List cluster networks.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIPCollection>
listClusterNetworkSubnetReservedIps(ListClusterNetworkSubnetReservedIpsOptions listClusterNetworkSubnetReservedIpsOptions)
List cluster network subnet reserved IPs.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetCollection>
listClusterNetworkSubnets(ListClusterNetworkSubnetsOptions listClusterNetworkSubnetsOptions)
List cluster network subnets.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDiskCollection>
listDedicatedHostDisks(ListDedicatedHostDisksOptions listDedicatedHostDisksOptions)
List disks on a dedicated host.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection>
listDedicatedHostGroups()
List dedicated host groups.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection>
listDedicatedHostGroups(ListDedicatedHostGroupsOptions listDedicatedHostGroupsOptions)
List dedicated host groups.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection>
listDedicatedHostProfiles()
List dedicated host profiles.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection>
listDedicatedHostProfiles(ListDedicatedHostProfilesOptions listDedicatedHostProfilesOptions)
List dedicated host profiles.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection>
listDedicatedHosts()
List dedicated hosts.com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection>
listDedicatedHosts(ListDedicatedHostsOptions listDedicatedHostsOptions)
List dedicated hosts.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionEndpointGatewayContext>
listEndpointGatewayIps(ListEndpointGatewayIpsOptions listEndpointGatewayIpsOptions)
List reserved IPs bound to an endpoint gateway.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection>
listEndpointGateways()
List endpoint gateways.com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection>
listEndpointGateways(ListEndpointGatewaysOptions listEndpointGatewaysOptions)
List endpoint gateways.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection>
listFloatingIps()
List floating IPs.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection>
listFloatingIps(ListFloatingIpsOptions listFloatingIpsOptions)
List floating IPs.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection>
listFlowLogCollectors()
List flow log collectors.com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection>
listFlowLogCollectors(ListFlowLogCollectorsOptions listFlowLogCollectorsOptions)
List flow log collectors.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection>
listIkePolicies()
List IKE policies.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection>
listIkePolicies(ListIkePoliciesOptions listIkePoliciesOptions)
List IKE policies.com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyConnectionCollection>
listIkePolicyConnections(ListIkePolicyConnectionsOptions listIkePolicyConnectionsOptions)
List VPN gateway connections that use a specified IKE policy.com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJobUnpaginatedCollection>
listImageExportJobs(ListImageExportJobsOptions listImageExportJobsOptions)
List export jobs for an image.com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection>
listImages()
List images.com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection>
listImages(ListImagesOptions listImagesOptions)
List images.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachmentCollection>
listInstanceClusterNetworkAttachments(ListInstanceClusterNetworkAttachmentsOptions listInstanceClusterNetworkAttachmentsOptions)
List cluster network attachments on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDiskCollection>
listInstanceDisks(ListInstanceDisksOptions listInstanceDisksOptions)
List disks on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerActionsCollection>
listInstanceGroupManagerActions(ListInstanceGroupManagerActionsOptions listInstanceGroupManagerActionsOptions)
List actions for an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicyCollection>
listInstanceGroupManagerPolicies(ListInstanceGroupManagerPoliciesOptions listInstanceGroupManagerPoliciesOptions)
List policies for an instance group manager.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerCollection>
listInstanceGroupManagers(ListInstanceGroupManagersOptions listInstanceGroupManagersOptions)
List managers for an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembershipCollection>
listInstanceGroupMemberships(ListInstanceGroupMembershipsOptions listInstanceGroupMembershipsOptions)
List memberships for an instance group.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection>
listInstanceGroups()
List instance groups.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection>
listInstanceGroups(ListInstanceGroupsOptions listInstanceGroupsOptions)
List instance groups.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachmentCollection>
listInstanceNetworkAttachments(ListInstanceNetworkAttachmentsOptions listInstanceNetworkAttachmentsOptions)
List network attachments on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection>
listInstanceNetworkInterfaceFloatingIps(ListInstanceNetworkInterfaceFloatingIpsOptions listInstanceNetworkInterfaceFloatingIpsOptions)
List floating IPs associated with an instance network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionInstanceNetworkInterfaceContext>
listInstanceNetworkInterfaceIps(ListInstanceNetworkInterfaceIpsOptions listInstanceNetworkInterfaceIpsOptions)
Deprecated.this method is deprecated and may be removed in a future releasecom.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterfaceUnpaginatedCollection>
listInstanceNetworkInterfaces(ListInstanceNetworkInterfacesOptions listInstanceNetworkInterfacesOptions)
List network interfaces on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection>
listInstanceProfiles()
List instance profiles.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection>
listInstanceProfiles(ListInstanceProfilesOptions listInstanceProfilesOptions)
List instance profiles.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection>
listInstances()
List instances.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection>
listInstances(ListInstancesOptions listInstancesOptions)
List instances.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection>
listInstanceTemplates()
List instance templates.com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection>
listInstanceTemplates(ListInstanceTemplatesOptions listInstanceTemplatesOptions)
List instance templates.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachmentCollection>
listInstanceVolumeAttachments(ListInstanceVolumeAttachmentsOptions listInstanceVolumeAttachmentsOptions)
List volumes attachments on an instance.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection>
listIpsecPolicies()
List IPsec policies.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection>
listIpsecPolicies(ListIpsecPoliciesOptions listIpsecPoliciesOptions)
List IPsec policies.com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyConnectionCollection>
listIpsecPolicyConnections(ListIpsecPolicyConnectionsOptions listIpsecPolicyConnectionsOptions)
List VPN gateway connections that use a specified IPsec policy.com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection>
listKeys()
List keys.com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection>
listKeys(ListKeysOptions listKeysOptions)
List keys.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyCollection>
listLoadBalancerListenerPolicies(ListLoadBalancerListenerPoliciesOptions listLoadBalancerListenerPoliciesOptions)
List policies for a load balancer listener.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRuleCollection>
listLoadBalancerListenerPolicyRules(ListLoadBalancerListenerPolicyRulesOptions listLoadBalancerListenerPolicyRulesOptions)
List rules of a load balancer listener policy.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerCollection>
listLoadBalancerListeners(ListLoadBalancerListenersOptions listLoadBalancerListenersOptions)
List listeners for a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMemberCollection>
listLoadBalancerPoolMembers(ListLoadBalancerPoolMembersOptions listLoadBalancerPoolMembersOptions)
List members of a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolCollection>
listLoadBalancerPools(ListLoadBalancerPoolsOptions listLoadBalancerPoolsOptions)
List pools of a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection>
listLoadBalancerProfiles()
List load balancer profiles.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection>
listLoadBalancerProfiles(ListLoadBalancerProfilesOptions listLoadBalancerProfilesOptions)
List load balancer profiles.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection>
listLoadBalancers()
List load balancers.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection>
listLoadBalancers(ListLoadBalancersOptions listLoadBalancersOptions)
List load balancers.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRuleCollection>
listNetworkAclRules(ListNetworkAclRulesOptions listNetworkAclRulesOptions)
List rules for a network ACL.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection>
listNetworkAcls()
List network ACLs.com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection>
listNetworkAcls(ListNetworkAclsOptions listNetworkAclsOptions)
List network ACLs.com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollectionVirtualNetworkInterfaceContext>
listNetworkInterfaceFloatingIps(ListNetworkInterfaceFloatingIpsOptions listNetworkInterfaceFloatingIpsOptions)
List floating IPs associated with a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection>
listOperatingSystems()
List operating systems.com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection>
listOperatingSystems(ListOperatingSystemsOptions listOperatingSystemsOptions)
List operating systems.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection>
listPlacementGroups()
List placement groups.com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection>
listPlacementGroups(ListPlacementGroupsOptions listPlacementGroupsOptions)
List placement groups.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicyCollection>
listPrivatePathServiceGatewayAccountPolicies(ListPrivatePathServiceGatewayAccountPoliciesOptions listPrivatePathServiceGatewayAccountPoliciesOptions)
List account policies for a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayEndpointGatewayBindingCollection>
listPrivatePathServiceGatewayEndpointGatewayBindings(ListPrivatePathServiceGatewayEndpointGatewayBindingsOptions listPrivatePathServiceGatewayEndpointGatewayBindingsOptions)
List endpoint gateway bindings for a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayCollection>
listPrivatePathServiceGateways()
List private path service gateways.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayCollection>
listPrivatePathServiceGateways(ListPrivatePathServiceGatewaysOptions listPrivatePathServiceGatewaysOptions)
List private path service gateways.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection>
listPublicGateways()
List public gateways.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection>
listPublicGateways(ListPublicGatewaysOptions listPublicGatewaysOptions)
List public gateways.com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection>
listRegions()
List regions.com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection>
listRegions(ListRegionsOptions listRegionsOptions)
List regions.com.ibm.cloud.sdk.core.http.ServiceCall<ZoneCollection>
listRegionZones(ListRegionZonesOptions listRegionZonesOptions)
List zones in a region.com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection>
listReservations()
List reservations.com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection>
listReservations(ListReservationsOptions listReservationsOptions)
List reservations.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRuleCollection>
listSecurityGroupRules(ListSecurityGroupRulesOptions listSecurityGroupRulesOptions)
List rules in a security group.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection>
listSecurityGroups()
List security groups.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection>
listSecurityGroups(ListSecurityGroupsOptions listSecurityGroupsOptions)
List security groups.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetCollection>
listSecurityGroupTargets(ListSecurityGroupTargetsOptions listSecurityGroupTargetsOptions)
List targets associated with a security group.com.ibm.cloud.sdk.core.http.ServiceCall<ShareAccessorBindingCollection>
listShareAccessorBindings(ListShareAccessorBindingsOptions listShareAccessorBindingsOptions)
List accessor bindings for a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTargetCollection>
listShareMountTargets(ListShareMountTargetsOptions listShareMountTargetsOptions)
List mount targets for a file share.com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection>
listShareProfiles()
List file share profiles.com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection>
listShareProfiles(ListShareProfilesOptions listShareProfilesOptions)
List file share profiles.com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection>
listShares()
List file shares.com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection>
listShares(ListSharesOptions listSharesOptions)
List file shares.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCloneCollection>
listSnapshotClones(ListSnapshotClonesOptions listSnapshotClonesOptions)
List clones for a snapshot.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection>
listSnapshotConsistencyGroups()
List snapshot consistency groups.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection>
listSnapshotConsistencyGroups(ListSnapshotConsistencyGroupsOptions listSnapshotConsistencyGroupsOptions)
List snapshot consistency groups.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection>
listSnapshots()
List snapshots.com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection>
listSnapshots(ListSnapshotsOptions listSnapshotsOptions)
List snapshots.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollection>
listSubnetReservedIps(ListSubnetReservedIpsOptions listSubnetReservedIpsOptions)
List reserved IPs in a subnet.com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection>
listSubnets()
List subnets.com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection>
listSubnets(ListSubnetsOptions listSubnetsOptions)
List subnets.com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionVirtualNetworkInterfaceContext>
listVirtualNetworkInterfaceIps(ListVirtualNetworkInterfaceIpsOptions listVirtualNetworkInterfaceIpsOptions)
List reserved IPs bound to a virtual network interface.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection>
listVirtualNetworkInterfaces()
List virtual network interfaces.com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection>
listVirtualNetworkInterfaces(ListVirtualNetworkInterfacesOptions listVirtualNetworkInterfacesOptions)
List virtual network interfaces.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection>
listVolumeProfiles()
List volume profiles.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection>
listVolumeProfiles(ListVolumeProfilesOptions listVolumeProfilesOptions)
List volume profiles.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection>
listVolumes()
List volumes.com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection>
listVolumes(ListVolumesOptions listVolumesOptions)
List volumes.com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefixCollection>
listVpcAddressPrefixes(ListVpcAddressPrefixesOptions listVpcAddressPrefixesOptions)
List address prefixes for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBindingCollection>
listVpcDnsResolutionBindings(ListVpcDnsResolutionBindingsOptions listVpcDnsResolutionBindingsOptions)
List 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 routes in a VPC routing table.com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTableCollection>
listVpcRoutingTables(ListVpcRoutingTablesOptions listVpcRoutingTablesOptions)
List routing tables for a VPC.com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection>
listVpcs()
List VPCs.com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection>
listVpcs(ListVpcsOptions listVpcsOptions)
List VPCs.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection>
listVpnGatewayConnections(ListVpnGatewayConnectionsOptions listVpnGatewayConnectionsOptions)
List connections of a VPN gateway.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCIDRs>
listVpnGatewayConnectionsLocalCidrs(ListVpnGatewayConnectionsLocalCidrsOptions listVpnGatewayConnectionsLocalCidrsOptions)
List local CIDRs for a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCIDRs>
listVpnGatewayConnectionsPeerCidrs(ListVpnGatewayConnectionsPeerCidrsOptions listVpnGatewayConnectionsPeerCidrsOptions)
List peer CIDRs for a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection>
listVpnGateways()
List VPN gateways.com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection>
listVpnGateways(ListVpnGatewaysOptions listVpnGatewaysOptions)
List VPN gateways.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerClientCollection>
listVpnServerClients(ListVpnServerClientsOptions listVpnServerClientsOptions)
List VPN clients for a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRouteCollection>
listVpnServerRoutes(ListVpnServerRoutesOptions listVpnServerRoutesOptions)
List VPN routes for a VPN server.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection>
listVpnServers()
List VPN servers.com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection>
listVpnServers(ListVpnServersOptions listVpnServersOptions)
List VPN servers.static Vpc
newInstance()
Class method which constructs an instance of the `Vpc` client.static Vpc
newInstance(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>
permitPrivatePathServiceGatewayEndpointGatewayBinding(PermitPrivatePathServiceGatewayEndpointGatewayBindingOptions permitPrivatePathServiceGatewayEndpointGatewayBindingOptions)
Permit an endpoint gateway binding for a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
publishPrivatePathServiceGateway(PublishPrivatePathServiceGatewayOptions publishPrivatePathServiceGatewayOptions)
Publish a private path service gateway.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>
removeVpnGatewayConnectionsLocalCidr(RemoveVpnGatewayConnectionsLocalCidrOptions removeVpnGatewayConnectionsLocalCidrOptions)
Remove a local CIDR from a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
removeVpnGatewayConnectionsPeerCidr(RemoveVpnGatewayConnectionsPeerCidrOptions removeVpnGatewayConnectionsPeerCidrOptions)
Remove a peer CIDR from a VPN gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerInitialization>
replaceBareMetalServerInitialization(ReplaceBareMetalServerInitializationOptions replaceBareMetalServerInitializationOptions)
Reinitialize a bare metal server.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.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
revokeAccountForPrivatePathServiceGateway(RevokeAccountForPrivatePathServiceGatewayOptions revokeAccountForPrivatePathServiceGatewayOptions)
Revoke access to a private path service gateway for an account.void
setGeneration(long generation)
Sets the generation.com.ibm.cloud.sdk.core.http.ServiceCall<PublicGateway>
setSubnetPublicGateway(SetSubnetPublicGatewayOptions setSubnetPublicGatewayOptions)
Attach a public gateway to a subnet.void
setVersion(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>
unpublishPrivatePathServiceGateway(UnpublishPrivatePathServiceGatewayOptions unpublishPrivatePathServiceGatewayOptions)
Unpublish a private path service gateway.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<ClusterNetwork>
updateClusterNetwork(UpdateClusterNetworkOptions updateClusterNetworkOptions)
Update a cluster.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface>
updateClusterNetworkInterface(UpdateClusterNetworkInterfaceOptions updateClusterNetworkInterfaceOptions)
Update a cluster network interface.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet>
updateClusterNetworkSubnet(UpdateClusterNetworkSubnetOptions updateClusterNetworkSubnetOptions)
Update a cluster network subnet.com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP>
updateClusterNetworkSubnetReservedIp(UpdateClusterNetworkSubnetReservedIpOptions updateClusterNetworkSubnetReservedIpOptions)
Update a cluster network subnet reserved IP.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<Void>
updateFirmwareForBareMetalServer(UpdateFirmwareForBareMetalServerOptions updateFirmwareForBareMetalServerOptions)
Update firmware for a bare metal server.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<InstanceClusterNetworkAttachment>
updateInstanceClusterNetworkAttachment(UpdateInstanceClusterNetworkAttachmentOptions updateInstanceClusterNetworkAttachmentOptions)
Update an instance cluster network attachment.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<PrivatePathServiceGateway>
updatePrivatePathServiceGateway(UpdatePrivatePathServiceGatewayOptions updatePrivatePathServiceGatewayOptions)
Update a private path service gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicy>
updatePrivatePathServiceGatewayAccountPolicy(UpdatePrivatePathServiceGatewayAccountPolicyOptions updatePrivatePathServiceGatewayAccountPolicyOptions)
Update an account policy for a private path service gateway.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 file 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
- theAuthenticator
instance 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 `2024-04-30` and `2024-11-13`.- 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 VPCs. This request lists 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
- theListVpcsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPCCollection
-
listVpcs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCCollection> listVpcs()
List VPCs. This request lists 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
ServiceCall
with 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
- theCreateVpcOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
ServiceCall
with 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, endpoint gateways, and private path service 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
- theDeleteVpcOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpcOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcDefaultNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcDefaultRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcDefaultSecurityGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDefaultSecurityGroup
-
listVpcAddressPrefixes
public com.ibm.cloud.sdk.core.http.ServiceCall<AddressPrefixCollection> listVpcAddressPrefixes(ListVpcAddressPrefixesOptions listVpcAddressPrefixesOptions)
List address prefixes for a VPC. This request lists address pool prefixes for a VPC.- Parameters:
listVpcAddressPrefixesOptions
- theListVpcAddressPrefixesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateVpcAddressPrefixOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpcAddressPrefixOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcAddressPrefixOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpcAddressPrefixOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeAddressPrefix
-
listVpcDnsResolutionBindings
public com.ibm.cloud.sdk.core.http.ServiceCall<VPCDNSResolutionBindingCollection> listVpcDnsResolutionBindings(ListVpcDnsResolutionBindingsOptions listVpcDnsResolutionBindingsOptions)
List DNS resolution bindings for a VPC. This request lists 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
- theListVpcDnsResolutionBindingsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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-vpe-dns-sharing) for more information.- Parameters:
createVpcDnsResolutionBindingOptions
- theCreateVpcDnsResolutionBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpcDnsResolutionBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcDnsResolutionBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpcDnsResolutionBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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 routes in a VPC's default routing table. This request lists 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
- theListVpcRoutesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateVpcRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpcRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpcRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRoute
-
listVpcRoutingTables
public com.ibm.cloud.sdk.core.http.ServiceCall<RoutingTableCollection> listVpcRoutingTables(ListVpcRoutingTablesOptions listVpcRoutingTablesOptions)
List routing tables for a VPC. This request lists 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
- theListVpcRoutingTablesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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. At present, the routing table's `resource_group` will be inherited from its VPC, but may be specifiable in the future.- Parameters:
createVpcRoutingTableOptions
- theCreateVpcRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpcRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpcRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRoutingTable
-
listVpcRoutingTableRoutes
public com.ibm.cloud.sdk.core.http.ServiceCall<RouteCollection> listVpcRoutingTableRoutes(ListVpcRoutingTableRoutesOptions listVpcRoutingTableRoutesOptions)
List routes in a VPC routing table. This request lists 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
- theListVpcRoutingTableRoutesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateVpcRoutingTableRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpcRoutingTableRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpcRoutingTableRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpcRoutingTableRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRoute
-
listSubnets
public com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection> listSubnets(ListSubnetsOptions listSubnetsOptions)
List subnets. This request lists 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
- theListSubnetsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSubnetCollection
-
listSubnets
public com.ibm.cloud.sdk.core.http.ServiceCall<SubnetCollection> listSubnets()
List subnets. This request lists 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
ServiceCall
with 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
- theCreateSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSubnetNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theReplaceSubnetNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUnsetSubnetPublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSubnetPublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theSetSubnetPublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSubnetRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theReplaceSubnetRoutingTableOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRoutingTable
-
listSubnetReservedIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollection> listSubnetReservedIps(ListSubnetReservedIpsOptions listSubnetReservedIpsOptions)
List reserved IPs in a subnet. This request lists 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
- theListSubnetReservedIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeReservedIP
-
listImages
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection> listImages(ListImagesOptions listImagesOptions)
List images. This request lists 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
- theListImagesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeImageCollection
-
listImages
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageCollection> listImages()
List images. This request lists 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
ServiceCall
with 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
- theCreateImageOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteImageOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetImageOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateImageOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeprecateImageOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theObsoleteImageOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listImageExportJobs
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJobUnpaginatedCollection> listImageExportJobs(ListImageExportJobsOptions listImageExportJobsOptions)
List export jobs for an image. This request lists 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
- theListImageExportJobsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeImageExportJobUnpaginatedCollection
-
createImageExportJob
public com.ibm.cloud.sdk.core.http.ServiceCall<ImageExportJob> createImageExportJob(CreateImageExportJobOptions createImageExportJobOptions)
Create an export job for an image. 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
- theCreateImageExportJobOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteImageExportJobOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetImageExportJobOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateImageExportJobOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeImageExportJob
-
listOperatingSystems
public com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection> listOperatingSystems(ListOperatingSystemsOptions listOperatingSystemsOptions)
List operating systems. This request lists operating systems in the region.- Parameters:
listOperatingSystemsOptions
- theListOperatingSystemsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeOperatingSystemCollection
-
listOperatingSystems
public com.ibm.cloud.sdk.core.http.ServiceCall<OperatingSystemCollection> listOperatingSystems()
List operating systems. This request lists operating systems in the region.- Returns:
- a
ServiceCall
with 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
- theGetOperatingSystemOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeOperatingSystem
-
listKeys
public com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection> listKeys(ListKeysOptions listKeysOptions)
List keys. This request lists 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
- theListKeysOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeKeyCollection
-
listKeys
public com.ibm.cloud.sdk.core.http.ServiceCall<KeyCollection> listKeys()
List keys. This request lists 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
ServiceCall
with 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
- theCreateKeyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteKeyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetKeyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateKeyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeKey
-
listInstanceProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection> listInstanceProfiles(ListInstanceProfilesOptions listInstanceProfilesOptions)
List 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
- theListInstanceProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceProfileCollection
-
listInstanceProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceProfileCollection> listInstanceProfiles()
List 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
ServiceCall
with 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
- theGetInstanceProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceProfile
-
listInstanceTemplates
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection> listInstanceTemplates(ListInstanceTemplatesOptions listInstanceTemplatesOptions)
List instance templates. This request lists instance templates in the region.- Parameters:
listInstanceTemplatesOptions
- theListInstanceTemplatesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceTemplateCollection
-
listInstanceTemplates
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceTemplateCollection> listInstanceTemplates()
List instance templates. This request lists instance templates in the region.- Returns:
- a
ServiceCall
with 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
- theCreateInstanceTemplateOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceTemplateOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceTemplateOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceTemplateOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceTemplate
-
listInstances
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection> listInstances(ListInstancesOptions listInstancesOptions)
List instances. This request lists instances in the region.- Parameters:
listInstancesOptions
- theListInstancesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceCollection
-
listInstances
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceCollection> listInstances()
List instances. This request lists instances in the region.- Returns:
- a
ServiceCall
with 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
- theCreateInstanceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceInitializationOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceActionOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceAction
-
listInstanceClusterNetworkAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachmentCollection> listInstanceClusterNetworkAttachments(ListInstanceClusterNetworkAttachmentsOptions listInstanceClusterNetworkAttachmentsOptions)
List cluster network attachments on an instance. This request lists cluster network attachments on an instance. A cluster network attachment represents a device on the instance to which a cluster network interface is attached.- Parameters:
listInstanceClusterNetworkAttachmentsOptions
- theListInstanceClusterNetworkAttachmentsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceClusterNetworkAttachmentCollection
-
createClusterNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachment> createClusterNetworkAttachment(CreateClusterNetworkAttachmentOptions createClusterNetworkAttachmentOptions)
Create a cluster network attachment. This request creates a cluster network attachment from an instance cluster network attachment prototype object. A cluster network attachment will attach the instance to a cluster network. The cluster network attachment prototype must specify a cluster network interface identity or a cluster network interface prototype. The instance must be in a `stopped` or `stopping` state to create an instance cluster network attachment.- Parameters:
createClusterNetworkAttachmentOptions
- theCreateClusterNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceClusterNetworkAttachment
-
deleteInstanceClusterNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachment> deleteInstanceClusterNetworkAttachment(DeleteInstanceClusterNetworkAttachmentOptions deleteInstanceClusterNetworkAttachmentOptions)
Delete an instance cluster network attachment. This request deletes an instance cluster network attachment. The instance must be in a `stopped` or `stopping` state to delete an instance cluster network attachment. This operation cannot be reversed.- Parameters:
deleteInstanceClusterNetworkAttachmentOptions
- theDeleteInstanceClusterNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceClusterNetworkAttachment
-
getInstanceClusterNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachment> getInstanceClusterNetworkAttachment(GetInstanceClusterNetworkAttachmentOptions getInstanceClusterNetworkAttachmentOptions)
Retrieve an instance cluster network attachment. This request retrieves a single instance cluster network attachment specified by the identifier in the URL.- Parameters:
getInstanceClusterNetworkAttachmentOptions
- theGetInstanceClusterNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceClusterNetworkAttachment
-
updateInstanceClusterNetworkAttachment
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceClusterNetworkAttachment> updateInstanceClusterNetworkAttachment(UpdateInstanceClusterNetworkAttachmentOptions updateInstanceClusterNetworkAttachmentOptions)
Update an instance cluster network attachment. This request updates an instance cluster network attachment with the information provided in an instance network interface patch object. The instance cluster network attachment patch object is structured in the same way as a retrieved instance cluster network attachment and needs to contain only the information to be updated.- Parameters:
updateInstanceClusterNetworkAttachmentOptions
- theUpdateInstanceClusterNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceClusterNetworkAttachment
-
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
- theCreateInstanceConsoleAccessTokenOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceConsoleAccessToken
-
listInstanceDisks
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceDiskCollection> listInstanceDisks(ListInstanceDisksOptions listInstanceDisksOptions)
List disks on an instance. This request lists 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
- theListInstanceDisksOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceDiskOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceDiskOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceDisk
-
listInstanceNetworkAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceNetworkAttachmentCollection> listInstanceNetworkAttachments(ListInstanceNetworkAttachmentsOptions listInstanceNetworkAttachmentsOptions)
List network attachments on an instance. This request lists 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
- theListInstanceNetworkAttachmentsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceNetworkAttachment
-
listInstanceNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkInterfaceUnpaginatedCollection> listInstanceNetworkInterfaces(ListInstanceNetworkInterfacesOptions listInstanceNetworkInterfacesOptions)
List network interfaces on an instance. This request lists 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
- theListInstanceNetworkInterfacesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeNetworkInterface
-
listInstanceNetworkInterfaceFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection> listInstanceNetworkInterfaceFloatingIps(ListInstanceNetworkInterfaceFloatingIpsOptions listInstanceNetworkInterfaceFloatingIpsOptions)
List floating IPs associated with an instance network interface. This request lists floating IPs associated with an instance network interface.- Parameters:
listInstanceNetworkInterfaceFloatingIpsOptions
- theListInstanceNetworkInterfaceFloatingIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theRemoveInstanceNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theAddInstanceNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFloatingIP
-
listInstanceNetworkInterfaceIps
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionInstanceNetworkInterfaceContext> listInstanceNetworkInterfaceIps(ListInstanceNetworkInterfaceIpsOptions listInstanceNetworkInterfaceIpsOptions)
Deprecated.this method is deprecated and may be removed in a future releaseList the primary reserved IP for an instance network interface. This request lists the primary reserved IP for an instance network interface.- Parameters:
listInstanceNetworkInterfaceIpsOptions
- theListInstanceNetworkInterfaceIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeReservedIPCollectionInstanceNetworkInterfaceContext
-
getInstanceNetworkInterfaceIp
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> getInstanceNetworkInterfaceIp(GetInstanceNetworkInterfaceIpOptions getInstanceNetworkInterfaceIpOptions)
Deprecated.this method is deprecated and may be removed in a future releaseRetrieve the primary reserved IP. This request retrieves the primary reserved IP for an instance network interface.- Parameters:
getInstanceNetworkInterfaceIpOptions
- theGetInstanceNetworkInterfaceIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeReservedIP
-
listInstanceVolumeAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeAttachmentCollection> listInstanceVolumeAttachments(ListInstanceVolumeAttachmentsOptions listInstanceVolumeAttachmentsOptions)
List volumes attachments on an instance. This request lists 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
- theListInstanceVolumeAttachmentsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceVolumeAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceVolumeAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceVolumeAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceVolumeAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVolumeAttachment
-
listInstanceGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection> listInstanceGroups(ListInstanceGroupsOptions listInstanceGroupsOptions)
List instance groups. This request lists instance groups in the region.- Parameters:
listInstanceGroupsOptions
- theListInstanceGroupsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceGroupCollection
-
listInstanceGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupCollection> listInstanceGroups()
List instance groups. This request lists instance groups in the region.- Returns:
- a
ServiceCall
with 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
- theCreateInstanceGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceGroupLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listInstanceGroupManagers
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerCollection> listInstanceGroupManagers(ListInstanceGroupManagersOptions listInstanceGroupManagersOptions)
List managers for an instance group. This request lists managers for an instance group.- Parameters:
listInstanceGroupManagersOptions
- theListInstanceGroupManagersOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceGroupManagerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceGroupManagerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceGroupManagerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceGroupManagerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceGroupManager
-
listInstanceGroupManagerActions
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerActionsCollection> listInstanceGroupManagerActions(ListInstanceGroupManagerActionsOptions listInstanceGroupManagerActionsOptions)
List actions for an instance group manager. This request lists instance group actions for an instance group manager.- Parameters:
listInstanceGroupManagerActionsOptions
- theListInstanceGroupManagerActionsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceGroupManagerActionOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceGroupManagerActionOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceGroupManagerActionOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceGroupManagerActionOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceGroupManagerAction
-
listInstanceGroupManagerPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupManagerPolicyCollection> listInstanceGroupManagerPolicies(ListInstanceGroupManagerPoliciesOptions listInstanceGroupManagerPoliciesOptions)
List policies for an instance group manager. This request lists policies for an instance group manager.- Parameters:
listInstanceGroupManagerPoliciesOptions
- theListInstanceGroupManagerPoliciesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateInstanceGroupManagerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceGroupManagerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceGroupManagerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceGroupManagerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceGroupManagerPolicy
-
deleteInstanceGroupMemberships
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteInstanceGroupMemberships(DeleteInstanceGroupMembershipsOptions deleteInstanceGroupMembershipsOptions)
Delete memberships from an instance group. This request deletes memberships of an instance group. This operation cannot be reversed. Memberships that have `delete_instance_on_membership_delete` set to `true` will also have their instances deleted.- Parameters:
deleteInstanceGroupMembershipsOptions
- theDeleteInstanceGroupMembershipsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listInstanceGroupMemberships
public com.ibm.cloud.sdk.core.http.ServiceCall<InstanceGroupMembershipCollection> listInstanceGroupMemberships(ListInstanceGroupMembershipsOptions listInstanceGroupMembershipsOptions)
List memberships for an instance group. This request lists instance group memberships for an instance group.- Parameters:
listInstanceGroupMembershipsOptions
- theListInstanceGroupMembershipsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteInstanceGroupMembershipOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetInstanceGroupMembershipOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateInstanceGroupMembershipOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInstanceGroupMembership
-
listReservations
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection> listReservations(ListReservationsOptions listReservationsOptions)
List reservations. This request lists 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
- theListReservationsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeReservationCollection
-
listReservations
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservationCollection> listReservations()
List reservations. This request lists 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
ServiceCall
with 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
- theCreateReservationOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteReservationOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetReservationOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateReservationOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theActivateReservationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listDedicatedHostGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection> listDedicatedHostGroups(ListDedicatedHostGroupsOptions listDedicatedHostGroupsOptions)
List dedicated host groups. This request lists dedicated host groups in the region. Each dedicated host must belong to exactly one group, which controls placement of instances. Dedicated host groups do not span zones.- Parameters:
listDedicatedHostGroupsOptions
- theListDedicatedHostGroupsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHostGroupCollection
-
listDedicatedHostGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostGroupCollection> listDedicatedHostGroups()
List dedicated host groups. This request lists dedicated host groups in the region. Each dedicated host must belong to exactly one group, which controls placement of instances. Dedicated host groups do not span zones.- Returns:
- a
ServiceCall
with 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
- theCreateDedicatedHostGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteDedicatedHostGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetDedicatedHostGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateDedicatedHostGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHostGroup
-
listDedicatedHostProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection> listDedicatedHostProfiles(ListDedicatedHostProfilesOptions listDedicatedHostProfilesOptions)
List 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
- theListDedicatedHostProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHostProfileCollection
-
listDedicatedHostProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostProfileCollection> listDedicatedHostProfiles()
List 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
ServiceCall
with 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
- theGetDedicatedHostProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHostProfile
-
listDedicatedHosts
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection> listDedicatedHosts(ListDedicatedHostsOptions listDedicatedHostsOptions)
List dedicated hosts. This request lists dedicated hosts in the region.- Parameters:
listDedicatedHostsOptions
- theListDedicatedHostsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHostCollection
-
listDedicatedHosts
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostCollection> listDedicatedHosts()
List dedicated hosts. This request lists dedicated hosts in the region.- Returns:
- a
ServiceCall
with 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
- theCreateDedicatedHostOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHost
-
listDedicatedHostDisks
public com.ibm.cloud.sdk.core.http.ServiceCall<DedicatedHostDiskCollection> listDedicatedHostDisks(ListDedicatedHostDisksOptions listDedicatedHostDisksOptions)
List disks on a dedicated host. This request lists 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
- theListDedicatedHostDisksOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetDedicatedHostDiskOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateDedicatedHostDiskOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteDedicatedHostOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetDedicatedHostOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateDedicatedHostOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDedicatedHost
-
listPlacementGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection> listPlacementGroups(ListPlacementGroupsOptions listPlacementGroupsOptions)
List placement groups. This request lists placement groups in the region.- Parameters:
listPlacementGroupsOptions
- theListPlacementGroupsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePlacementGroupCollection
-
listPlacementGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<PlacementGroupCollection> listPlacementGroups()
List placement groups. This request lists placement groups in the region.- Returns:
- a
ServiceCall
with 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
- theCreatePlacementGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeletePlacementGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetPlacementGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdatePlacementGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePlacementGroup
-
listBareMetalServerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection> listBareMetalServerProfiles(ListBareMetalServerProfilesOptions listBareMetalServerProfilesOptions)
List bare metal server profiles. This request lists [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
- theListBareMetalServerProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerProfileCollection
-
listBareMetalServerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerProfileCollection> listBareMetalServerProfiles()
List bare metal server profiles. This request lists [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
ServiceCall
with 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
- theGetBareMetalServerProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerProfile
-
listBareMetalServers
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection> listBareMetalServers(ListBareMetalServersOptions listBareMetalServersOptions)
List bare metal servers. This request lists bare metal servers in the region.- Parameters:
listBareMetalServersOptions
- theListBareMetalServersOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerCollection
-
listBareMetalServers
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerCollection> listBareMetalServers()
List bare metal servers. This request lists bare metal servers in the region.- Returns:
- a
ServiceCall
with 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
- theCreateBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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. For this request to succeed, the server must have a `status` of `stopped`, `starting`, or `running`.- Parameters:
createBareMetalServerConsoleAccessTokenOptions
- theCreateBareMetalServerConsoleAccessTokenOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerConsoleAccessToken
-
listBareMetalServerDisks
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerDiskCollection> listBareMetalServerDisks(ListBareMetalServerDisksOptions listBareMetalServerDisksOptions)
List disks on a bare metal server. This request lists 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
- theListBareMetalServerDisksOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBareMetalServerDiskOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateBareMetalServerDiskOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerDisk
-
listBareMetalServerNetworkAttachments
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkAttachmentCollection> listBareMetalServerNetworkAttachments(ListBareMetalServerNetworkAttachmentsOptions listBareMetalServerNetworkAttachmentsOptions)
List network attachments on a bare metal server. This request lists 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
- theListBareMetalServerNetworkAttachmentsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateBareMetalServerNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteBareMetalServerNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBareMetalServerNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateBareMetalServerNetworkAttachmentOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerNetworkAttachment
-
listBareMetalServerNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerNetworkInterfaceCollection> listBareMetalServerNetworkInterfaces(ListBareMetalServerNetworkInterfacesOptions listBareMetalServerNetworkInterfacesOptions)
List network interfaces on a bare metal server. This request lists 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
- theListBareMetalServerNetworkInterfacesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateBareMetalServerNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteBareMetalServerNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBareMetalServerNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateBareMetalServerNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerNetworkInterface
-
listBareMetalServerNetworkInterfaceFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPUnpaginatedCollection> listBareMetalServerNetworkInterfaceFloatingIps(ListBareMetalServerNetworkInterfaceFloatingIpsOptions listBareMetalServerNetworkInterfaceFloatingIpsOptions)
List floating IPs associated with a bare metal server network interface. This request lists floating IPs associated with a bare metal server network interface.- Parameters:
listBareMetalServerNetworkInterfaceFloatingIpsOptions
- theListBareMetalServerNetworkInterfaceFloatingIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theRemoveBareMetalServerNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBareMetalServerNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theAddBareMetalServerNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFloatingIP
-
listBareMetalServerNetworkInterfaceIps
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionBareMetalServerNetworkInterfaceContext> listBareMetalServerNetworkInterfaceIps(ListBareMetalServerNetworkInterfaceIpsOptions listBareMetalServerNetworkInterfaceIpsOptions)
Deprecated.this method is deprecated and may be removed in a future releaseList 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
- theListBareMetalServerNetworkInterfaceIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeReservedIPCollectionBareMetalServerNetworkInterfaceContext
-
getBareMetalServerNetworkInterfaceIp
@Deprecated public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIP> getBareMetalServerNetworkInterfaceIp(GetBareMetalServerNetworkInterfaceIpOptions getBareMetalServerNetworkInterfaceIpOptions)
Deprecated.this method is deprecated and may be removed in a future releaseRetrieve the primary reserved IP. This request retrieves the primary reserved IP for a bare metal server network interface.- Parameters:
getBareMetalServerNetworkInterfaceIpOptions
- theGetBareMetalServerNetworkInterfaceIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServer
-
updateFirmwareForBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> updateFirmwareForBareMetalServer(UpdateFirmwareForBareMetalServerOptions updateFirmwareForBareMetalServerOptions)
Update firmware for a bare metal server. This request updates a bare metal server to the latest available firmware. The server must be stopped.- Parameters:
updateFirmwareForBareMetalServerOptions
- theUpdateFirmwareForBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
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
- theGetBareMetalServerInitializationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerInitialization
-
replaceBareMetalServerInitialization
public com.ibm.cloud.sdk.core.http.ServiceCall<BareMetalServerInitialization> replaceBareMetalServerInitialization(ReplaceBareMetalServerInitializationOptions replaceBareMetalServerInitializationOptions)
Reinitialize a bare metal server. This request reinitializes a bare metal server with the specified image and SSH keys. The server must be stopped. Upon successful reinitiatilization, the bare metal server will be started automatically.- Parameters:
replaceBareMetalServerInitializationOptions
- theReplaceBareMetalServerInitializationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBareMetalServerInitialization
-
restartBareMetalServer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> restartBareMetalServer(RestartBareMetalServerOptions restartBareMetalServerOptions)
Restart a bare metal server. This request immediately restarts a bare metal server. For this request to succeed, the server must have a `status` of `running`.- Parameters:
restartBareMetalServerOptions
- theRestartBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theStartBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theStopBareMetalServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listVolumeProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection> listVolumeProfiles(ListVolumeProfilesOptions listVolumeProfilesOptions)
List volume profiles. This request lists [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
- theListVolumeProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVolumeProfileCollection
-
listVolumeProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeProfileCollection> listVolumeProfiles()
List volume profiles. This request lists [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
ServiceCall
with 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
- theGetVolumeProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVolumeProfile
-
listVolumes
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection> listVolumes(ListVolumesOptions listVolumesOptions)
List volumes. This request lists 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
- theListVolumesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVolumeCollection
-
listVolumes
public com.ibm.cloud.sdk.core.http.ServiceCall<VolumeCollection> listVolumes()
List volumes. This request lists 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
ServiceCall
with 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
- theCreateVolumeOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVolumeOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVolumeOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVolumeOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVolume
-
listSnapshotConsistencyGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection> listSnapshotConsistencyGroups(ListSnapshotConsistencyGroupsOptions listSnapshotConsistencyGroupsOptions)
List snapshot consistency groups. This request lists snapshot consistency groups in the region. A snapshot consistency group is a collection of individual snapshots taken at the same time.- Parameters:
listSnapshotConsistencyGroupsOptions
- theListSnapshotConsistencyGroupsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSnapshotConsistencyGroupCollection
-
listSnapshotConsistencyGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotConsistencyGroupCollection> listSnapshotConsistencyGroups()
List snapshot consistency groups. This request lists snapshot consistency groups in the region. A snapshot consistency group is a collection of individual snapshots taken at the same time.- Returns:
- a
ServiceCall
with 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
- theCreateSnapshotConsistencyGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSnapshotConsistencyGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSnapshotConsistencyGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateSnapshotConsistencyGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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 snapshots that match the specified filter. This operation cannot be reversed.- Parameters:
deleteSnapshotsOptions
- theDeleteSnapshotsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listSnapshots
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection> listSnapshots(ListSnapshotsOptions listSnapshotsOptions)
List snapshots. This request lists snapshots in the region. A snapshot preserves the data of a volume at the time the snapshot is created.- Parameters:
listSnapshotsOptions
- theListSnapshotsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSnapshotCollection
-
listSnapshots
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCollection> listSnapshots()
List snapshots. This request lists snapshots in the region. A snapshot preserves the data of a volume at the time the snapshot is created.- Returns:
- a
ServiceCall
with 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
- theCreateSnapshotOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSnapshotOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSnapshotOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateSnapshotOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSnapshot
-
listSnapshotClones
public com.ibm.cloud.sdk.core.http.ServiceCall<SnapshotCloneCollection> listSnapshotClones(ListSnapshotClonesOptions listSnapshotClonesOptions)
List clones for a snapshot. This request lists clones for a snapshot. Use a clone to quickly restore a snapshot within the clone's zone.- Parameters:
listSnapshotClonesOptions
- theListSnapshotClonesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSnapshotCloneOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSnapshotCloneOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateSnapshotCloneOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSnapshotClone
-
listShareProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection> listShareProfiles(ListShareProfilesOptions listShareProfilesOptions)
List file share profiles. This request lists [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
- theListShareProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareProfileCollection
-
listShareProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareProfileCollection> listShareProfiles()
List file share profiles. This request lists [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
ServiceCall
with 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
- theGetShareProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareProfile
-
listShares
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection> listShares(ListSharesOptions listSharesOptions)
List file shares. This request lists file shares in the region.- Parameters:
listSharesOptions
- theListSharesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareCollection
-
listShares
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareCollection> listShares()
List file shares. This request lists file shares in the region.- Returns:
- a
ServiceCall
with 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
- theCreateShareOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteShareOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetShareOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateShareOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShare
-
listShareAccessorBindings
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareAccessorBindingCollection> listShareAccessorBindings(ListShareAccessorBindingsOptions listShareAccessorBindingsOptions)
List accessor bindings for a file share. This request lists accessor bindings for a share. Each accessor binding identifies a resource (possibly in another account) with access to this file share's data. The share accessor bindings will be sorted by their `created_at` property values, with newest bindings first.- Parameters:
listShareAccessorBindingsOptions
- theListShareAccessorBindingsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareAccessorBindingCollection
-
deleteShareAccessorBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteShareAccessorBinding(DeleteShareAccessorBindingOptions deleteShareAccessorBindingOptions)
Delete a file share accessor binding. This request deletes a share accessor binding. This operation cannot be reversed.- Parameters:
deleteShareAccessorBindingOptions
- theDeleteShareAccessorBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getShareAccessorBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareAccessorBinding> getShareAccessorBinding(GetShareAccessorBindingOptions getShareAccessorBindingOptions)
Retrieve a file share accessor binding. This request retrieves a single accessor binding specified by the identifier in the URL.- Parameters:
getShareAccessorBindingOptions
- theGetShareAccessorBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareAccessorBinding
-
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
- theFailoverShareOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listShareMountTargets
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTargetCollection> listShareMountTargets(ListShareMountTargetsOptions listShareMountTargetsOptions)
List mount targets for a file share. This request lists mount targets for a file share. A 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
- theListShareMountTargetsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateShareMountTargetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareMountTarget
-
deleteShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> deleteShareMountTarget(DeleteShareMountTargetOptions deleteShareMountTargetOptions)
Delete a file 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
- theDeleteShareMountTargetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareMountTarget
-
getShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> getShareMountTarget(GetShareMountTargetOptions getShareMountTargetOptions)
Retrieve a file share mount target. This request retrieves a single share mount target specified by the identifier in the URL.- Parameters:
getShareMountTargetOptions
- theGetShareMountTargetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareMountTarget
-
updateShareMountTarget
public com.ibm.cloud.sdk.core.http.ServiceCall<ShareMountTarget> updateShareMountTarget(UpdateShareMountTargetOptions updateShareMountTargetOptions)
Update a file 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
- theUpdateShareMountTargetOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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 file 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
- theDeleteShareSourceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetShareSourceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeShareReference
-
listBackupPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection> listBackupPolicies(ListBackupPoliciesOptions listBackupPoliciesOptions)
List backup policies. This request lists 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
- theListBackupPoliciesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBackupPolicyCollection
-
listBackupPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection> listBackupPolicies()
List backup policies. This request lists 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
ServiceCall
with 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
- theCreateBackupPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBackupPolicy
-
listBackupPolicyJobs
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyJobCollection> listBackupPolicyJobs(ListBackupPolicyJobsOptions listBackupPolicyJobsOptions)
List jobs for a backup policy. This request retrieves 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
- theListBackupPolicyJobsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBackupPolicyJobOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBackupPolicyJob
-
listBackupPolicyPlans
public com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyPlanCollection> listBackupPolicyPlans(ListBackupPolicyPlansOptions listBackupPolicyPlansOptions)
List plans for a backup policy. This request retrieves plans for a backup policy. Backup plans provide the backup schedule and deletion triggers.- Parameters:
listBackupPolicyPlansOptions
- theListBackupPolicyPlansOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateBackupPolicyPlanOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteBackupPolicyPlanOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBackupPolicyPlanOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateBackupPolicyPlanOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteBackupPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetBackupPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateBackupPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBackupPolicy
-
listRegions
public com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection> listRegions(ListRegionsOptions listRegionsOptions)
List regions. This request lists 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
- theListRegionsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRegionCollection
-
listRegions
public com.ibm.cloud.sdk.core.http.ServiceCall<RegionCollection> listRegions()
List regions. This request lists 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
ServiceCall
with 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
- theGetRegionOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRegion
-
listRegionZones
public com.ibm.cloud.sdk.core.http.ServiceCall<ZoneCollection> listRegionZones(ListRegionZonesOptions listRegionZonesOptions)
List zones in a region. This request lists 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
- theListRegionZonesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetRegionZoneOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeZone
-
listVirtualNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection> listVirtualNetworkInterfaces(ListVirtualNetworkInterfacesOptions listVirtualNetworkInterfacesOptions)
List virtual network interfaces. This request lists 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
- theListVirtualNetworkInterfacesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVirtualNetworkInterfaceCollection
-
listVirtualNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterfaceCollection> listVirtualNetworkInterfaces()
List virtual network interfaces. This request lists 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
ServiceCall
with 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
- theCreateVirtualNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
ServiceCall
with a result of typeVirtualNetworkInterface
-
deleteVirtualNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualNetworkInterface> 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
- theDeleteVirtualNetworkInterfacesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVirtualNetworkInterface
-
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
- theGetVirtualNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVirtualNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVirtualNetworkInterface
-
listNetworkInterfaceFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollectionVirtualNetworkInterfaceContext> listNetworkInterfaceFloatingIps(ListNetworkInterfaceFloatingIpsOptions listNetworkInterfaceFloatingIpsOptions)
List floating IPs associated with a virtual network interface. This request lists floating IPs associated with a virtual network interface.- Parameters:
listNetworkInterfaceFloatingIpsOptions
- theListNetworkInterfaceFloatingIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theRemoveNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theAddNetworkInterfaceFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFloatingIPReference
-
listVirtualNetworkInterfaceIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionVirtualNetworkInterfaceContext> listVirtualNetworkInterfaceIps(ListVirtualNetworkInterfaceIpsOptions listVirtualNetworkInterfaceIpsOptions)
List reserved IPs bound to a virtual network interface. This request lists reserved IPs bound to a virtual network interface.- Parameters:
listVirtualNetworkInterfaceIpsOptions
- theListVirtualNetworkInterfaceIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theRemoveVirtualNetworkInterfaceIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVirtualNetworkInterfaceIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theAddVirtualNetworkInterfaceIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeReservedIPReference
-
listClusterNetworkProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkProfileCollection> listClusterNetworkProfiles(ListClusterNetworkProfilesOptions listClusterNetworkProfilesOptions)
List cluster network profiles. This request lists cluster network profiles available in the region. A cluster network profile specifies the performance characteristics and capabilities for a cluster network.- Parameters:
listClusterNetworkProfilesOptions
- theListClusterNetworkProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkProfileCollection
-
listClusterNetworkProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkProfileCollection> listClusterNetworkProfiles()
List cluster network profiles. This request lists cluster network profiles available in the region. A cluster network profile specifies the performance characteristics and capabilities for a cluster network.- Returns:
- a
ServiceCall
with a result of typeClusterNetworkProfileCollection
-
getClusterNetworkProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkProfile> getClusterNetworkProfile(GetClusterNetworkProfileOptions getClusterNetworkProfileOptions)
Retrieve a cluster network profile. This request retrieves a single cluster network profile specified by the name in the URL.- Parameters:
getClusterNetworkProfileOptions
- theGetClusterNetworkProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkProfile
-
listClusterNetworks
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkCollection> listClusterNetworks(ListClusterNetworksOptions listClusterNetworksOptions)
List cluster networks. This request lists [cluster networks](https://cloud.ibm.com/docs/vpc?topic=vpc-about-cluster-network) in the region. A cluster network is a grouping of resources in a separate networking space for high performance computing and networking.- Parameters:
listClusterNetworksOptions
- theListClusterNetworksOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkCollection
-
listClusterNetworks
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkCollection> listClusterNetworks()
List cluster networks. This request lists [cluster networks](https://cloud.ibm.com/docs/vpc?topic=vpc-about-cluster-network) in the region. A cluster network is a grouping of resources in a separate networking space for high performance computing and networking.- Returns:
- a
ServiceCall
with a result of typeClusterNetworkCollection
-
createClusterNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetwork> createClusterNetwork(CreateClusterNetworkOptions createClusterNetworkOptions)
Create a cluster network. This request creates a new cluster network from a cluster network prototype object. The prototype object is structured in the same way as a retrieved cluster network, and contains the information necessary to create the new cluster network.- Parameters:
createClusterNetworkOptions
- theCreateClusterNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetwork
-
listClusterNetworkInterfaces
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterfaceCollection> listClusterNetworkInterfaces(ListClusterNetworkInterfacesOptions listClusterNetworkInterfacesOptions)
List cluster network interfaces. This request lists cluster network interfaces in the region. A cluster network interface is a logical abstraction of a cluster network interface in a subnet, and may be attached to a target resource. The cluster network interfaces will be sorted by their `created_at` property values, with newest cluster network interfaces first. Cluster network interfaces with identical `created_at` property values will in turn be sorted by ascending `name` property values.- Parameters:
listClusterNetworkInterfacesOptions
- theListClusterNetworkInterfacesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkInterfaceCollection
-
createClusterNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface> createClusterNetworkInterface(CreateClusterNetworkInterfaceOptions createClusterNetworkInterfaceOptions)
Create a cluster network interface. This request creates a new cluster network interface from a cluster network interface prototype object. The prototype object is structured in the same way as a retrieved cluster network interface, and contains the information necessary to create the new cluster network interface.- Parameters:
createClusterNetworkInterfaceOptions
- theCreateClusterNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkInterface
-
deleteClusterNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface> deleteClusterNetworkInterface(DeleteClusterNetworkInterfaceOptions deleteClusterNetworkInterfaceOptions)
Delete a cluster network interface. This request deletes a cluster network interface. This operation cannot be reversed. For this request to succeed, the cluster network interface must not be required by another resource, such as a cluster network attachment for a virtual server instance.- Parameters:
deleteClusterNetworkInterfaceOptions
- theDeleteClusterNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkInterface
-
getClusterNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface> getClusterNetworkInterface(GetClusterNetworkInterfaceOptions getClusterNetworkInterfaceOptions)
Retrieve a cluster network interface. This request retrieves a single cluster network interface specified by the identifier in the URL.- Parameters:
getClusterNetworkInterfaceOptions
- theGetClusterNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkInterface
-
updateClusterNetworkInterface
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkInterface> updateClusterNetworkInterface(UpdateClusterNetworkInterfaceOptions updateClusterNetworkInterfaceOptions)
Update a cluster network interface. This request updates a cluster network interface with the information provided in a cluster network interface patch object. The patch object is structured in the same way as a retrieved cluster network interface and needs to contain only the information to be updated.- Parameters:
updateClusterNetworkInterfaceOptions
- theUpdateClusterNetworkInterfaceOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkInterface
-
listClusterNetworkSubnets
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetCollection> listClusterNetworkSubnets(ListClusterNetworkSubnetsOptions listClusterNetworkSubnetsOptions)
List cluster network subnets. This request lists cluster network subnets in the cluster network. A cluster network subnet provides network routing between other cluster network subnets within a cluster network.- Parameters:
listClusterNetworkSubnetsOptions
- theListClusterNetworkSubnetsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnetCollection
-
createClusterNetworkSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet> createClusterNetworkSubnet(CreateClusterNetworkSubnetOptions createClusterNetworkSubnetOptions)
Create a cluster network subnet. This request creates a new cluster network subnet from a cluster network subnet prototype object. The prototype object is structured in the same way as a retrieved cluster network subnet, and contains the information necessary to create the new cluster network subnet.- Parameters:
createClusterNetworkSubnetOptions
- theCreateClusterNetworkSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnet
-
listClusterNetworkSubnetReservedIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIPCollection> listClusterNetworkSubnetReservedIps(ListClusterNetworkSubnetReservedIpsOptions listClusterNetworkSubnetReservedIpsOptions)
List cluster network subnet reserved IPs. This request lists cluster network subnet reserved IPs in the cluster network.- Parameters:
listClusterNetworkSubnetReservedIpsOptions
- theListClusterNetworkSubnetReservedIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnetReservedIPCollection
-
createClusterNetworkSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP> createClusterNetworkSubnetReservedIp(CreateClusterNetworkSubnetReservedIpOptions createClusterNetworkSubnetReservedIpOptions)
Create a cluster network subnet reserved IP. This request creates a new cluster network subnet reserved IP from a cluster network subnet reserved IP prototype object. The prototype object is structured in the same way as a retrieved cluster network subnet reserved IP, and contains the information necessary to create the new cluster network subnet reserved IP.- Parameters:
createClusterNetworkSubnetReservedIpOptions
- theCreateClusterNetworkSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnetReservedIP
-
deleteClusterNetworkSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP> deleteClusterNetworkSubnetReservedIp(DeleteClusterNetworkSubnetReservedIpOptions deleteClusterNetworkSubnetReservedIpOptions)
Delete a cluster network subnet reserved IP. This request deletes a cluster network subnet reserved IP. This operation cannot be reversed. For this request to succeed, the reserved IP must be unbound. A provider-owned reserved IP is not allowed to be deleted.- Parameters:
deleteClusterNetworkSubnetReservedIpOptions
- theDeleteClusterNetworkSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnetReservedIP
-
getClusterNetworkSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP> getClusterNetworkSubnetReservedIp(GetClusterNetworkSubnetReservedIpOptions getClusterNetworkSubnetReservedIpOptions)
Retrieve a cluster network subnet reserved IP. This request retrieves a single cluster network subnet reserved IP specified by the identifier in the URL.- Parameters:
getClusterNetworkSubnetReservedIpOptions
- theGetClusterNetworkSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnetReservedIP
-
updateClusterNetworkSubnetReservedIp
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnetReservedIP> updateClusterNetworkSubnetReservedIp(UpdateClusterNetworkSubnetReservedIpOptions updateClusterNetworkSubnetReservedIpOptions)
Update a cluster network subnet reserved IP. This request updates a cluster network subnet reserved IP with the information provided in a cluster network subnet reserved IP patch object. The patch object is structured in the same way as a retrieved cluster network subnet reserved IP and needs to contain only the information to be updated.- Parameters:
updateClusterNetworkSubnetReservedIpOptions
- theUpdateClusterNetworkSubnetReservedIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnetReservedIP
-
deleteClusterNetworkSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet> deleteClusterNetworkSubnet(DeleteClusterNetworkSubnetOptions deleteClusterNetworkSubnetOptions)
Delete a cluster network subnet. This request deletes a cluster network subnet. This operation cannot be reversed. For this request to succeed, this cluster subnet must not be attached to a cluster network interface.- Parameters:
deleteClusterNetworkSubnetOptions
- theDeleteClusterNetworkSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnet
-
getClusterNetworkSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet> getClusterNetworkSubnet(GetClusterNetworkSubnetOptions getClusterNetworkSubnetOptions)
Retrieve a cluster network subnet. This request retrieves a single cluster network subnet specified by the identifier in the URL.- Parameters:
getClusterNetworkSubnetOptions
- theGetClusterNetworkSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnet
-
updateClusterNetworkSubnet
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetworkSubnet> updateClusterNetworkSubnet(UpdateClusterNetworkSubnetOptions updateClusterNetworkSubnetOptions)
Update a cluster network subnet. This request updates a cluster network subnet with the information provided in a cluster network subnet patch object. The patch object is structured in the same way as a retrieved cluster network subnet and needs to contain only the information to be updated.- Parameters:
updateClusterNetworkSubnetOptions
- theUpdateClusterNetworkSubnetOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetworkSubnet
-
deleteClusterNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetwork> deleteClusterNetwork(DeleteClusterNetworkOptions deleteClusterNetworkOptions)
Delete a cluster network. This request deletes a cluster network. This operation cannot be reversed. For this request to succeed, virtual server instances must not reside in this cluster network.- Parameters:
deleteClusterNetworkOptions
- theDeleteClusterNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetwork
-
getClusterNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetwork> getClusterNetwork(GetClusterNetworkOptions getClusterNetworkOptions)
Retrieve a cluster network. This request retrieves a single cluster network specified by the identifier in the URL.- Parameters:
getClusterNetworkOptions
- theGetClusterNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetwork
-
updateClusterNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<ClusterNetwork> updateClusterNetwork(UpdateClusterNetworkOptions updateClusterNetworkOptions)
Update a cluster. This request updates a cluster network with the information provided in a cluster network patch object. The patch object is structured in the same way as a retrieved cluster network and needs to contain only the information to be updated.- Parameters:
updateClusterNetworkOptions
- theUpdateClusterNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClusterNetwork
-
listPublicGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection> listPublicGateways(ListPublicGatewaysOptions listPublicGatewaysOptions)
List public gateways. This request lists 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
- theListPublicGatewaysOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePublicGatewayCollection
-
listPublicGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<PublicGatewayCollection> listPublicGateways()
List public gateways. This request lists 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
ServiceCall
with 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
- theCreatePublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeletePublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetPublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdatePublicGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePublicGateway
-
listFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection> listFloatingIps(ListFloatingIpsOptions listFloatingIpsOptions)
List floating IPs. This request lists floating IPs in the region. Floating IPs allow inbound and outbound traffic from the Internet to an instance.- Parameters:
listFloatingIpsOptions
- theListFloatingIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFloatingIPCollection
-
listFloatingIps
public com.ibm.cloud.sdk.core.http.ServiceCall<FloatingIPCollection> listFloatingIps()
List floating IPs. This request lists floating IPs in the region. Floating IPs allow inbound and outbound traffic from the Internet to an instance.- Returns:
- a
ServiceCall
with 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
- theCreateFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateFloatingIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFloatingIP
-
listNetworkAcls
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection> listNetworkAcls(ListNetworkAclsOptions listNetworkAclsOptions)
List network ACLs. This request lists 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
- theListNetworkAclsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeNetworkACLCollection
-
listNetworkAcls
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLCollection> listNetworkAcls()
List network ACLs. This request lists 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
ServiceCall
with 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
- theCreateNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateNetworkAclOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeNetworkACL
-
listNetworkAclRules
public com.ibm.cloud.sdk.core.http.ServiceCall<NetworkACLRuleCollection> listNetworkAclRules(ListNetworkAclRulesOptions listNetworkAclRulesOptions)
List rules for a network ACL. This request lists 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
- theListNetworkAclRulesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateNetworkAclRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteNetworkAclRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetNetworkAclRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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 provided patch includes properties that are not used by the rule's protocol.- Parameters:
updateNetworkAclRuleOptions
- theUpdateNetworkAclRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeNetworkACLRule
-
listSecurityGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection> listSecurityGroups(ListSecurityGroupsOptions listSecurityGroupsOptions)
List security groups. This request lists 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
- theListSecurityGroupsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSecurityGroupCollection
-
listSecurityGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupCollection> listSecurityGroups()
List security groups. This request lists 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
ServiceCall
with 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
- theCreateSecurityGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSecurityGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSecurityGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateSecurityGroupOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSecurityGroup
-
listSecurityGroupRules
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupRuleCollection> listSecurityGroupRules(ListSecurityGroupRulesOptions listSecurityGroupRulesOptions)
List rules in a security group. This request lists 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
- theListSecurityGroupRulesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateSecurityGroupRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSecurityGroupRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSecurityGroupRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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 provided patch includes properties that are not used by the rule's protocol.- Parameters:
updateSecurityGroupRuleOptions
- theUpdateSecurityGroupRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSecurityGroupRule
-
listSecurityGroupTargets
public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityGroupTargetCollection> listSecurityGroupTargets(ListSecurityGroupTargetsOptions listSecurityGroupTargetsOptions)
List targets associated with a security group. This request lists targets associated with a security group, to which the rules in the security group are applied.- Parameters:
listSecurityGroupTargetsOptions
- theListSecurityGroupTargetsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteSecurityGroupTargetBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetSecurityGroupTargetOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateSecurityGroupTargetBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSecurityGroupTargetReference
-
listIkePolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection> listIkePolicies(ListIkePoliciesOptions listIkePoliciesOptions)
List IKE policies. This request lists IKE policies in the region.- Parameters:
listIkePoliciesOptions
- theListIkePoliciesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIKEPolicyCollection
-
listIkePolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyCollection> listIkePolicies()
List IKE policies. This request lists IKE policies in the region.- Returns:
- a
ServiceCall
with 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
- theCreateIkePolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteIkePolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetIkePolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateIkePolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIKEPolicy
-
listIkePolicyConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<IKEPolicyConnectionCollection> listIkePolicyConnections(ListIkePolicyConnectionsOptions listIkePolicyConnectionsOptions)
List VPN gateway connections that use a specified IKE policy. This request lists VPN gateway connections that use a IKE policy.- Parameters:
listIkePolicyConnectionsOptions
- theListIkePolicyConnectionsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIKEPolicyConnectionCollection
-
listIpsecPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection> listIpsecPolicies(ListIpsecPoliciesOptions listIpsecPoliciesOptions)
List IPsec policies. This request lists IPsec policies in the region.- Parameters:
listIpsecPoliciesOptions
- theListIpsecPoliciesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIPsecPolicyCollection
-
listIpsecPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyCollection> listIpsecPolicies()
List IPsec policies. This request lists IPsec policies in the region.- Returns:
- a
ServiceCall
with 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
- theCreateIpsecPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteIpsecPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetIpsecPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateIpsecPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIPsecPolicy
-
listIpsecPolicyConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<IPsecPolicyConnectionCollection> listIpsecPolicyConnections(ListIpsecPolicyConnectionsOptions listIpsecPolicyConnectionsOptions)
List VPN gateway connections that use a specified IPsec policy. This request lists VPN gateway connections that use a IPsec policy.- Parameters:
listIpsecPolicyConnectionsOptions
- theListIpsecPolicyConnectionsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIPsecPolicyConnectionCollection
-
listVpnGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection> listVpnGateways(ListVpnGatewaysOptions listVpnGatewaysOptions)
List VPN gateways. This request lists VPN gateways in the region.- Parameters:
listVpnGatewaysOptions
- theListVpnGatewaysOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNGatewayCollection
-
listVpnGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayCollection> listVpnGateways()
List VPN gateways. This request lists VPN gateways in the region.- Returns:
- a
ServiceCall
with 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
- theCreateVpnGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpnGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpnGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpnGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNGateway
-
listVpnGatewayConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCollection> listVpnGatewayConnections(ListVpnGatewayConnectionsOptions listVpnGatewayConnectionsOptions)
List connections of a VPN gateway. This request lists connections of a VPN gateway.- Parameters:
listVpnGatewayConnectionsOptions
- theListVpnGatewayConnectionsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateVpnGatewayConnectionOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpnGatewayConnectionOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpnGatewayConnectionOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpnGatewayConnectionOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNGatewayConnection
-
listVpnGatewayConnectionsLocalCidrs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCIDRs> listVpnGatewayConnectionsLocalCidrs(ListVpnGatewayConnectionsLocalCidrsOptions listVpnGatewayConnectionsLocalCidrsOptions)
List local CIDRs for a VPN gateway connection. This request lists local CIDRs for a VPN gateway connection. This request is only supported for policy mode VPN gateways.- Parameters:
listVpnGatewayConnectionsLocalCidrsOptions
- theListVpnGatewayConnectionsLocalCidrsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNGatewayConnectionCIDRs
-
removeVpnGatewayConnectionsLocalCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeVpnGatewayConnectionsLocalCidr(RemoveVpnGatewayConnectionsLocalCidrOptions removeVpnGatewayConnectionsLocalCidrOptions)
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:
removeVpnGatewayConnectionsLocalCidrOptions
- theRemoveVpnGatewayConnectionsLocalCidrOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
checkVpnGatewayConnectionsLocalCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> checkVpnGatewayConnectionsLocalCidr(CheckVpnGatewayConnectionsLocalCidrOptions checkVpnGatewayConnectionsLocalCidrOptions)
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:
checkVpnGatewayConnectionsLocalCidrOptions
- theCheckVpnGatewayConnectionsLocalCidrOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
addVpnGatewayConnectionsLocalCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> addVpnGatewayConnectionsLocalCidr(AddVpnGatewayConnectionsLocalCidrOptions addVpnGatewayConnectionsLocalCidrOptions)
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:
addVpnGatewayConnectionsLocalCidrOptions
- theAddVpnGatewayConnectionsLocalCidrOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listVpnGatewayConnectionsPeerCidrs
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNGatewayConnectionCIDRs> listVpnGatewayConnectionsPeerCidrs(ListVpnGatewayConnectionsPeerCidrsOptions listVpnGatewayConnectionsPeerCidrsOptions)
List peer CIDRs for a VPN gateway connection. This request lists peer CIDRs for a VPN gateway connection. This request is only supported for policy mode VPN gateways.- Parameters:
listVpnGatewayConnectionsPeerCidrsOptions
- theListVpnGatewayConnectionsPeerCidrsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNGatewayConnectionCIDRs
-
removeVpnGatewayConnectionsPeerCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeVpnGatewayConnectionsPeerCidr(RemoveVpnGatewayConnectionsPeerCidrOptions removeVpnGatewayConnectionsPeerCidrOptions)
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:
removeVpnGatewayConnectionsPeerCidrOptions
- theRemoveVpnGatewayConnectionsPeerCidrOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
checkVpnGatewayConnectionsPeerCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> checkVpnGatewayConnectionsPeerCidr(CheckVpnGatewayConnectionsPeerCidrOptions checkVpnGatewayConnectionsPeerCidrOptions)
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:
checkVpnGatewayConnectionsPeerCidrOptions
- theCheckVpnGatewayConnectionsPeerCidrOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
addVpnGatewayConnectionsPeerCidr
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> addVpnGatewayConnectionsPeerCidr(AddVpnGatewayConnectionsPeerCidrOptions addVpnGatewayConnectionsPeerCidrOptions)
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:
addVpnGatewayConnectionsPeerCidrOptions
- theAddVpnGatewayConnectionsPeerCidrOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listVpnServers
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection> listVpnServers(ListVpnServersOptions listVpnServersOptions)
List VPN servers. This request lists VPN servers.- Parameters:
listVpnServersOptions
- theListVpnServersOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNServerCollection
-
listVpnServers
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerCollection> listVpnServers()
List VPN servers. This request lists VPN servers.- Returns:
- a
ServiceCall
with 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
- theCreateVpnServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpnServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpnServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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 updates other than to `name` will cause all connected VPN clients to be disconnected.- Parameters:
updateVpnServerOptions
- theUpdateVpnServerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpnServerClientConfigurationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeString
-
listVpnServerClients
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerClientCollection> listVpnServerClients(ListVpnServerClientsOptions listVpnServerClientsOptions)
List VPN clients for a VPN server. This request retrieves connected VPN clients, and any disconnected VPN clients that the VPN server has not yet deleted based on its auto-deletion policy.- Parameters:
listVpnServerClientsOptions
- theListVpnServerClientsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpnServerClientOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpnServerClientOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDisconnectVpnClientOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listVpnServerRoutes
public com.ibm.cloud.sdk.core.http.ServiceCall<VPNServerRouteCollection> listVpnServerRoutes(ListVpnServerRoutesOptions listVpnServerRoutesOptions)
List VPN routes for a VPN server. This request lists 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
- theListVpnServerRoutesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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.- Parameters:
createVpnServerRouteOptions
- theCreateVpnServerRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteVpnServerRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetVpnServerRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateVpnServerRouteOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeVPNServerRoute
-
listLoadBalancerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection> listLoadBalancerProfiles(ListLoadBalancerProfilesOptions listLoadBalancerProfilesOptions)
List load balancer profiles. This request lists load balancer profiles available in the region. A load balancer profile specifies the performance characteristics and pricing model for a load balancer.- Parameters:
listLoadBalancerProfilesOptions
- theListLoadBalancerProfilesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerProfileCollection
-
listLoadBalancerProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerProfileCollection> listLoadBalancerProfiles()
List load balancer profiles. This request lists load balancer profiles available in the region. A load balancer profile specifies the performance characteristics and pricing model for a load balancer.- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerProfileOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerProfile
-
listLoadBalancers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection> listLoadBalancers(ListLoadBalancersOptions listLoadBalancersOptions)
List load balancers. This request lists load balancers in the region.- Parameters:
listLoadBalancersOptions
- theListLoadBalancersOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerCollection
-
listLoadBalancers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerCollection> listLoadBalancers()
List load balancers. This request lists load balancers in the region.- Returns:
- a
ServiceCall
with 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
- theCreateLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancer
-
getLoadBalancerStatistics
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerStatistics> getLoadBalancerStatistics(GetLoadBalancerStatisticsOptions getLoadBalancerStatisticsOptions)
List statistics of a load balancer. This request lists statistics of a load balancer.- Parameters:
getLoadBalancerStatisticsOptions
- theGetLoadBalancerStatisticsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerStatistics
-
listLoadBalancerListeners
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerCollection> listLoadBalancerListeners(ListLoadBalancerListenersOptions listLoadBalancerListenersOptions)
List listeners for a load balancer. This request lists listeners for a load balancer.- Parameters:
listLoadBalancerListenersOptions
- theListLoadBalancerListenersOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateLoadBalancerListenerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteLoadBalancerListenerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerListenerOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateLoadBalancerListenerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerListener
-
listLoadBalancerListenerPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyCollection> listLoadBalancerListenerPolicies(ListLoadBalancerListenerPoliciesOptions listLoadBalancerListenerPoliciesOptions)
List policies for a load balancer listener. This request lists policies for a load balancer listener. A policy consists of rules to match against each incoming request, and an action to apply to the request if a rule matches.- Parameters:
listLoadBalancerListenerPoliciesOptions
- theListLoadBalancerListenerPoliciesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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. This request creates a new policy from a load balancer listener policy object. The prototype object is structured in the same way as a retrieved policy, and contains the information necessary to create the new policy. For this request to succeed, the listener must have a `protocol` of `http` or `https`.- Parameters:
createLoadBalancerListenerPolicyOptions
- theCreateLoadBalancerListenerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteLoadBalancerListenerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerListenerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerListenerPolicy
-
updateLoadBalancerListenerPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicy> updateLoadBalancerListenerPolicy(UpdateLoadBalancerListenerPolicyOptions updateLoadBalancerListenerPolicyOptions)
Update a load balancer listener policy. This request updates a load balancer listener policy with the information in a provided policy patch. The policy patch object is structured in the same way as a retrieved policy and contains only the information to be updated.- Parameters:
updateLoadBalancerListenerPolicyOptions
- theUpdateLoadBalancerListenerPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerListenerPolicy
-
listLoadBalancerListenerPolicyRules
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerListenerPolicyRuleCollection> listLoadBalancerListenerPolicyRules(ListLoadBalancerListenerPolicyRulesOptions listLoadBalancerListenerPolicyRulesOptions)
List rules of a load balancer listener policy. This request lists rules of a load balancer listener policy.- Parameters:
listLoadBalancerListenerPolicyRulesOptions
- theListLoadBalancerListenerPolicyRulesOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateLoadBalancerListenerPolicyRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteLoadBalancerListenerPolicyRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerListenerPolicyRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateLoadBalancerListenerPolicyRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerListenerPolicyRule
-
listLoadBalancerPools
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolCollection> listLoadBalancerPools(ListLoadBalancerPoolsOptions listLoadBalancerPoolsOptions)
List pools of a load balancer. This request lists pools of a load balancer.- Parameters:
listLoadBalancerPoolsOptions
- theListLoadBalancerPoolsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateLoadBalancerPoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteLoadBalancerPoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerPoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateLoadBalancerPoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerPool
-
listLoadBalancerPoolMembers
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancerPoolMemberCollection> listLoadBalancerPoolMembers(ListLoadBalancerPoolMembersOptions listLoadBalancerPoolMembersOptions)
List members of a load balancer pool. This request lists members of a load balancer pool.- Parameters:
listLoadBalancerPoolMembersOptions
- theListLoadBalancerPoolMembersOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theCreateLoadBalancerPoolMemberOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theReplaceLoadBalancerPoolMembersOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteLoadBalancerPoolMemberOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetLoadBalancerPoolMemberOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateLoadBalancerPoolMemberOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancerPoolMember
-
listEndpointGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection> listEndpointGateways(ListEndpointGatewaysOptions listEndpointGatewaysOptions)
List endpoint gateways. This request lists 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
- theListEndpointGatewaysOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeEndpointGatewayCollection
-
listEndpointGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<EndpointGatewayCollection> listEndpointGateways()
List endpoint gateways. This request lists 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
ServiceCall
with 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
- theCreateEndpointGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeEndpointGateway
-
listEndpointGatewayIps
public com.ibm.cloud.sdk.core.http.ServiceCall<ReservedIPCollectionEndpointGatewayContext> listEndpointGatewayIps(ListEndpointGatewayIpsOptions listEndpointGatewayIpsOptions)
List reserved IPs bound to an endpoint gateway. This request lists reserved IPs bound to an endpoint gateway.- Parameters:
listEndpointGatewayIpsOptions
- theListEndpointGatewayIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theRemoveEndpointGatewayIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetEndpointGatewayIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theAddEndpointGatewayIpOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteEndpointGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetEndpointGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateEndpointGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeEndpointGateway
-
listFlowLogCollectors
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection> listFlowLogCollectors(ListFlowLogCollectorsOptions listFlowLogCollectorsOptions)
List flow log collectors. This request lists flow log collectors in the region. A [flow log collector](https://cloud.ibm.com/docs/vpc?topic=vpc-flow-logs) summarizes data sent over the instance network interfaces and instance network attachments contained within its target. The collected flow logs are written to a cloud object storage bucket, where they can be [viewed](https://cloud.ibm.com/docs/vpc?topic=vpc-fl-analyze).- Parameters:
listFlowLogCollectorsOptions
- theListFlowLogCollectorsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFlowLogCollectorCollection
-
listFlowLogCollectors
public com.ibm.cloud.sdk.core.http.ServiceCall<FlowLogCollectorCollection> listFlowLogCollectors()
List flow log collectors. This request lists flow log collectors in the region. A [flow log collector](https://cloud.ibm.com/docs/vpc?topic=vpc-flow-logs) summarizes data sent over the instance network interfaces and instance network attachments contained within its target. The collected flow logs are written to a cloud object storage bucket, where they can be [viewed](https://cloud.ibm.com/docs/vpc?topic=vpc-fl-analyze).- Returns:
- a
ServiceCall
with 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
- theCreateFlowLogCollectorOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theDeleteFlowLogCollectorOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theGetFlowLogCollectorOptions
containing the options for the call- Returns:
- a
ServiceCall
with 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
- theUpdateFlowLogCollectorOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFlowLogCollector
-
listPrivatePathServiceGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayCollection> listPrivatePathServiceGateways(ListPrivatePathServiceGatewaysOptions listPrivatePathServiceGatewaysOptions)
List private path service gateways. This request lists private path service gateways in the region. Private path service gateways allow [service providers](https://cloud.ibm.com/docs/private-path?topic=private-path-private-path-service-architecture#private-path-service-components) to make their services available using [private path connectivity](https://cloud.ibm.com/docs/private-path?topic=private-path-private-path-service-architecture#private-path-service-components). Private path service gateways are used to facilitate and manage the private path connectivity between private path network load balancers and their associated endpoint gateways.- Parameters:
listPrivatePathServiceGatewaysOptions
- theListPrivatePathServiceGatewaysOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayCollection
-
listPrivatePathServiceGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayCollection> listPrivatePathServiceGateways()
List private path service gateways. This request lists private path service gateways in the region. Private path service gateways allow [service providers](https://cloud.ibm.com/docs/private-path?topic=private-path-private-path-service-architecture#private-path-service-components) to make their services available using [private path connectivity](https://cloud.ibm.com/docs/private-path?topic=private-path-private-path-service-architecture#private-path-service-components). Private path service gateways are used to facilitate and manage the private path connectivity between private path network load balancers and their associated endpoint gateways.- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayCollection
-
createPrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGateway> createPrivatePathServiceGateway(CreatePrivatePathServiceGatewayOptions createPrivatePathServiceGatewayOptions)
Create a private path service gateway. This request creates a private path service gateway from a private path service gateway prototype object. The prototype object is structured in the same way as a retrieved private path service gateway, and contains the information necessary to create the new private path service gateway.- Parameters:
createPrivatePathServiceGatewayOptions
- theCreatePrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGateway
-
deletePrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deletePrivatePathServiceGateway(DeletePrivatePathServiceGatewayOptions deletePrivatePathServiceGatewayOptions)
Delete a private path service gateway. This request deletes a private path service gateway. For this request to succeed, the value of `endpoint_gateway_count` must be `0`. This operation cannot be reversed.- Parameters:
deletePrivatePathServiceGatewayOptions
- theDeletePrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getPrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGateway> getPrivatePathServiceGateway(GetPrivatePathServiceGatewayOptions getPrivatePathServiceGatewayOptions)
Retrieve a private path service gateway. This request retrieves the private path service gateway specified by the identifier in the URL.- Parameters:
getPrivatePathServiceGatewayOptions
- theGetPrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGateway
-
updatePrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGateway> updatePrivatePathServiceGateway(UpdatePrivatePathServiceGatewayOptions updatePrivatePathServiceGatewayOptions)
Update a private path service gateway. This request updates a private path service gateway with the information provided in a private path service gateway patch object. The private path service gateway patch object is structured in the same way as a retrieved private path service gateway and contains only the information to be updated.- Parameters:
updatePrivatePathServiceGatewayOptions
- theUpdatePrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGateway
-
listPrivatePathServiceGatewayAccountPolicies
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicyCollection> listPrivatePathServiceGatewayAccountPolicies(ListPrivatePathServiceGatewayAccountPoliciesOptions listPrivatePathServiceGatewayAccountPoliciesOptions)
List account policies for a private path service gateway. This request lists account policies for a private path service gateway. Each policy defines how requests to use the private path service gateway from that account will be handled. The account policies will be sorted by their `created_at` property values, with newest account policies first. Account policies with identical `created_at` property values will in turn be sorted by ascending `id` property values.- Parameters:
listPrivatePathServiceGatewayAccountPoliciesOptions
- theListPrivatePathServiceGatewayAccountPoliciesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayAccountPolicyCollection
-
createPrivatePathServiceGatewayAccountPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicy> createPrivatePathServiceGatewayAccountPolicy(CreatePrivatePathServiceGatewayAccountPolicyOptions createPrivatePathServiceGatewayAccountPolicyOptions)
Create an account policy for a private path service gateway. This request creates an account policy from an account policy prototype object. The prototype object is structured in the same way as a retrieved account policy, and contains the information necessary to create the new account policy.- Parameters:
createPrivatePathServiceGatewayAccountPolicyOptions
- theCreatePrivatePathServiceGatewayAccountPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayAccountPolicy
-
deletePrivatePathServiceGatewayAccountPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deletePrivatePathServiceGatewayAccountPolicy(DeletePrivatePathServiceGatewayAccountPolicyOptions deletePrivatePathServiceGatewayAccountPolicyOptions)
Delete an account policy for a private path service gateway. This request deletes an account policy. This operation cannot be reversed and it does not affect the `status` of any existing endpoint gateway bindings.- Parameters:
deletePrivatePathServiceGatewayAccountPolicyOptions
- theDeletePrivatePathServiceGatewayAccountPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getPrivatePathServiceGatewayAccountPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicy> getPrivatePathServiceGatewayAccountPolicy(GetPrivatePathServiceGatewayAccountPolicyOptions getPrivatePathServiceGatewayAccountPolicyOptions)
Retrieve an account policy for a private path service gateway. This request retrieves a single account policy specified by the identifier in the URL.- Parameters:
getPrivatePathServiceGatewayAccountPolicyOptions
- theGetPrivatePathServiceGatewayAccountPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayAccountPolicy
-
updatePrivatePathServiceGatewayAccountPolicy
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayAccountPolicy> updatePrivatePathServiceGatewayAccountPolicy(UpdatePrivatePathServiceGatewayAccountPolicyOptions updatePrivatePathServiceGatewayAccountPolicyOptions)
Update an account policy for a private path service gateway. This request updates an account policy with the information in a provided account policy patch. The account policy patch object is structured in the same way as a retrieved account policy and contains only the information to be updated.- Parameters:
updatePrivatePathServiceGatewayAccountPolicyOptions
- theUpdatePrivatePathServiceGatewayAccountPolicyOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayAccountPolicy
-
listPrivatePathServiceGatewayEndpointGatewayBindings
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayEndpointGatewayBindingCollection> listPrivatePathServiceGatewayEndpointGatewayBindings(ListPrivatePathServiceGatewayEndpointGatewayBindingsOptions listPrivatePathServiceGatewayEndpointGatewayBindingsOptions)
List endpoint gateway bindings for a private path service gateway. This request lists endpoint gateway bindings for a private path service gateway. Each endpoint gateway binding is implicitly created when an endpoint gateway is created targeting the private path service gateway. The associated account policy is applied to all new endpoint gateway bindings. If an associated account policy doesn't exist, the private path service gateway's `default_access_policy` is used. The endpoint gateway bindings will be sorted by their `created_at` property values, with newest endpoint gateway bindings first. Endpoint gateway bindings with identical `created_at` property values will in turn be sorted by ascending `name` property values.- Parameters:
listPrivatePathServiceGatewayEndpointGatewayBindingsOptions
- theListPrivatePathServiceGatewayEndpointGatewayBindingsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayEndpointGatewayBindingCollection
-
getPrivatePathServiceGatewayEndpointGatewayBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<PrivatePathServiceGatewayEndpointGatewayBinding> getPrivatePathServiceGatewayEndpointGatewayBinding(GetPrivatePathServiceGatewayEndpointGatewayBindingOptions getPrivatePathServiceGatewayEndpointGatewayBindingOptions)
Retrieve an endpoint gateway binding for a private path service gateway. This request retrieves a single endpoint gateway binding specified by the identifier in the URL.- Parameters:
getPrivatePathServiceGatewayEndpointGatewayBindingOptions
- theGetPrivatePathServiceGatewayEndpointGatewayBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePrivatePathServiceGatewayEndpointGatewayBinding
-
denyPrivatePathServiceGatewayEndpointGatewayBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> denyPrivatePathServiceGatewayEndpointGatewayBinding(DenyPrivatePathServiceGatewayEndpointGatewayBindingOptions denyPrivatePathServiceGatewayEndpointGatewayBindingOptions)
Deny an endpoint gateway binding for a private path service gateway. This request denies a `pending` endpoint gateway request, and optionally sets the policy to deny future requests from the same account.- Parameters:
denyPrivatePathServiceGatewayEndpointGatewayBindingOptions
- theDenyPrivatePathServiceGatewayEndpointGatewayBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
permitPrivatePathServiceGatewayEndpointGatewayBinding
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> permitPrivatePathServiceGatewayEndpointGatewayBinding(PermitPrivatePathServiceGatewayEndpointGatewayBindingOptions permitPrivatePathServiceGatewayEndpointGatewayBindingOptions)
Permit an endpoint gateway binding for a private path service gateway. This request permits a `pending` endpoint gateway request, and optionally sets the policy to permit future requests from the same account.- Parameters:
permitPrivatePathServiceGatewayEndpointGatewayBindingOptions
- thePermitPrivatePathServiceGatewayEndpointGatewayBindingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
publishPrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> publishPrivatePathServiceGateway(PublishPrivatePathServiceGatewayOptions publishPrivatePathServiceGatewayOptions)
Publish a private path service gateway. This request publishes a private path service gateway, allowing any account to request access to it.- Parameters:
publishPrivatePathServiceGatewayOptions
- thePublishPrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
revokeAccountForPrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> revokeAccountForPrivatePathServiceGateway(RevokeAccountForPrivatePathServiceGatewayOptions revokeAccountForPrivatePathServiceGatewayOptions)
Revoke access to a private path service gateway for an account. This request revokes a consumer account. This operation cannot be reversed. The `status` of all endpoint gateway bindings associated with the specified private path service gateway become `denied`. If the specified account has an existing access policy, that policy will be updated to `denied`. Otherwise, a new `deny` access policy will be created for the account.- Parameters:
revokeAccountForPrivatePathServiceGatewayOptions
- theRevokeAccountForPrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
unpublishPrivatePathServiceGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> unpublishPrivatePathServiceGateway(UnpublishPrivatePathServiceGatewayOptions unpublishPrivatePathServiceGatewayOptions)
Unpublish a private path service gateway. This request unpublishes a private path service gateway. For this request to succeed, any existing access from other accounts must first be revoked. Once unpublished, access will again be restricted to the account that created this private path service gateway.- Parameters:
unpublishPrivatePathServiceGatewayOptions
- theUnpublishPrivatePathServiceGatewayOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
-