@@ -56,19 +56,19 @@ class ComputeManagementClient(MultiApiClientMixin, _SDKClient):
5656 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
5757 """
5858
59- DEFAULT_API_VERSION = '2024-07-01 '
59+ DEFAULT_API_VERSION = '2024-11-04 '
6060 _PROFILE_TAG = "azure.mgmt.compute.ComputeManagementClient"
6161 LATEST_PROFILE = ProfileDefinition ({
6262 _PROFILE_TAG : {
6363 None : DEFAULT_API_VERSION ,
64- 'cloud_service_operating_systems' : '2022-09-04' ,
65- 'cloud_service_role_instances' : '2022-09-04' ,
66- 'cloud_service_roles' : '2022-09-04' ,
67- 'cloud_services' : '2022-09-04' ,
68- 'cloud_services_update_domain' : '2022-09-04' ,
64+ 'availability_sets' : '2024-07-01' ,
65+ 'capacity_reservation_groups' : '2024-07-01' ,
66+ 'capacity_reservations' : '2024-07-01' ,
6967 'community_galleries' : '2024-03-03' ,
7068 'community_gallery_image_versions' : '2024-03-03' ,
7169 'community_gallery_images' : '2024-03-03' ,
70+ 'dedicated_host_groups' : '2024-07-01' ,
71+ 'dedicated_hosts' : '2024-07-01' ,
7272 'disk_accesses' : '2024-03-02' ,
7373 'disk_encryption_sets' : '2024-03-02' ,
7474 'disk_restore_point' : '2024-03-02' ,
@@ -81,12 +81,33 @@ class ComputeManagementClient(MultiApiClientMixin, _SDKClient):
8181 'gallery_in_vm_access_control_profile_versions' : '2024-03-03' ,
8282 'gallery_in_vm_access_control_profiles' : '2024-03-03' ,
8383 'gallery_sharing_profile' : '2024-03-03' ,
84+ 'images' : '2024-07-01' ,
85+ 'log_analytics' : '2024-07-01' ,
86+ 'operations' : '2024-07-01' ,
87+ 'proximity_placement_groups' : '2024-07-01' ,
8488 'resource_skus' : '2021-07-01' ,
89+ 'restore_point_collections' : '2024-07-01' ,
90+ 'restore_points' : '2024-07-01' ,
8591 'shared_galleries' : '2024-03-03' ,
8692 'shared_gallery_image_versions' : '2024-03-03' ,
8793 'shared_gallery_images' : '2024-03-03' ,
8894 'snapshots' : '2024-03-02' ,
8995 'soft_deleted_resource' : '2024-03-03' ,
96+ 'ssh_public_keys' : '2024-07-01' ,
97+ 'usage' : '2024-07-01' ,
98+ 'virtual_machine_extension_images' : '2024-07-01' ,
99+ 'virtual_machine_extensions' : '2024-07-01' ,
100+ 'virtual_machine_images' : '2024-07-01' ,
101+ 'virtual_machine_images_edge_zone' : '2024-07-01' ,
102+ 'virtual_machine_run_commands' : '2024-07-01' ,
103+ 'virtual_machine_scale_set_extensions' : '2024-07-01' ,
104+ 'virtual_machine_scale_set_rolling_upgrades' : '2024-07-01' ,
105+ 'virtual_machine_scale_set_vm_extensions' : '2024-07-01' ,
106+ 'virtual_machine_scale_set_vm_run_commands' : '2024-07-01' ,
107+ 'virtual_machine_scale_set_vms' : '2024-07-01' ,
108+ 'virtual_machine_scale_sets' : '2024-07-01' ,
109+ 'virtual_machine_sizes' : '2024-07-01' ,
110+ 'virtual_machines' : '2024-07-01' ,
90111 }},
91112 _PROFILE_TAG + " latest"
92113 )
@@ -121,7 +142,7 @@ def __init__(
121142 policies .SensitiveHeaderCleanupPolicy (** kwargs ) if self ._config .redirect_policy else None ,
122143 self ._config .http_logging_policy ,
123144 ]
124- self ._client = ARMPipelineClient (base_url = base_url , policies = _policies , ** kwargs )
145+ self ._client : ARMPipelineClient = ARMPipelineClient (base_url = base_url , policies = _policies , ** kwargs )
125146 super (ComputeManagementClient , self ).__init__ (
126147 api_version = api_version ,
127148 profile = profile
@@ -184,6 +205,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
184205 * 2024-03-02: :mod:`v2024_03_02.models<azure.mgmt.compute.v2024_03_02.models>`
185206 * 2024-03-03: :mod:`v2024_03_03.models<azure.mgmt.compute.v2024_03_03.models>`
186207 * 2024-07-01: :mod:`v2024_07_01.models<azure.mgmt.compute.v2024_07_01.models>`
208+ * 2024-11-04: :mod:`v2024_11_04.models<azure.mgmt.compute.v2024_11_04.models>`
187209 """
188210 if api_version == '2015-06-15' :
189211 from .v2015_06_15 import models
@@ -332,6 +354,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
332354 elif api_version == '2024-07-01' :
333355 from .v2024_07_01 import models
334356 return models
357+ elif api_version == '2024-11-04' :
358+ from .v2024_11_04 import models
359+ return models
335360 raise ValueError ("API version {} is not available" .format (api_version ))
336361
337362 @property
@@ -515,6 +540,7 @@ def cloud_service_operating_systems(self):
515540 * 2021-03-01: :class:`CloudServiceOperatingSystemsOperations<azure.mgmt.compute.v2021_03_01.operations.CloudServiceOperatingSystemsOperations>`
516541 * 2022-04-04: :class:`CloudServiceOperatingSystemsOperations<azure.mgmt.compute.v2022_04_04.operations.CloudServiceOperatingSystemsOperations>`
517542 * 2022-09-04: :class:`CloudServiceOperatingSystemsOperations<azure.mgmt.compute.v2022_09_04.operations.CloudServiceOperatingSystemsOperations>`
543+ * 2024-11-04: :class:`CloudServiceOperatingSystemsOperations<azure.mgmt.compute.v2024_11_04.operations.CloudServiceOperatingSystemsOperations>`
518544 """
519545 api_version = self ._get_api_version ('cloud_service_operating_systems' )
520546 if api_version == '2021-03-01' :
@@ -523,6 +549,8 @@ def cloud_service_operating_systems(self):
523549 from .v2022_04_04 .operations import CloudServiceOperatingSystemsOperations as OperationClass
524550 elif api_version == '2022-09-04' :
525551 from .v2022_09_04 .operations import CloudServiceOperatingSystemsOperations as OperationClass
552+ elif api_version == '2024-11-04' :
553+ from .v2024_11_04 .operations import CloudServiceOperatingSystemsOperations as OperationClass
526554 else :
527555 raise ValueError ("API version {} does not have operation group 'cloud_service_operating_systems'" .format (api_version ))
528556 self ._config .api_version = api_version
@@ -536,6 +564,7 @@ def cloud_service_role_instances(self):
536564 * 2021-03-01: :class:`CloudServiceRoleInstancesOperations<azure.mgmt.compute.v2021_03_01.operations.CloudServiceRoleInstancesOperations>`
537565 * 2022-04-04: :class:`CloudServiceRoleInstancesOperations<azure.mgmt.compute.v2022_04_04.operations.CloudServiceRoleInstancesOperations>`
538566 * 2022-09-04: :class:`CloudServiceRoleInstancesOperations<azure.mgmt.compute.v2022_09_04.operations.CloudServiceRoleInstancesOperations>`
567+ * 2024-11-04: :class:`CloudServiceRoleInstancesOperations<azure.mgmt.compute.v2024_11_04.operations.CloudServiceRoleInstancesOperations>`
539568 """
540569 api_version = self ._get_api_version ('cloud_service_role_instances' )
541570 if api_version == '2020-10-01-preview' :
@@ -546,6 +575,8 @@ def cloud_service_role_instances(self):
546575 from .v2022_04_04 .operations import CloudServiceRoleInstancesOperations as OperationClass
547576 elif api_version == '2022-09-04' :
548577 from .v2022_09_04 .operations import CloudServiceRoleInstancesOperations as OperationClass
578+ elif api_version == '2024-11-04' :
579+ from .v2024_11_04 .operations import CloudServiceRoleInstancesOperations as OperationClass
549580 else :
550581 raise ValueError ("API version {} does not have operation group 'cloud_service_role_instances'" .format (api_version ))
551582 self ._config .api_version = api_version
@@ -559,6 +590,7 @@ def cloud_service_roles(self):
559590 * 2021-03-01: :class:`CloudServiceRolesOperations<azure.mgmt.compute.v2021_03_01.operations.CloudServiceRolesOperations>`
560591 * 2022-04-04: :class:`CloudServiceRolesOperations<azure.mgmt.compute.v2022_04_04.operations.CloudServiceRolesOperations>`
561592 * 2022-09-04: :class:`CloudServiceRolesOperations<azure.mgmt.compute.v2022_09_04.operations.CloudServiceRolesOperations>`
593+ * 2024-11-04: :class:`CloudServiceRolesOperations<azure.mgmt.compute.v2024_11_04.operations.CloudServiceRolesOperations>`
562594 """
563595 api_version = self ._get_api_version ('cloud_service_roles' )
564596 if api_version == '2020-10-01-preview' :
@@ -569,6 +601,8 @@ def cloud_service_roles(self):
569601 from .v2022_04_04 .operations import CloudServiceRolesOperations as OperationClass
570602 elif api_version == '2022-09-04' :
571603 from .v2022_09_04 .operations import CloudServiceRolesOperations as OperationClass
604+ elif api_version == '2024-11-04' :
605+ from .v2024_11_04 .operations import CloudServiceRolesOperations as OperationClass
572606 else :
573607 raise ValueError ("API version {} does not have operation group 'cloud_service_roles'" .format (api_version ))
574608 self ._config .api_version = api_version
@@ -582,6 +616,7 @@ def cloud_services(self):
582616 * 2021-03-01: :class:`CloudServicesOperations<azure.mgmt.compute.v2021_03_01.operations.CloudServicesOperations>`
583617 * 2022-04-04: :class:`CloudServicesOperations<azure.mgmt.compute.v2022_04_04.operations.CloudServicesOperations>`
584618 * 2022-09-04: :class:`CloudServicesOperations<azure.mgmt.compute.v2022_09_04.operations.CloudServicesOperations>`
619+ * 2024-11-04: :class:`CloudServicesOperations<azure.mgmt.compute.v2024_11_04.operations.CloudServicesOperations>`
585620 """
586621 api_version = self ._get_api_version ('cloud_services' )
587622 if api_version == '2020-10-01-preview' :
@@ -592,6 +627,8 @@ def cloud_services(self):
592627 from .v2022_04_04 .operations import CloudServicesOperations as OperationClass
593628 elif api_version == '2022-09-04' :
594629 from .v2022_09_04 .operations import CloudServicesOperations as OperationClass
630+ elif api_version == '2024-11-04' :
631+ from .v2024_11_04 .operations import CloudServicesOperations as OperationClass
595632 else :
596633 raise ValueError ("API version {} does not have operation group 'cloud_services'" .format (api_version ))
597634 self ._config .api_version = api_version
@@ -605,6 +642,7 @@ def cloud_services_update_domain(self):
605642 * 2021-03-01: :class:`CloudServicesUpdateDomainOperations<azure.mgmt.compute.v2021_03_01.operations.CloudServicesUpdateDomainOperations>`
606643 * 2022-04-04: :class:`CloudServicesUpdateDomainOperations<azure.mgmt.compute.v2022_04_04.operations.CloudServicesUpdateDomainOperations>`
607644 * 2022-09-04: :class:`CloudServicesUpdateDomainOperations<azure.mgmt.compute.v2022_09_04.operations.CloudServicesUpdateDomainOperations>`
645+ * 2024-11-04: :class:`CloudServicesUpdateDomainOperations<azure.mgmt.compute.v2024_11_04.operations.CloudServicesUpdateDomainOperations>`
608646 """
609647 api_version = self ._get_api_version ('cloud_services_update_domain' )
610648 if api_version == '2020-10-01-preview' :
@@ -615,6 +653,8 @@ def cloud_services_update_domain(self):
615653 from .v2022_04_04 .operations import CloudServicesUpdateDomainOperations as OperationClass
616654 elif api_version == '2022-09-04' :
617655 from .v2022_09_04 .operations import CloudServicesUpdateDomainOperations as OperationClass
656+ elif api_version == '2024-11-04' :
657+ from .v2024_11_04 .operations import CloudServicesUpdateDomainOperations as OperationClass
618658 else :
619659 raise ValueError ("API version {} does not have operation group 'cloud_services_update_domain'" .format (api_version ))
620660 self ._config .api_version = api_version
0 commit comments