From 9357d9d48d58beff68f5dc4feba9754ec1a5b834 Mon Sep 17 00:00:00 2001 From: MilesHolland <108901744+MilesHolland@users.noreply.github.com> Date: Wed, 26 Oct 2022 17:01:55 -0400 Subject: [PATCH] make registry delete return an lro poller (#26983) * make registry delete reutrn lro poller * cleanup * change operation name to begin_delete * sleep long enough to dodge ev issues in testing * move CL line to breaking changes * further refine delete swagger, edit docstrings * review comments * add reliability notice --- sdk/ml/azure-ai-ml/CHANGELOG.md | 1 + .../aio/operations/_registries_operations.py | 100 +++- .../operations/_registries_operations.py | 101 +++- .../ai/ml/operations/_registry_operations.py | 21 +- .../2022-10-01-preview/registries.json | 23 +- ...estRegistrytest_registry_list_and_get.json | 467 ------------------ ...yTestRegistrytest_registry_operations.json | 467 ++++++++++++------ .../tests/registry/e2etests/test_registry.py | 19 +- .../unittests/test_registry_operations.py | 5 +- 9 files changed, 523 insertions(+), 681 deletions(-) delete mode 100644 sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_list_and_get.json diff --git a/sdk/ml/azure-ai-ml/CHANGELOG.md b/sdk/ml/azure-ai-ml/CHANGELOG.md index 878f6deacee0..19ae6bb61c22 100644 --- a/sdk/ml/azure-ai-ml/CHANGELOG.md +++ b/sdk/ml/azure-ai-ml/CHANGELOG.md @@ -14,6 +14,7 @@ - MLClient.from_config can now find the default config.json on Compute Instance when running sample notebooks. - Registries now assign managed tags to match registry's tags. - Adjust registry experimental tags and imports to avoid warning printouts for unrelated operations. +- Make registry delete operation return an LROPoller, and change name to begin_delete. - Prevent registering an already existing environment that references conda file. ### Other Changes diff --git a/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/aio/operations/_registries_operations.py b/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/aio/operations/_registries_operations.py index ad72adf7062e..0d7b8e8946cc 100644 --- a/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/aio/operations/_registries_operations.py +++ b/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/aio/operations/_registries_operations.py @@ -21,7 +21,7 @@ from ... import models as _models from ..._vendor import _convert_request -from ...operations._registries_operations import build_create_or_update_request_initial, build_delete_request, build_get_request, build_list_by_subscription_request, build_list_request, build_update_request +from ...operations._registries_operations import build_create_or_update_request_initial, build_delete_request_initial, build_get_request, build_list_by_subscription_request, build_list_request, build_update_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -214,26 +214,12 @@ async def get_next(next_link=None): ) list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries"} # type: ignore - @distributed_trace_async - async def delete( # pylint: disable=inconsistent-return-statements + async def _delete_initial( # pylint: disable=inconsistent-return-statements self, resource_group_name: str, registry_name: str, **kwargs: Any ) -> None: - """Delete registry. - - Delete registry. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param registry_name: Name of registry. This is case-insensitive. - :type registry_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError @@ -243,12 +229,12 @@ async def delete( # pylint: disable=inconsistent-return-statements api_version = kwargs.pop('api_version', "2022-10-01-preview") # type: str - request = build_delete_request( + request = build_delete_request_initial( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, registry_name=registry_name, api_version=api_version, - template_url=self.delete.metadata['url'], + template_url=self._delete_initial.metadata['url'], ) request = _convert_request(request) request.url = self._client.format_url(request.url) @@ -262,14 +248,84 @@ async def delete( # pylint: disable=inconsistent-return-statements if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['x-ms-async-operation-timeout']=self._deserialize('duration', response.headers.get('x-ms-async-operation-timeout')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + response_headers['Retry-After']=self._deserialize('int', response.headers.get('Retry-After')) + if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}"} # type: ignore + - delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}"} # type: ignore + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + registry_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Delete registry. + + Delete registry. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param registry_name: Name of registry. This is case-insensitive. + :type registry_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-10-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( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + registry_name=registry_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}"} # type: ignore @distributed_trace_async async def get( diff --git a/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/operations/_registries_operations.py b/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/operations/_registries_operations.py index df0dfb75e1f5..82b521391f8d 100644 --- a/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/operations/_registries_operations.py +++ b/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01_preview/operations/_registries_operations.py @@ -107,7 +107,7 @@ def build_list_request( ) -def build_delete_request( +def build_delete_request_initial( subscription_id, # type: str resource_group_name, # type: str registry_name, # type: str @@ -452,27 +452,13 @@ def get_next(next_link=None): ) list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries"} # type: ignore - @distributed_trace - def delete( # pylint: disable=inconsistent-return-statements + def _delete_initial( # pylint: disable=inconsistent-return-statements self, resource_group_name, # type: str registry_name, # type: str **kwargs # type: Any ): # type: (...) -> None - """Delete registry. - - Delete registry. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param registry_name: Name of registry. This is case-insensitive. - :type registry_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError @@ -482,12 +468,12 @@ def delete( # pylint: disable=inconsistent-return-statements api_version = kwargs.pop('api_version', "2022-10-01-preview") # type: str - request = build_delete_request( + request = build_delete_request_initial( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, registry_name=registry_name, api_version=api_version, - template_url=self.delete.metadata['url'], + template_url=self._delete_initial.metadata['url'], ) request = _convert_request(request) request.url = self._client.format_url(request.url) @@ -501,14 +487,85 @@ def delete( # pylint: disable=inconsistent-return-statements if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['x-ms-async-operation-timeout']=self._deserialize('duration', response.headers.get('x-ms-async-operation-timeout')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + response_headers['Retry-After']=self._deserialize('int', response.headers.get('Retry-After')) + if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}"} # type: ignore + + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + registry_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete registry. + + Delete registry. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param registry_name: Name of registry. This is case-insensitive. + :type registry_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-10-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( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + registry_name=registry_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) - delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}"} # type: ignore + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}"} # type: ignore @distributed_trace def get( diff --git a/sdk/ml/azure-ai-ml/azure/ai/ml/operations/_registry_operations.py b/sdk/ml/azure-ai-ml/azure/ai/ml/operations/_registry_operations.py index 4c8514cdd7ba..cd7586a9a374 100644 --- a/sdk/ml/azure-ai-ml/azure/ai/ml/operations/_registry_operations.py +++ b/sdk/ml/azure-ai-ml/azure/ai/ml/operations/_registry_operations.py @@ -118,9 +118,16 @@ def begin_create( registry: Registry, **kwargs: Dict, ) -> LROPoller[Registry]: - """Create a new Azure Machine Learning Registry. + """Create a new Azure Machine Learning Registry, + or try to update if it already exists. - Returns the registry if already exists. + Note: Due to service limitations we have to sleep for + an additional 30~45 seconds AFTER the LRO Poller concludes + before the registry will be consistently deleted from the + perspective of subsequent operations. + If a deletion is required for subsequent operations to + work properly, callers should implement that logic until the + service has been fixed to return a reliable LRO. :param registry: Registry definition. :type registry: Registry @@ -140,16 +147,18 @@ def begin_create( return poller - @monitor_with_activity(logger, "Registry.Delete", ActivityType.PUBLICAPI) + @monitor_with_activity(logger, "Registry.BeginDelete", ActivityType.PUBLICAPI) @experimental - def delete(self, *, name: str, **kwargs: Dict) -> None: - """Delete a registry. Returns nothing on a successful operation. + def begin_delete(self, *, name: str, **kwargs: Dict) -> LROPoller[Registry]: + """Delete a registry if it exists. Returns nothing on a successful operation. :param name: Name of the registry :type name: str + :return: A poller to track the operation status. + :rtype: LROPoller """ resource_group = kwargs.get("resource_group") or self._resource_group_name - return self._operation.delete( + return self._operation.begin_delete( resource_group_name=resource_group, registry_name=name, **self._init_kwargs, diff --git a/sdk/ml/azure-ai-ml/swagger/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json b/sdk/ml/azure-ai-ml/swagger/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json index b36f1a1a5cd4..8fe32d6b5229 100644 --- a/sdk/ml/azure-ai-ml/swagger/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json +++ b/sdk/ml/azure-ai-ml/swagger/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json @@ -111,6 +111,7 @@ "RegistryManagement" ], "summary": "Delete registry.", + "x-ms-long-running-operation": true, "operationId": "Registries_Delete", "produces": [ "application/json" @@ -142,9 +143,27 @@ }, "200": { "description": "Success" - }, + }, "202": { - "description": "Success" + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } }, "204": { "description": "No Content" diff --git a/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_list_and_get.json b/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_list_and_get.json deleted file mode 100644 index cc2efa07cd33..000000000000 --- a/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_list_and_get.json +++ /dev/null @@ -1,467 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test733954978881?api-version=2022-10-01-preview", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Length": "406", - "Content-Type": "application/json", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": { - "tags": {}, - "location": "WestCentralUS", - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "description": "This is a registry description", - "regionDetails": [ - { - "acrDetails": [ - { - "systemCreatedAcrAccount": { - "acrAccountSku": "Premium" - } - } - ], - "location": "WestCentralUS", - "storageAccountDetails": [ - { - "systemCreatedStorageAccount": { - "storageAccountHnsEnabled": false, - "storageAccountType": "standard_lrs" - } - } - ] - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 24 Oct 2022 20:46:02 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=location", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aa597c4d-694a-4623-9cb0-8eac477e9453", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204602Z:aa597c4d-694a-4623-9cb0-8eac477e9453", - "x-request-time": "0.104" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:07 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "220678bc-ee91-43c2-b878-5a1def8b8b14", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204608Z:220678bc-ee91-43c2-b878-5a1def8b8b14", - "x-request-time": "0.048" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:12 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4550f4d5-14e8-49ac-9503-2cfcf86a29b0", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204613Z:4550f4d5-14e8-49ac-9503-2cfcf86a29b0", - "x-request-time": "0.047" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:17 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c5ea1332-05e6-4ee8-91bb-e188a85b5934", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204618Z:c5ea1332-05e6-4ee8-91bb-e188a85b5934", - "x-request-time": "0.042" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:22 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aff73436-7287-49e2-906d-6642c203d082", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204623Z:aff73436-7287-49e2-906d-6642c203d082", - "x-request-time": "0.044" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:28 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ede80a82-3dea-4993-a5e9-71e13a252def", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204628Z:ede80a82-3dea-4993-a5e9-71e13a252def", - "x-request-time": "0.043" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:33 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6a2f163f-39b1-4084-a3fa-7cb9227b8522", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204634Z:6a2f163f-39b1-4084-a3fa-7cb9227b8522", - "x-request-time": "0.041" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:38 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ee14a88e-7a3d-4011-afa7-0c5107e8fde2", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204639Z:ee14a88e-7a3d-4011-afa7-0c5107e8fde2", - "x-request-time": "0.041" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:44 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "43ba70ce-1ae7-4b2f-aa80-6af832c0874d", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204644Z:43ba70ce-1ae7-4b2f-aa80-6af832c0874d", - "x-request-time": "0.041" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/e5f9c2ba-04d6-482c-8204-e384bb2eafa6?api-version=2022-10-01-preview\u0026type=async", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:49 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "483d4c40-da7a-4c27-9d89-3eb297788cdd", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204649Z:483d4c40-da7a-4c27-9d89-3eb297788cdd", - "x-request-time": "0.071" - }, - "ResponseBody": { - "status": "Succeeded", - "percentComplete": 100.0 - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test733954978881?api-version=2022-10-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Oct 2022 20:46:49 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-aml-cluster": "vienna-westcentralus-02", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c96f26b3-0fe8-4b6d-87cd-eaae27ec230a", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221024T204649Z:c96f26b3-0fe8-4b6d-87cd-eaae27ec230a", - "x-request-time": "0.029" - }, - "ResponseBody": { - "tags": {}, - "location": "westcentralus", - "identity": { - "type": "SystemAssigned", - "principalId": "171ba63e-2bc1-4c40-afb1-51d995ce6a90", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test733954978881", - "name": "test733954978881", - "type": "Microsoft.MachineLearningServices/registries", - "properties": { - "regionDetails": [ - { - "location": "westcentralus", - "storageAccountDetails": [ - { - "existingStorageAccount": null, - "newStorageAccount": null, - "userCreatedStorageAccount": null, - "systemCreatedStorageAccount": { - "storageAccountName": "test705486cd441a242708e5", - "storageAccountType": "standard_lrs", - "storageAccountHnsEnabled": false, - "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test733954978881_3a4f74bd-7b5d-433b-bf65-40eb5056681c/providers/Microsoft.Storage/storageAccounts/test705486cd441a242708e5" - } - } - } - ], - "acrDetails": [ - { - "existingAcrAccount": null, - "newAcrAccount": null, - "userCreatedAcrAccount": null, - "systemCreatedAcrAccount": { - "acrAccountName": "test7c8915abbcbb94c07af8", - "acrAccountSku": "Premium", - "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test733954978881_3a4f74bd-7b5d-433b-bf65-40eb5056681c/providers/Microsoft.ContainerRegistry/registries/test7c8915abbcbb94c07af8" - } - } - } - ] - } - ], - "intellectualPropertyPublisher": null, - "publicNetworkAccess": "Enabled", - "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test733954978881/discovery", - "managedResourceGroup": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test733954978881_3a4f74bd-7b5d-433b-bf65-40eb5056681c" - }, - "managedResourceGroupTags": {}, - "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test733954978881" - }, - "systemData": null - } - } - ], - "Variables": { - "reg_name": "test_733954978881" - } -} diff --git a/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_operations.json b/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_operations.json index 506b25bab228..4c9b8ae9a91d 100644 --- a/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_operations.json +++ b/sdk/ml/azure-ai-ml/tests/recordings/registry/e2etests/test_registry.pyTestRegistrytest_registry_operations.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006?api-version=2022-10-01-preview", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -49,27 +49,27 @@ }, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Fri, 21 Oct 2022 16:24:02 GMT", + "Date": "Wed, 26 Oct 2022 14:38:35 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=location", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=location", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ee99f7ce-8e7a-4c79-b5a4-7bb08396114e", + "x-ms-correlation-request-id": "3415543f-0507-4892-bd36-ec1c712fa4aa", "x-ms-ratelimit-remaining-subscription-writes": "1199", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162403Z:ee99f7ce-8e7a-4c79-b5a4-7bb08396114e", - "x-request-time": "0.108" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143836Z:3415543f-0507-4892-bd36-ec1c712fa4aa", + "x-request-time": "0.105" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -83,7 +83,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:07 GMT", + "Date": "Wed, 26 Oct 2022 14:38:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -92,18 +92,18 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "05a6090b-d8ef-49d0-a6d6-576bd098105b", + "x-ms-correlation-request-id": "f6123b8b-d6ba-4a2b-ae5a-59d129a66d43", "x-ms-ratelimit-remaining-subscription-reads": "11999", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162408Z:05a6090b-d8ef-49d0-a6d6-576bd098105b", - "x-request-time": "0.042" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143836Z:f6123b8b-d6ba-4a2b-ae5a-59d129a66d43", + "x-request-time": "0.047" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -117,7 +117,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:12 GMT", + "Date": "Wed, 26 Oct 2022 14:38:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -126,18 +126,18 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ba3efdc5-930a-4bd4-be28-cc9039422c0d", + "x-ms-correlation-request-id": "2ad80ca9-b26f-44a4-b9f2-a2fb5f51f8ea", "x-ms-ratelimit-remaining-subscription-reads": "11998", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162413Z:ba3efdc5-930a-4bd4-be28-cc9039422c0d", - "x-request-time": "0.042" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143841Z:2ad80ca9-b26f-44a4-b9f2-a2fb5f51f8ea", + "x-request-time": "0.050" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -151,7 +151,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:18 GMT", + "Date": "Wed, 26 Oct 2022 14:38:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -160,18 +160,18 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1aa113f9-d8da-4d18-b112-f0887c647e7f", + "x-ms-correlation-request-id": "4deabf17-540d-459b-ab99-99e8fda58c78", "x-ms-ratelimit-remaining-subscription-reads": "11997", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162418Z:1aa113f9-d8da-4d18-b112-f0887c647e7f", - "x-request-time": "0.040" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143846Z:4deabf17-540d-459b-ab99-99e8fda58c78", + "x-request-time": "0.042" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -185,7 +185,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:23 GMT", + "Date": "Wed, 26 Oct 2022 14:38:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -194,10 +194,10 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2c65759b-60df-48c7-99c6-7a19355a79b8", + "x-ms-correlation-request-id": "f5338d27-183d-4fb3-a7b4-a18e94f710a5", "x-ms-ratelimit-remaining-subscription-reads": "11996", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162423Z:2c65759b-60df-48c7-99c6-7a19355a79b8", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143851Z:f5338d27-183d-4fb3-a7b4-a18e94f710a5", "x-request-time": "0.042" }, "ResponseBody": { @@ -205,7 +205,7 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -219,7 +219,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:28 GMT", + "Date": "Wed, 26 Oct 2022 14:38:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -228,18 +228,18 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "254dc0b6-2554-417d-b63e-1bace46996bb", + "x-ms-correlation-request-id": "e24bb1bd-8e11-4325-bc23-a64269e54bd7", "x-ms-ratelimit-remaining-subscription-reads": "11995", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162429Z:254dc0b6-2554-417d-b63e-1bace46996bb", - "x-request-time": "0.043" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143857Z:e24bb1bd-8e11-4325-bc23-a64269e54bd7", + "x-request-time": "0.042" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -253,7 +253,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:33 GMT", + "Date": "Wed, 26 Oct 2022 14:39:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -262,18 +262,18 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e1100673-9dee-46f6-ab6f-a10fc38da233", + "x-ms-correlation-request-id": "a8411b96-80a2-46e5-9f37-f007a133eee3", "x-ms-ratelimit-remaining-subscription-reads": "11994", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162434Z:e1100673-9dee-46f6-ab6f-a10fc38da233", - "x-request-time": "0.044" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143902Z:a8411b96-80a2-46e5-9f37-f007a133eee3", + "x-request-time": "0.041" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -287,7 +287,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:38 GMT", + "Date": "Wed, 26 Oct 2022 14:39:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -296,10 +296,10 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4328d866-b41b-40e9-b68d-024450585ffb", + "x-ms-correlation-request-id": "a8ee557a-9e6f-4266-b20d-039acdc6c6e1", "x-ms-ratelimit-remaining-subscription-reads": "11993", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162439Z:4328d866-b41b-40e9-b68d-024450585ffb", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143907Z:a8ee557a-9e6f-4266-b20d-039acdc6c6e1", "x-request-time": "0.046" }, "ResponseBody": { @@ -307,7 +307,7 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -321,7 +321,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:43 GMT", + "Date": "Wed, 26 Oct 2022 14:39:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -330,18 +330,18 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bb0c7af7-a676-4a32-b710-ee169cab1121", + "x-ms-correlation-request-id": "cc92b9a1-ea7b-4ee3-a9ec-6adebb0ef7fb", "x-ms-ratelimit-remaining-subscription-reads": "11992", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162444Z:bb0c7af7-a676-4a32-b710-ee169cab1121", - "x-request-time": "0.046" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143912Z:cc92b9a1-ea7b-4ee3-a9ec-6adebb0ef7fb", + "x-request-time": "0.041" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/744fee32-e16d-4cae-a308-3092ebfd5a27?api-version=2022-10-01-preview\u0026type=async", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -355,7 +355,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:49 GMT", + "Date": "Wed, 26 Oct 2022 14:39:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -364,11 +364,181 @@ "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6191de10-70f8-43ac-b9cc-3cbfec67d4f5", + "x-ms-correlation-request-id": "2f23aa1d-5885-446d-b99e-1a2f0342f9dd", "x-ms-ratelimit-remaining-subscription-reads": "11991", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162449Z:6191de10-70f8-43ac-b9cc-3cbfec67d4f5", - "x-request-time": "0.066" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143917Z:2f23aa1d-5885-446d-b99e-1a2f0342f9dd", + "x-request-time": "0.041" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 26 Oct 2022 14:39:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "x-aml-cluster": "vienna-westcentralus-02", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9e02d877-17dd-41bf-95f7-caf9ce93da18", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143922Z:9e02d877-17dd-41bf-95f7-caf9ce93da18", + "x-request-time": "0.042" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 26 Oct 2022 14:39:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "x-aml-cluster": "vienna-westcentralus-02", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6c9e3e6a-d0ed-4c15-991c-b91d3dc31731", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143928Z:6c9e3e6a-d0ed-4c15-991c-b91d3dc31731", + "x-request-time": "0.044" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 26 Oct 2022 14:39:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "x-aml-cluster": "vienna-westcentralus-02", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "194c564d-381f-4385-8337-6dc51a679e3e", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143933Z:194c564d-381f-4385-8337-6dc51a679e3e", + "x-request-time": "0.040" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 26 Oct 2022 14:39:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "x-aml-cluster": "vienna-westcentralus-02", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "44196efc-4f18-4a01-99dc-fd53430dd30f", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143938Z:44196efc-4f18-4a01-99dc-fd53430dd30f", + "x-request-time": "0.046" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/WestCentralUS/registryOperationsStatus/13c59740-bf31-48cb-b449-37f1b122eedf?api-version=2022-10-01-preview\u0026type=async", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 26 Oct 2022 14:39:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "x-aml-cluster": "vienna-westcentralus-02", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "82841d3c-6467-4b50-9001-f63b1fd11d0d", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143943Z:82841d3c-6467-4b50-9001-f63b1fd11d0d", + "x-request-time": "0.072" }, "ResponseBody": { "status": "Succeeded", @@ -376,7 +546,7 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006?api-version=2022-10-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -390,7 +560,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:49 GMT", + "Date": "Wed, 26 Oct 2022 14:39:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -402,11 +572,11 @@ ], "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "17e6cb71-3101-4860-9bc4-e7a77c9ec1a7", - "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-correlation-request-id": "bd1c99d7-49a7-481a-a45e-672e9919e47f", + "x-ms-ratelimit-remaining-subscription-reads": "11985", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162450Z:17e6cb71-3101-4860-9bc4-e7a77c9ec1a7", - "x-request-time": "0.024" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143943Z:bd1c99d7-49a7-481a-a45e-672e9919e47f", + "x-request-time": "0.019" }, "ResponseBody": { "tags": { @@ -416,11 +586,11 @@ "location": "westcentralus", "identity": { "type": "SystemAssigned", - "principalId": "b7872e86-319a-4bf2-ae99-2f55ba8810ef", + "principalId": "7d47e02c-7205-4a3b-a495-92ae9b6690a6", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774", - "name": "test517671305774", + "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006", + "name": "test793394444006", "type": "Microsoft.MachineLearningServices/registries", "properties": { "regionDetails": [ @@ -432,11 +602,11 @@ "newStorageAccount": null, "userCreatedStorageAccount": null, "systemCreatedStorageAccount": { - "storageAccountName": "test5d81898358a0b418b887", + "storageAccountName": "test7d19b24d1fb8f4db991e", "storageAccountType": "standard_lrs", "storageAccountHnsEnabled": false, "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c/providers/Microsoft.Storage/storageAccounts/test5d81898358a0b418b887" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5/providers/Microsoft.Storage/storageAccounts/test7d19b24d1fb8f4db991e" } } } @@ -447,10 +617,10 @@ "newAcrAccount": null, "userCreatedAcrAccount": null, "systemCreatedAcrAccount": { - "acrAccountName": "test5265e682b1df9499bba8", + "acrAccountName": "test7aa1fb04ce3b447bcb4e", "acrAccountSku": "Premium", "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c/providers/Microsoft.ContainerRegistry/registries/test5265e682b1df9499bba8" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5/providers/Microsoft.ContainerRegistry/registries/test7aa1fb04ce3b447bcb4e" } } } @@ -459,21 +629,21 @@ ], "intellectualPropertyPublisher": null, "publicNetworkAccess": "Enabled", - "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test517671305774/discovery", + "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test793394444006/discovery", "managedResourceGroup": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5" }, "managedResourceGroupTags": { "one": "two", "three": "five" }, - "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774" + "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006" }, "systemData": null } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006?api-version=2022-10-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -487,7 +657,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:49 GMT", + "Date": "Wed, 26 Oct 2022 14:39:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -499,11 +669,11 @@ ], "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f3ca9d63-99c4-4747-abeb-0ad0bade344a", - "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-correlation-request-id": "6215e645-0bcf-44c7-abfa-3c9898a31c7e", + "x-ms-ratelimit-remaining-subscription-reads": "11984", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162450Z:f3ca9d63-99c4-4747-abeb-0ad0bade344a", - "x-request-time": "0.018" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143944Z:6215e645-0bcf-44c7-abfa-3c9898a31c7e", + "x-request-time": "0.019" }, "ResponseBody": { "tags": { @@ -513,11 +683,11 @@ "location": "westcentralus", "identity": { "type": "SystemAssigned", - "principalId": "b7872e86-319a-4bf2-ae99-2f55ba8810ef", + "principalId": "7d47e02c-7205-4a3b-a495-92ae9b6690a6", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774", - "name": "test517671305774", + "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006", + "name": "test793394444006", "type": "Microsoft.MachineLearningServices/registries", "properties": { "regionDetails": [ @@ -529,11 +699,11 @@ "newStorageAccount": null, "userCreatedStorageAccount": null, "systemCreatedStorageAccount": { - "storageAccountName": "test5d81898358a0b418b887", + "storageAccountName": "test7d19b24d1fb8f4db991e", "storageAccountType": "standard_lrs", "storageAccountHnsEnabled": false, "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c/providers/Microsoft.Storage/storageAccounts/test5d81898358a0b418b887" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5/providers/Microsoft.Storage/storageAccounts/test7d19b24d1fb8f4db991e" } } } @@ -544,10 +714,10 @@ "newAcrAccount": null, "userCreatedAcrAccount": null, "systemCreatedAcrAccount": { - "acrAccountName": "test5265e682b1df9499bba8", + "acrAccountName": "test7aa1fb04ce3b447bcb4e", "acrAccountSku": "Premium", "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c/providers/Microsoft.ContainerRegistry/registries/test5265e682b1df9499bba8" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5/providers/Microsoft.ContainerRegistry/registries/test7aa1fb04ce3b447bcb4e" } } } @@ -556,21 +726,21 @@ ], "intellectualPropertyPublisher": null, "publicNetworkAccess": "Enabled", - "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test517671305774/discovery", + "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test793394444006/discovery", "managedResourceGroup": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5" }, "managedResourceGroupTags": { "one": "two", "three": "five" }, - "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774" + "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006" }, "systemData": null } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006?api-version=2022-10-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -584,7 +754,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:24:49 GMT", + "Date": "Wed, 26 Oct 2022 14:39:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", @@ -596,10 +766,10 @@ ], "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "40bb51a5-c06f-4f6f-bdff-2cc3d4078804", - "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-correlation-request-id": "eba7a6b0-6a52-416b-8c3e-fa78e92e3aa9", + "x-ms-ratelimit-remaining-subscription-reads": "11983", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162450Z:40bb51a5-c06f-4f6f-bdff-2cc3d4078804", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143944Z:eba7a6b0-6a52-416b-8c3e-fa78e92e3aa9", "x-request-time": "0.017" }, "ResponseBody": { @@ -610,11 +780,11 @@ "location": "westcentralus", "identity": { "type": "SystemAssigned", - "principalId": "b7872e86-319a-4bf2-ae99-2f55ba8810ef", + "principalId": "7d47e02c-7205-4a3b-a495-92ae9b6690a6", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774", - "name": "test517671305774", + "id": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006", + "name": "test793394444006", "type": "Microsoft.MachineLearningServices/registries", "properties": { "regionDetails": [ @@ -626,11 +796,11 @@ "newStorageAccount": null, "userCreatedStorageAccount": null, "systemCreatedStorageAccount": { - "storageAccountName": "test5d81898358a0b418b887", + "storageAccountName": "test7d19b24d1fb8f4db991e", "storageAccountType": "standard_lrs", "storageAccountHnsEnabled": false, "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c/providers/Microsoft.Storage/storageAccounts/test5d81898358a0b418b887" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5/providers/Microsoft.Storage/storageAccounts/test7d19b24d1fb8f4db991e" } } } @@ -641,10 +811,10 @@ "newAcrAccount": null, "userCreatedAcrAccount": null, "systemCreatedAcrAccount": { - "acrAccountName": "test5265e682b1df9499bba8", + "acrAccountName": "test7aa1fb04ce3b447bcb4e", "acrAccountSku": "Premium", "armResourceId": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c/providers/Microsoft.ContainerRegistry/registries/test5265e682b1df9499bba8" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5/providers/Microsoft.ContainerRegistry/registries/test7aa1fb04ce3b447bcb4e" } } } @@ -653,21 +823,21 @@ ], "intellectualPropertyPublisher": null, "publicNetworkAccess": "Enabled", - "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test517671305774/discovery", + "discoveryUrl": "https://westcentralus.api.azureml.ms/registrymanagement/v1.0/registries/test793394444006/discovery", "managedResourceGroup": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test517671305774_3e0441bc-69d8-4ecc-97d5-b1f43ebbe98c" + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/azureml-rg-test793394444006_09e9b34b-bd11-4d23-8c75-7c31de3788f5" }, "managedResourceGroupTags": { "one": "two", "three": "five" }, - "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774" + "mlFlowRegistryUri": "azureml://westcentralus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006" }, "systemData": null } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test793394444006?api-version=2022-10-01-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", @@ -679,89 +849,96 @@ "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/westcentralus/registryOperationsStatus/a57009e2-77a6-4ec3-861f-db0fdeabf1ff?api-version=2022-10-01-preview\u0026type=async", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/westcentralus/registryOperationsStatus/4c08e0db-c975-436d-859d-c5e372e7212e?api-version=2022-10-01-preview\u0026type=async", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Fri, 21 Oct 2022 16:25:24 GMT", + "Date": "Wed, 26 Oct 2022 14:39:44 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/westcentralus/registryOperationsStatus/a57009e2-77a6-4ec3-861f-db0fdeabf1ff?api-version=2022-10-01-preview\u0026type=location", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/westcentralus/registryOperationsStatus/4c08e0db-c975-436d-859d-c5e372e7212e?api-version=2022-10-01-preview\u0026type=location", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "54640749-57a5-4398-8e11-66699d4643d9", + "x-ms-correlation-request-id": "36f7c131-3117-438d-902e-2a01b3926da1", "x-ms-ratelimit-remaining-subscription-deletes": "14999", "x-ms-response-type": "standard", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162525Z:54640749-57a5-4398-8e11-66699d4643d9", - "x-request-time": "0.102" + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143945Z:36f7c131-3117-438d-902e-2a01b3926da1", + "x-request-time": "0.097" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/registries/test517671305774?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/westcentralus/registryOperationsStatus/4c08e0db-c975-436d-859d-c5e372e7212e?api-version=2022-10-01-preview\u0026type=async", "RequestMethod": "GET", "RequestHeaders": { - "Accept": "application/json", + "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" }, "RequestBody": null, - "StatusCode": 404, + "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "799", + "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 21 Oct 2022 16:27:26 GMT", + "Date": "Wed, 26 Oct 2022 14:39:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "x-aml-cluster": "vienna-westcentralus-02", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c0f20875-ffb5-43e0-9a4f-d5e7200eb1be", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-response-type": "error", - "x-ms-routing-request-id": "CANADACENTRAL:20221021T162726Z:c0f20875-ffb5-43e0-9a4f-d5e7200eb1be", - "x-request-time": "0.046" + "x-ms-correlation-request-id": "390c080d-25b1-42b2-a39c-b20cbfd330d4", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T143945Z:390c080d-25b1-42b2-a39c-b20cbfd330d4", + "x-request-time": "0.041" }, "ResponseBody": { - "error": { - "code": "UserError", - "severity": null, - "message": "Registry test517671305774 not found", - "messageFormat": "Registry {registryName} not found", - "messageParameters": { - "registryName": "test517671305774" - }, - "referenceCode": null, - "detailsUri": null, - "target": null, - "details": [], - "innerError": { - "code": "NotFound", - "innerError": { - "code": "RegistryNotFound", - "innerError": null - } - }, - "debugInfo": null, - "additionalInfo": null - }, - "correlation": { - "operation": "b1a045870e012dc2c8783af9f8812aaf", - "request": "a2082331b0e38dda" - }, - "environment": "westcentralus", - "location": "westcentralus", - "time": "2022-10-21T16:27:26.778097\u002B00:00", - "componentName": "feedmanagement" + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000/providers/Microsoft.MachineLearningServices/locations/westcentralus/registryOperationsStatus/4c08e0db-c975-436d-859d-c5e372e7212e?api-version=2022-10-01-preview\u0026type=async", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azure-ai-ml/1.1.0 azsdk-python-mgmt-machinelearningservices/0.1.0 Python/3.8.10 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 26 Oct 2022 14:40:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Request-Context": "appId=cid-v1:2d2e8e63-272e-4b3c-8598-4ee570a0e70d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "x-aml-cluster": "vienna-westcentralus-02", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bb871fe3-c38e-4ebb-abdb-9c19663d4131", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-response-type": "standard", + "x-ms-routing-request-id": "CANADACENTRAL:20221026T144015Z:bb871fe3-c38e-4ebb-abdb-9c19663d4131", + "x-request-time": "0.042" + }, + "ResponseBody": { + "status": "Succeeded", + "percentComplete": 100.0 } } ], "Variables": { - "reg_name": "test_517671305774" + "reg_name": "test_793394444006" } } diff --git a/sdk/ml/azure-ai-ml/tests/registry/e2etests/test_registry.py b/sdk/ml/azure-ai-ml/tests/registry/e2etests/test_registry.py index 0c437720a127..18d3ee62b4cc 100644 --- a/sdk/ml/azure-ai-ml/tests/registry/e2etests/test_registry.py +++ b/sdk/ml/azure-ai-ml/tests/registry/e2etests/test_registry.py @@ -4,13 +4,12 @@ from typing import Callable import pytest +from time import sleep from azure.ai.ml import MLClient, load_registry from azure.ai.ml.constants._common import LROConfigurations from azure.core.paging import ItemPaged from azure.core.exceptions import ResourceNotFoundError from devtools_testutils import AzureRecordedTestCase, is_live -from azure.ai.ml._restclient.v2022_10_01_preview.operations._registries_operations import RegistriesOperations -import time @pytest.mark.e2etest @pytest.mark.usefixtures("recorded_test") @@ -56,15 +55,7 @@ def test_registry_operations( assert rest_registry.properties.managed_resource_group_tags["one"] == "two" assert rest_registry.properties.managed_resource_group_tags["three"] == "five" - registry = crud_registry_client.registries.delete(name=reg_name) - assert registry is None - # give the delete operation time to fully take place in the backend - # before testing that the registry is gone with another get command - if is_live(): - time.sleep(120) - try: - crud_registry_client.registries.get(name=reg_name) - # The above line should fail with a ResourceNotFoundError - assert False - except ResourceNotFoundError: - assert True \ No newline at end of file + del_result = crud_registry_client.registries.begin_delete(name=reg_name).result( + timeout=LROConfigurations.POLLING_TIMEOUT + ) + assert del_result is None \ No newline at end of file diff --git a/sdk/ml/azure-ai-ml/tests/registry/unittests/test_registry_operations.py b/sdk/ml/azure-ai-ml/tests/registry/unittests/test_registry_operations.py index 25eb96b89b02..40dd561470a7 100644 --- a/sdk/ml/azure-ai-ml/tests/registry/unittests/test_registry_operations.py +++ b/sdk/ml/azure-ai-ml/tests/registry/unittests/test_registry_operations.py @@ -66,6 +66,5 @@ def test_create(self, mock_registry_operation: RegistryOperations, randstr: Call mock_registry_operation._operation.begin_create_or_update.assert_called_once() def test_delete(self, mock_registry_operation: RegistryOperations, randstr: Callable[[], str]) -> None: - - mock_registry_operation.delete(name="some registry") - mock_registry_operation._operation.delete.assert_called_once() \ No newline at end of file + mock_registry_operation.begin_delete(name="some registry") + mock_registry_operation._operation.begin_delete.assert_called_once() \ No newline at end of file