WorkflowVersionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

WebSiteManagementClient's

<xref:workflow_versions> attribute.

Inheritance
builtins.object
WorkflowVersionsOperations

Constructor

WorkflowVersionsOperations(*args, **kwargs)

Methods

get

Gets a workflow version.

list

Gets a list of workflow versions.

get

Gets a workflow version.

get(resource_group_name: str, name: str, workflow_name: str, version_id: str, **kwargs: Any) -> WorkflowVersion

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

name
Required
str

Site name. Required.

workflow_name
Required
str

The workflow name. Required.

version_id
Required
str

The workflow versionId. Required.

Returns

Type Description

WorkflowVersion or the result of cls(response)

Exceptions

Type Description

list

Gets a list of workflow versions.

list(resource_group_name: str, name: str, workflow_name: str, top: int | None = None, **kwargs: Any) -> Iterable[WorkflowVersion]

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

name
Required
str

Site name. Required.

workflow_name
Required
str

The workflow name. Required.

top
Required
int

The number of items to be included in the result. Default value is None.

Returns

Type Description

An iterator like instance of either WorkflowVersion or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.web.v2022_09_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\web\\v2022_09_01\\models\\__init__.py'>