Skip to main content

Microsoft Azure Scvmm Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Scvmm Management Client Library. This package has been tested with Python 3.8+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-scvmm
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

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)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.0.0 (2024-06-20)

Features Added

  • Added operation group GuestAgentsOperations
  • Added operation group VirtualMachineInstancesOperations
  • Added operation group VmInstanceHybridIdentityMetadatasOperations
  • Model AvailabilitySet has a new parameter properties
  • Model Cloud has a new parameter properties
  • Model InventoryItem has a new parameter properties
  • Model ProxyResource has a new parameter system_data
  • Model Resource has a new parameter system_data
  • Model VirtualDisk has a new parameter storage_qos_policy
  • Model VirtualDiskUpdate has a new parameter storage_qos_policy
  • Model VirtualMachineInventoryItem has a new parameter bios_guid
  • Model VirtualMachineInventoryItem has a new parameter managed_machine_resource_id
  • Model VirtualMachineInventoryItem has a new parameter os_version
  • Model VirtualMachineTemplate has a new parameter properties
  • Model VirtualNetwork has a new parameter properties

Breaking Changes

  • Client name is changed from SCVMM to ScVmmMgmtClient
  • Model AvailabilitySet no longer has parameter availability_set_name
  • Model AvailabilitySet no longer has parameter provisioning_state
  • Model AvailabilitySet no longer has parameter vmm_server_id
  • Model Cloud no longer has parameter cloud_capacity
  • Model Cloud no longer has parameter cloud_name
  • Model Cloud no longer has parameter inventory_item_id
  • Model Cloud no longer has parameter provisioning_state
  • Model Cloud no longer has parameter storage_qo_s_policies
  • Model Cloud no longer has parameter uuid
  • Model Cloud no longer has parameter vmm_server_id
  • Model InventoryItem no longer has parameter inventory_item_name
  • Model InventoryItem no longer has parameter inventory_type
  • Model InventoryItem no longer has parameter managed_resource_id
  • Model InventoryItem no longer has parameter provisioning_state
  • Model InventoryItem no longer has parameter uuid
  • Model VirtualDisk no longer has parameter storage_qo_s_policy
  • Model VirtualDiskUpdate no longer has parameter storage_qo_s_policy
  • Model VirtualMachineTemplate no longer has parameter computer_name
  • Model VirtualMachineTemplate no longer has parameter cpu_count
  • Model VirtualMachineTemplate no longer has parameter disks
  • Model VirtualMachineTemplate no longer has parameter dynamic_memory_enabled
  • Model VirtualMachineTemplate no longer has parameter dynamic_memory_max_mb
  • Model VirtualMachineTemplate no longer has parameter dynamic_memory_min_mb
  • Model VirtualMachineTemplate no longer has parameter generation
  • Model VirtualMachineTemplate no longer has parameter inventory_item_id
  • Model VirtualMachineTemplate no longer has parameter is_customizable
  • Model VirtualMachineTemplate no longer has parameter is_highly_available
  • Model VirtualMachineTemplate no longer has parameter limit_cpu_for_migration
  • Model VirtualMachineTemplate no longer has parameter memory_mb
  • Model VirtualMachineTemplate no longer has parameter network_interfaces
  • Model VirtualMachineTemplate no longer has parameter os_name
  • Model VirtualMachineTemplate no longer has parameter os_type
  • Model VirtualMachineTemplate no longer has parameter provisioning_state
  • Model VirtualMachineTemplate no longer has parameter uuid
  • Model VirtualMachineTemplate no longer has parameter vmm_server_id
  • Model VirtualNetwork no longer has parameter inventory_item_id
  • Model VirtualNetwork no longer has parameter network_name
  • Model VirtualNetwork no longer has parameter provisioning_state
  • Model VirtualNetwork no longer has parameter uuid
  • Model VirtualNetwork no longer has parameter vmm_server_id
  • Operation AvailabilitySetsOperations.begin_create_or_update has a new required parameter availability_set_resource_name
  • Operation AvailabilitySetsOperations.begin_create_or_update has a new required parameter resource
  • Operation AvailabilitySetsOperations.begin_create_or_update no longer has parameter availability_set_name
  • Operation AvailabilitySetsOperations.begin_create_or_update no longer has parameter body
  • Operation AvailabilitySetsOperations.begin_delete has a new required parameter availability_set_resource_name
  • Operation AvailabilitySetsOperations.begin_delete no longer has parameter availability_set_name
  • Operation AvailabilitySetsOperations.begin_update has a new required parameter availability_set_resource_name
  • Operation AvailabilitySetsOperations.begin_update has a new required parameter properties
  • Operation AvailabilitySetsOperations.begin_update no longer has parameter availability_set_name
  • Operation AvailabilitySetsOperations.begin_update no longer has parameter body
  • Operation AvailabilitySetsOperations.get has a new required parameter availability_set_resource_name
  • Operation AvailabilitySetsOperations.get no longer has parameter availability_set_name
  • Operation CloudsOperations.begin_create_or_update has a new required parameter cloud_resource_name
  • Operation CloudsOperations.begin_create_or_update has a new required parameter resource
  • Operation CloudsOperations.begin_create_or_update no longer has parameter body
  • Operation CloudsOperations.begin_create_or_update no longer has parameter cloud_name
  • Operation CloudsOperations.begin_delete has a new required parameter cloud_resource_name
  • Operation CloudsOperations.begin_delete no longer has parameter cloud_name
  • Operation CloudsOperations.begin_update has a new required parameter cloud_resource_name
  • Operation CloudsOperations.begin_update has a new required parameter properties
  • Operation CloudsOperations.begin_update no longer has parameter body
  • Operation CloudsOperations.begin_update no longer has parameter cloud_name
  • Operation CloudsOperations.get has a new required parameter cloud_resource_name
  • Operation CloudsOperations.get no longer has parameter cloud_name
  • Operation InventoryItemsOperations.create has a new required parameter inventory_item_resource_name
  • Operation InventoryItemsOperations.create has a new required parameter resource
  • Operation InventoryItemsOperations.create no longer has parameter body
  • Operation InventoryItemsOperations.create no longer has parameter inventory_item_name
  • Operation InventoryItemsOperations.delete has a new required parameter inventory_item_resource_name
  • Operation InventoryItemsOperations.delete no longer has parameter inventory_item_name
  • Operation InventoryItemsOperations.get has a new required parameter inventory_item_resource_name
  • Operation InventoryItemsOperations.get no longer has parameter inventory_item_name
  • Operation VirtualMachineTemplatesOperations.begin_create_or_update has a new required parameter resource
  • Operation VirtualMachineTemplatesOperations.begin_create_or_update no longer has parameter body
  • Operation VirtualMachineTemplatesOperations.begin_update has a new required parameter properties
  • Operation VirtualMachineTemplatesOperations.begin_update no longer has parameter body
  • Operation VirtualNetworksOperations.begin_create_or_update has a new required parameter resource
  • Operation VirtualNetworksOperations.begin_create_or_update no longer has parameter body
  • Operation VirtualNetworksOperations.begin_update has a new required parameter properties
  • Operation VirtualNetworksOperations.begin_update no longer has parameter body
  • Operation VmmServersOperations.begin_create_or_update has a new required parameter resource
  • Operation VmmServersOperations.begin_create_or_update no longer has parameter body
  • Operation VmmServersOperations.begin_update has a new required parameter properties
  • Operation VmmServersOperations.begin_update no longer has parameter body
  • Parameter extended_location of model AvailabilitySet is now required
  • Parameter location of model AvailabilitySet is now required
  • Parameter value of model AvailabilitySetListResult is now required
  • Parameter value of model CloudListResult is now required
  • Parameter value of model VirtualMachineTemplateListResult is now required
  • Parameter value of model VirtualNetworkListResult is now required
  • Removed operation group VirtualMachinesOperations

1.0.0b2 (2022-11-23)

Other Changes

  • Added generated samples in github repo
  • Drop support for python<3.7.0

1.0.0b1 (2022-04-20)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-scvmm-1.0.0.tar.gz (96.8 kB view hashes)

Uploaded Source

Built Distribution

azure_mgmt_scvmm-1.0.0-py3-none-any.whl (132.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page