GlobalOperations Class

GlobalOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
GlobalOperations

Constructor

GlobalOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get_deleted_web_app

Get deleted app for a subscription.

Description for Get deleted app for a subscription.

get_deleted_web_app_snapshots

Get all deleted apps for a subscription.

Description for Get all deleted apps for a subscription.

get_subscription_operation_with_async_response

Gets an operation in a subscription and given region.

Description for Gets an operation in a subscription and given region.

get_deleted_web_app

Get deleted app for a subscription.

Description for Get deleted app for a subscription.

async get_deleted_web_app(deleted_site_id: str, **kwargs: Any) -> azure.mgmt.web.v2021_01_01.models._models_py3.DeletedSite

Parameters

deleted_site_id
str
Required

The numeric ID of the deleted app, e.g. 12345.

cls
callable

A custom type or function that will be passed the direct response

Returns

DeletedSite, or the result of cls(response)

Return type

Exceptions

get_deleted_web_app_snapshots

Get all deleted apps for a subscription.

Description for Get all deleted apps for a subscription.

async get_deleted_web_app_snapshots(deleted_site_id: str, **kwargs: Any) -> List[azure.mgmt.web.v2021_01_01.models._models_py3.Snapshot]

Parameters

deleted_site_id
str
Required

The numeric ID of the deleted app, e.g. 12345.

cls
callable

A custom type or function that will be passed the direct response

Returns

list of Snapshot, or the result of cls(response)

Return type

Exceptions

get_subscription_operation_with_async_response

Gets an operation in a subscription and given region.

Description for Gets an operation in a subscription and given region.

async get_subscription_operation_with_async_response(location: str, operation_id: str, **kwargs: Any) -> None

Parameters

location
str
Required

Location name.

operation_id
str
Required

Operation Id.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.web.v2021_01_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\web\\v2021_01_01\\models\\__init__.py'>