Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion src/containerapp/azext_containerapp/_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

logger = get_logger(__name__)

PREVIEW_API_VERSION = "2025-02-02-preview"
PREVIEW_API_VERSION = "2025-10-02-preview"
POLLING_TIMEOUT = 1500 # how many seconds before exiting
POLLING_SECONDS = 2 # how many seconds between requests
POLLING_TIMEOUT_FOR_MANAGED_CERTIFICATE = 1500 # how many seconds before exiting
Expand Down
43 changes: 24 additions & 19 deletions src/containerapp/azext_containerapp/_sdk_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ class Action(str, Enum, metaclass=CaseInsensitiveEnumMeta):

class ActiveRevisionsMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""ActiveRevisionsMode controls how active revisions are handled for the Container app:


.. raw:: html

<list><item>Single: Only one revision can be active at a time. Traffic weights cannot be
used. This is the default.</item><item>Multiple: Multiple revisions can be active, including
optional traffic weights and labels.</item><item>Labels: Only revisions with labels are active.
Traffic weights can be applied to labels.</item></list>.
used. This is the default.</item><item>Multiple: Multiple revisions can be active, including
optional traffic weights and labels.</item><item>Labels: Only revisions with labels are active.
Traffic weights can be applied to labels.</item></list>.
"""

MULTIPLE = "Multiple"
Expand Down Expand Up @@ -133,16 +130,6 @@ class CheckNameAvailabilityReason(str, Enum, metaclass=CaseInsensitiveEnumMeta):
ALREADY_EXISTS = "AlreadyExists"


class ConnectedEnvironmentDaprComponentProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Provisioning state of the Connected Environment Dapr Component."""

SUCCEEDED = "Succeeded"
FAILED = "Failed"
CANCELED = "Canceled"
IN_PROGRESS = "InProgress"
DELETING = "Deleting"


class ConnectedEnvironmentProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Provisioning state of the Kubernetes Environment."""

Expand Down Expand Up @@ -230,6 +217,16 @@ class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
KEY = "Key"


class DaprComponentProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Provisioning state of the Connected Environment Dapr Component."""
Comment thread
Greedygre marked this conversation as resolved.

SUCCEEDED = "Succeeded"
FAILED = "Failed"
CANCELED = "Canceled"
IN_PROGRESS = "InProgress"
DELETING = "Deleting"


class DetectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The status of the patch detection."""

Expand Down Expand Up @@ -401,12 +398,12 @@ class JobRunningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class Kind(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp
is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must
validate and persist this value.
"""Metadata to represent the container app kind, representing if a container app is workflowapp or
functionapp.
"""

WORKFLOWAPP = "workflowapp"
FUNCTIONAPP = "functionapp"


class Level(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Expand Down Expand Up @@ -670,6 +667,14 @@ class WorkflowHealthState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
UNKNOWN = "Unknown"


class WorkflowKind(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Gets the logic app hybrid workflow kind."""

STATEFUL = "Stateful"
STATELESS = "Stateless"
AGENTIC = "Agentic"


class WorkflowState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The workflow state."""

Expand Down
2,228 changes: 1,082 additions & 1,146 deletions src/containerapp/azext_containerapp/_sdk_models.py

Large diffs are not rendered by default.

7,027 changes: 2,709 additions & 4,318 deletions src/containerapp/azext_containerapp/tests/latest/recordings/test_container_acr.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading
Loading