Microsoft Azure Scvmm Management Client Library for Python
项目描述
Microsoft Azure SDK for Python
这是Microsoft Azure Scvmm Management Client Library。此包已在Python 3.8+上进行了测试。有关Azure库的更完整视图,请参阅azure sdk python发布。
免责声明
Azure SDK Python包对Python 2.7的支持已于2022年1月1日结束。有关更多信息及问题,请参阅https://github.com/Azure/azure-sdk-for-python/issues/20691
入门指南
先决条件
- 使用此包需要Python 3.8+。
- Azure订阅
安装包
pip install azure-mgmt-scvmm
pip install azure-identity
身份验证
默认情况下,Azure Active Directory令牌身份验证依赖于以下环境变量的正确配置。
AZURE_CLIENT_ID
用于Azure客户端ID。AZURE_TENANT_ID
用于 Azure 租户 ID。AZURE_CLIENT_SECRET
用于 Azure 客户端密钥。
此外,可以通过环境变量 AZURE_SUBSCRIPTION_ID
配置 Azure 订阅 ID。
以上配置后,客户端可以通过以下代码进行身份验证
from azure.identity import DefaultAzureCredential
from azure.mgmt.scvmm import SCVMM
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = SCVMM(credential=DefaultAzureCredential(), subscription_id=sub_id)
示例
此包的代码示例可以在
故障排除
下一步
提供反馈
如果您遇到任何错误或建议,请在项目的 问题 部分提交问题。
发行历史
1.0.0 (2024-06-20)
新增功能
- 添加了 GuestAgentsOperations 操作组
- 添加了 VirtualMachineInstancesOperations 操作组
- 添加了 VmInstanceHybridIdentityMetadatasOperations 操作组
- Model AvailabilitySet 有一个新参数 properties
- Model Cloud 有一个新参数 properties
- Model InventoryItem 有一个新参数 properties
- Model ProxyResource 有一个新参数 system_data
- Model Resource 有一个新参数 system_data
- Model VirtualDisk 有一个新参数 storage_qos_policy
- Model VirtualDiskUpdate 有一个新参数 storage_qos_policy
- Model VirtualMachineInventoryItem 有一个新参数 bios_guid
- Model VirtualMachineInventoryItem 有一个新参数 managed_machine_resource_id
- Model VirtualMachineInventoryItem 有一个新参数 os_version
- Model VirtualMachineTemplate 有一个新参数 properties
- Model VirtualNetwork 有一个新参数 properties
破坏性更改
- 客户端名称从
SCVMM
更改为ScVmmMgmtClient
- Model AvailabilitySet 不再具有参数 availability_set_name
- Model AvailabilitySet 不再具有参数 provisioning_state
- Model AvailabilitySet 不再具有参数 vmm_server_id
- Model Cloud 不再具有参数 cloud_capacity
- Model Cloud 不再具有参数 cloud_name
- Model Cloud 不再具有参数 inventory_item_id
- Model Cloud 不再具有参数 provisioning_state
- Model Cloud 不再具有参数 storage_qo_s_policies
- Model Cloud 不再具有参数 uuid
- Model Cloud 不再具有参数 vmm_server_id
- Model InventoryItem 不再具有参数 inventory_item_name
- Model InventoryItem 不再具有参数 inventory_type
- Model InventoryItem 不再具有参数 managed_resource_id
- Model InventoryItem 不再具有参数 provisioning_state
- Model InventoryItem 不再具有参数 uuid
- Model VirtualDisk 不再具有参数 storage_qo_s_policy
- Model VirtualDiskUpdate 不再具有参数 storage_qo_s_policy
- Model VirtualMachineTemplate 不再具有参数 computer_name
- Model VirtualMachineTemplate 不再具有参数 cpu_count
- Model VirtualMachineTemplate 不再具有参数 disks
- Model VirtualMachineTemplate 不再具有参数 dynamic_memory_enabled
- Model VirtualMachineTemplate 不再具有参数 dynamic_memory_max_mb
- Model VirtualMachineTemplate 不再具有参数 dynamic_memory_min_mb
- Model VirtualMachineTemplate 不再具有参数 generation
- Model VirtualMachineTemplate 不再具有参数 inventory_item_id
- Model VirtualMachineTemplate 不再具有参数 is_customizable
- Model VirtualMachineTemplate 不再具有参数 is_highly_available
- Model VirtualMachineTemplate 不再具有参数 limit_cpu_for_migration
- Model VirtualMachineTemplate 不再具有参数 memory_mb
- Model VirtualMachineTemplate 不再具有参数 network_interfaces
- Model VirtualMachineTemplate 不再具有参数 os_name
- Model VirtualMachineTemplate 不再具有参数 os_type
- Model VirtualMachineTemplate 不再具有参数 provisioning_state
- Model VirtualMachineTemplate 不再具有参数 uuid
- Model VirtualMachineTemplate 不再具有参数 vmm_server_id
- Model VirtualNetwork 不再具有参数 inventory_item_id
- 模型VirtualNetwork不再有参数network_name
- 模型VirtualNetwork不再有参数provisioning_state
- 模型VirtualNetwork不再有参数uuid
- 模型VirtualNetwork不再有参数vmm_server_id
- 操作AvailabilitySetsOperations.begin_create_or_update有一个新的必填参数availability_set_resource_name
- 操作AvailabilitySetsOperations.begin_create_or_update有一个新的必填参数resource
- 操作AvailabilitySetsOperations.begin_create_or_update不再有参数availability_set_name
- 操作AvailabilitySetsOperations.begin_create_or_update不再有参数body
- 操作AvailabilitySetsOperations.begin_delete有一个新的必填参数availability_set_resource_name
- 操作AvailabilitySetsOperations.begin_delete不再有参数availability_set_name
- 操作AvailabilitySetsOperations.begin_update有一个新的必填参数availability_set_resource_name
- 操作AvailabilitySetsOperations.begin_update有一个新的必填参数properties
- 操作AvailabilitySetsOperations.begin_update不再有参数availability_set_name
- 操作AvailabilitySetsOperations.begin_update不再有参数body
- 操作AvailabilitySetsOperations.get有一个新的必填参数availability_set_resource_name
- 操作AvailabilitySetsOperations.get不再有参数availability_set_name
- 操作CloudsOperations.begin_create_or_update有一个新的必填参数cloud_resource_name
- 操作CloudsOperations.begin_create_or_update有一个新的必填参数resource
- 操作CloudsOperations.begin_create_or_update不再有参数body
- 操作CloudsOperations.begin_create_or_update不再有参数cloud_name
- 操作CloudsOperations.begin_delete有一个新的必填参数cloud_resource_name
- 操作CloudsOperations.begin_delete不再有参数cloud_name
- 操作CloudsOperations.begin_update有一个新的必填参数cloud_resource_name
- 操作CloudsOperations.begin_update有一个新的必填参数properties
- 操作CloudsOperations.begin_update不再有参数body
- 操作CloudsOperations.begin_update不再有参数cloud_name
- 操作CloudsOperations.get有一个新的必填参数cloud_resource_name
- 操作CloudsOperations.get不再有参数cloud_name
- 操作InventoryItemsOperations.create有一个新的必填参数inventory_item_resource_name
- 操作InventoryItemsOperations.create有一个新的必填参数resource
- 操作InventoryItemsOperations.create不再有参数body
- 操作InventoryItemsOperations.create不再有参数inventory_item_name
- 操作InventoryItemsOperations.delete有一个新的必填参数inventory_item_resource_name
- 操作InventoryItemsOperations.delete不再有参数inventory_item_name
- 操作InventoryItemsOperations.get有一个新的必填参数inventory_item_resource_name
- 操作InventoryItemsOperations.get不再有参数inventory_item_name
- 操作VirtualMachineTemplatesOperations.begin_create_or_update有一个新的必填参数resource
- 操作VirtualMachineTemplatesOperations.begin_create_or_update不再有参数body
- 操作VirtualMachineTemplatesOperations.begin_update有一个新的必填参数properties
- 操作VirtualMachineTemplatesOperations.begin_update不再有参数body
- 操作VirtualNetworksOperations.begin_create_or_update有一个新的必填参数resource
- 操作VirtualNetworksOperations.begin_create_or_update不再有参数body
- 操作VirtualNetworksOperations.begin_update有一个新的必填参数properties
- 操作VirtualNetworksOperations.begin_update不再有参数body
- 操作VmmServersOperations.begin_create_or_update有一个新的必填参数resource
- 操作VmmServersOperations.begin_create_or_update不再有参数body
- 操作VmmServersOperations.begin_update有一个新的必填参数properties
- 操作VmmServersOperations.begin_update不再有参数body
- 模型AvailabilitySet的参数extended_location现在是必填的
- 模型AvailabilitySet的参数location现在是必填的
- 模型AvailabilitySetListResult的参数value现在是必填的
- 模型CloudListResult的参数value现在是必填的
- 模型VirtualMachineTemplateListResult的参数value现在是必填的
- 模型VirtualNetworkListResult的参数value现在是必填的
- 移除操作组 VirtualMachinesOperations
1.0.0b2 (2022-11-23)
其他变更
- 在github仓库中添加了生成的示例
- 放弃对python<3.7.0的支持
1.0.0b1 (2022-04-20)
- 初始发布
项目详情
下载文件
下载您平台对应的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源分布
azure-mgmt-scvmm-1.0.0.tar.gz (96.8 kB 查看哈希值)
构建分布
azure_mgmt_scvmm-1.0.0-py3-none-any.whl (132.6 kB 查看哈希值)
关闭
azure-mgmt-scvmm-1.0.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 04d020670f1e82768aafa07771a5e377904a416dc75e10ac158af62ef131e0f3 |
|
MD5 | 3fed3a71ce6d5850e105f96dbce35abf |
|
BLAKE2b-256 | f15fd4b0c331b84a3a6cba823397fa43855689736f6849c35fcdee15203ba2b7 |
关闭
azure-mgmt-scvmm-1.0.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e400da38eb2d852d4211a0669d9011bd7748c1e1724ff41ee671e04111dc8565 |
|
MD5 | 064b9c1ee5347df6aaf672834b48a230 |
|
BLAKE2b-256 | 19c2ecf8e87b780d3feb1b6e7ae1c58562303594443d526418736db6f087f9df |