Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scaleway-async/scaleway_async/container/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,13 @@ async def issue_jwt(
expires_at: Optional[datetime] = None,
) -> Token:
"""
Create a JWT token.
Deprecated in favor of CreateToken.
:param region: Region to target. If none is passed will use default region from the config.
:param container_id: One-of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
:param namespace_id: One-of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
:param expires_at:
:return: :class:`Token <Token>`
:deprecated

Usage:
Expand Down
16 changes: 8 additions & 8 deletions scaleway-async/scaleway_async/container/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,14 +359,14 @@ class CreateTriggerRequestMnqSqsClientConfig:
Create trigger request. mnq sqs client config.
"""

mnq_namespace_id: Optional[str]
queue: str
"""
:deprecated
Name of the SQS queue the trigger should listen to.
"""

queue: str
mnq_namespace_id: Optional[str]
"""
Name of the SQS queue the trigger should listen to.
:deprecated
"""

mnq_project_id: str
Expand Down Expand Up @@ -799,14 +799,14 @@ class TriggerMnqNatsClientConfig:
Trigger. mnq nats client config.
"""

mnq_namespace_id: Optional[str]
subject: str
"""
:deprecated
Name of the NATS subject the trigger listens to.
"""

subject: str
mnq_namespace_id: Optional[str]
"""
Name of the NATS subject the trigger listens to.
:deprecated
"""

mnq_nats_account_id: str
Expand Down
7 changes: 7 additions & 0 deletions scaleway-async/scaleway_async/function/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,13 @@ async def issue_jwt(
expires_at: Optional[datetime] = None,
) -> Token:
"""
Create a JWT token.
Deprecated in favor of CreateToken.
:param region: Region to target. If none is passed will use default region from the config.
:param function_id: One-of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
:param namespace_id: One-of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
:param expires_at:
:return: :class:`Token <Token>`
:deprecated

Usage:
Expand Down
16 changes: 8 additions & 8 deletions scaleway-async/scaleway_async/function/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,14 +889,14 @@ class TriggerMnqNatsClientConfig:
Trigger. mnq nats client config.
"""

subject: str
mnq_namespace_id: Optional[str]
"""
Name of the NATS subject the trigger listens to.
:deprecated
"""

mnq_namespace_id: Optional[str]
subject: str
"""
:deprecated
Name of the NATS subject the trigger listens to.
"""

mnq_nats_account_id: str
Expand Down Expand Up @@ -926,14 +926,14 @@ class TriggerMnqSqsClientConfig:
Trigger. mnq sqs client config.
"""

mnq_namespace_id: Optional[str]
queue: str
"""
:deprecated
Name of the SQS queue the trigger listens to.
"""

queue: str
mnq_namespace_id: Optional[str]
"""
Name of the SQS queue the trigger listens to.
:deprecated
"""

mnq_project_id: str
Expand Down
7 changes: 7 additions & 0 deletions scaleway/scaleway/container/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,13 @@ def issue_jwt(
expires_at: Optional[datetime] = None,
) -> Token:
"""
Create a JWT token.
Deprecated in favor of CreateToken.
:param region: Region to target. If none is passed will use default region from the config.
:param container_id: One-of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
:param namespace_id: One-of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
:param expires_at:
:return: :class:`Token <Token>`
:deprecated

Usage:
Expand Down
7 changes: 7 additions & 0 deletions scaleway/scaleway/function/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,13 @@ def issue_jwt(
expires_at: Optional[datetime] = None,
) -> Token:
"""
Create a JWT token.
Deprecated in favor of CreateToken.
:param region: Region to target. If none is passed will use default region from the config.
:param function_id: One-of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
:param namespace_id: One-of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
:param expires_at:
:return: :class:`Token <Token>`
:deprecated

Usage:
Expand Down
8 changes: 4 additions & 4 deletions scaleway/scaleway/function/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,14 +926,14 @@ class TriggerMnqSqsClientConfig:
Trigger. mnq sqs client config.
"""

mnq_namespace_id: Optional[str]
queue: str
"""
:deprecated
Name of the SQS queue the trigger listens to.
"""

queue: str
mnq_namespace_id: Optional[str]
"""
Name of the SQS queue the trigger listens to.
:deprecated
"""

mnq_project_id: str
Expand Down