WebSiteManagementClient 類別
WebSite Management Client。
此就緒包含多個 API 版本,可協助您處理 Azure Stack、Azure Government、Azure China 等所有 Azure 雲端 ) (。 根據預設,它會使用公用 Azure 上可用的最新 API 版本。 針對生產環境,您應該繼續使用特定的 API 版本和/或設定檔。 設定檔會設定作業群組與其 API 版本之間的對應。 如果設定檔中未描述作業群組,api-version 參數會設定預設 API 版本。
- 繼承
-
azure.mgmt.web._operations_mixin.WebSiteManagementClientOperationsMixinWebSiteManagementClientWebSiteManagementClientazure.mgmt.web._web_site_management_client._SDKClientWebSiteManagementClient
建構函式
WebSiteManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
參數
- subscription_id
- str
您的 Azure 訂用帳戶識別碼。 這是 GUID 格式的字串 (例如 00000000-0000-0000-0000-0000000000000) 。 必要。
- polling_interval
- int
如果沒有 Retry-After 標頭,則兩次輪詢 LRO 作業之間的預設等候時間。
方法
close | |
models |
模組取決於 API 版本:
|
close
close()
models
模組取決於 API 版本:
2015-04-01: models
2015-08-01: models
2016-03-01: models
2016-08-01: models
2016-09-01: models
2018-02-01: models
2018-11-01: models
2019-08-01: models
2020-06-01: models
2020-09-01: models
2020-12-01: models
2021-01-01: models
2021-01-15: models
2021-03-01: models
2022-09-01: models
2023-01-01: models
models(api_version='2023-01-01')
參數
- api_version
屬性
app_service_certificate_orders
實例取決於 API 版本:
2015-08-01: AppServiceCertificateOrdersOperations
2018-02-01: AppServiceCertificateOrdersOperations
2019-08-01: AppServiceCertificateOrdersOperations
2020-06-01: AppServiceCertificateOrdersOperations
2020-09-01: AppServiceCertificateOrdersOperations
2020-12-01: AppServiceCertificateOrdersOperations
2021-01-01: AppServiceCertificateOrdersOperations
2021-01-15: AppServiceCertificateOrdersOperations
2021-03-01: AppServiceCertificateOrdersOperations
2022-09-01: AppServiceCertificateOrdersOperations
2023-01-01: AppServiceCertificateOrdersOperations
app_service_environments
實例取決於 API 版本:
2016-09-01: AppServiceEnvironmentsOperations
2018-02-01: AppServiceEnvironmentsOperations
2019-08-01: AppServiceEnvironmentsOperations
2020-06-01: AppServiceEnvironmentsOperations
2020-09-01: AppServiceEnvironmentsOperations
2020-12-01: AppServiceEnvironmentsOperations
2021-01-01: AppServiceEnvironmentsOperations
2021-01-15: AppServiceEnvironmentsOperations
2021-03-01: AppServiceEnvironmentsOperations
2022-09-01: AppServiceEnvironmentsOperations
2023-01-01: AppServiceEnvironmentsOperations
app_service_plans
實例取決於 API 版本:
2016-09-01: AppServicePlansOperations
2018-02-01: AppServicePlansOperations
2019-08-01: AppServicePlansOperations
2020-06-01: AppServicePlansOperations
2020-09-01: AppServicePlansOperations
2020-12-01: AppServicePlansOperations
2021-01-01: AppServicePlansOperations
2021-01-15: AppServicePlansOperations
2021-03-01: AppServicePlansOperations
2022-09-01: AppServicePlansOperations
2023-01-01: AppServicePlansOperations
billing_meters
實例取決於 API 版本:
- 2016-03-01: BillingMetersOperations
certificate_orders_diagnostics
實例取決於 API 版本:
2020-12-01: CertificateOrdersDiagnosticsOperations
2021-01-01: CertificateOrdersDiagnosticsOperations
2021-01-15: CertificateOrdersDiagnosticsOperations
2021-03-01: CertificateOrdersDiagnosticsOperations
2022-09-01: CertificateOrdersDiagnosticsOperations
2023-01-01: CertificateOrdersDiagnosticsOperations
certificate_registration_provider
實例取決於 API 版本:
2015-08-01: CertificateRegistrationProviderOperations
2018-02-01: CertificateRegistrationProviderOperations
2019-08-01: CertificateRegistrationProviderOperations
2020-06-01: CertificateRegistrationProviderOperations
2020-09-01: CertificateRegistrationProviderOperations
2020-12-01: CertificateRegistrationProviderOperations
2021-01-01: CertificateRegistrationProviderOperations
2021-01-15: CertificateRegistrationProviderOperations
2021-03-01: CertificateRegistrationProviderOperations
2022-09-01: CertificateRegistrationProviderOperations
2023-01-01: CertificateRegistrationProviderOperations
certificates
實例取決於 API 版本:
2016-03-01: CertificatesOperations
2018-02-01: CertificatesOperations
2018-11-01: CertificatesOperations
2019-08-01: CertificatesOperations
2020-06-01: CertificatesOperations
2020-09-01: CertificatesOperations
2020-12-01: CertificatesOperations
2021-01-01: CertificatesOperations
2021-01-15: CertificatesOperations
2021-03-01: CertificatesOperations
2022-09-01: CertificatesOperations
2023-01-01: CertificatesOperations
container_apps
實例取決於 API 版本:
2021-03-01: ContainerAppsOperations
2022-09-01: ContainerAppsOperations
2023-01-01: ContainerAppsOperations
container_apps_revisions
實例取決於 API 版本:
2021-03-01: ContainerAppsRevisionsOperations
2022-09-01: ContainerAppsRevisionsOperations
2023-01-01: ContainerAppsRevisionsOperations
deleted_web_apps
實例取決於 API 版本:
2016-03-01: DeletedWebAppsOperations
2018-02-01: DeletedWebAppsOperations
2019-08-01: DeletedWebAppsOperations
2020-06-01: DeletedWebAppsOperations
2020-09-01: DeletedWebAppsOperations
2020-12-01: DeletedWebAppsOperations
2021-01-01: DeletedWebAppsOperations
2021-01-15: DeletedWebAppsOperations
2021-03-01: DeletedWebAppsOperations
2022-09-01: DeletedWebAppsOperations
2023-01-01: DeletedWebAppsOperations
diagnostics
實例取決於 API 版本:
2016-03-01: DiagnosticsOperations
2018-02-01: DiagnosticsOperations
2019-08-01: DiagnosticsOperations
2020-06-01: DiagnosticsOperations
2020-09-01: DiagnosticsOperations
2020-12-01: DiagnosticsOperations
2021-01-01: DiagnosticsOperations
2021-01-15: DiagnosticsOperations
2021-03-01: DiagnosticsOperations
2022-09-01: DiagnosticsOperations
2023-01-01: DiagnosticsOperations
domain_registration_provider
實例取決於 API 版本:
2015-04-01: DomainRegistrationProviderOperations
2018-02-01: DomainRegistrationProviderOperations
2019-08-01: DomainRegistrationProviderOperations
2020-06-01: DomainRegistrationProviderOperations
2020-09-01: DomainRegistrationProviderOperations
2020-12-01: DomainRegistrationProviderOperations
2021-01-01: DomainRegistrationProviderOperations
2021-01-15: DomainRegistrationProviderOperations
2021-03-01: DomainRegistrationProviderOperations
2022-09-01: DomainRegistrationProviderOperations
2023-01-01: DomainRegistrationProviderOperations
domains
實例取決於 API 版本:
2015-04-01: DomainsOperations
2018-02-01: DomainsOperations
2019-08-01: DomainsOperations
2020-06-01: DomainsOperations
2020-09-01: DomainsOperations
2020-12-01: DomainsOperations
2021-01-01: DomainsOperations
2021-01-15: DomainsOperations
2021-03-01: DomainsOperations
2022-09-01: DomainsOperations
2023-01-01: DomainsOperations
get_usages_in_location
實例取決於 API 版本:
- 2023-01-01: GetUsagesInLocationOperations
global_operations
實例取決於 API 版本:
2020-12-01: GlobalOperations
2021-01-01: GlobalOperations
2021-01-15: GlobalOperations
2021-03-01: GlobalOperations
2022-09-01: GlobalOperations
2023-01-01: GlobalOperations
kube_environments
實例取決於 API 版本:
2021-01-01: KubeEnvironmentsOperations
2021-01-15: KubeEnvironmentsOperations
2021-03-01: KubeEnvironmentsOperations
2022-09-01: KubeEnvironmentsOperations
2023-01-01: KubeEnvironmentsOperations
provider
實例取決於 API 版本:
2016-03-01: ProviderOperations
2018-02-01: ProviderOperations
2019-08-01: ProviderOperations
2020-06-01: ProviderOperations
2020-09-01: ProviderOperations
2020-12-01: ProviderOperations
2021-01-01: ProviderOperations
2021-01-15: ProviderOperations
2021-03-01: ProviderOperations
2022-09-01: ProviderOperations
2023-01-01: ProviderOperations
recommendations
實例取決於 API 版本:
2016-03-01: RecommendationsOperations
2018-02-01: RecommendationsOperations
2019-08-01: RecommendationsOperations
2020-06-01: RecommendationsOperations
2020-09-01: RecommendationsOperations
2020-12-01: RecommendationsOperations
2021-01-01: RecommendationsOperations
2021-01-15: RecommendationsOperations
2021-03-01: RecommendationsOperations
2022-09-01: RecommendationsOperations
2023-01-01: RecommendationsOperations
resource_health_metadata
實例取決於 API 版本:
2016-03-01: ResourceHealthMetadataOperations
2018-02-01: ResourceHealthMetadataOperations
2019-08-01: ResourceHealthMetadataOperations
2020-06-01: ResourceHealthMetadataOperations
2020-09-01: ResourceHealthMetadataOperations
2020-12-01: ResourceHealthMetadataOperations
2021-01-01: ResourceHealthMetadataOperations
2021-01-15: ResourceHealthMetadataOperations
2021-03-01: ResourceHealthMetadataOperations
2022-09-01: ResourceHealthMetadataOperations
2023-01-01: ResourceHealthMetadataOperations
static_sites
實例取決於 API 版本:
2019-08-01: StaticSitesOperations
2020-06-01: StaticSitesOperations
2020-09-01: StaticSitesOperations
2020-12-01: StaticSitesOperations
2021-01-01: StaticSitesOperations
2021-01-15: StaticSitesOperations
2021-03-01: StaticSitesOperations
2022-09-01: StaticSitesOperations
2023-01-01: StaticSitesOperations
top_level_domains
實例取決於 API 版本:
2015-04-01: TopLevelDomainsOperations
2018-02-01: TopLevelDomainsOperations
2019-08-01: TopLevelDomainsOperations
2020-06-01: TopLevelDomainsOperations
2020-09-01: TopLevelDomainsOperations
2020-12-01: TopLevelDomainsOperations
2021-01-01: TopLevelDomainsOperations
2021-01-15: TopLevelDomainsOperations
2021-03-01: TopLevelDomainsOperations
2022-09-01: TopLevelDomainsOperations
2023-01-01: TopLevelDomainsOperations
web_apps
實例取決於 API 版本:
2016-08-01: WebAppsOperations
2018-02-01: WebAppsOperations
2019-08-01: WebAppsOperations
2020-06-01: WebAppsOperations
2020-09-01: WebAppsOperations
2020-12-01: WebAppsOperations
2021-01-01: WebAppsOperations
2021-01-15: WebAppsOperations
2021-03-01: WebAppsOperations
2022-09-01: WebAppsOperations
2023-01-01: WebAppsOperations
workflow_run_action_repetitions
實例取決於 API 版本:
2022-09-01: WorkflowRunActionRepetitionsOperations
2023-01-01: WorkflowRunActionRepetitionsOperations
workflow_run_action_repetitions_request_histories
實例取決於 API 版本:
workflow_run_action_scope_repetitions
實例取決於 API 版本:
2022-09-01: WorkflowRunActionScopeRepetitionsOperations
2023-01-01: WorkflowRunActionScopeRepetitionsOperations
workflow_run_actions
實例取決於 API 版本:
2022-09-01: WorkflowRunActionsOperations
2023-01-01: WorkflowRunActionsOperations
workflow_runs
實例取決於 API 版本:
2022-09-01: WorkflowRunsOperations
2023-01-01: WorkflowRunsOperations
workflow_trigger_histories
實例取決於 API 版本:
2022-09-01: WorkflowTriggerHistoriesOperations
2023-01-01: WorkflowTriggerHistoriesOperations
workflow_triggers
實例取決於 API 版本:
2022-09-01: WorkflowTriggersOperations
2023-01-01: WorkflowTriggersOperations
workflow_versions
實例取決於 API 版本:
2022-09-01: WorkflowVersionsOperations
2023-01-01: WorkflowVersionsOperations
workflows
實例取決於 API 版本:
2022-09-01: WorkflowsOperations
2023-01-01: WorkflowsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-01-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.web.WebSiteManagementClient latest