GlobalOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

WebSiteManagementClient's

<xref:global_operations> attribute.

Inheritance
builtins.object
GlobalOperations

Constructor

GlobalOperations(*args, **kwargs)

Methods

get_deleted_web_app

Get deleted app for a subscription.

Get deleted app for a subscription.

get_deleted_web_app_snapshots

Get all deleted apps for a subscription.

Get all deleted apps for a subscription.

get_subscription_operation_with_async_response

Gets an operation in a subscription and given region.

Gets an operation in a subscription and given region.

get_deleted_web_app

Get deleted app for a subscription.

Get deleted app for a subscription.

get_deleted_web_app(deleted_site_id: str, **kwargs: Any) -> DeletedSite

Parameters

Name Description
deleted_site_id
Required
str

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

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

DeletedSite or the result of cls(response)

Exceptions

Type Description

get_deleted_web_app_snapshots

Get all deleted apps for a subscription.

Get all deleted apps for a subscription.

get_deleted_web_app_snapshots(deleted_site_id: str, **kwargs: Any) -> List[Snapshot]

Parameters

Name Description
deleted_site_id
Required
str

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

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

list of Snapshot or the result of cls(response)

Exceptions

Type Description

get_subscription_operation_with_async_response

Gets an operation in a subscription and given region.

Gets an operation in a subscription and given region.

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

Parameters

Name Description
location
Required
str

Location name. Required.

operation_id
Required
str

Operation Id. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

Attributes

models

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