deps: update dependency hcloud to v1.27.2 (#294)

* deps: update dependency hcloud to v1.27.2

* chore: update vendored files

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
renovate[bot] 2023-08-11 16:09:41 +02:00 committed by GitHub
parent 8b5891dab6
commit e89835531f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 13 deletions

View file

@ -1,3 +1,3 @@
from __future__ import annotations from __future__ import annotations
VERSION = "1.27.1" # x-release-please-version VERSION = "1.27.2" # x-release-please-version

View file

@ -81,7 +81,7 @@ class BoundCertificate(BoundModelBase):
New name to set New name to set
:param labels: Dict[str, str] (optional) :param labels: Dict[str, str] (optional)
User-defined labels (key-value pairs) User-defined labels (key-value pairs)
:return: :class:`BoundCertificate <hcloud.certificates.client.BoundCertificate> :return: :class:`BoundCertificate <hcloud.certificates.client.BoundCertificate>`
""" """
return self._client.update(self, name, labels) return self._client.update(self, name, labels)

View file

@ -46,13 +46,13 @@ class BoundFloatingIP(BoundModelBase):
:param status: List[str] (optional) :param status: List[str] (optional)
Response will have only actions with specified statuses. Choices: `running` `success` `error` Response will have only actions with specified statuses. Choices: `running` `success` `error`
:param sort: List[str] (optional) :param sort: List[str] (optional)
Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc`
:param page: int (optional) :param page: int (optional)
Specifies the page to fetch Specifies the page to fetch
:param per_page: int (optional) :param per_page: int (optional)
Specifies how many results are returned by page Specifies how many results are returned by page
:return: (List[:class:`BoundAction <hcloud.actions.client.BoundAction>`], :class:`Meta <hcloud.core.domain.Meta>`) :return: (List[:class:`BoundAction <hcloud.actions.client.BoundAction>`], :class:`Meta <hcloud.core.domain.Meta>`)
""" """
return self._client.get_actions_list(self, status, sort, page, per_page) return self._client.get_actions_list(self, status, sort, page, per_page)
@ -67,7 +67,6 @@ class BoundFloatingIP(BoundModelBase):
Response will have only actions with specified statuses. Choices: `running` `success` `error` Response will have only actions with specified statuses. Choices: `running` `success` `error`
:param sort: List[str] (optional) :param sort: List[str] (optional)
Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc`
:return: List[:class:`BoundAction <hcloud.actions.client.BoundAction>`] :return: List[:class:`BoundAction <hcloud.actions.client.BoundAction>`]
""" """
return self._client.get_actions(self, status, sort) return self._client.get_actions(self, status, sort)

View file

@ -180,7 +180,7 @@ class ImagesClient(ClientEntityBase):
"""Get a specific Image """Get a specific Image
:param id: int :param id: int
:return: :class:`BoundImage <hcloud.images.client.BoundImage :return: :class:`BoundImage <hcloud.images.client.BoundImage`
""" """
response = self._client.request(url=f"/images/{id}", method="GET") response = self._client.request(url=f"/images/{id}", method="GET")
return BoundImage(self, response["image"]) return BoundImage(self, response["image"])

View file

@ -172,7 +172,7 @@ class NetworksClient(ClientEntityBase):
"""Get a specific network """Get a specific network
:param id: int :param id: int
:return: :class:`BoundNetwork <hcloud.networks.client.BoundNetwork> :return: :class:`BoundNetwork <hcloud.networks.client.BoundNetwork>`
""" """
response = self._client.request(url=f"/networks/{id}", method="GET") response = self._client.request(url=f"/networks/{id}", method="GET")
return BoundNetwork(self, response["network"]) return BoundNetwork(self, response["network"])

View file

@ -25,7 +25,7 @@ class BoundSSHKey(BoundModelBase):
New Description to set New Description to set
:param labels: Dict[str, str] (optional) :param labels: Dict[str, str] (optional)
User-defined labels (key-value pairs) User-defined labels (key-value pairs)
:return: :class:`BoundSSHKey <hcloud.ssh_keys.client.BoundSSHKey> :return: :class:`BoundSSHKey <hcloud.ssh_keys.client.BoundSSHKey>`
""" """
return self._client.update(self, name, labels) return self._client.update(self, name, labels)

View file

@ -62,7 +62,7 @@ class BoundVolume(BoundModelBase):
:param status: List[str] (optional) :param status: List[str] (optional)
Response will have only actions with specified statuses. Choices: `running` `success` `error` Response will have only actions with specified statuses. Choices: `running` `success` `error`
:param sort:List[str] (optional) :param sort: List[str] (optional)
Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc`
:return: List[:class:`BoundAction <hcloud.actions.client.BoundAction>`] :return: List[:class:`BoundAction <hcloud.actions.client.BoundAction>`]
""" """
@ -325,7 +325,7 @@ class VolumesClient(ClientEntityBase):
:param volume: :class:`BoundVolume <hcloud.volumes.client.BoundVolume>` or :class:`Volume <hcloud.volumes.domain.Volume>` :param volume: :class:`BoundVolume <hcloud.volumes.client.BoundVolume>` or :class:`Volume <hcloud.volumes.domain.Volume>`
:param status: List[str] (optional) :param status: List[str] (optional)
Response will have only actions with specified statuses. Choices: `running` `success` `error` Response will have only actions with specified statuses. Choices: `running` `success` `error`
:param sort:List[str] (optional) :param sort: List[str] (optional)
Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc`
:return: List[:class:`BoundAction <hcloud.actions.client.BoundAction>`] :return: List[:class:`BoundAction <hcloud.actions.client.BoundAction>`]
""" """

View file

@ -19,7 +19,7 @@ from textwrap import dedent
logger = logging.getLogger("vendor") logger = logging.getLogger("vendor")
HCLOUD_SOURCE_URL = "https://github.com/hetznercloud/hcloud-python" HCLOUD_SOURCE_URL = "https://github.com/hetznercloud/hcloud-python"
HCLOUD_VERSION = "v1.27.1" HCLOUD_VERSION = "v1.27.2"
HCLOUD_VENDOR_PATH = "plugins/module_utils/vendor/hcloud" HCLOUD_VENDOR_PATH = "plugins/module_utils/vendor/hcloud"