@@ -46,24 +46,23 @@ class ComputeManagementClient(MultiApiClientMixin, SDKClient):
4646 :type profile: azure.profiles.KnownProfiles
4747 """
4848
49- DEFAULT_API_VERSION = '2020-06 -30'
49+ DEFAULT_API_VERSION = '2020-09 -30'
5050 _PROFILE_TAG = "azure.mgmt.compute.ComputeManagementClient"
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
5353 None : DEFAULT_API_VERSION ,
5454 'availability_sets' : '2020-06-01' ,
5555 'dedicated_host_groups' : '2020-06-01' ,
5656 'dedicated_hosts' : '2020-06-01' ,
57- 'galleries' : '2019-12-01' ,
58- 'gallery_application_versions' : '2019-12-01' ,
59- 'gallery_applications' : '2019-12-01' ,
60- 'gallery_image_versions' : '2019-12-01' ,
61- 'gallery_images' : '2019-12-01' ,
57+ 'disk_accesses' : '2020-06-30' ,
58+ 'disk_encryption_sets' : '2020-06-30' ,
59+ 'disks' : '2020-06-30' ,
6260 'images' : '2020-06-01' ,
6361 'log_analytics' : '2020-06-01' ,
6462 'operations' : '2020-06-01' ,
6563 'proximity_placement_groups' : '2020-06-01' ,
6664 'resource_skus' : '2019-04-01' ,
65+ 'snapshots' : '2020-06-30' ,
6766 'ssh_public_keys' : '2020-06-01' ,
6867 'usage' : '2020-06-01' ,
6968 'virtual_machine_extension_images' : '2020-06-01' ,
@@ -116,6 +115,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
116115 * 2020-05-01: :mod:`v2020_05_01.models<azure.mgmt.compute.v2020_05_01.models>`
117116 * 2020-06-01: :mod:`v2020_06_01.models<azure.mgmt.compute.v2020_06_01.models>`
118117 * 2020-06-30: :mod:`v2020_06_30.models<azure.mgmt.compute.v2020_06_30.models>`
118+ * 2020-09-30: :mod:`v2020_09_30.models<azure.mgmt.compute.v2020_09_30.models>`
119119 """
120120 if api_version == '2015-06-15' :
121121 from .v2015_06_15 import models
@@ -171,6 +171,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
171171 elif api_version == '2020-06-30' :
172172 from .v2020_06_30 import models
173173 return models
174+ elif api_version == '2020-09-30' :
175+ from .v2020_09_30 import models
176+ return models
174177 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
175178
176179 @property
@@ -349,6 +352,7 @@ def galleries(self):
349352 * 2019-03-01: :class:`GalleriesOperations<azure.mgmt.compute.v2019_03_01.operations.GalleriesOperations>`
350353 * 2019-07-01: :class:`GalleriesOperations<azure.mgmt.compute.v2019_07_01.operations.GalleriesOperations>`
351354 * 2019-12-01: :class:`GalleriesOperations<azure.mgmt.compute.v2019_12_01.operations.GalleriesOperations>`
355+ * 2020-09-30: :class:`GalleriesOperations<azure.mgmt.compute.v2020_09_30.operations.GalleriesOperations>`
352356 """
353357 api_version = self ._get_api_version ('galleries' )
354358 if api_version == '2018-06-01' :
@@ -359,6 +363,8 @@ def galleries(self):
359363 from .v2019_07_01 .operations import GalleriesOperations as OperationClass
360364 elif api_version == '2019-12-01' :
361365 from .v2019_12_01 .operations import GalleriesOperations as OperationClass
366+ elif api_version == '2020-09-30' :
367+ from .v2020_09_30 .operations import GalleriesOperations as OperationClass
362368 else :
363369 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
364370 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -370,6 +376,7 @@ def gallery_application_versions(self):
370376 * 2019-03-01: :class:`GalleryApplicationVersionsOperations<azure.mgmt.compute.v2019_03_01.operations.GalleryApplicationVersionsOperations>`
371377 * 2019-07-01: :class:`GalleryApplicationVersionsOperations<azure.mgmt.compute.v2019_07_01.operations.GalleryApplicationVersionsOperations>`
372378 * 2019-12-01: :class:`GalleryApplicationVersionsOperations<azure.mgmt.compute.v2019_12_01.operations.GalleryApplicationVersionsOperations>`
379+ * 2020-09-30: :class:`GalleryApplicationVersionsOperations<azure.mgmt.compute.v2020_09_30.operations.GalleryApplicationVersionsOperations>`
373380 """
374381 api_version = self ._get_api_version ('gallery_application_versions' )
375382 if api_version == '2019-03-01' :
@@ -378,6 +385,8 @@ def gallery_application_versions(self):
378385 from .v2019_07_01 .operations import GalleryApplicationVersionsOperations as OperationClass
379386 elif api_version == '2019-12-01' :
380387 from .v2019_12_01 .operations import GalleryApplicationVersionsOperations as OperationClass
388+ elif api_version == '2020-09-30' :
389+ from .v2020_09_30 .operations import GalleryApplicationVersionsOperations as OperationClass
381390 else :
382391 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
383392 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -389,6 +398,7 @@ def gallery_applications(self):
389398 * 2019-03-01: :class:`GalleryApplicationsOperations<azure.mgmt.compute.v2019_03_01.operations.GalleryApplicationsOperations>`
390399 * 2019-07-01: :class:`GalleryApplicationsOperations<azure.mgmt.compute.v2019_07_01.operations.GalleryApplicationsOperations>`
391400 * 2019-12-01: :class:`GalleryApplicationsOperations<azure.mgmt.compute.v2019_12_01.operations.GalleryApplicationsOperations>`
401+ * 2020-09-30: :class:`GalleryApplicationsOperations<azure.mgmt.compute.v2020_09_30.operations.GalleryApplicationsOperations>`
392402 """
393403 api_version = self ._get_api_version ('gallery_applications' )
394404 if api_version == '2019-03-01' :
@@ -397,6 +407,8 @@ def gallery_applications(self):
397407 from .v2019_07_01 .operations import GalleryApplicationsOperations as OperationClass
398408 elif api_version == '2019-12-01' :
399409 from .v2019_12_01 .operations import GalleryApplicationsOperations as OperationClass
410+ elif api_version == '2020-09-30' :
411+ from .v2020_09_30 .operations import GalleryApplicationsOperations as OperationClass
400412 else :
401413 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
402414 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -409,6 +421,7 @@ def gallery_image_versions(self):
409421 * 2019-03-01: :class:`GalleryImageVersionsOperations<azure.mgmt.compute.v2019_03_01.operations.GalleryImageVersionsOperations>`
410422 * 2019-07-01: :class:`GalleryImageVersionsOperations<azure.mgmt.compute.v2019_07_01.operations.GalleryImageVersionsOperations>`
411423 * 2019-12-01: :class:`GalleryImageVersionsOperations<azure.mgmt.compute.v2019_12_01.operations.GalleryImageVersionsOperations>`
424+ * 2020-09-30: :class:`GalleryImageVersionsOperations<azure.mgmt.compute.v2020_09_30.operations.GalleryImageVersionsOperations>`
412425 """
413426 api_version = self ._get_api_version ('gallery_image_versions' )
414427 if api_version == '2018-06-01' :
@@ -419,6 +432,8 @@ def gallery_image_versions(self):
419432 from .v2019_07_01 .operations import GalleryImageVersionsOperations as OperationClass
420433 elif api_version == '2019-12-01' :
421434 from .v2019_12_01 .operations import GalleryImageVersionsOperations as OperationClass
435+ elif api_version == '2020-09-30' :
436+ from .v2020_09_30 .operations import GalleryImageVersionsOperations as OperationClass
422437 else :
423438 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
424439 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -431,6 +446,7 @@ def gallery_images(self):
431446 * 2019-03-01: :class:`GalleryImagesOperations<azure.mgmt.compute.v2019_03_01.operations.GalleryImagesOperations>`
432447 * 2019-07-01: :class:`GalleryImagesOperations<azure.mgmt.compute.v2019_07_01.operations.GalleryImagesOperations>`
433448 * 2019-12-01: :class:`GalleryImagesOperations<azure.mgmt.compute.v2019_12_01.operations.GalleryImagesOperations>`
449+ * 2020-09-30: :class:`GalleryImagesOperations<azure.mgmt.compute.v2020_09_30.operations.GalleryImagesOperations>`
434450 """
435451 api_version = self ._get_api_version ('gallery_images' )
436452 if api_version == '2018-06-01' :
@@ -441,6 +457,21 @@ def gallery_images(self):
441457 from .v2019_07_01 .operations import GalleryImagesOperations as OperationClass
442458 elif api_version == '2019-12-01' :
443459 from .v2019_12_01 .operations import GalleryImagesOperations as OperationClass
460+ elif api_version == '2020-09-30' :
461+ from .v2020_09_30 .operations import GalleryImagesOperations as OperationClass
462+ else :
463+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
464+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
465+
466+ @property
467+ def gallery_sharing_profile (self ):
468+ """Instance depends on the API version:
469+
470+ * 2020-09-30: :class:`GallerySharingProfileOperations<azure.mgmt.compute.v2020_09_30.operations.GallerySharingProfileOperations>`
471+ """
472+ api_version = self ._get_api_version ('gallery_sharing_profile' )
473+ if api_version == '2020-09-30' :
474+ from .v2020_09_30 .operations import GallerySharingProfileOperations as OperationClass
444475 else :
445476 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
446477 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -603,6 +634,45 @@ def resource_skus(self):
603634 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
604635 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
605636
637+ @property
638+ def shared_galleries (self ):
639+ """Instance depends on the API version:
640+
641+ * 2020-09-30: :class:`SharedGalleriesOperations<azure.mgmt.compute.v2020_09_30.operations.SharedGalleriesOperations>`
642+ """
643+ api_version = self ._get_api_version ('shared_galleries' )
644+ if api_version == '2020-09-30' :
645+ from .v2020_09_30 .operations import SharedGalleriesOperations as OperationClass
646+ else :
647+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
648+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
649+
650+ @property
651+ def shared_gallery_image_versions (self ):
652+ """Instance depends on the API version:
653+
654+ * 2020-09-30: :class:`SharedGalleryImageVersionsOperations<azure.mgmt.compute.v2020_09_30.operations.SharedGalleryImageVersionsOperations>`
655+ """
656+ api_version = self ._get_api_version ('shared_gallery_image_versions' )
657+ if api_version == '2020-09-30' :
658+ from .v2020_09_30 .operations import SharedGalleryImageVersionsOperations as OperationClass
659+ else :
660+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
661+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
662+
663+ @property
664+ def shared_gallery_images (self ):
665+ """Instance depends on the API version:
666+
667+ * 2020-09-30: :class:`SharedGalleryImagesOperations<azure.mgmt.compute.v2020_09_30.operations.SharedGalleryImagesOperations>`
668+ """
669+ api_version = self ._get_api_version ('shared_gallery_images' )
670+ if api_version == '2020-09-30' :
671+ from .v2020_09_30 .operations import SharedGalleryImagesOperations as OperationClass
672+ else :
673+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
674+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
675+
606676 @property
607677 def snapshots (self ):
608678 """Instance depends on the API version:
0 commit comments