Skip to content

Commit 5f98849

Browse files
azure-sdkmsyyc
andauthored
[AutoRelease] t2-compute-2023-04-19-46616(can only be merged by SDK owner) (Azure#29959)
* code and test * update * update test --------- Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: msyyc <[email protected]>
1 parent 527da82 commit 5f98849

File tree

1,220 files changed

+1372889
-71805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,220 files changed

+1372889
-71805
lines changed

sdk/compute/azure-mgmt-compute/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# Release History
22

3+
## 30.0.0 (2023-05-25)
4+
5+
### Features Added
6+
7+
- Added operation DedicatedHostsOperations.list_available_sizes
8+
- Added operation VirtualMachineScaleSetsOperations.begin_reapply
9+
- Model DedicatedHostUpdate has a new parameter sku
10+
- Model LinuxVMGuestPatchAutomaticByPlatformSettings has a new parameter bypass_platform_safety_checks_on_user_schedule
11+
- Model RestorePointSourceMetadata has a new parameter hyper_v_generation
12+
- Model RestorePointSourceVMDataDisk has a new parameter write_accelerator_enabled
13+
- Model RestorePointSourceVMOSDisk has a new parameter write_accelerator_enabled
14+
- Model VirtualMachineExtension has a new parameter provision_after_extensions
15+
- Model VirtualMachineRunCommand has a new parameter error_blob_managed_identity
16+
- Model VirtualMachineRunCommand has a new parameter output_blob_managed_identity
17+
- Model VirtualMachineRunCommand has a new parameter treat_failure_as_deployment_failure
18+
- Model VirtualMachineRunCommandScriptSource has a new parameter script_uri_managed_identity
19+
- Model VirtualMachineRunCommandUpdate has a new parameter error_blob_managed_identity
20+
- Model VirtualMachineRunCommandUpdate has a new parameter output_blob_managed_identity
21+
- Model VirtualMachineRunCommandUpdate has a new parameter treat_failure_as_deployment_failure
22+
- Model VirtualMachineScaleSetUpdate has a new parameter priority_mix_policy
23+
- Model VirtualMachineScaleSetUpdate has a new parameter spot_restore_policy
24+
- Model VirtualMachineScaleSetVMExtension has a new parameter location
25+
- Model VirtualMachineScaleSetVMExtension has a new parameter provision_after_extensions
26+
- Model VirtualMachineScaleSetVMInstanceView has a new parameter computer_name
27+
- Model VirtualMachineScaleSetVMInstanceView has a new parameter hyper_v_generation
28+
- Model VirtualMachineScaleSetVMInstanceView has a new parameter os_name
29+
- Model VirtualMachineScaleSetVMInstanceView has a new parameter os_version
30+
- Model VirtualMachineScaleSetVMProfile has a new parameter security_posture_reference
31+
- Model WindowsVMGuestPatchAutomaticByPlatformSettings has a new parameter bypass_platform_safety_checks_on_user_schedule
32+
- Operation VirtualMachineScaleSetsOperations.begin_deallocate has a new optional parameter hibernate
33+
- Operation VirtualMachinesOperations.list has a new optional parameter expand
34+
- Operation VirtualMachinesOperations.list_all has a new optional parameter expand
35+
36+
### Breaking Changes
37+
38+
- Model VirtualMachineScaleSetIPConfiguration no longer has parameter id
39+
- Model VirtualMachineScaleSetNetworkConfiguration no longer has parameter id
40+
- Model VirtualMachineScaleSetUpdateIPConfiguration no longer has parameter id
41+
- Model VirtualMachineScaleSetUpdateNetworkConfiguration no longer has parameter id
42+
343
## 29.2.0b2 (2023-04-12)
444

545
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "06042d4ffed6a1ea8319c39cd07ea21efe5d49f7",
2+
"commit": "4ca27b68f1583762108985809ab9cb6648a38ce2",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/[email protected].7",
6+
"@autorest/[email protected].8",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected].7 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected].8 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/compute/resource-manager/readme.md"
1111
}

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/__init__.py

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,15 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from ._client import ComputeManagementClient
10-
from ._version import VERSION
11-
12-
__version__ = VERSION
9+
from ._compute_management_client import ComputeManagementClient
10+
__all__ = ['ComputeManagementClient']
1311

1412
try:
15-
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
13+
from ._patch import patch_sdk # type: ignore
14+
patch_sdk()
1715
except ImportError:
18-
_patch_all = []
19-
from ._patch import patch_sdk as _patch_sdk
16+
pass
2017

21-
__all__ = [
22-
"ComputeManagementClient",
23-
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
18+
from ._version import VERSION
2519

26-
_patch_sdk()
20+
__version__ = VERSION

0 commit comments

Comments
 (0)