你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebSiteManagementClient 类
网站管理客户端。
此就绪包含多个 API 版本,可帮助你处理所有 Azure 云 (Azure Stack、Azure 政府、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 订阅 ID。 这是一个 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