diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/_meta.json b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/_meta.json index a07299930846..2f2e0954de5f 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/_meta.json +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/_meta.json @@ -4,8 +4,8 @@ "@autorest/python@5.13.0", "@autorest/modelerfour@4.19.3" ], - "commit": "805e16a53f0a725471e0caa6007b48986c7722d9", + "commit": "0f0762954a6d2e73c95c7615d387508fcd09499c", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/servicefabricmanagedclusters/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", + "autorest_command": "autorest specification/servicefabricmanagedclusters/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/servicefabricmanagedclusters/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_configuration.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_configuration.py index ffacc8044f11..615cca3efa85 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_configuration.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_configuration.py @@ -29,7 +29,7 @@ class ServiceFabricManagedClustersManagementClientConfiguration(Configuration): :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The customer subscription identifier. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2022-02-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2022-06-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -41,7 +41,7 @@ def __init__( **kwargs: Any ) -> None: super(ServiceFabricManagedClustersManagementClientConfiguration, self).__init__(**kwargs) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_service_fabric_managed_clusters_management_client.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_service_fabric_managed_clusters_management_client.py index f9854688fcb5..94c82f2c6e5f 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_service_fabric_managed_clusters_management_client.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_service_fabric_managed_clusters_management_client.py @@ -67,7 +67,7 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-man :type subscription_id: str :param base_url: Service URL. Default value is "https://management.azure.com". :type base_url: str - :keyword api_version: Api Version. Default value is "2022-02-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2022-06-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_version.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_version.py index e32dc6ec4218..eae7c95b6fbd 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_version.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0b1" +VERSION = "0.1.0" diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_configuration.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_configuration.py index c2ad88951627..eb9ffe92d031 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_configuration.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_configuration.py @@ -29,7 +29,7 @@ class ServiceFabricManagedClustersManagementClientConfiguration(Configuration): :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The customer subscription identifier. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2022-02-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2022-06-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -41,7 +41,7 @@ def __init__( **kwargs: Any ) -> None: super(ServiceFabricManagedClustersManagementClientConfiguration, self).__init__(**kwargs) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_service_fabric_managed_clusters_management_client.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_service_fabric_managed_clusters_management_client.py index 09f513f8c754..42a1e90dfc4c 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_service_fabric_managed_clusters_management_client.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/_service_fabric_managed_clusters_management_client.py @@ -67,7 +67,7 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-man :type subscription_id: str :param base_url: Service URL. Default value is "https://management.azure.com". :type base_url: str - :keyword api_version: Api Version. Default value is "2022-02-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2022-06-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_type_versions_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_type_versions_operations.py index 0f7b49498df4..81b0d9197541 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_type_versions_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_type_versions_operations.py @@ -80,7 +80,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -132,7 +132,7 @@ async def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeVersionResource') @@ -216,7 +216,7 @@ async def begin_create_or_update( ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeVersionResource] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationTypeVersionResource"] @@ -297,7 +297,7 @@ async def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeVersionUpdateParameters') @@ -352,7 +352,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -417,7 +417,7 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -483,7 +483,7 @@ def list_by_application_types( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeVersionResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationTypeVersionResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_types_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_types_operations.py index 4358f6803aa9..6b2467ad9ef3 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_types_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_application_types_operations.py @@ -77,7 +77,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -146,7 +146,7 @@ async def create_or_update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeResource') @@ -219,7 +219,7 @@ async def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeUpdateParameters') @@ -272,7 +272,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -333,7 +333,7 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -395,7 +395,7 @@ def list( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationTypeResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_applications_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_applications_operations.py index 2e8578ca4635..507f9091bd5e 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_applications_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_applications_operations.py @@ -77,7 +77,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -127,7 +127,7 @@ async def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationResource') @@ -205,7 +205,7 @@ async def begin_create_or_update( ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationResource] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationResource"] @@ -281,7 +281,7 @@ async def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationUpdateParameters') @@ -334,7 +334,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -395,7 +395,7 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -457,7 +457,7 @@ def list( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_az_resiliency_status_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_az_resiliency_status_operations.py index 712e804dad8e..100eb1bfcbb1 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_az_resiliency_status_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_az_resiliency_status_operations.py @@ -71,7 +71,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_cluster_version_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_cluster_version_operations.py index 36c4e97841f1..e8f5cdc2ccae 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_cluster_version_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_cluster_version_operations.py @@ -71,7 +71,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -138,7 +138,7 @@ async def get_by_environment( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_by_environment_request( @@ -198,7 +198,7 @@ async def list( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_list_request( @@ -260,7 +260,7 @@ async def list_by_environment( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_list_by_environment_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_clusters_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_clusters_operations.py index 5733020436cd..acb3f014465f 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_clusters_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_clusters_operations.py @@ -67,7 +67,7 @@ def list_by_resource_group( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] error_map = { @@ -146,7 +146,7 @@ def list_by_subscription( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] error_map = { @@ -233,7 +233,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -281,7 +281,7 @@ async def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ManagedCluster') @@ -355,7 +355,7 @@ async def begin_create_or_update( ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ManagedCluster] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] @@ -428,7 +428,7 @@ async def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ManagedClusterUpdateParameters') @@ -479,7 +479,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -536,7 +536,7 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_unsupported_vm_sizes_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_unsupported_vm_sizes_operations.py index 3943e8e14cbf..072b78df4323 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_unsupported_vm_sizes_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_managed_unsupported_vm_sizes_operations.py @@ -65,7 +65,7 @@ def list( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ManagedVMSizesResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedVMSizesResult"] error_map = { @@ -154,7 +154,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_type_skus_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_type_skus_operations.py index 9ad639491709..d8b73c4385aa 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_type_skus_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_type_skus_operations.py @@ -69,7 +69,7 @@ def list( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.NodeTypeListSkuResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeTypeListSkuResult"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_types_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_types_operations.py index 0bf6b6be149b..f1177f330757 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_types_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_node_types_operations.py @@ -68,7 +68,7 @@ def list_by_managed_clusters( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.NodeTypeListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeTypeListResult"] error_map = { @@ -146,7 +146,7 @@ async def _restart_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeActionParameters') @@ -215,7 +215,7 @@ async def begin_restart( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -270,7 +270,7 @@ async def _reimage_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeActionParameters') @@ -339,7 +339,7 @@ async def begin_reimage( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -394,7 +394,7 @@ async def _delete_node_initial( # pylint: disable=inconsistent-return-statement } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeActionParameters') @@ -463,7 +463,7 @@ async def begin_delete_node( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -533,7 +533,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -583,7 +583,7 @@ async def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeType') @@ -661,7 +661,7 @@ async def begin_create_or_update( ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicefabricmanagedclusters.models.NodeType] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeType"] @@ -737,7 +737,7 @@ async def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeUpdateParameters') @@ -790,7 +790,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -851,7 +851,7 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_results_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_results_operations.py index 10dd3f69215c..d1547c99d07f 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_results_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_results_operations.py @@ -70,7 +70,7 @@ async def get( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_status_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_status_operations.py index 6cbdf199903f..f7292d448b94 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_status_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operation_status_operations.py @@ -70,7 +70,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operations.py index 0f646f4e1186..412a0e0a0ce1 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_operations.py @@ -59,7 +59,7 @@ def list( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_services_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_services_operations.py index c103bd871da1..cad27c4ad359 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_services_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/aio/operations/_services_operations.py @@ -81,7 +81,7 @@ async def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -133,7 +133,7 @@ async def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ServiceResource') @@ -216,7 +216,7 @@ async def begin_create_or_update( ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ServiceResource] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceResource"] @@ -297,7 +297,7 @@ async def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ServiceUpdateParameters') @@ -352,7 +352,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -418,7 +418,7 @@ async def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -483,7 +483,7 @@ def list_by_applications( ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ServiceResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/models/_models_py3.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/models/_models_py3.py index 20f2070bc612..759d58543b49 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/models/_models_py3.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/models/_models_py3.py @@ -2561,6 +2561,15 @@ class NodeType(ManagedProxyResource): :ivar is_spot_vm: Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time. :vartype is_spot_vm: bool + :ivar host_group_id: Specifies the full host group resource Id. This property is used for + deploying on azure dedicated hosts. + :vartype host_group_id: str + :ivar use_ephemeral_os_disk: Indicates whether to use ephemeral os disk. The sku selected on + the vmSize property needs to support this feature. + :vartype use_ephemeral_os_disk: bool + :ivar spot_restore_timeout: Indicates the time duration after which the platform will not try + to restore the VMSS SPOT instances specified as ISO 8601. + :vartype spot_restore_timeout: str """ _validation = { @@ -2610,6 +2619,9 @@ class NodeType(ManagedProxyResource): 'enable_over_provisioning': {'key': 'properties.enableOverProvisioning', 'type': 'bool'}, 'zones': {'key': 'properties.zones', 'type': '[str]'}, 'is_spot_vm': {'key': 'properties.isSpotVM', 'type': 'bool'}, + 'host_group_id': {'key': 'properties.hostGroupId', 'type': 'str'}, + 'use_ephemeral_os_disk': {'key': 'properties.useEphemeralOSDisk', 'type': 'bool'}, + 'spot_restore_timeout': {'key': 'properties.spotRestoreTimeout', 'type': 'str'}, } def __init__( @@ -2646,6 +2658,9 @@ def __init__( enable_over_provisioning: Optional[bool] = None, zones: Optional[List[str]] = None, is_spot_vm: Optional[bool] = None, + host_group_id: Optional[str] = None, + use_ephemeral_os_disk: Optional[bool] = None, + spot_restore_timeout: Optional[str] = None, **kwargs ): """ @@ -2754,6 +2769,15 @@ def __init__( :keyword is_spot_vm: Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time. :paramtype is_spot_vm: bool + :keyword host_group_id: Specifies the full host group resource Id. This property is used for + deploying on azure dedicated hosts. + :paramtype host_group_id: str + :keyword use_ephemeral_os_disk: Indicates whether to use ephemeral os disk. The sku selected on + the vmSize property needs to support this feature. + :paramtype use_ephemeral_os_disk: bool + :keyword spot_restore_timeout: Indicates the time duration after which the platform will not + try to restore the VMSS SPOT instances specified as ISO 8601. + :paramtype spot_restore_timeout: str """ super(NodeType, self).__init__(tags=tags, **kwargs) self.sku = sku @@ -2787,6 +2811,9 @@ def __init__( self.enable_over_provisioning = enable_over_provisioning self.zones = zones self.is_spot_vm = is_spot_vm + self.host_group_id = host_group_id + self.use_ephemeral_os_disk = use_ephemeral_os_disk + self.spot_restore_timeout = spot_restore_timeout class NodeTypeActionParameters(msrest.serialization.Model): diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_type_versions_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_type_versions_operations.py index c35e62dc0a36..f948c45161a3 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_type_versions_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_type_versions_operations.py @@ -37,7 +37,7 @@ def build_get_request( version: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -80,7 +80,7 @@ def build_create_or_update_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -128,7 +128,7 @@ def build_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -173,7 +173,7 @@ def build_delete_request_initial( version: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -212,7 +212,7 @@ def build_list_by_application_types_request( application_type_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -297,7 +297,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -349,7 +349,7 @@ def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeVersionResource') @@ -433,7 +433,7 @@ def begin_create_or_update( ~azure.core.polling.LROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeVersionResource] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationTypeVersionResource"] @@ -514,7 +514,7 @@ def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeVersionUpdateParameters') @@ -569,7 +569,7 @@ def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -634,7 +634,7 @@ def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -700,7 +700,7 @@ def list_by_application_types( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeVersionResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationTypeVersionResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_types_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_types_operations.py index 9b282ff2a16f..f80e2bd0995b 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_types_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_application_types_operations.py @@ -36,7 +36,7 @@ def build_get_request( application_type_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -77,7 +77,7 @@ def build_create_or_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -123,7 +123,7 @@ def build_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -166,7 +166,7 @@ def build_delete_request_initial( application_type_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ def build_list_request( cluster_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -284,7 +284,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -353,7 +353,7 @@ def create_or_update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeResource') @@ -426,7 +426,7 @@ def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationTypeUpdateParameters') @@ -479,7 +479,7 @@ def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -540,7 +540,7 @@ def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -602,7 +602,7 @@ def list( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationTypeResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_applications_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_applications_operations.py index cd2903406379..198f95a9a7bd 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_applications_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_applications_operations.py @@ -36,7 +36,7 @@ def build_get_request( application_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -77,7 +77,7 @@ def build_create_or_update_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -123,7 +123,7 @@ def build_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -166,7 +166,7 @@ def build_delete_request_initial( application_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ def build_list_request( cluster_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -284,7 +284,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -334,7 +334,7 @@ def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationResource') @@ -412,7 +412,7 @@ def begin_create_or_update( ~azure.core.polling.LROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationResource] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationResource"] @@ -488,7 +488,7 @@ def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ApplicationUpdateParameters') @@ -541,7 +541,7 @@ def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -602,7 +602,7 @@ def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -664,7 +664,7 @@ def list( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ApplicationResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationResourceList"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_az_resiliency_status_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_az_resiliency_status_operations.py index b3a914cae827..cf454bb95b3d 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_az_resiliency_status_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_az_resiliency_status_operations.py @@ -31,7 +31,7 @@ def build_get_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -110,7 +110,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_cluster_version_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_cluster_version_operations.py index 050753e604b5..b0a0aa520da2 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_cluster_version_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_cluster_version_operations.py @@ -31,7 +31,7 @@ def build_get_request( cluster_version: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -68,7 +68,7 @@ def build_get_by_environment_request( cluster_version: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -104,7 +104,7 @@ def build_list_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -139,7 +139,7 @@ def build_list_by_environment_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -218,7 +218,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -285,7 +285,7 @@ def get_by_environment( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_by_environment_request( @@ -345,7 +345,7 @@ def list( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_list_request( @@ -407,7 +407,7 @@ def list_by_environment( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_list_by_environment_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_clusters_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_clusters_operations.py index e1f2d060d948..f18497c4552c 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_clusters_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_clusters_operations.py @@ -34,7 +34,7 @@ def build_list_by_resource_group_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -67,7 +67,7 @@ def build_list_by_subscription_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -101,7 +101,7 @@ def build_get_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -140,7 +140,7 @@ def build_create_or_update_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -184,7 +184,7 @@ def build_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -225,7 +225,7 @@ def build_delete_request_initial( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -296,7 +296,7 @@ def list_by_resource_group( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] error_map = { @@ -375,7 +375,7 @@ def list_by_subscription( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] error_map = { @@ -462,7 +462,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -510,7 +510,7 @@ def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ManagedCluster') @@ -584,7 +584,7 @@ def begin_create_or_update( ~azure.core.polling.LROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ManagedCluster] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] @@ -657,7 +657,7 @@ def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ManagedClusterUpdateParameters') @@ -708,7 +708,7 @@ def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -765,7 +765,7 @@ def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_unsupported_vm_sizes_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_unsupported_vm_sizes_operations.py index ca243d7a4b1d..217454f7efb3 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_unsupported_vm_sizes_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_managed_unsupported_vm_sizes_operations.py @@ -31,7 +31,7 @@ def build_list_request( subscription_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -66,7 +66,7 @@ def build_get_request( vm_size: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -137,7 +137,7 @@ def list( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ManagedVMSizesResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedVMSizesResult"] error_map = { @@ -226,7 +226,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_type_skus_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_type_skus_operations.py index 15e257dd12d8..dfd047d3b7e6 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_type_skus_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_type_skus_operations.py @@ -33,7 +33,7 @@ def build_list_request( node_type_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -110,7 +110,7 @@ def list( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.NodeTypeListSkuResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeTypeListSkuResult"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_types_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_types_operations.py index b9290ffbb5b7..15653340a022 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_types_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_node_types_operations.py @@ -35,7 +35,7 @@ def build_list_by_managed_clusters_request( cluster_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -75,7 +75,7 @@ def build_restart_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -121,7 +121,7 @@ def build_reimage_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -167,7 +167,7 @@ def build_delete_node_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -210,7 +210,7 @@ def build_get_request( node_type_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -251,7 +251,7 @@ def build_create_or_update_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -297,7 +297,7 @@ def build_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -340,7 +340,7 @@ def build_delete_request_initial( node_type_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -413,7 +413,7 @@ def list_by_managed_clusters( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.NodeTypeListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeTypeListResult"] error_map = { @@ -491,7 +491,7 @@ def _restart_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeActionParameters') @@ -560,7 +560,7 @@ def begin_restart( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -615,7 +615,7 @@ def _reimage_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeActionParameters') @@ -684,7 +684,7 @@ def begin_reimage( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -739,7 +739,7 @@ def _delete_node_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeActionParameters') @@ -808,7 +808,7 @@ def begin_delete_node( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -878,7 +878,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -928,7 +928,7 @@ def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeType') @@ -1004,7 +1004,7 @@ def begin_create_or_update( :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.servicefabricmanagedclusters.models.NodeType] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeType"] @@ -1080,7 +1080,7 @@ def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'NodeTypeUpdateParameters') @@ -1133,7 +1133,7 @@ def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -1194,7 +1194,7 @@ def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_results_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_results_operations.py index a5a011a67c36..fef54d30ca67 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_results_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_results_operations.py @@ -31,7 +31,7 @@ def build_get_request( operation_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -109,7 +109,7 @@ def get( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_status_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_status_operations.py index 8a89962eb8b9..627d4b467000 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_status_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operation_status_operations.py @@ -31,7 +31,7 @@ def build_get_request( operation_id: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -109,7 +109,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operations.py index 5b1e0aefc317..abfd9c0ed948 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_operations.py @@ -29,7 +29,7 @@ def build_list_request( **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -88,7 +88,7 @@ def list( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] error_map = { diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_services_operations.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_services_operations.py index ba4ff5c9df10..740c75f82128 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_services_operations.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/operations/_services_operations.py @@ -37,7 +37,7 @@ def build_get_request( service_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -80,7 +80,7 @@ def build_create_or_update_request_initial( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -128,7 +128,7 @@ def build_update_request( content: Any = None, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" @@ -173,7 +173,7 @@ def build_delete_request_initial( service_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -212,7 +212,7 @@ def build_list_by_applications_request( application_name: str, **kwargs: Any ) -> HttpRequest: - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str accept = "application/json" # Construct URL @@ -298,7 +298,7 @@ def get( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_get_request( @@ -350,7 +350,7 @@ def _create_or_update_initial( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ServiceResource') @@ -433,7 +433,7 @@ def begin_create_or_update( ~azure.core.polling.LROPoller[~azure.mgmt.servicefabricmanagedclusters.models.ServiceResource] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceResource"] @@ -514,7 +514,7 @@ def update( } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] _json = self._serialize.body(parameters, 'ServiceUpdateParameters') @@ -569,7 +569,7 @@ def _delete_initial( # pylint: disable=inconsistent-return-statements } error_map.update(kwargs.pop('error_map', {})) - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str request = build_delete_request_initial( @@ -635,7 +635,7 @@ def begin_delete( # pylint: disable=inconsistent-return-statements :rtype: ~azure.core.polling.LROPoller[None] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -700,7 +700,7 @@ def list_by_applications( ~azure.core.paging.ItemPaged[~azure.mgmt.servicefabricmanagedclusters.models.ServiceResourceList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2022-02-01-preview") # type: str + api_version = kwargs.pop('api_version', "2022-06-01-preview") # type: str cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceResourceList"] error_map = {