跳转到主要内容

Microsoft Azure Lab Services Python客户端库

项目描述

Microsoft Azure SDK for Python

这是Microsoft Azure Lab Services客户端库。此软件包已在Python 3.7+上进行了测试。有关Azure库的更完整视图,请参阅Azure SDK for Python发行版

免责声明

Azure SDK Python软件包对Python 2.7的支持已于2022年1月1日结束。有关更多信息,请参阅https://github.com/Azure/azure-sdk-for-python/issues/20691

用法

要了解如何使用此包,请参阅快速入门指南

有关文档和参考,请参阅 Python SDK 参考文档。本包的代码示例可以在 docs.microsoft.com 的 实验室服务 上找到。不同 Azure 服务的附加代码示例可在 代码仓库 中找到。

提供反馈

如果您遇到任何错误或有建议,请在项目的 问题 部分提交问题。

Impressions

发行历史

2.0.0 (2022-08-26)

新增功能

  • 添加了操作 LabsOperations.begin_create_or_update
  • 添加了操作 LabsOperations.begin_publish
  • 添加了操作 LabsOperations.begin_sync_group
  • 添加了操作 LabsOperations.begin_update
  • 添加了操作 LabsOperations.list_by_resource_group
  • 添加了操作 LabsOperations.list_by_subscription
  • 添加了操作 Operations.list
  • 添加了操作 UsersOperations.begin_create_or_update
  • 添加了操作 UsersOperations.begin_invite
  • 添加了操作 UsersOperations.begin_update
  • 添加了操作 UsersOperations.list_by_lab
  • 添加了操作组 ImagesOperations
  • 添加了操作组 LabPlansOperations
  • 添加了操作组 OperationResultsOperations
  • 添加了操作组 SchedulesOperations
  • 添加了操作组 SkusOperations
  • 添加了操作组 UsagesOperations
  • 添加了操作组 VirtualMachinesOperations
  • Lab 模型新增参数 auto_shutdown_profile
  • Lab 模型新增参数 connection_profile
  • Lab 模型新增参数 description
  • Lab 模型新增参数 lab_plan_id
  • Lab 模型新增参数 network_profile
  • Lab 模型新增参数 roster_profile
  • Lab 模型新增参数 security_profile
  • Lab 模型新增参数 state
  • Lab 模型新增参数 system_data
  • Lab 模型新增参数 title
  • Lab 模型新增参数 virtual_machine_profile
  • OperationResult 模型新增参数 end_time
  • OperationResult 模型新增参数 id
  • OperationResult 模型新增参数 name
  • OperationResult 模型新增参数 percent_complete
  • OperationResult 模型新增参数 start_time
  • User 模型新增参数 additional_usage_quota
  • User 模型新增参数 display_name
  • User 模型新增参数 invitation_sent
  • User 模型新增参数 invitation_state
  • User 模型新增参数 registration_state
  • User 模型新增参数 system_data

重大变更

  • Lab 模型不再有参数 created_by_object_id
  • Lab 模型不再有参数 created_by_user_principal_name
  • Lab 模型不再有参数 created_date
  • Lab 模型不再有参数 invitation_code
  • Lab 模型不再有参数 latest_operation_result
  • Lab 模型不再有参数 max_users_in_lab
  • Lab 模型不再有参数 unique_identifier
  • Lab 模型不再有参数 usage_quota
  • Lab 模型不再有参数 user_access_mode
  • Lab 模型不再有参数 user_quota
  • Resource 模型不再有参数 location
  • Resource 模型不再有参数 tags
  • User 模型不再有参数 family_name
  • User 模型不再有参数 given_name
  • User 模型不再有参数 latest_operation_result
  • User 模型不再有参数 location
  • User 模型不再有参数 tags
  • User 模型不再有参数 tenant_id
  • User 模型不再有参数 unique_identifier
  • 操作 LabsOperations.begin_delete 不再需要参数 lab_account_name
  • 操作 LabsOperations.get 不再需要参数 expand
  • 操作 LabsOperations.get 不再需要参数 lab_account_name
  • 操作 UsersOperations.begin_delete 不再需要参数 lab_account_name
  • 操作 UsersOperations.get 不再需要参数 expand
  • 操作用户 Operations.get 不再需要参数 lab_account_name
  • 模型 User 的参数 email 现在是必需的
  • 模型 Lab 的参数 location 现在是必需的
  • 模型 OperationResult 的参数 status 现在是必需的
  • 移除了操作 LabsOperations.add_users
  • 移除了操作 LabsOperations.create_or_update
  • 移除了操作 LabsOperations.list
  • 移除了操作 LabsOperations.register
  • 移除了操作 LabsOperations.update
  • 移除了操作 Operations.get
  • 移除了操作 UsersOperations.create_or_update
  • 移除了操作 UsersOperations.list
  • 移除了操作 UsersOperations.update
  • 移除了操作组 EnvironmentSettingsOperations
  • 移除了操作组 EnvironmentsOperations
  • 移除了操作组 GalleryImagesOperations
  • 移除了操作组 GlobalUsersOperations
  • 移除了操作组 LabAccountsOperations
  • 移除了操作组 ProviderOperationsOperations

2.0.0b1 (2022-03-14)

特性

  • 添加了操作 LabsOperations.begin_create_or_update
  • 添加了操作 LabsOperations.begin_publish
  • 添加了操作 LabsOperations.begin_sync_group
  • 添加了操作 LabsOperations.begin_update
  • 添加了操作 LabsOperations.list_by_resource_group
  • 添加了操作 LabsOperations.list_by_subscription
  • 添加了操作 Operations.list
  • 添加了操作 UsersOperations.begin_create_or_update
  • 添加了操作 UsersOperations.begin_invite
  • 添加了操作 UsersOperations.begin_update
  • 添加了操作 UsersOperations.list_by_lab
  • 添加了操作组 ImagesOperations
  • 添加了操作组 LabPlansOperations
  • 添加了操作组 OperationResultsOperations
  • 添加了操作组 SchedulesOperations
  • 添加了操作组 SkusOperations
  • 添加了操作组 UsagesOperations
  • 添加了操作组 VirtualMachinesOperations
  • Lab 模型新增参数 auto_shutdown_profile
  • Lab 模型新增参数 connection_profile
  • Lab 模型新增参数 description
  • Lab 模型新增参数 lab_plan_id
  • Lab 模型新增参数 network_profile
  • Lab 模型新增参数 roster_profile
  • Lab 模型新增参数 security_profile
  • Lab 模型新增参数 state
  • Lab 模型新增参数 system_data
  • Lab 模型新增参数 title
  • Lab 模型新增参数 virtual_machine_profile
  • OperationResult 模型新增参数 end_time
  • OperationResult 模型新增参数 id
  • OperationResult 模型新增参数 name
  • OperationResult 模型新增参数 percent_complete
  • OperationResult 模型新增参数 start_time
  • User 模型新增参数 additional_usage_quota
  • User 模型新增参数 display_name
  • User 模型新增参数 invitation_sent
  • User 模型新增参数 invitation_state
  • User 模型新增参数 registration_state
  • User 模型新增参数 system_data

重大变更

  • Lab 模型不再有参数 created_by_object_id
  • Lab 模型不再有参数 created_by_user_principal_name
  • Lab 模型不再有参数 created_date
  • Lab 模型不再有参数 invitation_code
  • Lab 模型不再有参数 latest_operation_result
  • Lab 模型不再有参数 max_users_in_lab
  • Lab 模型不再有参数 unique_identifier
  • Lab 模型不再有参数 usage_quota
  • Lab 模型不再有参数 user_access_mode
  • Lab 模型不再有参数 user_quota
  • Resource 模型不再有参数 location
  • Resource 模型不再有参数 tags
  • User 模型不再有参数 family_name
  • User 模型不再有参数 given_name
  • User 模型不再有参数 latest_operation_result
  • User 模型不再有参数 location
  • User 模型不再有参数 tags
  • User 模型不再有参数 tenant_id
  • User 模型不再有参数 unique_identifier
  • 操作 LabsOperations.begin_delete 具有新的签名
  • 操作 LabsOperations.get 具有新的签名
  • 操作 LabsOperations.get 具有新的签名
  • 操作 UsersOperations.begin_delete 具有新的签名
  • 操作 UsersOperations.get 具有新的签名
  • 操作 UsersOperations.get 具有新的签名
  • 模型 User 的参数 email 现在是必需的
  • 模型 User 的参数 email 现在是必需的
  • 模型 Lab 的参数 location 现在是必需的
  • 模型 OperationResult 的参数 status 现在是必需的
  • 移除了操作 LabsOperations.add_users
  • 移除了操作 LabsOperations.create_or_update
  • 移除了操作 LabsOperations.list
  • 移除了操作 LabsOperations.register
  • 移除了操作 LabsOperations.update
  • 移除了操作 Operations.get
  • 移除了操作 UsersOperations.create_or_update
  • 移除了操作 UsersOperations.list
  • 移除了操作 UsersOperations.update
  • 移除了操作组 EnvironmentSettingsOperations
  • 移除了操作组 EnvironmentsOperations
  • 移除了操作组 GalleryImagesOperations
  • 移除了操作组 GlobalUsersOperations
  • 移除了操作组 LabAccountsOperations
  • 移除了操作组 ProviderOperationsOperations

1.0.0 (2021-03-31)

  • GA 版本发布

1.0.0b1 (2020-12-01)

这是测试预览版本。

此版本使用下一代代码生成器,引入了重要的重大变更,但也引入了重要的新特性(如统一身份验证和异步编程)。

通用重大变更

  • 凭证系统已被完全改版

    • azure.common.credentialsmsrestazure.azure_active_directory 实例不再受支持,请使用 azure-identity 类:[https://pypi.ac.cn/project/azure-identity/](https://pypi.ac.cn/project/azure-identity/)
    • credentials 参数已重命名为 credential
  • 客户端上的 config 属性不再存在,配置应作为 kwarg 传递。例如:MyClient(credential, subscription_id, enable_logging=True)。有关支持的完整选项集,请参阅azure-core 初始化文档中的参数接受

  • 不再可以导入 version 模块,请使用 __version__ 代替

  • 之前返回 msrest.polling.LROPoller 的操作现在返回 azure.core.polling.LROPoller 并以 begin_ 前缀。

  • 异常树已被简化,大多数异常现在是 azure.core.exceptions.HttpResponseError(已删除 CloudError)。

  • 大多数操作 kwarg 都已更改。以下是一些最显著的更改:

    • raw 已被删除。等效功能可以通过使用 cls 来找到,这是一个回调,将提供对内部 HTTP 响应的访问,供高级用户使用
    • 有关支持的完整选项集,请参阅azure-core 请求文档中的参数接受

通用新特性

  • 支持使用 typing 进行类型注解。SDKs 是 mypy 准备好的。
  • 此客户端现在具有稳定和官方的异步支持。检查您的包中的 aio 命名空间以找到异步客户端。
  • 此客户端现在原生支持像 OpenCensus 或 OpenTelemetry 这样的跟踪库。有关概述,请参阅此跟踪快速入门

0.1.1 (2019-02-14)

错误修复:修复了枚举注释的错误换行

0.1.0 (2019-02-11)

  • 初始发布

项目详情


下载文件

下载适合您平台的文件。如果您不确定该选择哪个,请了解更多关于 安装包 的信息。

源代码分发

azure-mgmt-labservices-2.0.0.zip (146.3 kB 查看哈希值)

上传时间 源代码

构建分发

azure_mgmt_labservices-2.0.0-py3-none-any.whl (134.7 kB 查看哈希值)

上传时间 Python 3

支持