Skip to content

Commit

Permalink
CodeGen from PR 24910 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge a8bbf75cdd430944019da1c31c1ffb7ae69be50d into e680f9bf4f154ec427ba7feac432ed8efd9665d0
  • Loading branch information
SDKAuto committed Jul 20, 2023
1 parent f9accb9 commit d8cc05b
Show file tree
Hide file tree
Showing 67 changed files with 16,551 additions and 565 deletions.
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit": "a1b208ed1aa1ef6cc9fa0709a9a29f31ec931e4e",
"commit": "e2c61089d6fa80f9d839d1e37b0bd44a60778bc5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ class ComputeManagementClient(MultiApiClientMixin, _SDKClient):
'community_galleries': '2022-03-03',
'community_gallery_image_versions': '2022-03-03',
'community_gallery_images': '2022-03-03',
'disk_accesses': '2022-07-02',
'disk_encryption_sets': '2022-07-02',
'disk_restore_point': '2022-07-02',
'disks': '2022-07-02',
'disk_accesses': '2023-01-02',
'disk_encryption_sets': '2023-01-02',
'disk_restore_point': '2023-01-02',
'disks': '2023-01-02',
'galleries': '2022-03-03',
'gallery_application_versions': '2022-03-03',
'gallery_applications': '2022-03-03',
Expand All @@ -80,7 +80,7 @@ class ComputeManagementClient(MultiApiClientMixin, _SDKClient):
'shared_galleries': '2022-03-03',
'shared_gallery_image_versions': '2022-03-03',
'shared_gallery_images': '2022-03-03',
'snapshots': '2022-07-02',
'snapshots': '2023-01-02',
}},
_PROFILE_TAG + " latest"
)
Expand Down Expand Up @@ -148,6 +148,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
* 2022-08-01: :mod:`v2022_08_01.models<azure.mgmt.compute.v2022_08_01.models>`
* 2022-09-04: :mod:`v2022_09_04.models<azure.mgmt.compute.v2022_09_04.models>`
* 2022-11-01: :mod:`v2022_11_01.models<azure.mgmt.compute.v2022_11_01.models>`
* 2023-01-02: :mod:`v2023_01_02.models<azure.mgmt.compute.v2023_01_02.models>`
* 2023-03-01: :mod:`v2023_03_01.models<azure.mgmt.compute.v2023_03_01.models>`
"""
if api_version == '2015-06-15':
Expand Down Expand Up @@ -261,6 +262,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
elif api_version == '2022-11-01':
from .v2022_11_01 import models
return models
elif api_version == '2023-01-02':
from .v2023_01_02 import models
return models
elif api_version == '2023-03-01':
from .v2023_03_01 import models
return models
Expand Down Expand Up @@ -689,6 +693,7 @@ def disk_accesses(self):
* 2021-12-01: :class:`DiskAccessesOperations<azure.mgmt.compute.v2021_12_01.operations.DiskAccessesOperations>`
* 2022-03-02: :class:`DiskAccessesOperations<azure.mgmt.compute.v2022_03_02.operations.DiskAccessesOperations>`
* 2022-07-02: :class:`DiskAccessesOperations<azure.mgmt.compute.v2022_07_02.operations.DiskAccessesOperations>`
* 2023-01-02: :class:`DiskAccessesOperations<azure.mgmt.compute.v2023_01_02.operations.DiskAccessesOperations>`
"""
api_version = self._get_api_version('disk_accesses')
if api_version == '2020-05-01':
Expand All @@ -709,6 +714,8 @@ def disk_accesses(self):
from .v2022_03_02.operations import DiskAccessesOperations as OperationClass
elif api_version == '2022-07-02':
from .v2022_07_02.operations import DiskAccessesOperations as OperationClass
elif api_version == '2023-01-02':
from .v2023_01_02.operations import DiskAccessesOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disk_accesses'".format(api_version))
self._config.api_version = api_version
Expand All @@ -729,6 +736,7 @@ def disk_encryption_sets(self):
* 2021-12-01: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2021_12_01.operations.DiskEncryptionSetsOperations>`
* 2022-03-02: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2022_03_02.operations.DiskEncryptionSetsOperations>`
* 2022-07-02: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2022_07_02.operations.DiskEncryptionSetsOperations>`
* 2023-01-02: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2023_01_02.operations.DiskEncryptionSetsOperations>`
"""
api_version = self._get_api_version('disk_encryption_sets')
if api_version == '2019-07-01':
Expand All @@ -753,6 +761,8 @@ def disk_encryption_sets(self):
from .v2022_03_02.operations import DiskEncryptionSetsOperations as OperationClass
elif api_version == '2022-07-02':
from .v2022_07_02.operations import DiskEncryptionSetsOperations as OperationClass
elif api_version == '2023-01-02':
from .v2023_01_02.operations import DiskEncryptionSetsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disk_encryption_sets'".format(api_version))
self._config.api_version = api_version
Expand All @@ -769,6 +779,7 @@ def disk_restore_point(self):
* 2021-12-01: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2021_12_01.operations.DiskRestorePointOperations>`
* 2022-03-02: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2022_03_02.operations.DiskRestorePointOperations>`
* 2022-07-02: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2022_07_02.operations.DiskRestorePointOperations>`
* 2023-01-02: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2023_01_02.operations.DiskRestorePointOperations>`
"""
api_version = self._get_api_version('disk_restore_point')
if api_version == '2020-09-30':
Expand All @@ -785,6 +796,8 @@ def disk_restore_point(self):
from .v2022_03_02.operations import DiskRestorePointOperations as OperationClass
elif api_version == '2022-07-02':
from .v2022_07_02.operations import DiskRestorePointOperations as OperationClass
elif api_version == '2023-01-02':
from .v2023_01_02.operations import DiskRestorePointOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disk_restore_point'".format(api_version))
self._config.api_version = api_version
Expand All @@ -811,6 +824,7 @@ def disks(self):
* 2021-12-01: :class:`DisksOperations<azure.mgmt.compute.v2021_12_01.operations.DisksOperations>`
* 2022-03-02: :class:`DisksOperations<azure.mgmt.compute.v2022_03_02.operations.DisksOperations>`
* 2022-07-02: :class:`DisksOperations<azure.mgmt.compute.v2022_07_02.operations.DisksOperations>`
* 2023-01-02: :class:`DisksOperations<azure.mgmt.compute.v2023_01_02.operations.DisksOperations>`
"""
api_version = self._get_api_version('disks')
if api_version == '2016-04-30-preview':
Expand Down Expand Up @@ -847,6 +861,8 @@ def disks(self):
from .v2022_03_02.operations import DisksOperations as OperationClass
elif api_version == '2022-07-02':
from .v2022_07_02.operations import DisksOperations as OperationClass
elif api_version == '2023-01-02':
from .v2023_01_02.operations import DisksOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disks'".format(api_version))
self._config.api_version = api_version
Expand Down Expand Up @@ -1496,6 +1512,7 @@ def snapshots(self):
* 2021-12-01: :class:`SnapshotsOperations<azure.mgmt.compute.v2021_12_01.operations.SnapshotsOperations>`
* 2022-03-02: :class:`SnapshotsOperations<azure.mgmt.compute.v2022_03_02.operations.SnapshotsOperations>`
* 2022-07-02: :class:`SnapshotsOperations<azure.mgmt.compute.v2022_07_02.operations.SnapshotsOperations>`
* 2023-01-02: :class:`SnapshotsOperations<azure.mgmt.compute.v2023_01_02.operations.SnapshotsOperations>`
"""
api_version = self._get_api_version('snapshots')
if api_version == '2016-04-30-preview':
Expand Down Expand Up @@ -1532,6 +1549,8 @@ def snapshots(self):
from .v2022_03_02.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-07-02':
from .v2022_07_02.operations import SnapshotsOperations as OperationClass
elif api_version == '2023-01-02':
from .v2023_01_02.operations import SnapshotsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'snapshots'".format(api_version))
self._config.api_version = api_version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "0.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ class ComputeManagementClient(MultiApiClientMixin, _SDKClient):
'community_galleries': '2022-03-03',
'community_gallery_image_versions': '2022-03-03',
'community_gallery_images': '2022-03-03',
'disk_accesses': '2022-07-02',
'disk_encryption_sets': '2022-07-02',
'disk_restore_point': '2022-07-02',
'disks': '2022-07-02',
'disk_accesses': '2023-01-02',
'disk_encryption_sets': '2023-01-02',
'disk_restore_point': '2023-01-02',
'disks': '2023-01-02',
'galleries': '2022-03-03',
'gallery_application_versions': '2022-03-03',
'gallery_applications': '2022-03-03',
Expand All @@ -80,7 +80,7 @@ class ComputeManagementClient(MultiApiClientMixin, _SDKClient):
'shared_galleries': '2022-03-03',
'shared_gallery_image_versions': '2022-03-03',
'shared_gallery_images': '2022-03-03',
'snapshots': '2022-07-02',
'snapshots': '2023-01-02',
}},
_PROFILE_TAG + " latest"
)
Expand Down Expand Up @@ -148,6 +148,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
* 2022-08-01: :mod:`v2022_08_01.models<azure.mgmt.compute.v2022_08_01.models>`
* 2022-09-04: :mod:`v2022_09_04.models<azure.mgmt.compute.v2022_09_04.models>`
* 2022-11-01: :mod:`v2022_11_01.models<azure.mgmt.compute.v2022_11_01.models>`
* 2023-01-02: :mod:`v2023_01_02.models<azure.mgmt.compute.v2023_01_02.models>`
* 2023-03-01: :mod:`v2023_03_01.models<azure.mgmt.compute.v2023_03_01.models>`
"""
if api_version == '2015-06-15':
Expand Down Expand Up @@ -261,6 +262,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
elif api_version == '2022-11-01':
from ..v2022_11_01 import models
return models
elif api_version == '2023-01-02':
from ..v2023_01_02 import models
return models
elif api_version == '2023-03-01':
from ..v2023_03_01 import models
return models
Expand Down Expand Up @@ -689,6 +693,7 @@ def disk_accesses(self):
* 2021-12-01: :class:`DiskAccessesOperations<azure.mgmt.compute.v2021_12_01.aio.operations.DiskAccessesOperations>`
* 2022-03-02: :class:`DiskAccessesOperations<azure.mgmt.compute.v2022_03_02.aio.operations.DiskAccessesOperations>`
* 2022-07-02: :class:`DiskAccessesOperations<azure.mgmt.compute.v2022_07_02.aio.operations.DiskAccessesOperations>`
* 2023-01-02: :class:`DiskAccessesOperations<azure.mgmt.compute.v2023_01_02.aio.operations.DiskAccessesOperations>`
"""
api_version = self._get_api_version('disk_accesses')
if api_version == '2020-05-01':
Expand All @@ -709,6 +714,8 @@ def disk_accesses(self):
from ..v2022_03_02.aio.operations import DiskAccessesOperations as OperationClass
elif api_version == '2022-07-02':
from ..v2022_07_02.aio.operations import DiskAccessesOperations as OperationClass
elif api_version == '2023-01-02':
from ..v2023_01_02.aio.operations import DiskAccessesOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disk_accesses'".format(api_version))
self._config.api_version = api_version
Expand All @@ -729,6 +736,7 @@ def disk_encryption_sets(self):
* 2021-12-01: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2021_12_01.aio.operations.DiskEncryptionSetsOperations>`
* 2022-03-02: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2022_03_02.aio.operations.DiskEncryptionSetsOperations>`
* 2022-07-02: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2022_07_02.aio.operations.DiskEncryptionSetsOperations>`
* 2023-01-02: :class:`DiskEncryptionSetsOperations<azure.mgmt.compute.v2023_01_02.aio.operations.DiskEncryptionSetsOperations>`
"""
api_version = self._get_api_version('disk_encryption_sets')
if api_version == '2019-07-01':
Expand All @@ -753,6 +761,8 @@ def disk_encryption_sets(self):
from ..v2022_03_02.aio.operations import DiskEncryptionSetsOperations as OperationClass
elif api_version == '2022-07-02':
from ..v2022_07_02.aio.operations import DiskEncryptionSetsOperations as OperationClass
elif api_version == '2023-01-02':
from ..v2023_01_02.aio.operations import DiskEncryptionSetsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disk_encryption_sets'".format(api_version))
self._config.api_version = api_version
Expand All @@ -769,6 +779,7 @@ def disk_restore_point(self):
* 2021-12-01: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2021_12_01.aio.operations.DiskRestorePointOperations>`
* 2022-03-02: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2022_03_02.aio.operations.DiskRestorePointOperations>`
* 2022-07-02: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2022_07_02.aio.operations.DiskRestorePointOperations>`
* 2023-01-02: :class:`DiskRestorePointOperations<azure.mgmt.compute.v2023_01_02.aio.operations.DiskRestorePointOperations>`
"""
api_version = self._get_api_version('disk_restore_point')
if api_version == '2020-09-30':
Expand All @@ -785,6 +796,8 @@ def disk_restore_point(self):
from ..v2022_03_02.aio.operations import DiskRestorePointOperations as OperationClass
elif api_version == '2022-07-02':
from ..v2022_07_02.aio.operations import DiskRestorePointOperations as OperationClass
elif api_version == '2023-01-02':
from ..v2023_01_02.aio.operations import DiskRestorePointOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disk_restore_point'".format(api_version))
self._config.api_version = api_version
Expand All @@ -811,6 +824,7 @@ def disks(self):
* 2021-12-01: :class:`DisksOperations<azure.mgmt.compute.v2021_12_01.aio.operations.DisksOperations>`
* 2022-03-02: :class:`DisksOperations<azure.mgmt.compute.v2022_03_02.aio.operations.DisksOperations>`
* 2022-07-02: :class:`DisksOperations<azure.mgmt.compute.v2022_07_02.aio.operations.DisksOperations>`
* 2023-01-02: :class:`DisksOperations<azure.mgmt.compute.v2023_01_02.aio.operations.DisksOperations>`
"""
api_version = self._get_api_version('disks')
if api_version == '2016-04-30-preview':
Expand Down Expand Up @@ -847,6 +861,8 @@ def disks(self):
from ..v2022_03_02.aio.operations import DisksOperations as OperationClass
elif api_version == '2022-07-02':
from ..v2022_07_02.aio.operations import DisksOperations as OperationClass
elif api_version == '2023-01-02':
from ..v2023_01_02.aio.operations import DisksOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'disks'".format(api_version))
self._config.api_version = api_version
Expand Down Expand Up @@ -1496,6 +1512,7 @@ def snapshots(self):
* 2021-12-01: :class:`SnapshotsOperations<azure.mgmt.compute.v2021_12_01.aio.operations.SnapshotsOperations>`
* 2022-03-02: :class:`SnapshotsOperations<azure.mgmt.compute.v2022_03_02.aio.operations.SnapshotsOperations>`
* 2022-07-02: :class:`SnapshotsOperations<azure.mgmt.compute.v2022_07_02.aio.operations.SnapshotsOperations>`
* 2023-01-02: :class:`SnapshotsOperations<azure.mgmt.compute.v2023_01_02.aio.operations.SnapshotsOperations>`
"""
api_version = self._get_api_version('snapshots')
if api_version == '2016-04-30-preview':
Expand Down Expand Up @@ -1532,6 +1549,8 @@ def snapshots(self):
from ..v2022_03_02.aio.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-07-02':
from ..v2022_07_02.aio.operations import SnapshotsOperations as OperationClass
elif api_version == '2023-01-02':
from ..v2023_01_02.aio.operations import SnapshotsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'snapshots'".format(api_version))
self._config.api_version = api_version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
# --------------------------------------------------------------------------
from .v2021_07_01.models import *
from .v2022_03_03.models import *
from .v2022_07_02.models import *
from .v2022_09_04.models import *
from .v2023_01_02.models import *
from .v2023_03_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "30.0.0"
VERSION = "1.0.0b1"
Loading

0 comments on commit d8cc05b

Please sign in to comment.