{ "info": { "author": "Matt Baldwin (stackpointcloud.com)", "author_email": "baldwin@stackpointcloud.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Python SDK\n\nVersion: profitbricks-sdk-python **4.1.3**\n\n## Table of Contents\n\n* [Description](#description)\n* [Getting Started](#getting-started)\n * [Installation](#installation)\n * [Authenticating](#authenticating)\n * [Error Handling](#error-handling)\n* [Reference](#reference)\n * [Data Centers](#data-centers)\n * [List Data Centers](#list-data-centers)\n * [Retrieve a Data Center](#retrieve-a-data-center)\n * [Create a Data Center](#create-a-data-center)\n * [Update a Data Center](#update-a-data-center)\n * [Delete a Data Center](#delete-a-data-center)\n * [Locations](#locations)\n * [List Locations](#list-locations)\n * [Get a Location](#get-a-location)\n * [Servers](#servers)\n * [List Servers](#list-servers)\n * [Retrieve a Server](#retrieve-a-server)\n * [Create a Server](#create-a-server)\n * [Update a Server](#update-a-server)\n * [Delete a Server](#delete-a-server)\n * [List Attached Volumes](#list-attached-volumes)\n * [Attach a Volume](#attach-a-volume)\n * [Retrieve an Attached Volume](#retrieve-an-attached-volume)\n * [Detach a Volume](#detach-a-volume)\n * [List Attached CD-ROMs](#list-attached-cd-roms)\n * [Attach a CD-ROM](#attach-a-cd-rom)\n * [Retrieve an Attached CD-ROM](#retrieve-an-attached-cd-rom)\n * [Detach a CD-ROM](#detach-a-cd-rom)\n * [Reboot a Server](#reboot-a-server)\n * [Start a Server](#start-a-server)\n * [Stop a Server](#stop-a-server)\n * [Images](#images)\n * [List Images](#list-images)\n * [Get an Image](#get-an-image)\n * [Update an Image](#update-an-image)\n * [Delete an Image](#delete-an-image)\n * [Volumes](#volumes)\n * [List Volumes](#list-volumes)\n * [Get a Volume](#get-a-volume)\n * [Create a Volume](#create-a-volume)\n * [Update a Volume](#update-a-volume)\n * [Delete a Volume](#delete-a-volume)\n * [Create a Volume Snapshot](#create-a-volume-snapshot)\n * [Restore a Volume Snapshot](#restore-a-volume-snapshot)\n * [Snapshots](#snapshots)\n * [List Snapshots](#list-snapshots)\n * [Get a Snapshot](#get-a-snapshot)\n * [Update a Snapshot](#update-a-snapshot)\n * [Delete a Snapshot](#delete-a-snapshot)\n * [IP Blocks](#ip-blocks)\n * [List IP Blocks](#list-ip-blocks)\n * [Get an IP Block](#get-an-ip-block)\n * [Create an IP Block](#create-an-ip-block)\n * [Delete an IP Block](#delete-an-ip-block)\n * [LANs](#lans)\n * [List LANs](#list-lans)\n * [Create a LAN](#create-a-lan)\n * [Get a LAN](#get-a-lan)\n * [Get LAN Members](#get-lan-members)\n * [Update a LAN](#update-a-lan)\n * [Delete a LAN](#delete-a-lan)\n * [Network Interfaces (NICs)](#network-interfaces-nics)\n * [List NICs](#list-nics)\n * [Get a NIC](#get-a-nic)\n * [Create a NIC](#create-a-nic)\n * [Update a NIC](#update-a-nic)\n * [Delete a NIC](#delete-a-nic)\n * [Firewall Rules](#firewall-rules)\n * [List Firewall Rules](#list-firewall-rules)\n * [Get a Firewall Rule](#get-a-firewall-rule)\n * [Create a Firewall Rule](#create-a-firewall-rule)\n * [Update a Firewall Rule](#update-a-firewall-rule)\n * [Delete a Firewall Rule](#delete-a-firewall-rule)\n * [Load Balancers](#load-balancers)\n * [List Load Balancers](#list-load-balancers)\n * [Get a Load Balancer](#get-a-load-balancer)\n * [Create a Load Balancer](#create-a-load-balancer)\n * [Update a Load Balancer](#update-a-load-balancer)\n * [List Load Balanced NICs](#list-load-balanced-nics)\n * [Get a Load Balanced NIC](#get-a-load-balanced-nic)\n * [Associate NIC to a Load Balancer](#associate-nic-to-a-load-balancer)\n * [Remove a NIC Association](#remove-a-nic-association)\n * [User Management](#user-management)\n * [List Groups](#list-groups)\n * [Get a Group](#get-a-group)\n * [Create a Group](#create-a-group)\n * [Update a Group](#update-a-group)\n * [Delete a Group](#delete-a-group)\n * [List Shares](#list-shares)\n * [Get a Share](#get-a-share)\n * [Add a Share](#add-a-share)\n * [Update a Share](#update-a-share)\n * [Delete a Share](#delete-a-share)\n * [List Users](#list-users)\n * [Get a User](#get-a-user)\n * [Create a User](#create-a-user)\n * [Update a User](#update-a-user)\n * [Delete a User](#delete-a-user)\n * [List Users in a Group](#list-users-in-a-group)\n * [Add User to Group](#add-user-to-group)\n * [Remove User from a Group](#remove-user-from-a-group)\n * [List Resources](#list-resources)\n * [Get a Resource](#get-a-resource)\n * [Contract Resources](#contract-resources)\n * [List Contract Resources](#list-contract-resources)\n * [Requests](#requests)\n * [List Requests](#list-requests)\n * [Get a Request](#get-a-request)\n * [Get a Request Status](#get-a-request-status)\n* [Examples](#examples)\n * [List All Data Centers](#list-all-data-centers)\n * [Search for Images](#search-for-images)\n * [Reserve an IP Block](#reserve-an-ip-block)\n * [Wait for Resources](#wait-for-resources)\n * [Component Build](#component-build)\n * [Composite Build](#composite-build)\n* [Support](#support)\n* [Testing](#testing)\n* [Contributing](#contributing)\n\n## Description\n\nThe ProfitBricks SDK for Python provides you with access to the ProfitBricks Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in Python.\n\nThis guide will walk you through getting setup with the library and performing various actions against the API.\n\nThe SDK for Python wraps the ProfitBricks Cloud API. All API operations are performed over SSL and authenticated using your ProfitBricks portal credentials. The API can be accessed within an instance running in ProfitBricks or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.\n\n## Getting Started\n\nBefore you begin you will need to have [signed-up](https://www.profitbricks.com/signup) for a ProfitBricks account. The credentials you setup during sign-up will be used to authenticate against the Cloud API.\n\n#### Installation\n\nThe ProfitBricks SDK for Python is available on [PyPi](https://pypi.python.org/pypi/profitbricks). You can install the latest stable version using `pip`:\n\n pip install profitbricks\n\nDone!\n\n#### Authenticating\n\nConnecting to ProfitBricks is handled by first setting up your authentication credentials.\n\n from profitbricks.client import ProfitBricksService\n\n client = ProfitBricksService(\n username='YOUR_USERNAME', password='YOUR_PASSWORD')\n\nReplace the values for *YOUR_USERNAME* and *YOUR_PASSWORD* with the ProfitBricks credentials you established during sign-up.\n\nYou can now use `client` for any future request.\n\n#### Error Handling\n\nThe SDK will raise custom exceptions when the Cloud API returns an error. There are five exception types:\n\n| Exception | HTTP Code | Description |\n|---|:-:|---|\n| PBNotAuthorizedError | 401 | The supplied user credentials are invalid. |\n| PBNotFoundError | 404 | The requested resource cannot be found. |\n| PBValidationError | 422 | The request body includes invalid JSON. |\n| PBRateLimitExceededError | 429 | The Cloud API rate limit has been exceeded. |\n| PBError | Other | A generic exception for all other status codes. |\n\n## Reference\n\nThis section provides details on all the available operations and the arguments they accept. Brief code snippets demonstrating usage are also included.\n\n`client` is the `ProfitBricksService` class imported `from profitbricks.client import ProfitBricksService`\n\n#### Depth\n\nMany of the *get_* or *list_* operations will accept an optional *depth* argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The detail returned varies somewhat depending on the resource being queried, however it generally follows this pattern.\n\n| Depth | Description |\n|:-:|---|\n| 0 | Only direct properties are included. Children are not included. |\n| 1 | Direct properties and children's references are returned. |\n| 2 | Direct properties and children's properties are returned. |\n| 3 | Direct properties, children's properties, and descendant's references are returned. |\n| 4 | Direct properties, children's properties, and descendant's properties are returned. |\n| 5 | Returns all available properties. |\n\nThis SDK sets the *depth=1* by default as that works well in the majority of cases. You may find that setting *depth* to a lower or higher value could simplify a later operation by reducing or increasing the data available in the response object.\n\n## Data Centers\n\nVirtual Data Centers (VDCs) are the foundation of the ProfitBricks platform. VDCs act as logical containers for all other objects you will be creating, e.g., servers. You can provision as many VDCs as you want. VDCs have their own private network and are logically segmented from each other to create isolation.\n\n#### List Data Centers\n\nThis operation will list all currently provisioned VDCs that your account credentials provide access to.\n\nThere are no request arguments that need to be supplied. You may supply the optional *depth* argument.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nCall `list_datacenters`:\n\n response = client.list_datacenters()\n\n---\n\n#### Retrieve a Data Center\n\nUse this to retrieve details about a specific VDC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_datacenter`:\n\n response = client.get_datacenter(datacenter_id='UUID')\n\n---\n\n#### Create a Data Center\n\nUse this operation to create a new VDC. You can create a \"simple\" VDC by supplying just the required *name* and *location* arguments. This operation also has the capability of provisioning a \"complex\" VDC by supplying additional arguments for servers, volumes, LANs, and/or load balancers.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter | **yes** | object | A [Datacenter object](#datacenter-resource-object) describing the VDC being created. |\n\nBuild the `Datacenter` resource object:\n\n datacenter = Datacenter(\n name='Data Center Name',\n description='My new data center',\n location='de/fkb')\n\nPass the object to `create_datacenter`:\n\n response = client.create_datacenter(datacenter=datacenter)\n\n#### Datacenter Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | **yes** | string | The name of the VDC. |\n| location | **yes** | string | The physical ProfitBricks location where the VDC will be created. |\n| description | no | string | A description for the VDC, e.g. staging, production. |\n| servers | no | list | A list of one or more [Server objects](#server-resource-object) to be created. |\n| volumes | no | list | A list of one or more [Volume objects](#volume-resource-object) to be created. |\n| lans | no | list | A list of one or more [LAN objects](#lan-resource-object) to be created. |\n| loadbalancers | no | list | A list of one or more [LoadBalancer objects](#load-balancer-resource-object) to be created. |\n\nThe following table outlines the locations currently supported:\n\n| Value| Country | City |\n|---|---|---|\n| us/las | United States | Las Vegas |\n| us/ewr | United States | Newark |\n| de/fra | Germany | Frankfurt |\n| de/fkb | Germany | Karlsruhe |\n\n**NOTES**:\n\n* The value for `name` cannot contain the following characters: (@, /, , |, \u2018\u2019, \u2018).\n* You cannot change the VDC `location` once it has been provisioned.\n\n---\n\n#### Update a Data Center\n\nAfter retrieving a VDC, either by ID or as a create response object, you can change its properties by calling the `update_datacenter` method. Some arguments may not be changed using `update_datacenter`.\n\nThe following table describes the available request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| name | no | string | The new name of the VDC. |\n| description | no | string | The new description of the VDC. |\n\nPass the arguments to `update_datacenter`:\n\n response = client.update_datacenter(\n datacenter_id='UUID',\n name='New Name'\n description='New description')\n\n---\n\n#### Delete a Data Center\n\nThis will remove all objects within the VDC and remove the VDC object itself.\n\n**NOTE**: This is a highly destructive operation which should be used with extreme caution!\n\nThe following table describes the available request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC that you want to delete. |\n\nPass the argument to `delete_datacenter`:\n\n response = client.delete_datacenter(datacenter_id='UUID')\n\n---\n\n## Locations\n\nLocations are the physical ProfitBricks data centers where you can provision your VDCs.\n\n#### List Locations\n\nThe `list_locations` operation will return the list of currently available locations.\n\nThere are no request arguments to supply.\n\n response = client.list_locations()\n\n---\n\n#### Get a Location\n\nRetrieves the attributes of a specific location.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| location_id | **yes** | string | The ID consisting of country/city. |\n\nPass the argument to `get_location`:\n\n client.get_location('us/las')\n\n---\n\n## Servers\n\n#### List Servers\n\nYou can retrieve a list of all the servers provisioned inside a specific VDC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_servers`:\n\n response = client.list_servers(datacenter_id='UUID')\n\n---\n\n#### Retrieve a Server\n\nReturns information about a specific server such as its configuration, provisioning status, etc.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_server`:\n\n response = client.get_server(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### Create a Server\n\nCreates a server within an existing VDC. You can configure additional properties such as specifying a boot volume and connecting the server to a LAN.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server | **yes** | object | A [Server object](#server-resource-object) describing the server being created. |\n\nBuild a [Server](#server-resource-object) object:\n\n server = Server(\n name='Server Name',\n cores=1,\n ram=2048,\n description='My new server',\n location='de/fkb')\n\nPass the object and other arguments to `create_server`:\n\n response = client.create_server(\n datacenter_id='UUID',\n server=server)\n\n#### Server Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | **yes** | string | The name of the server. |\n| cores | **yes** | int | The total number of cores for the server. |\n| ram | **yes** | int | The amount of memory for the server in MB, e.g. 2048. Size must be specified in multiples of 256 MB with a minimum of 256 MB; however, if you set `ram_hot_plug` to *True* then you must use a minimum of 1024 MB. |\n| availability_zone | no | string | The availability zone in which the server should exist. |\n| cpu_family | no | string | Sets the CPU type. \"AMD_OPTERON\" or \"INTEL_XEON\". Defaults to \"AMD_OPTERON\". |\n| boot_volume_id | no | string | A volume ID that the server will boot from. If not *null* then `boot_cdrom` has to be *null*. |\n| boot_cdrom | no | string | A CD-ROM image ID used for booting. If not *null* then `boot_volume_id` has to be *null*. |\n| attach_volumes | no | list | A list of existing volume IDs that you want to connect to the server. |\n| create_volumes | no | list | One or more [Volume objects](#volume-resource-object) that you want to create and attach to the server.|\n| nics | no | list | One or more [NIC objects](#nic-resource-object) that you wish to create at the time the server is provisioned. |\n\nThe following table outlines the server availability zones currently supported:\n\n| Availability Zone | Comment |\n|---|---|\n| AUTO | Automatically Selected Zone |\n| ZONE_1 | Fire Zone 1 |\n| ZONE_2 | Fire Zone 2 |\n\n---\n\n#### Update a Server\n\nPerform updates to the attributes of a server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| name | no | string | The name of the server. |\n| cores | no | int | The number of cores for the server. |\n| ram | no | int | The amount of memory in the server. |\n| availability_zone | no | string | The new availability zone for the server. |\n| cpu_family | no | string | Sets the CPU type. \"AMD_OPTERON\" or \"INTEL_XEON\". Defaults to \"AMD_OPTERON\". |\n| boot_volume_id | no | string | A volume ID used for booting. If not *null* then `boot_cdrom` has to be *null*. |\n| boot_cdrom | no | string | A CD-ROM image ID used for booting. If not *null* then `boot_volume_id` has to be *null*. |\n\nPass the arguments to `update_server`:\n\n response = client.update_server(\n datacenter_id='UUID',\n server_id='UUID',\n name='New Name')\n\n---\n\n#### Delete a Server\n\nThis will remove a server from a VDC. **NOTE**: This will not automatically remove the storage volume(s) attached to a server. A separate operation is required to delete a storage volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server that will be deleted. |\n\nPass the arguments to `delete_server`:\n\n response = client.delete_server(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### List Attached Volumes\n\nRetrieves a list of volumes attached to the server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_attached_volumes`:\n\n response = client.get_attached_volumes(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### Attach a Volume\n\nThis will attach a pre-existing storage volume to the server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| volume_id | **yes** | string | The ID of a storage volume. |\n\nPass the arguments to `attach_volume`:\n\n response = client.attach_volume(\n datacenter_id='UUID',\n server_id='UUID',\n volume_id='UUID')\n\n---\n\n#### Retrieve an Attached Volume\n\nThis will retrieve the properties of an attached volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| volume_id | **yes** | string | The ID of the attached volume. |\n\nPass the arguments to `get_attached_volume`:\n\n response = client.get_attached_volume(\n datacenter_id='UUID',\n server_id='UUID',\n volume_id='UUID')\n\n---\n\n#### Detach a Volume\n\nThis will detach the volume from the server. Depending on the volume `hot_unplug` settings, this may result in the server being rebooted. If `disc_virtio_hot_unplug` has been set to *true*, then a reboot should not be required.\n\nThis will **NOT** delete the volume from your VDC. You will need to make a separate request to delete a volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| volume_id | **yes** | string | The ID of the attached volume. |\n\nPass the arguments to `detach_volume`:\n\n response = client.detach_volume(\n datacenter_id='UUID',\n server_id='UUID',\n volume_id='UUID')\n\n---\n\n#### List Attached CD-ROMs\n\nRetrieves a list of CD-ROMs attached to a server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_attached_cdroms`:\n\n response = client.get_attached_cdroms(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### Attach a CD-ROM\n\nYou can attach a CD-ROM to an existing server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| cdrom_id | **yes** | string | The ID of a CD-ROM. |\n\nPass the arguments to `attach_cdrom`:\n\n response = client.attach_cdrom(\n datacenter_id='UUID',\n server_id='UUID',\n cdrom_id='UUID')\n\n---\n\n#### Retrieve an Attached CD-ROM\n\nYou can retrieve a specific CD-ROM attached to the server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| cdrom_id | **yes** | string | The ID of the attached CD-ROM. |\n\nPass the arguments to `get_attached_cdrom`:\n\n response = client.get_attached_cdrom(\n datacenter_id='UUID',\n server_id='UUID',\n cdrom_id='UUID')\n\n---\n\n#### Detach a CD-ROM\n\nThis will detach a CD-ROM from the server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| cdrom_id | **yes** | string | The ID of the attached CD-ROM. |\n\nPass the arguments to `detach_cdrom`:\n\n response = client.detach_cdrom(\n datacenter_id='UUID',\n server_id='UUID',\n cdrom_id='UUID')\n\n---\n\n#### Reboot a Server\n\nThis will force a hard reboot of the server. Do not use this method if you want to gracefully reboot the machine. This is the equivalent of powering off the machine and turning it back on.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n\nPass the arguments to `reboot_server`:\n\n response = client.reboot_server(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### Start a Server\n\nThis will start a server. If a DHCP assigned public IP was deallocated when the server was stopped, then a new IP will be assigned.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n\nPass the arguments to `start_server`:\n\n response = client.start_server(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### Stop a Server\n\nThis will stop a server. The machine will be forcefully powered off, billing will cease, and the public IP, if one is allocated, will be deallocated.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n\nPass the arguments to `stop_server`:\n\n response = client.stop_server(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n## Images\n\n#### List Images\n\nRetrieve a list of images.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_images`:\n\n response = client.list_images()\n\n---\n\n#### Get an Image\n\nRetrieves the attributes of a specific image.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| image_id | **yes** | string | The ID of the image. |\n\nPass the arguments to `get_image`:\n\n response = client.get_image('UUID')\n\n---\n\n#### Update an Image\n\nUpdates the attributes of a specific user created image. You **CANNOT** update the properties of a public image supplied by ProfitBricks.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| image_id | **yes** | string | The ID of the image. |\n| name | no | string | The name of the image. |\n| description | no | string | The description of the image. |\n| licence_type | no | string | The snapshot's licence type: LINUX, WINDOWS, WINDOWS2016, UNKNOWN or OTHER. |\n| cpu_hot_plug | no | bool | This volume is capable of CPU hot plug (no reboot required) |\n| cpu_hot_unplug | no | bool | This volume is capable of CPU hot unplug (no reboot required) |\n| ram_hot_plug | no | bool | This volume is capable of memory hot plug (no reboot required) |\n| ram_hot_unplug | no | bool | This volume is capable of memory hot unplug (no reboot required) |\n| nic_hot_plug | no | bool | This volume is capable of NIC hot plug (no reboot required) |\n| nic_hot_unplug | no | bool | This volume is capable of NIC hot unplug (no reboot required) |\n| disc_virtio_hot_plug | no | bool | This volume is capable of VirtIO drive hot plug (no reboot required) |\n| disc_virtio_hot_unplug | no | bool | This volume is capable of VirtIO drive hot unplug (no reboot required) |\n| disc_scsi_hot_plug | no | bool | This volume is capable of SCSI drive hot plug (no reboot required) |\n| disc_scsi_hot_unplug | no | bool | This volume is capable of SCSI drive hot unplug (no reboot required) |\n\nYou can change an image's properties by calling the `update_image` method:\n\n response = client.update_image(\n image_id='UUID',\n name='New Name',\n description='New description',\n licence_type='LINUX')\n\n---\n\n#### Delete an Image\n\nDeletes a specific user created image. You cannot delete public images supplied by ProfitBricks.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| image_id | **yes** | string | The ID of the image. |\n\nPass the arguments to `delete_image`:\n\n response = client.delete_image('UUID')\n\n---\n\n## Volumes\n\n#### List Volumes\n\nRetrieve a list of volumes within the VDC. If you want to retrieve a list of volumes attached to a server please see the [List Attached Volumes](#list-attached-volumes) entry in the Server section for details.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_volumes`:\n\n response = client.list_volumes(datacenter_id='UUID')\n\n---\n\n#### Get a Volume\n\nRetrieves the attributes of a given volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| volume_id | **yes** | string | The ID of the volume. |\n\nPass the arguments to `get_volume`:\n\n response = client.get_volume(\n datacenter_id='UUID',\n volume_id='UUID')\n\n---\n\n#### Create a Volume\n\nCreates a volume within the VDC. This will NOT attach the volume to a server. Please see the [Attach a Volume](#attach-a-volume) entry in the Server section for details on how to attach storage volumes.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| volume | **yes** | object | A [Volume object](#volume-resource-object) you wish to create. |\n\nBuild the `Volume` resource object:\n\n volume = Volume(\n name='name',\n size=20,\n bus='VIRTIO',\n type='HDD',\n licence_type='LINUX',\n availability_zone='ZONE_3')\n\nPass the object and arguments to `create_volume`:\n\n response = client.create_volume(\n datacenter_id='UUID',\n volume=volume)\n\n#### Volume Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | no | string | The name of the volume. |\n| size | **yes** | int | The size of the volume in GB. |\n| bus | no | string | The bus type of the volume (VIRTIO or IDE). Default: VIRTIO. |\n| image | **yes** | string | The image or snapshot ID. Can be left empty for a data volume, however you'll need to set the `licence_type`. Default: *null* |\n| image_alias | **yes** | string | The alias of the image. |\n| type | **yes** | string | The volume type, HDD or SSD. Default: HDD|\n| licence_type | **yes** | string | The licence type of the volume. Options: LINUX, WINDOWS, WINDOWS2016, UNKNOWN, OTHER. Default: UNKNOWN |\n| image_password | **yes** | string | A password to set on the volume for the appropriate root or administrative account. This field may only be set in creation requests. When reading, it always returns *null*. The password has to contain 8-50 characters. Only these characters are allowed: [abcdefghjkmnpqrstuvxABCDEFGHJKLMNPQRSTUVX23456789] |\n| ssh_keys | **yes** | string | SSH keys to allow access to the volume via SSH. |\n| availability_zone | no | string | The storage availability zone assigned to the volume. Valid values: AUTO, ZONE_1, ZONE_2, or ZONE_3. This only applies to HDD volumes. Leave blank or set to AUTO when provisioning SSD volumes. |\n\nThe following table outlines the various licence types you can define:\n\n| Licence Type | Comment |\n|---|---|\n| WINDOWS2016 | Use this for the Microsoft Windows Server 2016 operating system. |\n| WINDOWS | Use this for the Microsoft Windows Server 2008 and 2012 operating systems. |\n| LINUX |Use this for Linux distributions such as CentOS, Ubuntu, Debian, etc. |\n| OTHER | Use this for any volumes that do not match one of the other licence types. |\n| UNKNOWN | This value may be inherited when you've uploaded an image and haven't set the license type. Use one of the options above instead. |\n\nThe following table outlines the storage availability zones currently supported:\n\n| Availability Zone | Comment |\n|---|---|\n| AUTO | Automatically Selected Zone |\n| ZONE_1 | Fire Zone 1 |\n| ZONE_2 | Fire Zone 2 |\n| ZONE_3 | Fire Zone 3 |\n\n**Note:** You will need to provide either the `image` or the `licence_type` arguments when creating a volume. A `licence_type` is required, but if `image` is supplied, it is already set and cannot be changed. Either the `image_password` or `ssh_keys` arguments need to be supplied when creating a volume using one of the official ProfitBricks images. Only official ProfitBricks provided images support the `ssh_keys` and `image_password` arguments.\n\n---\n\n#### Update a Volume\n\nYou can update various attributes of an existing volume; however, some restrictions are in place:\n\nYou can increase the size of an existing storage volume. You cannot reduce the size of an existing storage volume. The volume size will be increased without requiring a reboot if the relevant hot plug settings (`disc_virtio_hot_plug`, `disc_virtio_hot_unplug`, etc.) have been set to *true*. The additional capacity is not added automatically added to any partition, therefore you will need to handle that inside the OS afterwards. Once you have increased the volume size you cannot decrease the volume size.\n\nSince an existing volume is being modified, none of the request arguments are specifically required as long as the changes being made satisfy the requirements for creating a volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| volume_id | **yes** | string | The ID of the volume. |\n| name | no | string | The name of the volume. |\n| size | no | int | The size of the volume in GB. You may only increase the `size` when updating. |\n| bus | no | string | The bus type of the volume (VIRTIO or IDE). Default: VIRTIO. |\n| licence_type | no | string | The licence type of the volume. Options: LINUX, WINDOWS, WINDOWS2016, UNKNOWN, OTHER. You may get an error trying to update `licence_type` depending on the `image` that was used to create the volume. For example, you cannot update the `licence_type` for a volume created from a ProfitBricks supplied OS image. |\n\n**Note**: Trying to change the `image`, `type`, or `availability_zone` in an update request will result in an error.\n\nPass the arguments to `update_volume`:\n\n response = client.update_volume(\n datacenter_id='UUID',\n volume_id='UUID',\n size=6,\n name='New Name')\n\n---\n\n#### Delete a Volume\n\nDeletes the specified volume. This will result in the volume being removed from your data center. Use this with caution.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| volume_id | **yes** | string | The ID of the volume. |\n\nPass the arguments to `delete_volume`:\n\n response = client.delete_volume(\n datacenter_id='UUID',\n volume_id='UUID')\n\n---\n\n#### Create a Volume Snapshot\n\nCreates a snapshot of a volume within the VDC. You can use a snapshot to create a new storage volume or to restore a storage volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| volume_id | **yes** | string | The ID of the volume. |\n| name | no | string | The name of the snapshot. |\n| description | no | string | The description of the snapshot. |\n\nPass the arguments to `create_snapshot`:\n\n response = client.create_snapshot(\n datacenter_id='UUID',\n volume_id='UUID',\n name='Snapshot Name',\n description='Snapshot description')\n\n---\n\n#### Restore a Volume Snapshot\n\nThis will restore a snapshot onto a volume. A snapshot is created as just another image that can be used to create new volumes or to restore an existing volume.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| volume_id | **yes** | string | The ID of the volume. |\n| snapshot_id | **yes** | string | The ID of the snapshot. |\n\nPass the arguments to `restore_snapshot`:\n\n response = client.restore_snapshot(\n datacenter_id='UUID',\n volume_id='UUID',\n snapshot_id='UUID')\n\n---\n\n## Snapshots\n\n#### List Snapshots\n\nYou can retrieve a list of all available snapshots.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_snapshots`:\n\n response = client.list_snapshots()\n\n---\n\n#### Get a Snapshot\n\nRetrieves the attributes of a specific snapshot.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| snapshot_id | **yes** | string | The ID of the snapshot. |\n\nPass the arguments to `get_snapshot`:\n\n response = client.get_snapshot(snapshot_id='UUID')\n\n---\n\n#### Update a Snapshot\n\nPerform updates to attributes of a snapshot.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| snapshot_id | **yes** | string | The ID of the snapshot. |\n| name | no | string | The name of the snapshot. |\n| description | no | string | The description of the snapshot. |\n| licence_type | no | string | The snapshot's licence type: LINUX, WINDOWS, WINDOWS2016, UNKNOWN or OTHER. |\n| cpu_hot_plug | no | bool | This volume is capable of CPU hot plug (no reboot required) |\n| cpu_hot_unplug | no | bool | This volume is capable of CPU hot unplug (no reboot required) |\n| ram_hot_plug | no | bool | This volume is capable of memory hot plug (no reboot required) |\n| ram_hot_unplug | no | bool | This volume is capable of memory hot unplug (no reboot required) |\n| nic_hot_plug | no | bool | This volume is capable of NIC hot plug (no reboot required) |\n| nic_hot_unplug | no | bool | This volume is capable of NIC hot unplug (no reboot required) |\n| disc_virtio_hot_plug | no | bool | This volume is capable of VirtIO drive hot plug (no reboot required) |\n| disc_virtio_hot_unplug | no | bool | This volume is capable of VirtIO drive hot unplug (no reboot required) |\n| disc_scsi_hot_plug | no | bool | This volume is capable of SCSI drive hot plug (no reboot required) |\n| disc_scsi_hot_unplug | no | bool | This volume is capable of SCSI drive hot unplug (no reboot required) |\n\nPass the arguments to `update_snapshot`:\n\n response = client.update_snapshot(\n snapshot_id='UUID',\n name='New Name',\n description='New description')\n\n---\n\n#### Delete a Snapshot\n\nDeletes the specified snapshot.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| snapshot_id | **yes** | string | The ID of the snapshot. |\n\nPass the arguments to `delete_snapshot`:\n\n response = client.delete_snapshot(snapshot_id='deleting_snapshot_id')\n\n---\n\n## IP Blocks\n\nThe IP block operations assist with managing reserved /static public IP addresses.\n\n#### List IP Blocks\n\nRetrieve a list of available IP blocks.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_ipblocks`:\n\n response = client.list_ipblocks()\n\n---\n\n#### Get an IP Block\n\nRetrieves the attributes of a specific IP block.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| ipblock_id | **yes** | string | The ID of the IP block. |\n\nPass the arguments to `get_ipblock`:\n\n response = client.get_ipblock('UUID')\n\n---\n\n#### Create an IP Block\n\nCreates an IP block. Creating an IP block is a bit different than some of the other available create operations. IP blocks are not attached to a particular VDC, but rather to a location. Therefore, you must specify a valid `location` along with a `size` argument indicating the number of IP addresses you want to reserve in the IP block. Any resources using an IP address from an IP block must be in the same `location`.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| ipblock | **yes** | object | An [IPBlock object](#ipblock-resource-object) you wish to create. |\n\nTo create an IP block, define the `IPBlock` resource object:\n\n ipblock = IPBlock(\n name='IP Block Name',\n size=4,\n location='de/fkb')\n\nPass it to `reserve_ipblock`:\n\n response = client.reserve_ipblock(ipblock)\n\n#### IPBlock Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| location | **yes** | string | This must be one of the locations: us/las, us/ewr, de/fra, de/fkb. |\n| size | **yes** | int | The size of the IP block you want. |\n| name | no | string | A descriptive name for the IP block |\n\nThe following table outlines the locations currently supported:\n\n| Value| Country | City |\n|---|---|---|\n| us/las | United States | Las Vegas |\n| us/ewr | United States | Newark |\n| de/fra | Germany | Frankfurt |\n| de/fkb | Germany | Karlsruhe |\n\n---\n\n#### Delete an IP Block\n\nDeletes the specified IP Block.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| ipblock_id | **yes** | string | The ID of the IP block. |\n\nPass the arguments to `delete_ipblock`:\n\n response = client.delete_ipblock('UUID')\n\n---\n\n## LANs\n\n#### List LANs\n\nRetrieve a list of LANs within the VDC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_lans`:\n\n response = client.list_lans(datacenter_id='UUID')\n\n---\n\n#### Create a LAN\n\nCreates a LAN within a VDC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| lan | **yes** | object | A [LAN object](#lan-resource-object) describing the LAN to create. |\n\nCreate the `LAN` resource object:\n\n lan = LAN(\n name='LAN Name',\n public=True)\n\nPass the object and arguments to `create_lan`:\n\n response = client.create_lan(\n datacenter_id='UUID',\n lan=lan)\n\n#### LAN Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | no | string | The name of your LAN. |\n| public | **Yes** | bool | Boolean indicating if the LAN faces the public Internet or not. |\n| nics | no | list | One or more NIC IDs attached to the LAN. |\n\n---\n\n#### Get a LAN\n\nRetrieves the attributes of a given LAN.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| lan_id | **yes** | int | The ID of the LAN. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_lan`:\n\n response = client.get_lan(\n datacenter_id='UUID',\n lan_id=ID)\n\n---\n\n#### Get LAN Members\n\nRetrieves the list of NICs that are part of the LAN.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| lan_id | **yes** | int | The ID of the LAN. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_lan_members`:\n\n response = client.get_lan_members(\n datacenter_id='UUID',\n lan_id=ID)\n\n---\n\n#### Update a LAN\n\nPerform updates to attributes of a LAN.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| lan_id | **yes** | int | The ID of the LAN. |\n| name | no | string | A descriptive name for the LAN. |\n| public | no | bool | Boolean indicating if the LAN faces the public Internet or not. |\n| ip_failover | no | list | A list of IP fail-over dicts. |\n\nPass the arguments to `update_lan`:\n\n ip_failover = dict()\n ip_failover['ip'] = 'IP_address'\n ip_failover['nicUuid'] = 'UUID'\n\n response = client.update_lan(\n datacenter_id='UUID',\n lan_id=ID,\n name='New LAN Name',\n public=True,\n ip_failover=[ip_failover])\n\n---\n\n#### Delete a LAN\n\nDeletes the specified LAN.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| lan_id | **yes** | string | The ID of the LAN. |\n\nPass the arguments to `delete_lan`:\n\n response = client.delete_lan(\n datacenter_id='datacenter_id',\n lan_id=ID)\n\n---\n\n## Network Interfaces (NICs)\n\n#### List NICs\n\nRetrieve a list of LANs within the VDC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_nics`:\n\n response = client.list_nics(\n datacenter_id='UUID',\n server_id='UUID')\n\n---\n\n#### Get a NIC\n\nRetrieves the attributes of a given NIC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_nic`:\n\n response = client.get_nic(\n datacenter_id='UUID',\n server_id='UUID',\n nic_id='UUID')\n\n---\n\n#### Create a NIC\n\nAdds a NIC to the target server.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string| The ID of the server. |\n| nic | **yes** | object | A [NIC object](#nic-resource-object) describing the NIC to be created. |\n\nCreate the `NIC` resource object:\n\n nic = NIC(\n name='NIC Name',\n dhcp=True,\n lan=1,\n nat=False)\n\nPass the object and arguments to `create_nic`:\n\n response = client.create_nic(\n datacenter_id='UUID',\n server_id='UUID',\n nic=nic)\n\n#### NIC Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | no | string | The name of the NIC. |\n| ips | no | list | IP addresses assigned to the NIC. |\n| dhcp | no | bool | Set to *false* if you wish to disable DHCP on the NIC. Default: *true*. |\n| lan | **yes** | int | The LAN ID the NIC will sit on. If the LAN ID does not exist it will be created. |\n| nat | no | bool | Indicates the private IP address has outbound access to the public internet. |\n| firewall_active | no | bool | Set this to *true* to enable the ProfitBricks firewall, *false* to disable. |\n| firewall_rules | no | list | A list of [FirewallRule objects](#firewall-rule-resource-object) to be created with the NIC. |\n\n---\n\n#### Update a NIC\n\nYou can update -- in full or partially -- various attributes on the NIC; however, some restrictions are in place:\n\nThe primary address of a NIC connected to a load balancer can only be changed by changing the IP of the load balancer. You can also add additional reserved, public IPs to the NIC.\n\nThe user can specify and assign private IPs manually. Valid IP addresses for private networks are 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string| The ID of the server. |\n| nic_id | **yes** | string| The ID of the NIC. |\n| name | no | string | The name of the NIC. |\n| ips | no | list | IPs assigned to the NIC represented as a list of strings. |\n| dhcp | no | bool | Boolean value that indicates if the NIC is using DHCP or not. |\n| lan | no | int | The LAN ID the NIC sits on. |\n| nat | no | bool | Indicates the private IP address has outbound access to the public internet. |\n| firewall_active | no | bool | Set this to *true* to enable the ProfitBricks firewall, *false* to disable. |\n\nPass the arguments to `update_nic`:\n\n response = client.update_nic(\n datacenter_id='UUID',\n server_id='UUID',\n nic_id='UUID',\n name='New Name')\n\n---\n\n#### Delete a NIC\n\nDeletes the specified NIC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string| The ID of the server. |\n| nic_id | **yes** | string| The ID of the NIC. |\n\nPass the arguments to `delete_nic`:\n\n response = client.delete_nic(\n datacenter_id='UUID',\n server_id='UUID',\n nic_id='UUID')\n\n---\n\n## Firewall Rules\n\n#### List Firewall Rules\n\nRetrieves a list of firewall rules associated with a particular NIC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_firewall_rules`:\n\n response = client.get_firewall_rules(\n datacenter_id='UUID',\n server_id='UUID',\n nic_id='UUID')\n\n---\n\n#### Get a Firewall Rule\n\nRetrieves the attributes of a given firewall rule.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| firewall_rule_id | **yes** | string | The ID of the firewall rule. |\n\nPass the arguments to `get_firewall_rule`:\n\n response = client.get_firewall_rule(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n nic_id='UUID',\n firewall_rule_id='UUID')\n\n---\n\n#### Create a Firewall Rule\n\nThis will add a firewall rule to the NIC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| firewall_rule | **yes** | object | A [FirewallRule object](#firewall-rule-resource-object) describing the firewall rule to be created. |\n\nCreate the `FirewallRule` resource object:\n\n fwrule = FirewallRule(\n name='Allow SSH',\n protocol='TCP',\n source_mac='01:23:45:67:89:00',\n port_range_start=22,\n port_range_end=22)\n\nPass the object and arguments to `create_firewall_rule`:\n\n response = client.create_firewall_rule(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n nic_id='UUID',\n firewall_rule=fwrule)\n\n#### Firewall Rule Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | no | string | The name of the firewall rule. |\n| protocol | **yes** | string | The protocol for the rule: TCP, UDP, ICMP, ANY. |\n| source_mac | no | string | Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. A *null* value allows all source MAC address. |\n| source_ip | no | string | Only traffic originating from the respective IPv4 address is allowed. A *null* value allows all source IPs. |\n| target_ip | no | string | In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed. A *null* value allows all target IPs. |\n| port_range_start | no | string | Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen. Leave `port_range_start` and `port_range_end` value as *null* to allow all ports. |\n| port_range_end | no | string | Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen. Leave `port_range_start` and `port_range_end` value as *null* to allow all ports. |\n| icmp_type | no | string | Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen. A *null* value allows all types. |\n| icmp_code | no | string | Defines the allowed code (from 0 to 254) if protocol ICMP is chosen. A *null* value allows all codes. |\n\n---\n\n#### Update a Firewall Rule\n\nPerform updates to an existing firewall rule. You will notice that some arguments, such as `protocol` cannot be updated. If the `protocol` needs to be changed, you can [delete](#delete-a-firewall-rule) the firewall rule and then [create](#create-a-firewall-rule) new one to replace it.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| firewall_rule_id | **yes** | string | The ID of the firewall rule. |\n| name | no | string | The name of the firewall rule. |\n| source_mac | no | string | Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. A *null* value allows all source MAC address. |\n| source_ip | no | string | Only traffic originating from the respective IPv4 address is allowed. A *null* value allows all source IPs. |\n| target_ip | no | string | In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed. A *null* value allows all target IPs. |\n| port_range_start | no | string | Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen. Leave `port_range_start` and `port_range_end` value as *null* to allow all ports. |\n| port_range_end | no | string | Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen. Leave `port_range_start` and `port_range_end` value as *null* to allow all ports. |\n| icmp_type | no | string | Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen. A *null* value allows all types. |\n| icmp_code | no | string | Defines the allowed code (from 0 to 254) if protocol ICMP is chosen. A *null* value allows all codes. |\n\nPass the arguments to `update_firewall_rule`:\n\n response = client.update_firewall_rule(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n nic_id='UUID',\n firewall_rule_id='UUID',\n name=\"Updated Name\")\n\n---\n\n#### Delete a Firewall Rule\n\nRemoves a firewall rule.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| server_id | **yes** | string | The ID of the server. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| firewall_rule_id | **yes** | string | The ID of the firewall rule. |\n\nPass the arguments to `delete_firewall_rule`:\n\n response = client.delete_firewall_rule(\n datacenter_id='UUID',\n server_id='UUID',\n nic_id='UUID',\n firewall_rule_id='UUID')\n\n---\n\n## Load Balancers\n\n#### List Load Balancers\n\nRetrieve a list of load balancers within the data center.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_loadbalancers`:\n\n response = client.list_loadbalancers(datacenter_id='UUID')\n\n---\n\n#### Get a Load Balancer\n\nRetrieves the attributes of a given load balancer.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| loadbalancer_id | **yes** | string | The ID of the load balancer. |\n\nPass the arguments to `get_loadbalancer`:\n\n response = client.get_loadbalancer(\n datacenter_id='UUID',\n loadbalancer_id='UUID')\n\n---\n\n#### Create a Load Balancer\n\nCreates a load balancer within the VDC. Load balancers can be used for public or private IP traffic.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| loadbalancer | **yes** | object | A [LoadBalancer object](#load-balancer-resource-object) describing the load balancer to be created. |\n\nCreate the `LoadBalancer` resource object:\n\n loadbalancer = LoadBalancer(\n name='Load Balancer Name',\n dhcp=True)\n\nPass the object and arguments to `create_loadbalancer`:\n\n response = client.create_loadbalancer(\n datacenter_id='UUID',\n loadbalancer=loadbalancer)\n\n#### Load Balancer Resource Object\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | **yes** | string | The name of the load balancer. |\n| ip | no | string | IPv4 address of the load balancer. All attached NICs will inherit this IP. |\n| dhcp | no | bool | Indicates if the load balancer will reserve an IP using DHCP. |\n| balancednics | no | list | List of NIC IDs taking part in load-balancing. All balanced NICs inherit the IP of the load balancer. |\n\n---\n\n#### Update a Load Balancer\n\nPerform updates to attributes of a load balancer.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| name | no | string | The name of the load balancer. |\n| ip | no | string | The IP of the load balancer. |\n| dhcp | no | bool | Indicates if the load balancer will reserve an IP using DHCP. |\n\nPass the arguments to `update_loadbalancer`:\n\n response = client.update_loadbalancer(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n name=\"New Name\")\n\n---\n\n#### Delete a Load Balancer\n\nDeletes the specified load balancer.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| load_balancer_id | **yes** | string | The ID of the load balancer. |\n\nPass the arguments to `delete_loadbalancer`:\n\n response = client.delete_loadbalancer(\n datacenter_id='UUID',\n loadbalancer_id='UUID')\n\n---\n\n#### List Load Balanced NICs\n\nThis will retrieve a list of NICs associated with the load balancer.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| loadbalancer_id | **yes** | string | The ID of the load balancer. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_loadbalancer_members`:\n\n response = client.get_loadbalancer_members(\n datacenter_id='UUID',\n loadbalancer_id='UUID')\n\n---\n\n#### Get a Load Balanced NIC\n\nRetrieves the attributes of a given load balanced NIC.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| loadbalancer_id | **yes** | string | The ID of the load balancer. |\n| nic_id | **yes** | string | The ID of the NIC. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `get_loadbalanced_nic`:\n\n response = client.get_loadbalanced_nic(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n nic_id='UUID')\n\n---\n\n#### Associate NIC to a Load Balancer\n\nThis will associate a NIC to a load balancer, enabling the NIC to participate in load-balancing.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| loadbalancer_id | **yes** | string | The ID of the load balancer. |\n| nic_id | **yes** | string | The ID of the NIC. |\n\nPass the arguments to `add_loadbalanced_nics`:\n\n response = client.add_loadbalanced_nics(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n nic_id='UUID')\n\n---\n\n#### Remove a NIC Association\n\nRemoves the association of a NIC with a load balancer.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| datacenter_id | **yes** | string | The ID of the VDC. |\n| loadbalancer_id | **yes** | string | The ID of the load balancer. |\n| nic_id | **yes** | string | The ID of the NIC you are removing from the load balancer. |\n\nPass the arguments to `remove_loadbalanced_nic`:\n\n response = client.remove_loadbalanced_nic(\n datacenter_id='UUID',\n loadbalancer_id='UUID',\n nic_id='UUID')\n\n---\n\n## User Management\n\n#### List Groups\n\nRetrieves a list of all groups.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.list_groups()\n\n---\n\n#### Get a Group\n\nRetrieves the attributes of a given group.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.get_group(group_id='UUID')\n\n---\n\n#### Create a Group\n\nCreates a new group and set group privileges.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| name | **yes** | string | The ID of the group. |\n| create_datacenter | no | bool | Indicates if the group is allowed to create virtual data centers. |\n| create_snapshot | no | bool | Indicates if the group is allowed to create snapshots. |\n| reserve_ip | no | bool | Indicates if the group is allowed to reserve IP addresses. |\n| access_activity_log | no | bool | Indicates if the group is allowed to access activity log. |\n\n group = Group(\n name='my-group',\n create_datacenter=True,\n create_snapshot=False,\n reserve_ip=True,\n access_activity_log=False)\n\n response = client.create_group(group)\n\n---\n\n#### Update a Group\n\nUpdates a group's name or privileges.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| name | **yes** | string | The ID of the group. |\n| create_datacenter | no | bool | Indicates if the group is allowed to create virtual data centers. |\n| create_snapshot | no | bool | Indicates if the group is allowed to create snapshots. |\n| reserve_ip | no | bool | Indicates if the group is allowed to reserve IP addresses. |\n| access_activity_log | no | bool | Indicates if the group is allowed to access activity log. |\n\n response = client.update_group(\n group_id='UUID',\n name='my-group',\n create_datacenter=False,\n create_snapshot=True,\n reserve_ip=False,\n access_activity_log=True)\n\n---\n\n#### Delete a Group\n\nDeletes the specified group.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n\n response = client.delete_group(group_id='UUID')\n\n---\n\n#### List Shares\n\nRetrieves a list of all shares though a group.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.list_shares(group_id='UUID')\n\n---\n\n#### Get a Share\n\nRetrieves a specific resource share available to a group.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| resource_id | **yes** | string | The ID of the resource. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.get_share(\n group_id='UUID',\n resource_id='UUID')\n\n---\n\n#### Add a Share\n\nShares a resource through a group.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| resource_id | **yes** | string | The ID of the resource. |\n| edit_privilege | no | string | Indicates that the group has permission to edit privileges on the resource. |\n| share_privilege | no | string | Indicates that the group has permission to share the resource. |\n\n response = client.add_share(\n group_id='UUID',\n resource_id='UUID',\n edit_privilege=True,\n share_privilege=True)\n\n---\n\n#### Update a Share\n\nUpdates the permissions of a group for a resource share.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| resource_id | **yes** | string | The ID of the resource. |\n| edit_privilege | no | string | Indicates that the group has permission to edit privileges on the resource. |\n| share_privilege | no | string | Indicates that the group has permission to share the resource. |\n\n response = client.update_share(\n group_id='UUID',\n resource_id='UUID',\n edit_privilege=True,\n share_privilege=True)\n\n---\n\n#### Delete a Share\n\nRemoves a resource share from a group.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| resource_id | **yes** | string | The ID of the resource. |\n\n response = client.delete_share(\n group_id='UUID',\n resource_id='UUID')\n\n---\n\n#### List Users\n\nRetrieves a list of all users.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.list_users()\n\n---\n\n#### Get a User\n\nRetrieves a single user.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| user_id | **yes** | string | The ID of the user. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.get_user(user_id='UUID')\n\n---\n\n#### Create a User\n\nCreates a new user.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| firstname | **yes** | string | A name for the user. |\n| lastname | **yes** | bool | A name for the user. |\n| email | **yes** | bool | An e-mail address for the user. |\n| password | **yes** | bool | A password for the user. |\n| administrator | no | bool | Assigns the user have administrative rights. |\n| force_sec_auth | no | bool | Indicates if secure (two-factor) authentication should be forced for the user. |\n\n user = User(\n firstname='John',\n lastname='Doe',\n email='no-reply@example.com',\n password='secretpassword123',\n administrator=True,\n force_sec_auth=False)\n\n response = client.create_user(user)\n\n---\n\n#### Update a User\n\nUpdates an existing user.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| user_id | **yes** | string | The ID of the user. |\n| firstname | **yes** | string | A name for the user. |\n| lastname | **yes** | bool | A name for the user. |\n| email | **yes** | bool | An e-mail address for the user. |\n| administrator | **yes** | bool | Assigns the user have administrative rights. |\n| force_sec_auth | **yes** | bool | Indicates if secure (two-factor) authentication should be forced for the user. |\n\n response = client.update_user(\n user_id='UUID',\n firstname='John',\n lastname='Doe',\n email='no-reply@example.com',\n administrator=True,\n force_sec_auth=False)\n\n---\n\n#### Delete a User\n\nRemoves a user.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| user_id | **yes** | string | The ID of the user. |\n\n response = client.delete_user(user_id='UUID')\n\n---\n\n#### List Users in a Group\n\nRetrieves a list of all users that are members of a particular group.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.list_group_users(group_id='UUID')\n\n---\n\n#### Add User to Group\n\nAdds an existing user to a group.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| user_id | **yes** | string | The ID of the user. |\n\n response = client.add_group_user(\n group_id='UUID',\n user_id='UUID')\n\n---\n\n#### Remove User from a Group\n\nRemoves a user from a group.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| group_id | **yes** | string | The ID of the group. |\n| user_id | **yes** | string | The ID of the user. |\n\n response = client.remove_group_user(\n group_id='UUID',\n user_id='UUID')\n\n---\n\n#### List Resources\n\nRetrieves a list of all resources. Alternatively, Retrieves all resources of a particular type.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| resource_type | no | string | The resource type: `datacenter`, `image`, `snapshot` or `ipblock`. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.list_resources()\n\n response = client.list_resources(resource_type='snapshot')\n\n---\n\n#### Get a Resource\n\nRetrieves a single resource of a particular type.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| resource_type | **yes** | string | The resource type: `datacenter`, `image`, `snapshot` or `ipblock`. |\n| resource_id | **yes** | string | The ID of the resource. |\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.get_resource(resource_id='UUID')\n\n response = client.get_resource(\n resource_type='datacenter',\n resource_id='UUID')\n\n---\n\n## Contract Resources\n\n#### List Contract Resources\n\nRetrieves information about the resource limits for a particular contract and the current resource usage.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. |\n\n response = client.list_contracts()\n\n---\n\n## Requests\n\nEach call to the ProfitBricks Cloud API is assigned a request ID. These operations can be used to get information about the requests that have been submitted and their current status.\n\n#### List Requests\n\nRetrieve a list of requests.\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| depth | no | int | An integer value of 0 - 5 that affects the amount of detail returned. See the [Depth](#depth) section. |\n\nPass the arguments to `list_requests`:\n\n response = client.list_requests()\n\n---\n\n#### Get a Request\n\nRetrieves the attributes of a specific request. This operation shares the same `get_request` method used for getting request status, however the response it determined by the boolean value you pass for *status*. To get details about the request itself, you want to pass a *status* of *False*.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| request_id | **yes** | string | The ID of the request. |\n| status | **yes** | bool | Set to *False* to have the request details returned. |\n\nPass the arguments to `get_request`:\n\n response = client.get_request(\n request_id='UUID',\n status=False)\n\n---\n\n#### Get a Request Status\n\nRetrieves the status of a request. This operation shares the same `get_request` method used for getting the details of a request, however the response it determined by the boolean value you pass for *status*. To get the request status, you want to pass a *status* of *True*.\n\nThe following table describes the request arguments:\n\n| Name | Required | Type | Description |\n|---|:-:|---|---|\n| request_id | **yes** | string | The ID of the request. |\n| status | **yes** | bool | Set to *True* to have the status of the request returned. |\n\nPass the arguments to `get_request`:\n\n response = client.get_request(\n request_id='UUID',\n status=True)\n\n---\n\n## Examples\n\nBelow are some examples using the SDK for Python. These examples will assume credentials are being set with environment variables:\n\n export PROFITBRICKS_USERNAME=username\n export PROFITBRICKS_PASSWORD=password\n\n#### List All Data Centers\n\nThis simple example will list all data centers under an account.\n\n #!/usr/bin/python\n\n import json\n import os\n\n from profitbricks.client import ProfitBricksService\n\n # Instatiate ProfitBricks connection\n client = ProfitBricksService(\n username=os.getenv('PROFITBRICKS_USERNAME'),\n password=os.getenv('PROFITBRICKS_PASSWORD'))\n\n # List data centers\n datacenters = client.list_datacenters()\n print json.dumps(datacenters, indent=4)\n\n#### Search for Images\n\nThe following example will provide a method for retrieving a list of images based on a partial case-insensitive name and location match.\n\n #!/usr/bin/python\n\n import os\n\n from profitbricks.client import ProfitBricksService\n\n\n def find_image(conn, name, location):\n '''\n Find image by partial name and location\n '''\n images = []\n for item in conn.list_images()['items']:\n if (item['properties']['location'] == location and\n item['properties']['imageType'] == 'HDD' and\n name.lower() in item['properties']['name'].lower()):\n images.append(item)\n return images\n\n # Instantiate ProfitBricks connection\n client = ProfitBricksService(\n username=os.getenv('PROFITBRICKS_USERNAME'),\n password=os.getenv('PROFITBRICKS_PASSWORD'))\n\n # Search criteria based on partial case-insensitive name and location\n name = 'Ubuntu'\n location = 'de/fkb'\n\n # Find images based on above search criteria\n for image in find_image(client, name, location):\n print \"{0}\\t{1}\\t{2}\".format(\n image['id'],\n image['properties']['name'],\n image['properties']['location'])\n\n#### Reserve an IP Block\n\nHere we will reserve a public IP block.\n\n #!/usr/bin/python\n\n import json\n import os\n\n from profitbricks.client import ProfitBricksService, IPBlock\n\n\n # Instatiate ProfitBricks connection\n client = ProfitBricksService(\n username=os.getenv('PROFITBRICKS_USERNAME'),\n password=os.getenv('PROFITBRICKS_PASSWORD'))\n\n ipblock = IPBlock(location='us/las', size=5)\n\n response = client.reserve_ipblock(ipblock)\n\n print json.dumps(response, indent=4)\n\n#### Wait for Resources\n\nThe remaining examples will require dependent resources. A volume cannot be attached to a server before the server and volume are finished provisioning. Therefore, we require the `wait_for_completion` method that will stop and wait for the server and volume to finish provisioning before attaching the volume to the server.\n\n#### Component Build\n\nProfitBricks allows servers to be built by their individual components. That is, by connecting customized components such as servers, volumes, and NICs together. For example, a server can be provisioned in one request followed by one or more NICs and volumes in following requests. The volumes can then be attached separately to the server.\n\nIt is important to note that you will need to wait for each individual component to finish provisioning before it can be used in subsequent operations. This behavior is demonstrated below.\n\n #!/usr/bin/python\n\n import json\n import os\n\n from profitbricks.client import ProfitBricksService\n from profitbricks.client import (\n Datacenter, LAN, Server, NIC, Volume, FirewallRule)\n\n client = ProfitBricksService(\n username=os.getenv('PROFITBRICKS_USERNAME'),\n password=os.getenv('PROFITBRICKS_PASSWORD'))\n\n timeout = 1800\n\n # Create data center\n datacenter = Datacenter(\n name='Python SDK Data Center',\n description='Python SDK data center',\n location='us/las')\n\n response = client.create_datacenter(datacenter=datacenter)\n client.wait_for_completion(response, timeout)\n datacenter_id = response['id']\n\n # Create public LAN\n lan = LAN(name=\"Public LAN\", public=True)\n\n response = client.create_lan(datacenter_id, lan=lan)\n client.wait_for_completion(response, timeout)\n lan_id = response['id']\n\n # Create server\n server = Server(\n name='Python SDK Server',\n ram=4096,\n cores=4,\n cpu_family='INTEL_XEON')\n\n response = client.create_server(datacenter_id=datacenter_id, server=server)\n client.wait_for_completion(response, timeout)\n server_id = response['id']\n\n # Create public NIC\n nic = NIC(\n name='Public NIC',\n dhcp=True,\n lan=lan_id,\n firewall_active=True,\n nat=False)\n\n response = client.create_nic(\n datacenter_id=datacenter_id,\n server_id=server_id,\n nic=nic)\n client.wait_for_completion(response, timeout)\n nic_id = response['id']\n\n # Create firwall rule\n fwrule = FirewallRule(\n name='Allow SSH',\n protocol='TCP',\n source_ip='0.0.0.0',\n port_range_start=22,\n port_range_end=22,\n icmp_type=None)\n\n response = client.create_firewall_rule(\n datacenter_id=datacenter_id,\n server_id=server_id,\n nic_id=nic_id,\n firewall_rule=fwrule)\n client.wait_for_completion(response, timeout)\n\n # Create system volume\n volume1 = Volume(\n name='System Volume',\n size=20,\n image='0d4f97f0-1689-11e7-97ce-525400f64d8d',\n bus='VIRTIO',\n type='HDD',\n ssh_keys=['ssh-rsa AAAAB3NzaC1yc2EAAAADAQ...'],\n image_password='s3cr3tpass0rd',\n availability_zone='ZONE_3')\n\n response = client.create_volume(\n datacenter_id=datacenter_id,\n volume=volume1)\n client.wait_for_completion(response, timeout)\n volume1_id = response['id']\n\n # Attach system volume\n response = client.attach_volume(\n datacenter_id=datacenter_id,\n server_id=server_id,\n volume_id=volume1_id)\n client.wait_for_completion(response, timeout)\n\n # Create data volume\n volume2 = Volume(\n name='Data Volume',\n size=100,\n type='SSD',\n bus='VIRTIO',\n license_type='OTHER')\n\n response = client.create_volume(\n datacenter_id=datacenter_id,\n volume=volume2)\n client.wait_for_completion(response, timeout)\n volume2_id = response['id']\n\n # Attach data volume\n response = client.attach_volume(\n datacenter_id=datacenter_id,\n server_id=server_id,\n volume_id=volume2_id)\n client.wait_for_completion(response, timeout)\n\n live_datacenter = client.get_datacenter(datacenter_id=datacenter_id, depth=5)\n print json.dumps(live_datacenter, indent=4)\n\n#### Composite Build\n\nThe ProfitBricks platform also allows fully operational servers to be provisioned with a single request. This is accomplished by nesting related resources.\n\nMultiple servers, volumes, LANs, and load balancers can be nested under a data center, multiple NICs and volumes can be nested under servers, and firewall rules under NICs.\n\nThis example will demonstrate composite resources.\n\n #!/usr/bin/python\n\n import json\n import os\n\n from profitbricks.client import ProfitBricksService\n from profitbricks.client import Datacenter, Server, NIC, Volume, FirewallRule\n\n # Instatiate ProfitBricks connection\n client = ProfitBricksService(\n username=os.getenv('PROFITBRICKS_USERNAME'),\n password=os.getenv('PROFITBRICKS_PASSWORD'))\n\n # Define a firewall rule\n fwrule1 = FirewallRule(\n name='Allow SSH',\n protocol='TCP',\n source_ip='0.0.0.0',\n port_range_start=22,\n port_range_end=22,\n icmp_type=None)\n\n # Define a public NIC\n nic1 = NIC(\n name='Public NIC',\n dhcp=True,\n lan=1,\n firewall_active=True,\n firewall_rules=[fwrule1],\n nat=False)\n\n # Define a private NIC\n nic2 = NIC(\n name='Private NIC',\n dhcp=True,\n lan=2)\n\n # Define a system volume\n volume1 = Volume(\n name='System Volume',\n size=20,\n image='0d4f97f0-1689-11e7-97ce-525400f64d8d',\n bus='VIRTIO',\n type='HDD',\n ssh_keys=['ssh-rsa AAAAB3NzaC1yc2EAAAADAQ...'],\n image_password='s3cr3tpass0rd',\n availability_zone='ZONE_3')\n\n # Define a data volume\n volume2 = Volume(\n name='Data Volume',\n size=100,\n type='SSD',\n bus='VIRTIO',\n licence_type='OTHER')\n\n # Define a server with associated NICs and volumes\n server = Server(\n name='Python SDK Server',\n ram=4096,\n cores=4,\n cpu_family='INTEL_XEON',\n nics=[nic1, nic2],\n create_volumes=[volume1, volume2])\n\n # Define a data center with the server\n datacenter = Datacenter(\n name='Python SDK Data Center',\n description='Python SDK data center',\n location='us/las',\n servers=[server])\n\n # Initiate the data center and nested resource provisioning\n response = client.create_datacenter(datacenter)\n\n # Wait for the data center and nested resources to finish provisioning\n client.wait_for_completion(response)\n\n datacenter_id = response['id']\n\n # Set the first LAN to public\n response = client.update_lan(\n datacenter_id=datacenter_id,\n lan_id=1,\n name='Public LAN',\n public=True)\n\n client.wait_for_completion(response)\n\n # Print the data center properties and nested resources\n response = client.get_datacenter(datacenter_id=datacenter_id, depth=5)\n print json.dumps(response, indent=4)\n\n## Support\n\nYou can find additional examples in the repository `examples` directory. If you find any issues, please let us know via the [DevOps Central community](https://devops.profitbricks.com) or [GitHub's issue system](https://github.com/profitbricks/profitbricks-sdk-python/issues) and we'll check it out.\n\n## Testing\n\nYou can find a full list of tests inside the `tests` folder. To run all available tests:\n\n export PROFITBRICKS_USERNAME=username\n export PROFITBRICKS_PASSWORD=password\n\n pip install -r requirements.txt\n python -m unittest discover tests\n\nTo run a single test:\n\n python -m unittest discover tests test_datacenter.py\n\n## Contributing\n\n1. Fork it ( https://github.com/profitbricks/profitbricks-sdk-python/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/profitbricks/profitbricks-sdk-python", "keywords": "profitbricks api client cloud", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "profitbricks", "package_url": "https://pypi.org/project/profitbricks/", "platform": "any", "project_url": "https://pypi.org/project/profitbricks/", "project_urls": { "Homepage": "https://github.com/profitbricks/profitbricks-sdk-python" }, "release_url": "https://pypi.org/project/profitbricks/4.1.3/", "requires_dist": null, "requires_python": "", "summary": "ProfitBricks API Client Library for Python", "version": "4.1.3" }, "last_serial": 4054272, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "8407f4de54476d487d0c877f1dfc7a1b", "sha256": "4ab4559eba51552bc8942efe64df711832840f377c6d8731cec02c4fd8fafca7" }, "downloads": -1, "filename": "profitbricks-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8407f4de54476d487d0c877f1dfc7a1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16036, "upload_time": "2015-04-15T12:35:56", "url": "https://files.pythonhosted.org/packages/15/d5/3165353e6fd7b183e697dd06d418e1f3a6347c3a9cd0639ab20b2d02b0a0/profitbricks-1.0.0.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "cca81044eb039ad38423db3c8b34b12e", "sha256": "cd242477ba9fd51b6a9e7c469ddb7e51434f52dfa29ab75d05d31cf88ca8de25" }, "downloads": -1, "filename": "profitbricks-2.0.tar.gz", "has_sig": false, "md5_digest": "cca81044eb039ad38423db3c8b34b12e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16034, "upload_time": "2015-04-24T14:36:19", "url": "https://files.pythonhosted.org/packages/9f/00/5a1c33c09a8445a9e3ef38fc764b182d882eead67e3c1492ca9f80faba8d/profitbricks-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "bb8f7b0b06139f6515de8af6e5602620", "sha256": "967934abec516b7f5d75eecf0aea1534fc18391ae33c57618de8eb60fc2b944c" }, "downloads": -1, "filename": "profitbricks-2.1.tar.gz", "has_sig": false, "md5_digest": "bb8f7b0b06139f6515de8af6e5602620", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16046, "upload_time": "2015-05-06T19:31:33", "url": "https://files.pythonhosted.org/packages/ac/51/361bc7450d89a46a9748d5fbdbe1fda9ae7868f7714d640ea9c29915188e/profitbricks-2.1.tar.gz" } ], "2.2": [ { "comment_text": "", "digests": { "md5": "49a936c00814ba009312fb5d06c1ce36", "sha256": "c65b55df80bd402644abc794a1a0c6549c12704fae21d901039235f3d19de602" }, "downloads": -1, "filename": "profitbricks-2.2.tar.gz", "has_sig": false, "md5_digest": "49a936c00814ba009312fb5d06c1ce36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29171, "upload_time": "2015-09-10T23:55:38", "url": "https://files.pythonhosted.org/packages/05/5c/bda53e4e5dc98b6880d27e44b0e8a414ba0c2d7f43d1b120a06c5bfc6d1a/profitbricks-2.2.tar.gz" } ], "2.3.0": [ { "comment_text": "", "digests": { "md5": "8d60984bbb6e688fbf8103b3d930255d", "sha256": "4e56196d6336a23a7b9bec9163228db4a3826f7ea229e45d31f3f85c536ce9b1" }, "downloads": -1, "filename": "profitbricks-2.3.0.tar.gz", "has_sig": false, "md5_digest": "8d60984bbb6e688fbf8103b3d930255d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27241, "upload_time": "2016-01-20T00:42:26", "url": "https://files.pythonhosted.org/packages/ad/19/06b9ddc7bd499f8b0aafff7157d915d073365b48cf07497437d5aec2187a/profitbricks-2.3.0.tar.gz" } ], "2.3.1": [ { "comment_text": "", "digests": { "md5": "1296f5597b6ea381afa4bbe280dbc47f", "sha256": "754c026eb31eb8a7e672e3e0182cb9e3e8ce59f47003d6981027d365f3b7dcf8" }, "downloads": -1, "filename": "profitbricks-2.3.1.tar.gz", "has_sig": false, "md5_digest": "1296f5597b6ea381afa4bbe280dbc47f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27241, "upload_time": "2016-02-01T22:52:13", "url": "https://files.pythonhosted.org/packages/3f/ad/09d0b4b1247b54f716b7e397793172849f3541ae54d43b2acfa38838cc4f/profitbricks-2.3.1.tar.gz" } ], "2.3.2": [ { "comment_text": "", "digests": { "md5": "db27ad1135b6de991470c5ac12f8cc5b", "sha256": "ce2b22c07bd27ad7b8050f4293326a00ff339f97526b1026605f758c9c62d200" }, "downloads": -1, "filename": "profitbricks-2.3.2.tar.gz", "has_sig": false, "md5_digest": "db27ad1135b6de991470c5ac12f8cc5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33586, "upload_time": "2016-02-19T12:55:02", "url": "https://files.pythonhosted.org/packages/86/ab/d2badaffe68c71c6e2c2d7d7cf587e8bc519761c9d7aebd5a1f9cdd9aaaf/profitbricks-2.3.2.tar.gz" } ], "2.3.3": [ { "comment_text": "", "digests": { "md5": "ed0824d63d442099b364a16bf939095f", "sha256": "02bc1dea3a66f04f24bc88e0a7db4734ae8154e92876af0e248cf35c3ff2d017" }, "downloads": -1, "filename": "profitbricks-2.3.3.tar.gz", "has_sig": false, "md5_digest": "ed0824d63d442099b364a16bf939095f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40752, "upload_time": "2016-06-09T01:11:14", "url": "https://files.pythonhosted.org/packages/f7/c6/5012c66457c87d1f78706aa3f12e27e93ae64612027bdeb6c0f210405d11/profitbricks-2.3.3.tar.gz" } ], "2.3.4": [ { "comment_text": "", "digests": { "md5": "576e117ae38db7a035b14d66ce61d05e", "sha256": "b5743c7c97b7d6d3d2ef06b084a92f40d007314afb876b450e53122cda22e120" }, "downloads": -1, "filename": "profitbricks-2.3.4.tar.gz", "has_sig": false, "md5_digest": "576e117ae38db7a035b14d66ce61d05e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41361, "upload_time": "2016-07-12T04:35:38", "url": "https://files.pythonhosted.org/packages/3a/b3/afdba398ab78d67f5bac5409b1850ae7cdb78182478c4a7c9563d42bb464/profitbricks-2.3.4.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "a015cb2538fa2ab148b4b77e673c8243", "sha256": "cf9f2a9f2b5c2c80077aa27de47c231e3a9d87dce75ad7673fd5f1005e2a40db" }, "downloads": -1, "filename": "profitbricks-3.0.0.tar.gz", "has_sig": false, "md5_digest": "a015cb2538fa2ab148b4b77e673c8243", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51972, "upload_time": "2016-10-17T16:44:51", "url": "https://files.pythonhosted.org/packages/f3/ae/b9c7c320263806cb83625427a4b5e246cd37d14e7cc9aac2023af0dac3b4/profitbricks-3.0.0.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "7eccdc02c6238007fc5823807a94e53f", "sha256": "e1393e86aa1f0e80f5514dcd66c6ce7bb646d268dffce6c8d20187a7cfbdf348" }, "downloads": -1, "filename": "profitbricks-3.1.0.tar.gz", "has_sig": false, "md5_digest": "7eccdc02c6238007fc5823807a94e53f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52576, "upload_time": "2017-01-27T00:49:48", "url": "https://files.pythonhosted.org/packages/f9/80/8842c0ccd1c5f04ab3ff233018b058b816f08e7db7096eddd5e35391c0de/profitbricks-3.1.0.tar.gz" } ], "3.1.1": [ { "comment_text": "", "digests": { "md5": "4be96a91c8ed95a68a30970d672120d7", "sha256": "8ae60e21ce2353844d78cf510ccd2ac21558d249900c2dd9e10ee2a8c176bdfd" }, "downloads": -1, "filename": "profitbricks-3.1.1.tar.gz", "has_sig": false, "md5_digest": "4be96a91c8ed95a68a30970d672120d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52572, "upload_time": "2017-01-27T07:30:01", "url": "https://files.pythonhosted.org/packages/0b/a1/30eb1f5cabf0ede7302458e191f59171f1a17d9d53ed445a7537e3f7754f/profitbricks-3.1.1.tar.gz" } ], "3.1.2": [ { "comment_text": "", "digests": { "md5": "c73ea1e89f1c5206a7f95db42ec3a9b2", "sha256": "ae6ed2fb1bb6b7e7cda2894c9e3bbf25d197473a5e211a12756b28b460293481" }, "downloads": -1, "filename": "profitbricks-3.1.2.tar.gz", "has_sig": false, "md5_digest": "c73ea1e89f1c5206a7f95db42ec3a9b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85105, "upload_time": "2017-04-07T17:14:18", "url": "https://files.pythonhosted.org/packages/03/77/a5392132e6f4895a0c411a47e49aed51a700542ad7fcadeff3f5948f4ce1/profitbricks-3.1.2.tar.gz" } ], "4.0.0": [ { "comment_text": "", "digests": { "md5": "9d9323eb80527990a52c968368e46b3f", "sha256": "f263d7258dd223cc2df86228c0be7a90f5ff85baadcbba499d3bf6768664518b" }, "downloads": -1, "filename": "profitbricks-4.0.0.tar.gz", "has_sig": false, "md5_digest": "9d9323eb80527990a52c968368e46b3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94912, "upload_time": "2017-07-04T08:00:03", "url": "https://files.pythonhosted.org/packages/d9/14/4adfa1a404133a063a09c9320c00f646a074a151436495db0b166e38c81c/profitbricks-4.0.0.tar.gz" } ], "4.1.0": [ { "comment_text": "", "digests": { "md5": "7be13ead5b1dd5dec741cd2daceb5bb1", "sha256": "ac22ca49043886ab072774df4e6757fdfa2751370705560003b8ca82bb345f35" }, "downloads": -1, "filename": "profitbricks-4.1.0.tar.gz", "has_sig": false, "md5_digest": "7be13ead5b1dd5dec741cd2daceb5bb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98867, "upload_time": "2017-07-26T06:05:55", "url": "https://files.pythonhosted.org/packages/d0/68/2623ec9069ceefbb16c2404c355a8d8b38fd171620bf46df745219896f7b/profitbricks-4.1.0.tar.gz" } ], "4.1.1": [ { "comment_text": "", "digests": { "md5": "3a3910e9d06feb84e52297f2cdc95c36", "sha256": "a0cbe2d0eeb1094335f257b7f61a42858b1c888eab3cf3045b6f4993754a3ab9" }, "downloads": -1, "filename": "profitbricks-4.1.1.tar.gz", "has_sig": false, "md5_digest": "3a3910e9d06feb84e52297f2cdc95c36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 97872, "upload_time": "2017-11-06T19:02:35", "url": "https://files.pythonhosted.org/packages/8c/6e/cef6a8c82ed8d247dbdb93abb6efed188eea96cbc9c65ba7c67c599913a2/profitbricks-4.1.1.tar.gz" } ], "4.1.2": [ { "comment_text": "", "digests": { "md5": "f6575c82e6e978baa14924122fdd397c", "sha256": "07bbdef6cb21da36b6fe98e89bfdcce3822238415ec332f391d32f84b4ade33b" }, "downloads": -1, "filename": "profitbricks-4.1.2.tar.gz", "has_sig": false, "md5_digest": "f6575c82e6e978baa14924122fdd397c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 100343, "upload_time": "2017-12-13T21:36:52", "url": "https://files.pythonhosted.org/packages/34/f3/9bfab9a481de99fb934be1f4d5776c12136af8c65e231b9be3275d72b1d3/profitbricks-4.1.2.tar.gz" } ], "4.1.3": [ { "comment_text": "", "digests": { "md5": "809c90d086b207a9ab869f876752db4f", "sha256": "c10f96df84afec15f1c53761062559b7213d2c029a8dc60bcead2a79a1232ad6" }, "downloads": -1, "filename": "profitbricks-4.1.3-py3.6.egg", "has_sig": false, "md5_digest": "809c90d086b207a9ab869f876752db4f", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 55395, "upload_time": "2018-07-12T13:21:16", "url": "https://files.pythonhosted.org/packages/0b/e5/1e44502f8e3c4dd5d52625bf97c007aa82bf0f4ba14ea097d785211eab48/profitbricks-4.1.3-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "dfbbf9382b3872b0e188e0a8fefa7467", "sha256": "dbc823b9f5dc7132c705b56f3974759820a967ef682055ae7a31a1c62050b629" }, "downloads": -1, "filename": "profitbricks-4.1.3.tar.gz", "has_sig": false, "md5_digest": "dfbbf9382b3872b0e188e0a8fefa7467", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 101318, "upload_time": "2018-07-12T13:21:20", "url": "https://files.pythonhosted.org/packages/d4/53/4bbbb70f73468c78fe74ccb98e69af88d530990b2104d639099c97b97500/profitbricks-4.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "809c90d086b207a9ab869f876752db4f", "sha256": "c10f96df84afec15f1c53761062559b7213d2c029a8dc60bcead2a79a1232ad6" }, "downloads": -1, "filename": "profitbricks-4.1.3-py3.6.egg", "has_sig": false, "md5_digest": "809c90d086b207a9ab869f876752db4f", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 55395, "upload_time": "2018-07-12T13:21:16", "url": "https://files.pythonhosted.org/packages/0b/e5/1e44502f8e3c4dd5d52625bf97c007aa82bf0f4ba14ea097d785211eab48/profitbricks-4.1.3-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "dfbbf9382b3872b0e188e0a8fefa7467", "sha256": "dbc823b9f5dc7132c705b56f3974759820a967ef682055ae7a31a1c62050b629" }, "downloads": -1, "filename": "profitbricks-4.1.3.tar.gz", "has_sig": false, "md5_digest": "dfbbf9382b3872b0e188e0a8fefa7467", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 101318, "upload_time": "2018-07-12T13:21:20", "url": "https://files.pythonhosted.org/packages/d4/53/4bbbb70f73468c78fe74ccb98e69af88d530990b2104d639099c97b97500/profitbricks-4.1.3.tar.gz" } ] }