Skip to content

Commit d95674f

Browse files
authored
fix(apple_silicon): document commitment type values and usage (#899)
1 parent 64be3c6 commit d95674f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def create_server(
146146
:param name: Create a server with this given name.
147147
:param project_id: Create a server in the given project ID.
148148
:param os_id: Create a server & install the given os_id, when no os_id provided the default OS for this server type is chosen. Requesting a non-default OS will induce an extended delivery time.
149-
:param commitment_type: Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing. It can be updated with the Update Server request. Available commitment depends on server type.
149+
:param commitment_type: Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing (commitment_type `duration_24h`). It can be updated with the Update Server request. Available commitment depends on server type.
150150
:return: :class:`Server <Server>`
151151
152152
Usage:

scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ class CreateServerRequest:
465465

466466
commitment_type: Optional[CommitmentType]
467467
"""
468-
Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing. It can be updated with the Update Server request. Available commitment depends on server type.
468+
Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing (commitment_type `duration_24h`). It can be updated with the Update Server request. Available commitment depends on server type.
469469
"""
470470

471471

scaleway/scaleway/applesilicon/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def create_server(
146146
:param name: Create a server with this given name.
147147
:param project_id: Create a server in the given project ID.
148148
:param os_id: Create a server & install the given os_id, when no os_id provided the default OS for this server type is chosen. Requesting a non-default OS will induce an extended delivery time.
149-
:param commitment_type: Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing. It can be updated with the Update Server request. Available commitment depends on server type.
149+
:param commitment_type: Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing (commitment_type `duration_24h`). It can be updated with the Update Server request. Available commitment depends on server type.
150150
:return: :class:`Server <Server>`
151151
152152
Usage:

scaleway/scaleway/applesilicon/v1alpha1/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ class CreateServerRequest:
465465

466466
commitment_type: Optional[CommitmentType]
467467
"""
468-
Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing. It can be updated with the Update Server request. Available commitment depends on server type.
468+
Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing (commitment_type `duration_24h`). It can be updated with the Update Server request. Available commitment depends on server type.
469469
"""
470470

471471

0 commit comments

Comments
 (0)