Skip to content

Commit fa14940

Browse files
author
SDKAuto
committed
CodeGen from PR 16315 in Azure/azure-rest-api-specs
Update readme.md (Azure#16315)
1 parent bd9a0ce commit fa14940

File tree

41 files changed

+1217
-26
lines changed

Some content is hidden

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

41 files changed

+1217
-26
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "d5ad9431bbc19c34090d97209eb497167db32879",
7+
"commit": "a9c7d15ec5a5f2348e4a62650821eaac04328750",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"autorest_command": "autorest specification/compute/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/compute/resource-manager/readme.md"

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,45 @@ def cloud_services_update_domain(self):
367367
raise ValueError("API version {} does not have operation group 'cloud_services_update_domain'".format(api_version))
368368
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
369369

370+
@property
371+
def community_galleries(self):
372+
"""Instance depends on the API version:
373+
374+
* 2021-07-01: :class:`CommunityGalleriesOperations<azure.mgmt.compute.v2021_07_01.operations.CommunityGalleriesOperations>`
375+
"""
376+
api_version = self._get_api_version('community_galleries')
377+
if api_version == '2021-07-01':
378+
from .v2021_07_01.operations import CommunityGalleriesOperations as OperationClass
379+
else:
380+
raise ValueError("API version {} does not have operation group 'community_galleries'".format(api_version))
381+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
382+
383+
@property
384+
def community_gallery_image_versions(self):
385+
"""Instance depends on the API version:
386+
387+
* 2021-07-01: :class:`CommunityGalleryImageVersionsOperations<azure.mgmt.compute.v2021_07_01.operations.CommunityGalleryImageVersionsOperations>`
388+
"""
389+
api_version = self._get_api_version('community_gallery_image_versions')
390+
if api_version == '2021-07-01':
391+
from .v2021_07_01.operations import CommunityGalleryImageVersionsOperations as OperationClass
392+
else:
393+
raise ValueError("API version {} does not have operation group 'community_gallery_image_versions'".format(api_version))
394+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
395+
396+
@property
397+
def community_gallery_images(self):
398+
"""Instance depends on the API version:
399+
400+
* 2021-07-01: :class:`CommunityGalleryImagesOperations<azure.mgmt.compute.v2021_07_01.operations.CommunityGalleryImagesOperations>`
401+
"""
402+
api_version = self._get_api_version('community_gallery_images')
403+
if api_version == '2021-07-01':
404+
from .v2021_07_01.operations import CommunityGalleryImagesOperations as OperationClass
405+
else:
406+
raise ValueError("API version {} does not have operation group 'community_gallery_images'".format(api_version))
407+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
408+
370409
@property
371410
def dedicated_host_groups(self):
372411
"""Instance depends on the API version:

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/aio/_compute_management_client.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,45 @@ def cloud_services_update_domain(self):
365365
raise ValueError("API version {} does not have operation group 'cloud_services_update_domain'".format(api_version))
366366
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
367367

368+
@property
369+
def community_galleries(self):
370+
"""Instance depends on the API version:
371+
372+
* 2021-07-01: :class:`CommunityGalleriesOperations<azure.mgmt.compute.v2021_07_01.aio.operations.CommunityGalleriesOperations>`
373+
"""
374+
api_version = self._get_api_version('community_galleries')
375+
if api_version == '2021-07-01':
376+
from ..v2021_07_01.aio.operations import CommunityGalleriesOperations as OperationClass
377+
else:
378+
raise ValueError("API version {} does not have operation group 'community_galleries'".format(api_version))
379+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
380+
381+
@property
382+
def community_gallery_image_versions(self):
383+
"""Instance depends on the API version:
384+
385+
* 2021-07-01: :class:`CommunityGalleryImageVersionsOperations<azure.mgmt.compute.v2021_07_01.aio.operations.CommunityGalleryImageVersionsOperations>`
386+
"""
387+
api_version = self._get_api_version('community_gallery_image_versions')
388+
if api_version == '2021-07-01':
389+
from ..v2021_07_01.aio.operations import CommunityGalleryImageVersionsOperations as OperationClass
390+
else:
391+
raise ValueError("API version {} does not have operation group 'community_gallery_image_versions'".format(api_version))
392+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
393+
394+
@property
395+
def community_gallery_images(self):
396+
"""Instance depends on the API version:
397+
398+
* 2021-07-01: :class:`CommunityGalleryImagesOperations<azure.mgmt.compute.v2021_07_01.aio.operations.CommunityGalleryImagesOperations>`
399+
"""
400+
api_version = self._get_api_version('community_gallery_images')
401+
if api_version == '2021-07-01':
402+
from ..v2021_07_01.aio.operations import CommunityGalleryImagesOperations as OperationClass
403+
else:
404+
raise ValueError("API version {} does not have operation group 'community_gallery_images'".format(api_version))
405+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
406+
368407
@property
369408
def dedicated_host_groups(self):
370409
"""Instance depends on the API version:

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 1 deletion
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 = "23.0.0"
9+
VERSION = "1.0.0b1"

0 commit comments

Comments
 (0)