WebSiteManagementClient Class

WebSite Management Client.

This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Inheritance
azure.mgmt.web._operations_mixin.WebSiteManagementClientOperationsMixin
WebSiteManagementClient
WebSiteManagementClient
azure.mgmt.web._web_site_management_client._SDKClient
WebSiteManagementClient

Constructor

WebSiteManagementClient(credential, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs)

Parameters

credential
TokenCredential
Required

Credential needed for the client to connect to Azure.

subscription_id
str
Required

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

api_version
str
default value: None

API version to use if no profile is provided, or if missing in profile.

base_url
str
default value: None

Service URL

profile
KnownProfiles
default value: KnownProfiles.default

A profile definition, from KnownProfiles to dict.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Methods

close
models

Module depends on the API version:

close

close()

models

Module depends on the API version:

models(api_version='2021-02-01')

Parameters

cls
Required
api_version
default value: 2021-02-01

Attributes

app_service_certificate_orders

app_service_environments

app_service_plans

Instance depends on the API version:

billing_meters

Instance depends on the API version:

certificate_orders_diagnostics

certificate_registration_provider

certificates

Instance depends on the API version:

deleted_web_apps

Instance depends on the API version:

diagnostics

Instance depends on the API version:

domain_registration_provider

domains

Instance depends on the API version:

global_model

Instance depends on the API version:

kube_environments

Instance depends on the API version:

provider

Instance depends on the API version:

recommendations

Instance depends on the API version:

resource_health_metadata

static_sites

Instance depends on the API version:

top_level_domains

Instance depends on the API version:

web_apps

Instance depends on the API version:

DEFAULT_API_VERSION

DEFAULT_API_VERSION = '2021-02-01'

LATEST_PROFILE

LATEST_PROFILE = azure.mgmt.web.WebSiteManagementClient latest