diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 1707de88..0d2405e0 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -257e7e4 +643c6bf diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index db4b964c..23fe1f10 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -168933,14 +168933,7 @@ async def create( .. code-block:: python # JSON input template you can fill out and use as your body input. - body = { - "ip": "str" # Optional. An optional IP address to assign to the load - balancer from one of your Bring Your Own IP (BYOIP) prefixes. The address must be - an unassigned BYOIP address on your account in the same region as the load - balancer. If omitted, DigitalOcean assigns a public IP address automatically. - This field is only applied when creating the load balancer, cannot be changed - afterward, and is not supported for ``GLOBAL`` or ``INTERNAL`` load balancers. - } + body = {} # response body for status code(s): 202 response == { @@ -168997,6 +168990,10 @@ async def create( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -169085,6 +169082,24 @@ async def create( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -169226,6 +169241,10 @@ async def create( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -169314,6 +169333,24 @@ async def create( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -169396,14 +169433,7 @@ async def create(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: .. code-block:: python # JSON input template you can fill out and use as your body input. - body = { - "ip": "str" # Optional. An optional IP address to assign to the load - balancer from one of your Bring Your Own IP (BYOIP) prefixes. The address must be - an unassigned BYOIP address on your account in the same region as the load - balancer. If omitted, DigitalOcean assigns a public IP address automatically. - This field is only applied when creating the load balancer, cannot be changed - afterward, and is not supported for ``GLOBAL`` or ``INTERNAL`` load balancers. - } + body = {} # response body for status code(s): 202 response == { @@ -169460,6 +169490,10 @@ async def create(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -169548,6 +169582,24 @@ async def create(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -169759,6 +169811,10 @@ async def list(self, *, per_page: int = 20, page: int = 1, **kwargs: Any) -> JSO with a Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the + Droplets assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -169851,6 +169907,25 @@ async def list(self, *, per_page: int = 20, page: int = 1, **kwargs: Any) -> JSO "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that + represents whether new Droplets can be created in this region. + Required. + "features": [ + "str" # This attribute is set to an array + which contains features available in this region. Required. + ], + "name": "str", # The display name of the region. + This will be a full name that is used in the control panel and other + interfaces. Required. + "sizes": [ + "str" # This attribute is set to an array + which contains the identifying slugs for the sizes available in + this region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used + as a unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now @@ -170041,6 +170116,10 @@ async def get(self, lb_id: str, **kwargs: Any) -> JSON: Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -170129,6 +170208,24 @@ async def get(self, lb_id: str, **kwargs: Any) -> JSON: "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -170361,6 +170458,10 @@ async def update( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -170449,6 +170550,24 @@ async def update( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -170601,6 +170720,10 @@ async def update( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -170689,6 +170812,24 @@ async def update( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -170836,6 +170977,10 @@ async def update( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -170924,6 +171069,24 @@ async def update( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -171332,8 +171495,8 @@ async def add_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } @@ -171432,8 +171595,8 @@ async def add_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } @@ -171574,8 +171737,8 @@ async def remove_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } @@ -171668,8 +171831,8 @@ async def remove_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index 3c4d00e7..1bca06c0 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -186732,14 +186732,7 @@ def create( .. code-block:: python # JSON input template you can fill out and use as your body input. - body = { - "ip": "str" # Optional. An optional IP address to assign to the load - balancer from one of your Bring Your Own IP (BYOIP) prefixes. The address must be - an unassigned BYOIP address on your account in the same region as the load - balancer. If omitted, DigitalOcean assigns a public IP address automatically. - This field is only applied when creating the load balancer, cannot be changed - afterward, and is not supported for ``GLOBAL`` or ``INTERNAL`` load balancers. - } + body = {} # response body for status code(s): 202 response == { @@ -186796,6 +186789,10 @@ def create( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -186884,6 +186881,24 @@ def create( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -187025,6 +187040,10 @@ def create( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -187113,6 +187132,24 @@ def create( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -187195,14 +187232,7 @@ def create(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: .. code-block:: python # JSON input template you can fill out and use as your body input. - body = { - "ip": "str" # Optional. An optional IP address to assign to the load - balancer from one of your Bring Your Own IP (BYOIP) prefixes. The address must be - an unassigned BYOIP address on your account in the same region as the load - balancer. If omitted, DigitalOcean assigns a public IP address automatically. - This field is only applied when creating the load balancer, cannot be changed - afterward, and is not supported for ``GLOBAL`` or ``INTERNAL`` load balancers. - } + body = {} # response body for status code(s): 202 response == { @@ -187259,6 +187289,10 @@ def create(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -187347,6 +187381,24 @@ def create(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -187558,6 +187610,10 @@ def list(self, *, per_page: int = 20, page: int = 1, **kwargs: Any) -> JSON: with a Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the + Droplets assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -187650,6 +187706,25 @@ def list(self, *, per_page: int = 20, page: int = 1, **kwargs: Any) -> JSON: "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that + represents whether new Droplets can be created in this region. + Required. + "features": [ + "str" # This attribute is set to an array + which contains features available in this region. Required. + ], + "name": "str", # The display name of the region. + This will be a full name that is used in the control panel and other + interfaces. Required. + "sizes": [ + "str" # This attribute is set to an array + which contains the identifying slugs for the sizes available in + this region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used + as a unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now @@ -187840,6 +187915,10 @@ def get(self, lb_id: str, **kwargs: Any) -> JSON: Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -187928,6 +188007,24 @@ def get(self, lb_id: str, **kwargs: Any) -> JSON: "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -188160,6 +188257,10 @@ def update( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -188248,6 +188349,24 @@ def update( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -188400,6 +188519,10 @@ def update( Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -188488,6 +188611,24 @@ def update( "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -188633,6 +188774,10 @@ def update(self, lb_id: str, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSO Global load balancer. } ], + "droplet_ids": [ + 0 # Optional. An array containing the IDs of the Droplets + assigned to the load balancer. + ], "enable_backend_keepalive": False, # Optional. Default value is False. A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. @@ -188721,6 +188866,24 @@ def update(self, lb_id: str, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSO "redirect_http_to_https": False, # Optional. Default value is False. A boolean value indicating whether HTTP requests to the load balancer on port 80 will be redirected to HTTPS on port 443. + "region": { + "available": bool, # This is a boolean value that represents + whether new Droplets can be created in this region. Required. + "features": [ + "str" # This attribute is set to an array which + contains features available in this region. Required. + ], + "name": "str", # The display name of the region. This will + be a full name that is used in the control panel and other interfaces. + Required. + "sizes": [ + "str" # This attribute is set to an array which + contains the identifying slugs for the sizes available in this + region. sizes:read is required to view. Required. + ], + "slug": "str" # A human-readable string that is used as a + unique identifier for each region. Required. + }, "size": "lb-small", # Optional. Default value is "lb-small". This field has been replaced by the ``size_unit`` field for all regions except in AMS2, NYC2, and SFO1. Each available load balancer size now equates to the @@ -189129,8 +189292,8 @@ def add_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } @@ -189229,8 +189392,8 @@ def add_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } @@ -189371,8 +189534,8 @@ def remove_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] } @@ -189465,8 +189628,8 @@ def remove_droplets( # JSON input template you can fill out and use as your body input. body = { "droplet_ids": [ - 0 # An array containing the IDs of the Droplets assigned to the load - balancer. Required. + 0 # Optional. An array containing the IDs of the Droplets assigned + to the load balancer. ] }