Skip to content

Commit 9962305

Browse files
author
SDKAuto
committed
CodeGen from PR 30624 in Azure/azure-rest-api-specs
Merge 1bcf2d3747c497ab1756f5dc0de942da9642ff8d into b72e0199fa3242d64b0b49f38e71586066a8c048
1 parent 3b725b4 commit 9962305

File tree

216 files changed

+68
-386
lines changed

Some content is hidden

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

216 files changed

+68
-386
lines changed

sdk/compute/azure-mgmt-compute/_meta.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"commit": "3d87a71fb30062a70d5adf9cd7653639f00c3b92",
2+
"commit": "fa5536b6eeea8746ec8de830d6abc5324dbec3ef",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.17.0",
6+
"@autorest/python@6.19.0",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.17.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/compute/resource-manager/readme.md",
1111
"package-2024-03-02-only": "2024-07-16 12:23:13 -0400 602fb5144a226577186e35845422c11db9067cf8 Microsoft.Compute/DiskRP/stable/2024-03-02/snapshot.json",
1212
"package-2024-03-01-only": "2024-06-05 15:03:47 -0700 491e00d17f24909ecf5e1030b3833bed51224e92 Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json",
@@ -55,5 +55,5 @@
5555
"package-compute-2016-04-preview": "2022-07-31 21:47:43 -0400 2dcad6d6e9a96882eb6d317e7500a94be007a9c6 Microsoft.Compute/DiskRP/preview/2016-04-30-preview/disk.json",
5656
"package-compute-2016-03": "2022-07-31 21:47:43 -0400 2dcad6d6e9a96882eb6d317e7500a94be007a9c6 Microsoft.Compute/ComputeRP/stable/2016-03-30/compute.json",
5757
"package-compute-2015-06": "2022-07-31 21:47:43 -0400 2dcad6d6e9a96882eb6d317e7500a94be007a9c6 Microsoft.Compute/ComputeRP/stable/2015-06-15/compute.json",
58-
"package-2024-07-01-only": "2024-07-30 04:25:27 -0400 4f68529971f845e8757c2b2a746d78ceb91854cd Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json"
58+
"package-2024-07-01-only": "2024-09-19 09:22:34 +0000 1bcf2d3747c497ab1756f5dc0de942da9642ff8d Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json"
5959
}

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_10_01_preview/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_12_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_03_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_04_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_08_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_10_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_11_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_12_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_01_03/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_03_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_03_02/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_03_03/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_04_04/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_07_02/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_08_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_08_03/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_09_04/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_11_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_01_02/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_03_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_04_02/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_07_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_07_03/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_09_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_10_02/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_03_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_03_02/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_07_01/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "33.0.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_07_01/aio/operations/_operations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -552,12 +552,12 @@ def __init__(self, *args, **kwargs) -> None:
552552
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
553553

554554
@distributed_trace
555-
def list_by_location(self, location: str, **kwargs: Any) -> AsyncIterable["_models.VirtualMachineScaleSet"]:
555+
def list_by_location(self, location: int, **kwargs: Any) -> AsyncIterable["_models.VirtualMachineScaleSet"]:
556556
"""Gets all the VM scale sets under the specified subscription for the specified location.
557557

558558
:param location: The location for which VM scale sets under the subscription are queried.
559559
Required.
560-
:type location: str
560+
:type location: int
561561
:return: An iterator like instance of either VirtualMachineScaleSet or the result of
562562
cls(response)
563563
:rtype:

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_07_01/models/_compute_management_client_enums.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ class DiskDetachOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
166166
detachment attempt of the data disk did not complete due to an unexpected failure from the
167167
virtual machine and the disk is still not released then use force-detach as a last resort
168168
option to detach the disk forcibly from the VM. All writes might not have been flushed when
169-
using this detach behavior. **This feature is still in preview** mode. To force-detach a data
170-
disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.
169+
using this detach behavior. **This feature is still in preview**. To force-detach a data disk
170+
update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.
171171
"""
172172

173173
FORCE_DETACH = "ForceDetach"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_07_01/models/_models_py3.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1715,9 +1715,8 @@ class DataDisk(_serialization.Model): # pylint: disable=too-many-instance-attri
17151715
previous detachment attempt of the data disk did not complete due to an unexpected failure from
17161716
the virtual machine and the disk is still not released then use force-detach as a last resort
17171717
option to detach the disk forcibly from the VM. All writes might not have been flushed when
1718-
using this detach behavior. **This feature is still in preview** mode and is not supported for
1719-
VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with
1720-
setting detachOption: 'ForceDetach'. "ForceDetach"
1718+
using this detach behavior. **This feature is still in preview**. To force-detach a data disk
1719+
update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. "ForceDetach"
17211720
:vartype detach_option: str or ~azure.mgmt.compute.v2024_07_01.models.DiskDetachOptionTypes
17221721
:ivar delete_option: Specifies whether data disk should be deleted or detached upon VM
17231722
deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when
@@ -1817,9 +1816,8 @@ def __init__(
18171816
previous detachment attempt of the data disk did not complete due to an unexpected failure from
18181817
the virtual machine and the disk is still not released then use force-detach as a last resort
18191818
option to detach the disk forcibly from the VM. All writes might not have been flushed when
1820-
using this detach behavior. **This feature is still in preview** mode and is not supported for
1821-
VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with
1822-
setting detachOption: 'ForceDetach'. "ForceDetach"
1819+
using this detach behavior. **This feature is still in preview**. To force-detach a data disk
1820+
update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. "ForceDetach"
18231821
:paramtype detach_option: str or ~azure.mgmt.compute.v2024_07_01.models.DiskDetachOptionTypes
18241822
:keyword delete_option: Specifies whether data disk should be deleted or detached upon VM
18251823
deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2024_07_01/operations/_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def build_virtual_machine_sizes_list_request(location: str, subscription_id: str
118118

119119

120120
def build_virtual_machine_scale_sets_list_by_location_request( # pylint: disable=name-too-long
121-
location: str, subscription_id: str, **kwargs: Any
121+
location: int, subscription_id: str, **kwargs: Any
122122
) -> HttpRequest:
123123
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
124124
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
@@ -132,7 +132,7 @@ def build_virtual_machine_scale_sets_list_by_location_request( # pylint: disabl
132132
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets",
133133
) # pylint: disable=line-too-long
134134
path_format_arguments = {
135-
"location": _SERIALIZER.url("location", location, "str", pattern=r"^[-\w\._]+$"),
135+
"location": _SERIALIZER.url("location", location, "int"),
136136
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
137137
}
138138

@@ -6554,12 +6554,12 @@ def __init__(self, *args, **kwargs):
65546554
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
65556555

65566556
@distributed_trace
6557-
def list_by_location(self, location: str, **kwargs: Any) -> Iterable["_models.VirtualMachineScaleSet"]:
6557+
def list_by_location(self, location: int, **kwargs: Any) -> Iterable["_models.VirtualMachineScaleSet"]:
65586558
"""Gets all the VM scale sets under the specified subscription for the specified location.
65596559

65606560
:param location: The location for which VM scale sets under the subscription are queried.
65616561
Required.
6562-
:type location: str
6562+
:type location: int
65636563
:return: An iterator like instance of either VirtualMachineScaleSet or the result of
65646564
cls(response)
65656565
:rtype:

0 commit comments

Comments
 (0)