GPU Droplets
GPU Droplets
GPU Droplets
Create a New Droplet
gpu_droplets.create(GPUDropletCreateParams**kwargs) -> GPUDropletCreateResponse
post/v2/droplets
Deleting Droplets by Tag
gpu_droplets.delete_by_tag(GPUDropletDeleteByTagParams**kwargs)
delete/v2/droplets
List All Droplets
gpu_droplets.list(GPUDropletListParams**kwargs) -> metaMetaPropertiesdropletslistlinksPageLinksGPUDropletListResponse
get/v2/droplets
List all Firewalls Applied to a Droplet
gpu_droplets.list_firewalls(intdroplet_id, GPUDropletListFirewallsParams**kwargs) -> metaMetaPropertiesfirewallslistlinksPageLinksGPUDropletListFirewallsResponse
get/v2/droplets/{droplet_id}/firewalls
List All Available Kernels for a Droplet
gpu_droplets.list_kernels(intdroplet_id, GPUDropletListKernelsParams**kwargs) -> metaMetaPropertieskernelslistlinksPageLinksGPUDropletListKernelsResponse
get/v2/droplets/{droplet_id}/kernels
List Neighbors for a Droplet
gpu_droplets.list_neighbors(intdroplet_id) -> dropletslistGPUDropletListNeighborsResponse
get/v2/droplets/{droplet_id}/neighbors
List Snapshots for a Droplet
gpu_droplets.list_snapshots(intdroplet_id, GPUDropletListSnapshotsParams**kwargs) -> metaMetaPropertieslinksPageLinkssnapshotslistGPUDropletListSnapshotsResponse
get/v2/droplets/{droplet_id}/snapshots
Retrieve an Existing Droplet
gpu_droplets.retrieve(intdroplet_id) -> dropletDropletGPUDropletRetrieveResponse
get/v2/droplets/{droplet_id}
Droplet Backup Policy
DropletBackupPolicyclass
GPU DropletsAccount
GPU DropletsAccountKeys
Create a New SSH Key
gpu_droplets.account.keys.create(KeyCreateParams**kwargs) -> ssh_keySSHKeyKeyCreateResponse
post/v2/account/keys
Delete an SSH Key
gpu_droplets.account.keys.delete(Union[int, str]ssh_key_identifier)
delete/v2/account/keys/{ssh_key_identifier}
List All SSH Keys
gpu_droplets.account.keys.list(KeyListParams**kwargs) -> metaMetaPropertieslinksPageLinksssh_keyslistKeyListResponse
get/v2/account/keys
Retrieve an Existing SSH Key
gpu_droplets.account.keys.retrieve(Union[int, str]ssh_key_identifier) -> ssh_keySSHKeyKeyRetrieveResponse
get/v2/account/keys/{ssh_key_identifier}
Update an SSH Key's Name
gpu_droplets.account.keys.update(Union[int, str]ssh_key_identifier, KeyUpdateParams**kwargs) -> ssh_keySSHKeyKeyUpdateResponse
put/v2/account/keys/{ssh_key_identifier}
GPU DropletsActions
Acting on Tagged Droplets
gpu_droplets.actions.bulk_initiate(ActionBulkInitiateParams**kwargs) -> actionslistActionBulkInitiateResponse
post/v2/droplets/actions
Initiate a Droplet Action
gpu_droplets.actions.initiate(intdroplet_id, ActionInitiateParams**kwargs) -> actionActionActionInitiateResponse
post/v2/droplets/{droplet_id}/actions
List Actions for a Droplet
gpu_droplets.actions.list(intdroplet_id, ActionListParams**kwargs) -> metaMetaPropertiesactionslistlinksPageLinksActionListResponse
get/v2/droplets/{droplet_id}/actions
Retrieve a Droplet Action
gpu_droplets.actions.retrieve(intaction_id, ActionRetrieveParams**kwargs) -> actionActionActionRetrieveResponse
get/v2/droplets/{droplet_id}/actions/{action_id}
GPU DropletsAutoscale
Create a New Autoscale Pool
gpu_droplets.autoscale.create(AutoscaleCreateParams**kwargs) -> autoscale_poolAutoscalePoolAutoscaleCreateResponse
post/v2/droplets/autoscale
Delete autoscale pool
gpu_droplets.autoscale.delete(strautoscale_pool_id)
delete/v2/droplets/autoscale/{autoscale_pool_id}
Delete autoscale pool and resources
gpu_droplets.autoscale.delete_dangerous(strautoscale_pool_id, AutoscaleDeleteDangerousParams**kwargs)
delete/v2/droplets/autoscale/{autoscale_pool_id}/dangerous
List All Autoscale Pools
gpu_droplets.autoscale.list(AutoscaleListParams**kwargs) -> metaMetaPropertiesautoscale_poolslistlinksPageLinksAutoscaleListResponse
get/v2/droplets/autoscale
List history events
gpu_droplets.autoscale.list_history(strautoscale_pool_id, AutoscaleListHistoryParams**kwargs) -> metaMetaPropertieshistorylistlinksPageLinksAutoscaleListHistoryResponse
get/v2/droplets/autoscale/{autoscale_pool_id}/history
List members
gpu_droplets.autoscale.list_members(strautoscale_pool_id, AutoscaleListMembersParams**kwargs) -> metaMetaPropertiesdropletslistlinksPageLinksAutoscaleListMembersResponse
get/v2/droplets/autoscale/{autoscale_pool_id}/members
Retrieve an Existing Autoscale Pool
gpu_droplets.autoscale.retrieve(strautoscale_pool_id) -> autoscale_poolAutoscalePoolAutoscaleRetrieveResponse
get/v2/droplets/autoscale/{autoscale_pool_id}
Update Autoscale Pool
gpu_droplets.autoscale.update(strautoscale_pool_id, AutoscaleUpdateParams**kwargs) -> autoscale_poolAutoscalePoolAutoscaleUpdateResponse
put/v2/droplets/autoscale/{autoscale_pool_id}
Autoscale Pool
AutoscalePoolclass
Autoscale Pool Droplet Template
AutoscalePoolDropletTemplateclass
Autoscale Pool Dynamic Config
AutoscalePoolDynamicConfigclass
Autoscale Pool Static Config
AutoscalePoolStaticConfigclass
Current Utilization
CurrentUtilizationclass
GPU DropletsBackups
List Backups for a Droplet
gpu_droplets.backups.list(intdroplet_id, BackupListParams**kwargs) -> metaMetaPropertiesbackupslistlinksPageLinksBackupListResponse
get/v2/droplets/{droplet_id}/backups
List Backup Policies for All Existing Droplets
gpu_droplets.backups.list_policies(BackupListPoliciesParams**kwargs) -> metaMetaPropertieslinksPageLinkspoliciesDict[str, Policies]BackupListPoliciesResponse
get/v2/droplets/backups/policies
List Supported Droplet Backup Policies
gpu_droplets.backups.list_supported_policies() -> supported_policieslistBackupListSupportedPoliciesResponse
get/v2/droplets/backups/supported_policies
Retrieve the Backup Policy for an Existing Droplet
gpu_droplets.backups.retrieve_policy(intdroplet_id) -> policyPolicyBackupRetrievePolicyResponse
get/v2/droplets/{droplet_id}/backups/policy
GPU DropletsDestroy With Associated Resources
Check Status of a Droplet Destroy with Associated Resources Request
gpu_droplets.destroy_with_associated_resources.check_status(intdroplet_id) -> completed_atdatetimedropletDestroyedAssociatedResourcefailuresintresourcesResourcesDestroyWithAssociatedResourceCheckStatusResponse
get/v2/droplets/{droplet_id}/destroy_with_associated_resources/status
Destroy a Droplet and All of its Associated Resources (Dangerous)
gpu_droplets.destroy_with_associated_resources.delete_dangerous(intdroplet_id, DestroyWithAssociatedResourceDeleteDangerousParams**kwargs)
delete/v2/droplets/{droplet_id}/destroy_with_associated_resources/dangerous
Selectively Destroy a Droplet and its Associated Resources
gpu_droplets.destroy_with_associated_resources.delete_selective(intdroplet_id, DestroyWithAssociatedResourceDeleteSelectiveParams**kwargs)
delete/v2/droplets/{droplet_id}/destroy_with_associated_resources/selective
List Associated Resources for a Droplet
gpu_droplets.destroy_with_associated_resources.list(intdroplet_id) -> floating_ipslistreserved_ipslistsnapshotslistvolume_snapshotslistvolumeslistDestroyWithAssociatedResourceListResponse
get/v2/droplets/{droplet_id}/destroy_with_associated_resources
Retry a Droplet Destroy with Associated Resources Request
gpu_droplets.destroy_with_associated_resources.retry(intdroplet_id)
post/v2/droplets/{droplet_id}/destroy_with_associated_resources/retry
Associated Resource
AssociatedResourceclass
An objects containing information about a resource associated with a Droplet.
Destroyed Associated Resource
DestroyedAssociatedResourceclass
An object containing information about a resource scheduled for deletion.
GPU DropletsFirewalls
Create a New Firewall
gpu_droplets.firewalls.create(FirewallCreateParams**kwargs) -> firewallFirewallFirewallCreateResponse
post/v2/firewalls
List All Firewalls
gpu_droplets.firewalls.list(FirewallListParams**kwargs) -> metaMetaPropertiesfirewallslistlinksPageLinksFirewallListResponse
get/v2/firewalls
Retrieve an Existing Firewall
gpu_droplets.firewalls.retrieve(strfirewall_id) -> firewallFirewallFirewallRetrieveResponse
get/v2/firewalls/{firewall_id}
Update a Firewall
gpu_droplets.firewalls.update(strfirewall_id, FirewallUpdateParams**kwargs) -> firewallFirewallFirewallUpdateResponse
put/v2/firewalls/{firewall_id}
Firewall
Firewallclass
GPU DropletsFirewallsDroplets
Add Droplets to a Firewall
gpu_droplets.firewalls.droplets.add(strfirewall_id, DropletAddParams**kwargs)
post/v2/firewalls/{firewall_id}/droplets
Remove Droplets from a Firewall
gpu_droplets.firewalls.droplets.remove(strfirewall_id, DropletRemoveParams**kwargs)
delete/v2/firewalls/{firewall_id}/droplets
GPU DropletsFirewallsRules
Add Rules to a Firewall
gpu_droplets.firewalls.rules.add(strfirewall_id, RuleAddParams**kwargs)
post/v2/firewalls/{firewall_id}/rules
Remove Rules from a Firewall
gpu_droplets.firewalls.rules.remove(strfirewall_id, RuleRemoveParams**kwargs)
delete/v2/firewalls/{firewall_id}/rules
GPU DropletsFirewallsTags
Add Tags to a Firewall
gpu_droplets.firewalls.tags.add(strfirewall_id, TagAddParams**kwargs)
post/v2/firewalls/{firewall_id}/tags
Remove Tags from a Firewall
gpu_droplets.firewalls.tags.remove(strfirewall_id, TagRemoveParams**kwargs)
delete/v2/firewalls/{firewall_id}/tags
GPU DropletsFloating IPs
Create a New Floating IP
gpu_droplets.floating_ips.create(FloatingIPCreateParams**kwargs) -> floating_ipFloatingIPlinksLinksFloatingIPCreateResponse
post/v2/floating_ips
Delete a Floating IP
gpu_droplets.floating_ips.delete(strfloating_ip)
delete/v2/floating_ips/{floating_ip}
List All Floating IPs
gpu_droplets.floating_ips.list(FloatingIPListParams**kwargs) -> metaMetaPropertiesfloating_ipslistlinksPageLinksFloatingIPListResponse
get/v2/floating_ips
Retrieve an Existing Floating IP
gpu_droplets.floating_ips.retrieve(strfloating_ip) -> floating_ipFloatingIPFloatingIPRetrieveResponse
get/v2/floating_ips/{floating_ip}
Floating IP
FloatingIPclass
GPU DropletsFloating IPsActions
Initiate a Floating IP Action
gpu_droplets.floating_ips.actions.create(strfloating_ip, ActionCreateParams**kwargs) -> actionActionActionCreateResponse
post/v2/floating_ips/{floating_ip}/actions
List All Actions for a Floating IP
gpu_droplets.floating_ips.actions.list(strfloating_ip) -> metaMetaPropertiesactionslistlinksPageLinksActionListResponse
get/v2/floating_ips/{floating_ip}/actions
Retrieve an Existing Floating IP Action
gpu_droplets.floating_ips.actions.retrieve(intaction_id, ActionRetrieveParams**kwargs) -> actionActionActionRetrieveResponse
get/v2/floating_ips/{floating_ip}/actions/{action_id}
GPU DropletsImages
Create a Custom Image
gpu_droplets.images.create(ImageCreateParams**kwargs) -> imageImageImageCreateResponse
post/v2/images
List All Images
gpu_droplets.images.list(ImageListParams**kwargs) -> imageslistmetaMetaPropertieslinksPageLinksImageListResponse
get/v2/images
Retrieve an Existing Image
gpu_droplets.images.retrieve(Union[int, str]image_id) -> imageImageImageRetrieveResponse
get/v2/images/{image_id}
Update an Image
gpu_droplets.images.update(intimage_id, ImageUpdateParams**kwargs) -> imageImageImageUpdateResponse
put/v2/images/{image_id}
GPU DropletsImagesActions
Initiate an Image Action
gpu_droplets.images.actions.create(intimage_id, ActionCreateParams**kwargs) -> idintcompleted_atdatetimeregionRegionregion_slugstrresource_idintresource_typestrstarted_atdatetimestatusliteraltypestrAction
post/v2/images/{image_id}/actions
List All Actions for an Image
gpu_droplets.images.actions.list(intimage_id) -> metaMetaPropertiesactionslistlinksPageLinksActionListResponse
get/v2/images/{image_id}/actions
Retrieve an Existing Action
gpu_droplets.images.actions.retrieve(intaction_id, ActionRetrieveParams**kwargs) -> idintcompleted_atdatetimeregionRegionregion_slugstrresource_idintresource_typestrstarted_atdatetimestatusliteraltypestrAction
get/v2/images/{image_id}/actions/{action_id}
GPU DropletsLoad Balancers
Create a New Load Balancer
gpu_droplets.load_balancers.create(LoadBalancerCreateParams**kwargs) -> load_balancerLoadBalancerLoadBalancerCreateResponse
post/v2/load_balancers
Delete a Global Load Balancer CDN Cache
gpu_droplets.load_balancers.delete_cache(strlb_id)
delete/v2/load_balancers/{lb_id}/cache
List All Load Balancers
gpu_droplets.load_balancers.list(LoadBalancerListParams**kwargs) -> metaMetaPropertieslinksPageLinksload_balancerslistLoadBalancerListResponse
get/v2/load_balancers
Retrieve an Existing Load Balancer
gpu_droplets.load_balancers.retrieve(strlb_id) -> load_balancerLoadBalancerLoadBalancerRetrieveResponse
get/v2/load_balancers/{lb_id}
Update a Load Balancer
gpu_droplets.load_balancers.update(strlb_id, LoadBalancerUpdateParams**kwargs) -> load_balancerLoadBalancerLoadBalancerUpdateResponse
put/v2/load_balancers/{lb_id}
Domains
Domainsclass
An object specifying domain configurations for a Global load balancer.
Forwarding Rule
ForwardingRuleclass
An object specifying a forwarding rule for a load balancer.
Glb Settings
GlbSettingsclass
An object specifying forwarding configurations for a Global load balancer.
Health Check
HealthCheckclass
An object specifying health check settings for the load balancer.
Lb Firewall
LbFirewallclass
An object specifying allow and deny rules to control traffic to the load balancer.
Load Balancer
LoadBalancerclass
Sticky Sessions
StickySessionsclass
An object specifying sticky sessions settings for the load balancer.
GPU DropletsLoad BalancersDroplets
Add Droplets to a Load Balancer
gpu_droplets.load_balancers.droplets.add(strlb_id, DropletAddParams**kwargs)
post/v2/load_balancers/{lb_id}/droplets
Remove Droplets from a Load Balancer
gpu_droplets.load_balancers.droplets.remove(strlb_id, DropletRemoveParams**kwargs)
delete/v2/load_balancers/{lb_id}/droplets
GPU DropletsLoad BalancersForwarding Rules
Add Forwarding Rules to a Load Balancer
gpu_droplets.load_balancers.forwarding_rules.add(strlb_id, ForwardingRuleAddParams**kwargs)
post/v2/load_balancers/{lb_id}/forwarding_rules
Remove Forwarding Rules from a Load Balancer
gpu_droplets.load_balancers.forwarding_rules.remove(strlb_id, ForwardingRuleRemoveParams**kwargs)
delete/v2/load_balancers/{lb_id}/forwarding_rules
GPU DropletsSizes
List All Droplet Sizes
gpu_droplets.sizes.list(SizeListParams**kwargs) -> metaMetaPropertiessizeslistlinksPageLinksSizeListResponse
get/v2/sizes
GPU DropletsSnapshots
Delete a Snapshot
gpu_droplets.snapshots.delete(Union[int, str]snapshot_id)
delete/v2/snapshots/{snapshot_id}
List All Snapshots
gpu_droplets.snapshots.list(SnapshotListParams**kwargs) -> metaMetaPropertieslinksPageLinkssnapshotslistSnapshotListResponse
get/v2/snapshots
Retrieve an Existing Snapshot
gpu_droplets.snapshots.retrieve(Union[int, str]snapshot_id) -> snapshotSnapshotsSnapshotRetrieveResponse
get/v2/snapshots/{snapshot_id}
GPU DropletsVolumes
Create a New Block Storage Volume
gpu_droplets.volumes.create(VolumeCreateParams**kwargs) -> volumeVolumeVolumeCreateResponse
post/v2/volumes
Delete a Block Storage Volume
gpu_droplets.volumes.delete(strvolume_id)
delete/v2/volumes/{volume_id}
Delete a Block Storage Volume by Name
gpu_droplets.volumes.delete_by_name(VolumeDeleteByNameParams**kwargs)
delete/v2/volumes
List All Block Storage Volumes
gpu_droplets.volumes.list(VolumeListParams**kwargs) -> metaMetaPropertiesvolumeslistlinksPageLinksVolumeListResponse
get/v2/volumes
Retrieve an Existing Block Storage Volume
gpu_droplets.volumes.retrieve(strvolume_id) -> volumeVolumeVolumeRetrieveResponse
get/v2/volumes/{volume_id}
GPU DropletsVolumesActions
Initiate A Block Storage Action By Volume Id
gpu_droplets.volumes.actions.initiate_by_id(strvolume_id, ActionInitiateByIDParams**kwargs) -> actionVolumeActionActionInitiateByIDResponse
post/v2/volumes/{volume_id}/actions
Initiate A Block Storage Action By Volume Name
gpu_droplets.volumes.actions.initiate_by_name(ActionInitiateByNameParams**kwargs) -> actionVolumeActionActionInitiateByNameResponse
post/v2/volumes/actions
List All Actions for a Volume
gpu_droplets.volumes.actions.list(strvolume_id, ActionListParams**kwargs) -> metaMetaPropertiesactionslistlinksPageLinksActionListResponse
get/v2/volumes/{volume_id}/actions
Retrieve an Existing Volume Action
gpu_droplets.volumes.actions.retrieve(intaction_id, ActionRetrieveParams**kwargs) -> actionVolumeActionActionRetrieveResponse
get/v2/volumes/{volume_id}/actions/{action_id}
Volume Action
VolumeActionclass
GPU DropletsVolumesSnapshots
Create Snapshot from a Volume
gpu_droplets.volumes.snapshots.create(strvolume_id, SnapshotCreateParams**kwargs) -> snapshotSnapshotsSnapshotCreateResponse
post/v2/volumes/{volume_id}/snapshots
Delete a Volume Snapshot
gpu_droplets.volumes.snapshots.delete(strsnapshot_id)
delete/v2/volumes/snapshots/{snapshot_id}
List Snapshots for a Volume
gpu_droplets.volumes.snapshots.list(strvolume_id, SnapshotListParams**kwargs) -> metaMetaPropertieslinksPageLinkssnapshotslistSnapshotListResponse
get/v2/volumes/{volume_id}/snapshots
Retrieve an Existing Volume Snapshot
gpu_droplets.volumes.snapshots.retrieve(strsnapshot_id) -> snapshotSnapshotsSnapshotRetrieveResponse
get/v2/volumes/snapshots/{snapshot_id}