Azurerm

Latest version: v0.10.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 12

0.7.4

- Updated Microsoft.Compute API version to 2016-04-30-preview
- This is to support preview scale set features like managed disks and large scale sets

0.7.3

- Added list_vmss_skus(access_token, subscription_id, resource_group, vmss_name)
- list the VM skus available for a VM Scale Set

0.7.2

- Refactored azure media services functions (finishing the changes in 0.7.0)

0.7.1

- BREAKING CHANGE: to support sha key support in create_vm() and create_vmss()
- These function have new positions for user/password, and the new public_key parameter
- You can now provide a public_key OR a password (or both if you want)
- New usage:
create_vm(access_token, subscription_id, resource_group, vm_name, vm_size, publisher, offer, sku, version, storage_account, os_uri, nic_id, location, username='azure', password=None, public_key=None)
- it is recommended to pass in the username, password and/or public_key as named parameters to avoid confusion.

- New usage:
create_vmss(access_token, subscription_id, resource_group, vmss_name, vm_size, capacity, publisher, offer, sku, version, storage_container_list, subnet_id, be_pool_id, lb_pool_id, location, username='azure', password=None, public_key=None, overprovision='true', upgradePolicy='Manual')
- it is recommended to pass in any optional parameters after username as named parameters to avoid confusion.

0.7.0

- All create functions have been refactored to make them easier to maintain.
- Previously a PUT REST call had its JSON body constructed using join() to concatenate a string. This was cumbersome and messy to update.
- Now a Python dictionary is constructed for the body, which is then converted to a string with json.dumps()
- In future it will be easier to create functions without messing with large join() strings.

0.6.17

- Add create_autoscale_rule() and create_autoscale_settings().
- The output from create_autoscale_rule() is a dictionary object. Create a list of these rules and pass the list as an argument to create_autoscale setttings().
- Pass in the name of an existing VM scale set to create_autoscale_settings.
- Added unit tests for insights. See insights_tests.py in [test/](./test) for an example of how to call these new functions.

Page 11 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.